com.baidu.noah.naming.msg
类 NamingProtos.LocalNamingAuthResponse.Builder

java.lang.Object
  继承者 com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      继承者 com.google.protobuf.AbstractMessage.Builder<BuilderType>
          继承者 com.google.protobuf.GeneratedMessage.Builder<NamingProtos.LocalNamingAuthResponse.Builder>
              继承者 com.baidu.noah.naming.msg.NamingProtos.LocalNamingAuthResponse.Builder
所有已实现的接口:
NamingProtos.LocalNamingAuthResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
包容类:
NamingProtos.LocalNamingAuthResponse

public static final class NamingProtos.LocalNamingAuthResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<NamingProtos.LocalNamingAuthResponse.Builder>
implements NamingProtos.LocalNamingAuthResponseOrBuilder

Protobuf type LocalNamingAuthResponse

data struct response for local naming-auth-service response
 


方法摘要
 NamingProtos.LocalNamingAuthResponse.Builder addAllTrustedServices(Iterable<? extends ServiceProtos.ServiceHostList> values)
          repeated .ServiceHostList trusted_services = 2;
 NamingProtos.LocalNamingAuthResponse.Builder addTrustedServices(int index, ServiceProtos.ServiceHostList.Builder builderForValue)
          repeated .ServiceHostList trusted_services = 2;
 NamingProtos.LocalNamingAuthResponse.Builder addTrustedServices(int index, ServiceProtos.ServiceHostList value)
          repeated .ServiceHostList trusted_services = 2;
 NamingProtos.LocalNamingAuthResponse.Builder addTrustedServices(ServiceProtos.ServiceHostList.Builder builderForValue)
          repeated .ServiceHostList trusted_services = 2;
 NamingProtos.LocalNamingAuthResponse.Builder addTrustedServices(ServiceProtos.ServiceHostList value)
          repeated .ServiceHostList trusted_services = 2;
 ServiceProtos.ServiceHostList.Builder addTrustedServicesBuilder()
          repeated .ServiceHostList trusted_services = 2;
 ServiceProtos.ServiceHostList.Builder addTrustedServicesBuilder(int index)
          repeated .ServiceHostList trusted_services = 2;
 NamingProtos.LocalNamingAuthResponse build()
           
 NamingProtos.LocalNamingAuthResponse buildPartial()
           
 NamingProtos.LocalNamingAuthResponse.Builder clear()
           
 NamingProtos.LocalNamingAuthResponse.Builder clearRetcode()
          optional int32 retcode = 3;
 NamingProtos.LocalNamingAuthResponse.Builder clearServiceName()
          optional string service_name = 1;
 NamingProtos.LocalNamingAuthResponse.Builder clearTrustedServices()
          repeated .ServiceHostList trusted_services = 2;
 NamingProtos.LocalNamingAuthResponse.Builder clone()
           
 NamingProtos.LocalNamingAuthResponse getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 int getRetcode()
          optional int32 retcode = 3;
 String getServiceName()
          optional string service_name = 1;
 com.google.protobuf.ByteString getServiceNameBytes()
          optional string service_name = 1;
 ServiceProtos.ServiceHostList getTrustedServices(int index)
          repeated .ServiceHostList trusted_services = 2;
 ServiceProtos.ServiceHostList.Builder getTrustedServicesBuilder(int index)
          repeated .ServiceHostList trusted_services = 2;
 List<ServiceProtos.ServiceHostList.Builder> getTrustedServicesBuilderList()
          repeated .ServiceHostList trusted_services = 2;
 int getTrustedServicesCount()
          repeated .ServiceHostList trusted_services = 2;
 List<ServiceProtos.ServiceHostList> getTrustedServicesList()
          repeated .ServiceHostList trusted_services = 2;
 ServiceProtos.ServiceHostListOrBuilder getTrustedServicesOrBuilder(int index)
          repeated .ServiceHostList trusted_services = 2;
 List<? extends ServiceProtos.ServiceHostListOrBuilder> getTrustedServicesOrBuilderList()
          repeated .ServiceHostList trusted_services = 2;
 boolean hasRetcode()
          optional int32 retcode = 3;
 boolean hasServiceName()
          optional string service_name = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 NamingProtos.LocalNamingAuthResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 NamingProtos.LocalNamingAuthResponse.Builder mergeFrom(com.google.protobuf.Message other)
           
 NamingProtos.LocalNamingAuthResponse.Builder mergeFrom(NamingProtos.LocalNamingAuthResponse other)
           
 NamingProtos.LocalNamingAuthResponse.Builder removeTrustedServices(int index)
          repeated .ServiceHostList trusted_services = 2;
 NamingProtos.LocalNamingAuthResponse.Builder setRetcode(int value)
          optional int32 retcode = 3;
 NamingProtos.LocalNamingAuthResponse.Builder setServiceName(String value)
          optional string service_name = 1;
 NamingProtos.LocalNamingAuthResponse.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
          optional string service_name = 1;
 NamingProtos.LocalNamingAuthResponse.Builder setTrustedServices(int index, ServiceProtos.ServiceHostList.Builder builderForValue)
          repeated .ServiceHostList trusted_services = 2;
 NamingProtos.LocalNamingAuthResponse.Builder setTrustedServices(int index, ServiceProtos.ServiceHostList value)
          repeated .ServiceHostList trusted_services = 2;
 
