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

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

public static final class NamingProtos.LocalNamingResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<NamingProtos.LocalNamingResponse.Builder>
implements NamingProtos.LocalNamingResponseOrBuilder

Protobuf type LocalNamingResponse

data struct response for local naming-service response
 


方法摘要
 NamingProtos.LocalNamingResponse.Builder addAllInstanceInfo(Iterable<? extends ServiceProtos.InstanceInfo> values)
          repeated .InstanceInfo instance_info = 2; Host status entities that running this service
 NamingProtos.LocalNamingResponse.Builder addInstanceInfo(int index, ServiceProtos.InstanceInfo.Builder builderForValue)
          repeated .InstanceInfo instance_info = 2; Host status entities that running this service
 NamingProtos.LocalNamingResponse.Builder addInstanceInfo(int index, ServiceProtos.InstanceInfo value)
          repeated .InstanceInfo instance_info = 2; Host status entities that running this service
 NamingProtos.LocalNamingResponse.Builder addInstanceInfo(ServiceProtos.InstanceInfo.Builder builderForValue)
          repeated .InstanceInfo instance_info = 2; Host status entities that running this service
 NamingProtos.LocalNamingResponse.Builder addInstanceInfo(ServiceProtos.InstanceInfo value)
          repeated .InstanceInfo instance_info = 2; Host status entities that running this service
 ServiceProtos.InstanceInfo.Builder addInstanceInfoBuilder()
          repeated .InstanceInfo instance_info = 2; Host status entities that running this service
 ServiceProtos.InstanceInfo.Builder addInstanceInfoBuilder(int index)
          repeated .InstanceInfo instance_info = 2; Host status entities that running this service
 NamingProtos.LocalNamingResponse build()
           
 NamingProtos.LocalNamingResponse buildPartial()
           
 NamingProtos.LocalNamingResponse.Builder clear()
           
 NamingProtos.LocalNamingResponse.Builder clearInstanceInfo()
          repeated .InstanceInfo instance_info = 2; Host status entities that running this service
 NamingProtos.LocalNamingResponse.Builder clearRetcode()
          optional int32 retcode = 3;
 NamingProtos.LocalNamingResponse.Builder clearServiceName()
          optional string service_name = 1;
 NamingProtos.LocalNamingResponse.Builder clearStale()
          optional bool stale = 4 [default = false];
 NamingProtos.LocalNamingResponse.Builder clearThreshold()
          optional int32 threshold = 5 [default = 0];
 NamingProtos.LocalNamingResponse.Builder clone()
           
 NamingProtos.LocalNamingResponse getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 ServiceProtos.InstanceInfo getInstanceInfo(int index)
          repeated .InstanceInfo instance_info = 2; Host status entities that running this service
 ServiceProtos.InstanceInfo.Builder getInstanceInfoBuilder(int index)
          repeated .InstanceInfo instance_info = 2; Host status entities that running this service
 List<ServiceProtos.InstanceInfo.Builder> getInstanceInfoBuilderList()
          repeated .InstanceInfo instance_info = 2; Host status entities that running this service
 int getInstanceInfoCount()
          repeated .InstanceInfo instance_info = 2; Host status entities that running this service
 List<ServiceProtos.InstanceInfo> getInstanceInfoList()
          repeated .InstanceInfo instance_info = 2; Host status entities that running this service
 ServiceProtos.InstanceInfoOrBuilder getInstanceInfoOrBuilder(int index)
          repeated .InstanceInfo instance_info = 2; Host status entities that running this service
 List<? extends ServiceProtos.InstanceInfoOrBuilder> getInstanceInfoOrBuilderList()
          repeated .InstanceInfo instance_info = 2; Host status entities that running this service
 int getRetcode()
          optional int32 retcode = 3;
 String getServiceName()
          optional string service_name = 1;
 com.google.protobuf.ByteString getServiceNameBytes()
          optional string service_name = 1;
 boolean getStale()
          optional bool stale = 4 [default = false];
 int getThreshold()
          optional int32 threshold = 5 [default = 0];
 boolean hasRetcode()
          optional int32 retcode = 3;
 boolean hasServiceName()
          optional string service_name = 1;
 boolean hasStale()
          optional bool stale = 4 [default = false];
 boolean hasThreshold()
          optional int32 threshold = 5 [default = 0];
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 NamingProtos.LocalNamingResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 NamingProtos.LocalNamingResponse.Builder mergeFrom(com.google.protobuf.Message other)
           
 NamingProtos.LocalNamingResponse.Builder mergeFrom(NamingProtos.LocalNamingResponse other)
           
 NamingProtos.LocalNamingResponse.Builder removeInstanceInfo(int index)
          repeated .InstanceInfo instance_info = 2; Host status entities that running this service
 NamingProtos.LocalNamingResponse.Builder setInstanceInfo(int index, ServiceProtos.InstanceInfo.Builder builderForValue)
          repeated .InstanceInfo instance_info = 2; Host status entities that running this service
 NamingProtos.LocalNamingResponse.Builder setInstanceInfo(int index, ServiceProtos.InstanceInfo value)
          repeated .InstanceInfo instance_info = 2; Host status entities that running this service
 NamingProtos.LocalNamingResponse.Builder setRetcode(int value)
          optional int32 retcode = 3;
 NamingProtos.LocalNamingResponse.Builder setServiceName(String value)
          optional string service_name = 1;
 NamingProtos.LocalNamingResponse.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
          optional string service_name = 1;
 NamingProtos.LocalNamingResponse.Builder setStale(boolean value)
          optional bool stale = 4 [default = false];
 NamingProtos.LocalNamingResponse.Builder setThreshold(int value)
          optional int32 threshold = 5 [default = 0];
 
