com.baidu.noah.naming.msg
类 ServiceProtos.InstanceInfo.Builder

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

public static final class ServiceProtos.InstanceInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ServiceProtos.InstanceInfo.Builder>
implements ServiceProtos.InstanceInfoOrBuilder

Protobuf type InstanceInfo


方法摘要
 ServiceProtos.InstanceInfo build()
           
 ServiceProtos.InstanceInfo buildPartial()
           
 ServiceProtos.InstanceInfo.Builder clear()
           
 ServiceProtos.InstanceInfo.Builder clearHostIp()
          optional uint32 host_ip = 5;
 ServiceProtos.InstanceInfo.Builder clearHostName()
          optional string host_name = 1;
 ServiceProtos.InstanceInfo.Builder clearInstanceLoad()
          optional .InstanceLoad instance_load = 4; The load of the SERVICE running on this host
 ServiceProtos.InstanceInfo.Builder clearInstanceStatus()
          optional .InstanceStatus instance_status = 3;
 ServiceProtos.InstanceInfo.Builder clearOffset()
          optional int32 offset = 7 [default = 0];
 ServiceProtos.InstanceInfo.Builder clearServiceName()
          optional string service_name = 2;
 ServiceProtos.InstanceInfo.Builder clearSuspectStatus()
          optional bool suspect_status = 6 [default = false]; false means no need to check
 ServiceProtos.InstanceInfo.Builder clone()
           
 ServiceProtos.InstanceInfo getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 int getHostIp()
          optional uint32 host_ip = 5;
 String getHostName()
          optional string host_name = 1;
 com.google.protobuf.ByteString getHostNameBytes()
          optional string host_name = 1;
 ServiceProtos.InstanceLoad getInstanceLoad()
          optional .InstanceLoad instance_load = 4; The load of the SERVICE running on this host
 ServiceProtos.InstanceLoad.Builder getInstanceLoadBuilder()
          optional .InstanceLoad instance_load = 4; The load of the SERVICE running on this host
 ServiceProtos.InstanceLoadOrBuilder getInstanceLoadOrBuilder()
          optional .InstanceLoad instance_load = 4; The load of the SERVICE running on this host
 ServiceProtos.InstanceStatus getInstanceStatus()
          optional .InstanceStatus instance_status = 3;
 ServiceProtos.InstanceStatus.Builder getInstanceStatusBuilder()
          optional .InstanceStatus instance_status = 3;
 ServiceProtos.InstanceStatusOrBuilder getInstanceStatusOrBuilder()
          optional .InstanceStatus instance_status = 3;
 int getOffset()
          optional int32 offset = 7 [default = 0];
 String getServiceName()
          optional string service_name = 2;
 com.google.protobuf.ByteString getServiceNameBytes()
          optional string service_name = 2;
 boolean getSuspectStatus()
          optional bool suspect_status = 6 [default = false]; false means no need to check
 boolean hasHostIp()
          optional uint32 host_ip = 5;
 boolean hasHostName()
          optional string host_name = 1;
 boolean hasInstanceLoad()
          optional .InstanceLoad instance_load = 4; The load of the SERVICE running on this host
 boolean hasInstanceStatus()
          optional .InstanceStatus instance_status = 3;
 boolean hasOffset()
          optional int32 offset = 7 [default = 0];
 boolean hasServiceName()
          optional string service_name = 2;
 boolean hasSuspectStatus()
          optional bool suspect_status = 6 [default = false]; false means no need to check
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 ServiceProtos.InstanceInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ServiceProtos.InstanceInfo.Builder mergeFrom(com.google.protobuf.Message other)
           
 ServiceProtos.InstanceInfo.Builder mergeFrom(ServiceProtos.InstanceInfo other)
           
 ServiceProtos.InstanceInfo.Builder mergeInstanceLoad(ServiceProtos.InstanceLoad value)
          optional .InstanceLoad instance_load = 4; The load of the SERVICE running on this host
 ServiceProtos.InstanceInfo.Builder mergeInstanceStatus(ServiceProtos.InstanceStatus value)
          optional .InstanceStatus instance_status = 3;
 ServiceProtos.InstanceInfo.Builder setHostIp(int value)
          optional uint32 host_ip = 5;
 ServiceProtos.InstanceInfo.Builder setHostName(String value)
          optional string host_name = 1;
 ServiceProtos.InstanceInfo.Builder setHostNameBytes(com.google.protobuf.ByteString value)
          optional string host_name = 1;
 ServiceProtos.InstanceInfo.Builder setInstanceLoad(ServiceProtos.InstanceLoad.Builder builderForValue)
          optional .InstanceLoad instance_load = 4; The load of the SERVICE running on this host
 ServiceProtos.InstanceInfo.Builder setInstanceLoad(ServiceProtos.InstanceLoad value)
          optional .InstanceLoad instance_load = 4; The load of the SERVICE running on this host
 ServiceProtos.InstanceInfo.Builder setInstanceStatus(ServiceProtos.InstanceStatus.Builder builderForValue)
          optional .InstanceStatus instance_status = 3;
 ServiceProtos.InstanceInfo.Builder setInstanceStatus(ServiceProtos.InstanceStatus value)
          optional .InstanceStatus instance_status = 3;
 ServiceProtos.InstanceInfo.Builder setOffset(int value)
          optional int32 offset = 7 [default = 0];
 ServiceProtos.InstanceInfo.Builder setServiceName(String value)
          optional string service_name = 2;
 ServiceProtos.InstanceInfo.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
          optional string service_name = 2;
 ServiceProtos.InstanceInfo.Builder setSuspectStatus(boolean value)
          optional bool suspect_status = 6 [default = false]; false means no need to check
 