从类 com.google.protobuf.GeneratedMessage.Builder 继承的方法
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
从类 com.google.protobuf.AbstractMessage.Builder 继承的方法
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
从类 com.google.protobuf.AbstractMessageLite.Builder 继承的方法
addAll, newUninitializedMessageException
 
从类 java.lang.Object 继承的方法
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 com.google.protobuf.MessageOrBuilder 继承的方法
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

方法详细信息

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
指定者:
com.google.protobuf.GeneratedMessage.Builder<NamingProtos.LocalNamingAuthResponse.Builder> 中的 internalGetFieldAccessorTable

clear

public NamingProtos.LocalNamingAuthResponse.Builder clear()
指定者:
接口 com.google.protobuf.Message.Builder 中的 clear
指定者:
接口 com.google.protobuf.MessageLite.Builder 中的 clear
覆盖:
com.google.protobuf.GeneratedMessage.Builder<NamingProtos.LocalNamingAuthResponse.Builder> 中的 clear

clone

public NamingProtos.LocalNamingAuthResponse.Builder clone()
指定者:
接口 com.google.protobuf.Message.Builder 中的 clone
指定者:
接口 com.google.protobuf.MessageLite.Builder 中的 clone
覆盖:
com.google.protobuf.GeneratedMessage.Builder<NamingProtos.LocalNamingAuthResponse.Builder> 中的 clone

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
指定者:
接口 com.google.protobuf.Message.Builder 中的 getDescriptorForType
指定者:
接口 com.google.protobuf.MessageOrBuilder 中的 getDescriptorForType
覆盖:
com.google.protobuf.GeneratedMessage.Builder<NamingProtos.LocalNamingAuthResponse.Builder> 中的 getDescriptorForType

getDefaultInstanceForType

public NamingProtos.LocalNamingAuthResponse getDefaultInstanceForType()
指定者:
接口 com.google.protobuf.MessageLiteOrBuilder 中的 getDefaultInstanceForType
指定者:
接口 com.google.protobuf.MessageOrBuilder 中的 getDefaultInstanceForType

build

public NamingProtos.LocalNamingAuthResponse build()
指定者:
接口 com.google.protobuf.Message.Builder 中的 build
指定者:
接口 com.google.protobuf.MessageLite.Builder 中的 build

buildPartial

public NamingProtos.LocalNamingAuthResponse buildPartial()
指定者:
接口 com.google.protobuf.Message.Builder 中的 buildPartial
指定者:
接口 com.google.protobuf.MessageLite.Builder 中的 buildPartial

mergeFrom

public NamingProtos.LocalNamingAuthResponse.Builder mergeFrom(com.google.protobuf.Message other)
指定者:
接口 com.google.protobuf.Message.Builder 中的 mergeFrom
覆盖:
com.google.protobuf.AbstractMessage.Builder<NamingProtos.LocalNamingAuthResponse.Builder> 中的 mergeFrom

mergeFrom

public NamingProtos.LocalNamingAuthResponse.Builder mergeFrom(NamingProtos.LocalNamingAuthResponse other)

isInitialized

public final boolean isInitialized()
指定者:
接口 com.google.protobuf.MessageLiteOrBuilder 中的 isInitialized
覆盖:
com.google.protobuf.GeneratedMessage.Builder<NamingProtos.LocalNamingAuthResponse.Builder> 中的 isInitialized

mergeFrom

public NamingProtos.LocalNamingAuthResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws IOException
指定者:
接口 com.google.protobuf.Message.Builder 中的 mergeFrom
指定者:
接口 com.google.protobuf.MessageLite.Builder 中的 mergeFrom
覆盖:
com.google.protobuf.AbstractMessage.Builder<NamingProtos.LocalNamingAuthResponse.Builder> 中的 mergeFrom
抛出:
IOException

hasServiceName

public boolean hasServiceName()
optional string service_name = 1;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 hasServiceName

getServiceName