从类 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.LocalNamingResponse.Builder> 中的 internalGetFieldAccessorTable

clear

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

clone

public NamingProtos.LocalNamingResponse.Builder clone()
指定者:
接口 com.google.protobuf.Message.Builder 中的 clone
指定者:
接口 com.google.protobuf.MessageLite.Builder 中的 clone
覆盖:
com.google.protobuf.GeneratedMessage.Builder<NamingProtos.LocalNamingResponse.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.LocalNamingResponse.Builder> 中的 getDescriptorForType

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

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

mergeFrom

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

isInitialized

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

mergeFrom

public NamingProtos.LocalNamingResponse.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.LocalNamingResponse.Builder> 中的 mergeFrom
抛出:
IOException

hasServiceName

public boolean hasServiceName()
optional string service_name = 1;

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

getServiceName

public String getServiceName()
optional string service_name = 1;

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

getServiceNameBytes

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

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

setServiceName

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


clearServiceName

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


setServiceNameBytes

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


getInstanceInfoList

public List<ServiceProtos.InstanceInfo> getInstanceInfoList()
repeated .InstanceInfo instance_info = 2;
Host status entities that running this service 
 

指定者:
接口 NamingProtos.LocalNamingResponseOrBuilder 中的 getInstanceInfoList

getInstanceInfoCount

public int getInstanceInfoCount()
repeated .InstanceInfo instance_info = 2;
Host status entities that running this service 
 

指定者:
接口 NamingProtos.LocalNamingResponseOrBuilder 中的 getInstanceInfoCount

getInstanceInfo

public ServiceProtos.InstanceInfo getInstanceInfo(int index)
repeated .InstanceInfo instance_info = 2;
Host status entities that running this service 
 

指定者:
接口 NamingProtos.LocalNamingResponseOrBuilder 中的 getInstanceInfo

setInstanceInfo

public NamingProtos.LocalNamingResponse.Builder setInstanceInfo(int index,
                                                                ServiceProtos.InstanceInfo value)
repeated .InstanceInfo instance_info = 2;
Host status entities that running this service 
 


setInstanceInfo

public NamingProtos.LocalNamingResponse.Builder setInstanceInfo(int index,
                                                                ServiceProtos.InstanceInfo.Builder builderForValue)
repeated .InstanceInfo instance_info = 2;
Host status entities that running this service 
 


addInstanceInfo

public NamingProtos.LocalNamingResponse.Builder addInstanceInfo(ServiceProtos.InstanceInfo value)
repeated .InstanceInfo instance_info = 2;
Host status entities that running this service 
 


addInstanceInfo

public NamingProtos.LocalNamingResponse.Builder addInstanceInfo(int index,
                                                                ServiceProtos.InstanceInfo value)