从类 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<ServiceProtos.InstanceInfo.Builder> 中的 internalGetFieldAccessorTable

clear

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

clone

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

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

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

mergeFrom

public ServiceProtos.InstanceInfo.Builder mergeFrom(ServiceProtos.InstanceInfo other)

isInitialized

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

mergeFrom

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

hasHostName

public boolean hasHostName()
optional string host_name = 1;

指定者:
接口 ServiceProtos.InstanceInfoOrBuilder 中的 hasHostName

getHostName

public String getHostName()
optional string host_name = 1;

指定者:
接口 ServiceProtos.InstanceInfoOrBuilder 中的 getHostName

getHostNameBytes

public com.google.protobuf.ByteString getHostNameBytes()
optional string host_name = 1;

指定者:
接口 ServiceProtos.InstanceInfoOrBuilder 中的 getHostNameBytes

setHostName

public ServiceProtos.InstanceInfo.Builder setHostName(String value)
optional string host_name = 1;


clearHostName

public ServiceProtos.InstanceInfo.Builder clearHostName()
optional string host_name = 1;


setHostNameBytes

public ServiceProtos.InstanceInfo.Builder setHostNameBytes(com.google.protobuf.ByteString value)
optional string host_name = 1;


hasServiceName

public boolean hasServiceName()
optional string service_name = 2;

指定者:
接口 ServiceProtos.InstanceInfoOrBuilder 中的 hasServiceName

getServiceName

public String getServiceName()
optional string service_name = 2;

指定者:
接口 ServiceProtos.InstanceInfoOrBuilder 中的 getServiceName

getServiceNameBytes

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

指定者:
接口 ServiceProtos.InstanceInfoOrBuilder 中的 getServiceNameBytes

setServiceName

public ServiceProtos.InstanceInfo.Builder setServiceName(String value)
optional string service_name = 2;


clearServiceName

public ServiceProtos.InstanceInfo.Builder clearServiceName()
optional string service_name = 2;


setServiceNameBytes

public ServiceProtos.InstanceInfo.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
optional string service_name = 2;


hasInstanceStatus

public boolean hasInstanceStatus()
optional .InstanceStatus instance_status = 3;

指定者:
接口 ServiceProtos.InstanceInfoOrBuilder 中的 hasInstanceStatus

getInstanceStatus

public ServiceProtos.InstanceStatus getInstanceStatus()
optional .InstanceStatus instance_status = 3;

指定者:
接口 ServiceProtos.InstanceInfoOrBuilder 中的 getInstanceStatus

setInstanceStatus

public ServiceProtos.InstanceInfo.Builder setInstanceStatus(ServiceProtos.InstanceStatus value)
optional .InstanceStatus instance_status = 3;


setInstanceStatus

public ServiceProtos.InstanceInfo.Builder setInstanceStatus(ServiceProtos.InstanceStatus.Builder builderForValue)
optional .InstanceStatus instance_status = 3;


mergeInstanceStatus

public ServiceProtos.InstanceInfo.Builder mergeInstanceStatus(ServiceProtos.InstanceStatus value)
optional .InstanceStatus instance_status = 3;


clearInstanceStatus

public ServiceProtos.InstanceInfo.Builder clearInstanceStatus()
optional .InstanceStatus instance_status = 3;


getInstanceStatusBuilder