public String getServiceName()
optional string service_name = 1;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 getServiceName

getServiceNameBytes

public com.google.protobuf.ByteString getServiceNameBytes()
optional string service_name = 1;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 getServiceNameBytes

setServiceName

public NamingProtos.LocalNamingAuthResponse.Builder setServiceName(String value)
optional string service_name = 1;


clearServiceName

public NamingProtos.LocalNamingAuthResponse.Builder clearServiceName()
optional string service_name = 1;


setServiceNameBytes

public NamingProtos.LocalNamingAuthResponse.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
optional string service_name = 1;


getTrustedServicesList

public List<ServiceProtos.ServiceHostList> getTrustedServicesList()
repeated .ServiceHostList trusted_services = 2;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 getTrustedServicesList

getTrustedServicesCount

public int getTrustedServicesCount()
repeated .ServiceHostList trusted_services = 2;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 getTrustedServicesCount

getTrustedServices

public ServiceProtos.ServiceHostList getTrustedServices(int index)
repeated .ServiceHostList trusted_services = 2;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 getTrustedServices

setTrustedServices

public NamingProtos.LocalNamingAuthResponse.Builder setTrustedServices(int index,
                                                                       ServiceProtos.ServiceHostList value)
repeated .ServiceHostList trusted_services = 2;


setTrustedServices

public NamingProtos.LocalNamingAuthResponse.Builder setTrustedServices(int index,
                                                                       ServiceProtos.ServiceHostList.Builder builderForValue)
repeated .ServiceHostList trusted_services = 2;


addTrustedServices

public NamingProtos.LocalNamingAuthResponse.Builder addTrustedServices(ServiceProtos.ServiceHostList value)
repeated .ServiceHostList trusted_services = 2;


addTrustedServices

public NamingProtos.LocalNamingAuthResponse.Builder addTrustedServices(int index,
                                                                       ServiceProtos.ServiceHostList value)
repeated .ServiceHostList trusted_services = 2;


addTrustedServices

public NamingProtos.LocalNamingAuthResponse.Builder addTrustedServices(ServiceProtos.ServiceHostList.Builder builderForValue)
repeated .ServiceHostList trusted_services = 2;


addTrustedServices

public NamingProtos.LocalNamingAuthResponse.Builder addTrustedServices(int index,
                                                                       ServiceProtos.ServiceHostList.Builder builderForValue)
repeated .ServiceHostList trusted_services = 2;


addAllTrustedServices

public NamingProtos.LocalNamingAuthResponse.Builder addAllTrustedServices(Iterable<? extends ServiceProtos.ServiceHostList> values)
repeated .ServiceHostList trusted_services = 2;


clearTrustedServices

public NamingProtos.LocalNamingAuthResponse.Builder clearTrustedServices()
repeated .ServiceHostList trusted_services = 2;


removeTrustedServices

public NamingProtos.LocalNamingAuthResponse.Builder removeTrustedServices(int index)
repeated .ServiceHostList trusted_services = 2;


getTrustedServicesBuilder

public ServiceProtos.ServiceHostList.Builder getTrustedServicesBuilder(int index)
repeated .ServiceHostList trusted_services = 2;


getTrustedServicesOrBuilder

public ServiceProtos.ServiceHostListOrBuilder getTrustedServicesOrBuilder(int index)
repeated .ServiceHostList trusted_services = 2;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 getTrustedServicesOrBuilder

getTrustedServicesOrBuilderList

public List<? extends ServiceProtos.ServiceHostListOrBuilder> getTrustedServicesOrBuilderList()
repeated .ServiceHostList trusted_services = 2;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 getTrustedServicesOrBuilderList

addTrustedServicesBuilder

public ServiceProtos.ServiceHostList.Builder addTrustedServicesBuilder()
repeated .ServiceHostList trusted_services = 2;


addTrustedServicesBuilder

public ServiceProtos.ServiceHostList.Builder addTrustedServicesBuilder(int index)
repeated .ServiceHostList trusted_services = 2;


getTrustedServicesBuilderList

public List<ServiceProtos.ServiceHostList.Builder> getTrustedServicesBuilderList()
repeated .ServiceHostList trusted_services = 2;


hasRetcode

public boolean hasRetcode()
optional int32 retcode = 3;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 hasRetcode

getRetcode

public int getRetcode()
optional int32 retcode = 3;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 getRetcode

setRetcode

public NamingProtos.LocalNamingAuthResponse.Builder setRetcode(int value)
optional int32 retcode = 3;


clearRetcode

public NamingProtos.LocalNamingAuthResponse.Builder clearRetcode()
optional int32 retcode = 3;



Copyright © 2016. All rights reserved.