repeated .InstanceInfo instance_info = 2;
Host status entities that running this service 
 


addInstanceInfo

public NamingProtos.LocalNamingResponse.Builder addInstanceInfo(ServiceProtos.InstanceInfo.Builder builderForValue)
repeated .InstanceInfo instance_info = 2;
Host status entities that running this service 
 


addInstanceInfo

public NamingProtos.LocalNamingResponse.Builder addInstanceInfo(int index,
                                                                ServiceProtos.InstanceInfo.Builder builderForValue)
repeated .InstanceInfo instance_info = 2;
Host status entities that running this service 
 


addAllInstanceInfo

public NamingProtos.LocalNamingResponse.Builder addAllInstanceInfo(Iterable<? extends ServiceProtos.InstanceInfo> values)
repeated .InstanceInfo instance_info = 2;
Host status entities that running this service 
 


clearInstanceInfo

public NamingProtos.LocalNamingResponse.Builder clearInstanceInfo()
repeated .InstanceInfo instance_info = 2;
Host status entities that running this service 
 


removeInstanceInfo

public NamingProtos.LocalNamingResponse.Builder removeInstanceInfo(int index)
repeated .InstanceInfo instance_info = 2;
Host status entities that running this service 
 


getInstanceInfoBuilder

public ServiceProtos.InstanceInfo.Builder getInstanceInfoBuilder(int index)
repeated .InstanceInfo instance_info = 2;
Host status entities that running this service 
 


getInstanceInfoOrBuilder

public ServiceProtos.InstanceInfoOrBuilder getInstanceInfoOrBuilder(int index)
repeated .InstanceInfo instance_info = 2;
Host status entities that running this service 
 

指定者:
接口 NamingProtos.LocalNamingResponseOrBuilder 中的 getInstanceInfoOrBuilder

getInstanceInfoOrBuilderList

public List<? extends ServiceProtos.InstanceInfoOrBuilder> getInstanceInfoOrBuilderList()
repeated .InstanceInfo instance_info = 2;
Host status entities that running this service 
 

指定者:
接口 NamingProtos.LocalNamingResponseOrBuilder 中的 getInstanceInfoOrBuilderList

addInstanceInfoBuilder

public ServiceProtos.InstanceInfo.Builder addInstanceInfoBuilder()
repeated .InstanceInfo instance_info = 2;
Host status entities that running this service 
 


addInstanceInfoBuilder

public ServiceProtos.InstanceInfo.Builder addInstanceInfoBuilder(int index)
repeated .InstanceInfo instance_info = 2;
Host status entities that running this service 
 


getInstanceInfoBuilderList

public List<ServiceProtos.InstanceInfo.Builder> getInstanceInfoBuilderList()
repeated .InstanceInfo instance_info = 2;
Host status entities that running this service 
 


hasRetcode

public boolean hasRetcode()
optional int32 retcode = 3;

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

getRetcode

public int getRetcode()
optional int32 retcode = 3;

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

setRetcode

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


clearRetcode

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


hasStale

public boolean hasStale()
optional bool stale = 4 [default = false];

指定者:
接口 NamingProtos.LocalNamingResponseOrBuilder 中的 hasStale

getStale

public boolean getStale()
optional bool stale = 4 [default = false];

指定者:
接口 NamingProtos.LocalNamingResponseOrBuilder 中的 getStale

setStale

public NamingProtos.LocalNamingResponse.Builder setStale(boolean value)
optional bool stale = 4 [default = false];


clearStale

public NamingProtos.LocalNamingResponse.Builder clearStale()
optional bool stale = 4 [default = false];


hasThreshold

public boolean hasThreshold()
optional int32 threshold = 5 [default = 0];

指定者:
接口 NamingProtos.LocalNamingResponseOrBuilder 中的 hasThreshold

getThreshold

public int getThreshold()
optional int32 threshold = 5 [default = 0];

指定者:
接口 NamingProtos.LocalNamingResponseOrBuilder 中的 getThreshold

setThreshold

public NamingProtos.LocalNamingResponse.Builder setThreshold(int value)
optional int32 threshold = 5 [default = 0];


clearThreshold

public NamingProtos.LocalNamingResponse.Builder clearThreshold()
optional int32 threshold = 5 [default = 0];



Copyright © 2016. All rights reserved.