public ServiceProtos.InstanceStatus.Builder getInstanceStatusBuilder()
optional .InstanceStatus instance_status = 3;


getInstanceStatusOrBuilder

public ServiceProtos.InstanceStatusOrBuilder getInstanceStatusOrBuilder()
optional .InstanceStatus instance_status = 3;

指定者:
接口 ServiceProtos.InstanceInfoOrBuilder 中的 getInstanceStatusOrBuilder

hasInstanceLoad

public boolean hasInstanceLoad()
optional .InstanceLoad instance_load = 4;
The load of the SERVICE running on this host
 

指定者:
接口 ServiceProtos.InstanceInfoOrBuilder 中的 hasInstanceLoad

getInstanceLoad

public ServiceProtos.InstanceLoad getInstanceLoad()
optional .InstanceLoad instance_load = 4;
The load of the SERVICE running on this host
 

指定者:
接口 ServiceProtos.InstanceInfoOrBuilder 中的 getInstanceLoad

setInstanceLoad

public ServiceProtos.InstanceInfo.Builder setInstanceLoad(ServiceProtos.InstanceLoad value)
optional .InstanceLoad instance_load = 4;
The load of the SERVICE running on this host
 


setInstanceLoad

public ServiceProtos.InstanceInfo.Builder setInstanceLoad(ServiceProtos.InstanceLoad.Builder builderForValue)
optional .InstanceLoad instance_load = 4;
The load of the SERVICE running on this host
 


mergeInstanceLoad

public ServiceProtos.InstanceInfo.Builder mergeInstanceLoad(ServiceProtos.InstanceLoad value)
optional .InstanceLoad instance_load = 4;
The load of the SERVICE running on this host
 


clearInstanceLoad

public ServiceProtos.InstanceInfo.Builder clearInstanceLoad()
optional .InstanceLoad instance_load = 4;
The load of the SERVICE running on this host
 


getInstanceLoadBuilder

public ServiceProtos.InstanceLoad.Builder getInstanceLoadBuilder()
optional .InstanceLoad instance_load = 4;
The load of the SERVICE running on this host
 


getInstanceLoadOrBuilder

public ServiceProtos.InstanceLoadOrBuilder getInstanceLoadOrBuilder()
optional .InstanceLoad instance_load = 4;
The load of the SERVICE running on this host
 

指定者:
接口 ServiceProtos.InstanceInfoOrBuilder 中的 getInstanceLoadOrBuilder

hasHostIp

public boolean hasHostIp()
optional uint32 host_ip = 5;

指定者:
接口 ServiceProtos.InstanceInfoOrBuilder 中的 hasHostIp

getHostIp

public int getHostIp()
optional uint32 host_ip = 5;

指定者:
接口 ServiceProtos.InstanceInfoOrBuilder 中的 getHostIp

setHostIp

public ServiceProtos.InstanceInfo.Builder setHostIp(int value)
optional uint32 host_ip = 5;


clearHostIp

public ServiceProtos.InstanceInfo.Builder clearHostIp()
optional uint32 host_ip = 5;


hasSuspectStatus

public boolean hasSuspectStatus()
optional bool suspect_status = 6 [default = false];
false means no need to check
 

指定者:
接口 ServiceProtos.InstanceInfoOrBuilder 中的 hasSuspectStatus

getSuspectStatus

public boolean getSuspectStatus()
optional bool suspect_status = 6 [default = false];
false means no need to check
 

指定者:
接口 ServiceProtos.InstanceInfoOrBuilder 中的 getSuspectStatus

setSuspectStatus

public ServiceProtos.InstanceInfo.Builder setSuspectStatus(boolean value)
optional bool suspect_status = 6 [default = false];
false means no need to check
 


clearSuspectStatus

public ServiceProtos.InstanceInfo.Builder clearSuspectStatus()
optional bool suspect_status = 6 [default = false];
false means no need to check
 


hasOffset

public boolean hasOffset()
optional int32 offset = 7 [default = 0];

指定者:
接口 ServiceProtos.InstanceInfoOrBuilder 中的 hasOffset

getOffset

public int getOffset()
optional int32 offset = 7 [default = 0];

指定者:
接口 ServiceProtos.InstanceInfoOrBuilder 中的 getOffset

setOffset

public ServiceProtos.InstanceInfo.Builder setOffset(int value)
optional int32 offset = 7 [default = 0];


clearOffset

public ServiceProtos.InstanceInfo.Builder clearOffset()
optional int32 offset = 7 [default = 0];



Copyright © 2016. All rights reserved.