|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.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
public static final class ServiceProtos.InstanceInfo.Builder
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 |
| 方法详细信息 |
|---|
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
com.google.protobuf.GeneratedMessage.Builder<ServiceProtos.InstanceInfo.Builder> 中的 internalGetFieldAccessorTablepublic ServiceProtos.InstanceInfo.Builder clear()
com.google.protobuf.Message.Builder 中的 clearcom.google.protobuf.MessageLite.Builder 中的 clearcom.google.protobuf.GeneratedMessage.Builder<ServiceProtos.InstanceInfo.Builder> 中的 clearpublic ServiceProtos.InstanceInfo.Builder clone()
com.google.protobuf.Message.Builder 中的 clonecom.google.protobuf.MessageLite.Builder 中的 clonecom.google.protobuf.GeneratedMessage.Builder<ServiceProtos.InstanceInfo.Builder> 中的 clonepublic com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
com.google.protobuf.Message.Builder 中的 getDescriptorForTypecom.google.protobuf.MessageOrBuilder 中的 getDescriptorForTypecom.google.protobuf.GeneratedMessage.Builder<ServiceProtos.InstanceInfo.Builder> 中的 getDescriptorForTypepublic ServiceProtos.InstanceInfo getDefaultInstanceForType()
com.google.protobuf.MessageLiteOrBuilder 中的 getDefaultInstanceForTypecom.google.protobuf.MessageOrBuilder 中的 getDefaultInstanceForTypepublic ServiceProtos.InstanceInfo build()
com.google.protobuf.Message.Builder 中的 buildcom.google.protobuf.MessageLite.Builder 中的 buildpublic ServiceProtos.InstanceInfo buildPartial()
com.google.protobuf.Message.Builder 中的 buildPartialcom.google.protobuf.MessageLite.Builder 中的 buildPartialpublic ServiceProtos.InstanceInfo.Builder mergeFrom(com.google.protobuf.Message other)
com.google.protobuf.Message.Builder 中的 mergeFromcom.google.protobuf.AbstractMessage.Builder<ServiceProtos.InstanceInfo.Builder> 中的 mergeFrompublic ServiceProtos.InstanceInfo.Builder mergeFrom(ServiceProtos.InstanceInfo other)
public final boolean isInitialized()
com.google.protobuf.MessageLiteOrBuilder 中的 isInitializedcom.google.protobuf.GeneratedMessage.Builder<ServiceProtos.InstanceInfo.Builder> 中的 isInitialized
public ServiceProtos.InstanceInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
com.google.protobuf.Message.Builder 中的 mergeFromcom.google.protobuf.MessageLite.Builder 中的 mergeFromcom.google.protobuf.AbstractMessage.Builder<ServiceProtos.InstanceInfo.Builder> 中的 mergeFromIOExceptionpublic boolean hasHostName()
optional string host_name = 1;
ServiceProtos.InstanceInfoOrBuilder 中的 hasHostNamepublic String getHostName()
optional string host_name = 1;
ServiceProtos.InstanceInfoOrBuilder 中的 getHostNamepublic com.google.protobuf.ByteString getHostNameBytes()
optional string host_name = 1;
ServiceProtos.InstanceInfoOrBuilder 中的 getHostNameBytespublic ServiceProtos.InstanceInfo.Builder setHostName(String value)
optional string host_name = 1;
public ServiceProtos.InstanceInfo.Builder clearHostName()
optional string host_name = 1;
public ServiceProtos.InstanceInfo.Builder setHostNameBytes(com.google.protobuf.ByteString value)
optional string host_name = 1;
public boolean hasServiceName()
optional string service_name = 2;
ServiceProtos.InstanceInfoOrBuilder 中的 hasServiceNamepublic String getServiceName()
optional string service_name = 2;
ServiceProtos.InstanceInfoOrBuilder 中的 getServiceNamepublic com.google.protobuf.ByteString getServiceNameBytes()
optional string service_name = 2;
ServiceProtos.InstanceInfoOrBuilder 中的 getServiceNameBytespublic ServiceProtos.InstanceInfo.Builder setServiceName(String value)
optional string service_name = 2;
public ServiceProtos.InstanceInfo.Builder clearServiceName()
optional string service_name = 2;
public ServiceProtos.InstanceInfo.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
optional string service_name = 2;
public boolean hasInstanceStatus()
optional .InstanceStatus instance_status = 3;
ServiceProtos.InstanceInfoOrBuilder 中的 hasInstanceStatuspublic ServiceProtos.InstanceStatus getInstanceStatus()
optional .InstanceStatus instance_status = 3;
ServiceProtos.InstanceInfoOrBuilder 中的 getInstanceStatuspublic ServiceProtos.InstanceInfo.Builder setInstanceStatus(ServiceProtos.InstanceStatus value)
optional .InstanceStatus instance_status = 3;
public ServiceProtos.InstanceInfo.Builder setInstanceStatus(ServiceProtos.InstanceStatus.Builder builderForValue)
optional .InstanceStatus instance_status = 3;
public ServiceProtos.InstanceInfo.Builder mergeInstanceStatus(ServiceProtos.InstanceStatus value)
optional .InstanceStatus instance_status = 3;
public ServiceProtos.InstanceInfo.Builder clearInstanceStatus()
optional .InstanceStatus instance_status = 3;
public ServiceProtos.InstanceStatus.Builder getInstanceStatusBuilder()
optional .InstanceStatus instance_status = 3;
public ServiceProtos.InstanceStatusOrBuilder getInstanceStatusOrBuilder()
optional .InstanceStatus instance_status = 3;
ServiceProtos.InstanceInfoOrBuilder 中的 getInstanceStatusOrBuilderpublic boolean hasInstanceLoad()
optional .InstanceLoad instance_load = 4;
The load of the SERVICE running on this host
ServiceProtos.InstanceInfoOrBuilder 中的 hasInstanceLoadpublic ServiceProtos.InstanceLoad getInstanceLoad()
optional .InstanceLoad instance_load = 4;
The load of the SERVICE running on this host
ServiceProtos.InstanceInfoOrBuilder 中的 getInstanceLoadpublic ServiceProtos.InstanceInfo.Builder setInstanceLoad(ServiceProtos.InstanceLoad value)
optional .InstanceLoad instance_load = 4;
The load of the SERVICE running on this host
public ServiceProtos.InstanceInfo.Builder setInstanceLoad(ServiceProtos.InstanceLoad.Builder builderForValue)
optional .InstanceLoad instance_load = 4;
The load of the SERVICE running on this host
public ServiceProtos.InstanceInfo.Builder mergeInstanceLoad(ServiceProtos.InstanceLoad value)
optional .InstanceLoad instance_load = 4;
The load of the SERVICE running on this host
public ServiceProtos.InstanceInfo.Builder clearInstanceLoad()
optional .InstanceLoad instance_load = 4;
The load of the SERVICE running on this host
public ServiceProtos.InstanceLoad.Builder getInstanceLoadBuilder()
optional .InstanceLoad instance_load = 4;
The load of the SERVICE running on this host
public ServiceProtos.InstanceLoadOrBuilder getInstanceLoadOrBuilder()
optional .InstanceLoad instance_load = 4;
The load of the SERVICE running on this host
ServiceProtos.InstanceInfoOrBuilder 中的 getInstanceLoadOrBuilderpublic boolean hasHostIp()
optional uint32 host_ip = 5;
ServiceProtos.InstanceInfoOrBuilder 中的 hasHostIppublic int getHostIp()
optional uint32 host_ip = 5;
ServiceProtos.InstanceInfoOrBuilder 中的 getHostIppublic ServiceProtos.InstanceInfo.Builder setHostIp(int value)
optional uint32 host_ip = 5;
public ServiceProtos.InstanceInfo.Builder clearHostIp()
optional uint32 host_ip = 5;
public boolean hasSuspectStatus()
optional bool suspect_status = 6 [default = false];
false means no need to check
ServiceProtos.InstanceInfoOrBuilder 中的 hasSuspectStatuspublic boolean getSuspectStatus()
optional bool suspect_status = 6 [default = false];
false means no need to check
ServiceProtos.InstanceInfoOrBuilder 中的 getSuspectStatuspublic ServiceProtos.InstanceInfo.Builder setSuspectStatus(boolean value)
optional bool suspect_status = 6 [default = false];
false means no need to check
public ServiceProtos.InstanceInfo.Builder clearSuspectStatus()
optional bool suspect_status = 6 [default = false];
false means no need to check
public boolean hasOffset()
optional int32 offset = 7 [default = 0];
ServiceProtos.InstanceInfoOrBuilder 中的 hasOffsetpublic int getOffset()
optional int32 offset = 7 [default = 0];
ServiceProtos.InstanceInfoOrBuilder 中的 getOffsetpublic ServiceProtos.InstanceInfo.Builder setOffset(int value)
optional int32 offset = 7 [default = 0];
public ServiceProtos.InstanceInfo.Builder clearOffset()
optional int32 offset = 7 [default = 0];
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||