|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.baidu.noah.naming.msg.ServiceProtos.InstanceInfo
public static final class ServiceProtos.InstanceInfo
Protobuf type InstanceInfo
| 嵌套类摘要 | |
|---|---|
static class |
ServiceProtos.InstanceInfo.Builder
Protobuf type InstanceInfo |
| 从类 com.google.protobuf.GeneratedMessage 继承的嵌套类/接口 |
|---|
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type> |
| 字段摘要 | |
|---|---|
static int |
HOST_IP_FIELD_NUMBER
|
static int |
HOST_NAME_FIELD_NUMBER
|
static int |
INSTANCE_LOAD_FIELD_NUMBER
|
static int |
INSTANCE_STATUS_FIELD_NUMBER
|
static int |
OFFSET_FIELD_NUMBER
|
static com.google.protobuf.Parser<ServiceProtos.InstanceInfo> |
PARSER
|
static int |
SERVICE_NAME_FIELD_NUMBER
|
static int |
SUSPECT_STATUS_FIELD_NUMBER
|
| 从类 com.google.protobuf.GeneratedMessage 继承的字段 |
|---|
alwaysUseFieldBuilders |
| 方法摘要 | |
|---|---|
static ServiceProtos.InstanceInfo |
getDefaultInstance()
|
ServiceProtos.InstanceInfo |
getDefaultInstanceForType()
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor()
|
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.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.InstanceStatusOrBuilder |
getInstanceStatusOrBuilder()
optional .InstanceStatus instance_status = 3; |
int |
getOffset()
optional int32 offset = 7 [default = 0]; |
com.google.protobuf.Parser<ServiceProtos.InstanceInfo> |
getParserForType()
|
int |
getSerializedSize()
|
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
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields()
|
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()
|
static ServiceProtos.InstanceInfo.Builder |
newBuilder()
|
static ServiceProtos.InstanceInfo.Builder |
newBuilder(ServiceProtos.InstanceInfo prototype)
|
ServiceProtos.InstanceInfo.Builder |
newBuilderForType()
|
protected ServiceProtos.InstanceInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
|
static ServiceProtos.InstanceInfo |
parseDelimitedFrom(InputStream input)
|
static ServiceProtos.InstanceInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static ServiceProtos.InstanceInfo |
parseFrom(byte[] data)
|
static ServiceProtos.InstanceInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static ServiceProtos.InstanceInfo |
parseFrom(com.google.protobuf.ByteString data)
|
static ServiceProtos.InstanceInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static ServiceProtos.InstanceInfo |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static ServiceProtos.InstanceInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static ServiceProtos.InstanceInfo |
parseFrom(InputStream input)
|
static ServiceProtos.InstanceInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
ServiceProtos.InstanceInfo.Builder |
toBuilder()
|
protected Object |
writeReplace()
|
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
| 从类 com.google.protobuf.GeneratedMessage 继承的方法 |
|---|
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField |
| 从类 com.google.protobuf.AbstractMessage 继承的方法 |
|---|
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString |
| 从类 com.google.protobuf.AbstractMessageLite 继承的方法 |
|---|
toByteArray, toByteString, writeDelimitedTo, writeTo |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| 从接口 com.google.protobuf.MessageOrBuilder 继承的方法 |
|---|
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, hasField |
| 从接口 com.google.protobuf.MessageLite 继承的方法 |
|---|
toByteArray, toByteString, writeDelimitedTo, writeTo |
| 字段详细信息 |
|---|
public static com.google.protobuf.Parser<ServiceProtos.InstanceInfo> PARSER
public static final int HOST_NAME_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER
public static final int INSTANCE_STATUS_FIELD_NUMBER
public static final int INSTANCE_LOAD_FIELD_NUMBER
public static final int HOST_IP_FIELD_NUMBER
public static final int SUSPECT_STATUS_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
| 方法详细信息 |
|---|
public static ServiceProtos.InstanceInfo getDefaultInstance()
public ServiceProtos.InstanceInfo getDefaultInstanceForType()
com.google.protobuf.MessageLiteOrBuilder 中的 getDefaultInstanceForTypecom.google.protobuf.MessageOrBuilder 中的 getDefaultInstanceForTypepublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
com.google.protobuf.MessageOrBuilder 中的 getUnknownFieldscom.google.protobuf.GeneratedMessage 中的 getUnknownFieldspublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
com.google.protobuf.GeneratedMessage 中的 internalGetFieldAccessorTablepublic com.google.protobuf.Parser<ServiceProtos.InstanceInfo> getParserForType()
com.google.protobuf.Message 中的 getParserForTypecom.google.protobuf.MessageLite 中的 getParserForTypecom.google.protobuf.GeneratedMessage 中的 getParserForTypepublic 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 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 boolean hasInstanceStatus()
optional .InstanceStatus instance_status = 3;
ServiceProtos.InstanceInfoOrBuilder 中的 hasInstanceStatuspublic ServiceProtos.InstanceStatus getInstanceStatus()
optional .InstanceStatus instance_status = 3;
ServiceProtos.InstanceInfoOrBuilder 中的 getInstanceStatuspublic 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.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 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 boolean hasOffset()
optional int32 offset = 7 [default = 0];
ServiceProtos.InstanceInfoOrBuilder 中的 hasOffsetpublic int getOffset()
optional int32 offset = 7 [default = 0];
ServiceProtos.InstanceInfoOrBuilder 中的 getOffsetpublic final boolean isInitialized()
com.google.protobuf.MessageLiteOrBuilder 中的 isInitializedcom.google.protobuf.GeneratedMessage 中的 isInitialized
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
com.google.protobuf.MessageLite 中的 writeTocom.google.protobuf.AbstractMessage 中的 writeToIOExceptionpublic int getSerializedSize()
com.google.protobuf.MessageLite 中的 getSerializedSizecom.google.protobuf.AbstractMessage 中的 getSerializedSize
protected Object writeReplace()
throws ObjectStreamException
com.google.protobuf.GeneratedMessage 中的 writeReplaceObjectStreamException
public static ServiceProtos.InstanceInfo parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ServiceProtos.InstanceInfo parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ServiceProtos.InstanceInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ServiceProtos.InstanceInfo parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ServiceProtos.InstanceInfo parseFrom(InputStream input)
throws IOException
IOException
public static ServiceProtos.InstanceInfo parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
IOException
public static ServiceProtos.InstanceInfo parseDelimitedFrom(InputStream input)
throws IOException
IOException
public static ServiceProtos.InstanceInfo parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
IOException
public static ServiceProtos.InstanceInfo parseFrom(com.google.protobuf.CodedInputStream input)
throws IOException
IOException
public static ServiceProtos.InstanceInfo parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
IOExceptionpublic static ServiceProtos.InstanceInfo.Builder newBuilder()
public ServiceProtos.InstanceInfo.Builder newBuilderForType()
com.google.protobuf.Message 中的 newBuilderForTypecom.google.protobuf.MessageLite 中的 newBuilderForTypepublic static ServiceProtos.InstanceInfo.Builder newBuilder(ServiceProtos.InstanceInfo prototype)
public ServiceProtos.InstanceInfo.Builder toBuilder()
com.google.protobuf.Message 中的 toBuildercom.google.protobuf.MessageLite 中的 toBuilderprotected ServiceProtos.InstanceInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
com.google.protobuf.GeneratedMessage 中的 newBuilderForType
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||