public static final class Proto.State extends com.google.protobuf.GeneratedMessage implements Proto.StateOrBuilder
State
Deprecated; state was used by early versions of the protocol, but not any more.
| Modifier and Type | Class and Description |
|---|---|
static class |
Proto.State.Builder
Protobuf type
State |
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>| Modifier and Type | Field and Description |
|---|---|
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
HOST_FIELD_NUMBER |
static int |
ONCE_FIELD_NUMBER |
static com.google.protobuf.Parser<Proto.State> |
PARSER |
static int |
SERVICE_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
TAGS_FIELD_NUMBER |
static int |
TIME_FIELD_NUMBER |
static int |
TTL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static Proto.State |
getDefaultInstance() |
Proto.State |
getDefaultInstanceForType() |
String |
getDescription()
optional string description = 5; |
com.google.protobuf.ByteString |
getDescriptionBytes()
optional string description = 5; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getHost()
optional string host = 4; |
com.google.protobuf.ByteString |
getHostBytes()
optional string host = 4; |
boolean |
getOnce()
optional bool once = 6; |
com.google.protobuf.Parser<Proto.State> |
getParserForType() |
int |
getSerializedSize() |
String |
getService()
optional string service = 3; |
com.google.protobuf.ByteString |
getServiceBytes()
optional string service = 3; |
String |
getState()
optional string state = 2; |
com.google.protobuf.ByteString |
getStateBytes()
optional string state = 2; |
String |
getTags(int index)
repeated string tags = 7; |
com.google.protobuf.ByteString |
getTagsBytes(int index)
repeated string tags = 7; |
int |
getTagsCount()
repeated string tags = 7; |
com.google.protobuf.ProtocolStringList |
getTagsList()
repeated string tags = 7; |
long |
getTime()
optional int64 time = 1; |
float |
getTtl()
optional float ttl = 8; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDescription()
optional string description = 5; |
boolean |
hasHost()
optional string host = 4; |
boolean |
hasOnce()
optional bool once = 6; |
boolean |
hasService()
optional string service = 3; |
boolean |
hasState()
optional string state = 2; |
boolean |
hasTime()
optional int64 time = 1; |
boolean |
hasTtl()
optional float ttl = 8; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Proto.State.Builder |
newBuilder() |
static Proto.State.Builder |
newBuilder(Proto.State prototype) |
Proto.State.Builder |
newBuilderForType() |
protected Proto.State.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Proto.State |
parseDelimitedFrom(InputStream input) |
static Proto.State |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Proto.State |
parseFrom(byte[] data) |
static Proto.State |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Proto.State |
parseFrom(com.google.protobuf.ByteString data) |
static Proto.State |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Proto.State |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Proto.State |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Proto.State |
parseFrom(InputStream input) |
static Proto.State |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Proto.State.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<Proto.State> PARSER
public static final int TIME_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int ONCE_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
public static final int TTL_FIELD_NUMBER
public static Proto.State getDefaultInstance()
public Proto.State getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<Proto.State> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasTime()
optional int64 time = 1;hasTime in interface Proto.StateOrBuilderpublic long getTime()
optional int64 time = 1;getTime in interface Proto.StateOrBuilderpublic boolean hasState()
optional string state = 2;hasState in interface Proto.StateOrBuilderpublic String getState()
optional string state = 2;getState in interface Proto.StateOrBuilderpublic com.google.protobuf.ByteString getStateBytes()
optional string state = 2;getStateBytes in interface Proto.StateOrBuilderpublic boolean hasService()
optional string service = 3;hasService in interface Proto.StateOrBuilderpublic String getService()
optional string service = 3;getService in interface Proto.StateOrBuilderpublic com.google.protobuf.ByteString getServiceBytes()
optional string service = 3;getServiceBytes in interface Proto.StateOrBuilderpublic boolean hasHost()
optional string host = 4;hasHost in interface Proto.StateOrBuilderpublic String getHost()
optional string host = 4;getHost in interface Proto.StateOrBuilderpublic com.google.protobuf.ByteString getHostBytes()
optional string host = 4;getHostBytes in interface Proto.StateOrBuilderpublic boolean hasDescription()
optional string description = 5;hasDescription in interface Proto.StateOrBuilderpublic String getDescription()
optional string description = 5;getDescription in interface Proto.StateOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
optional string description = 5;getDescriptionBytes in interface Proto.StateOrBuilderpublic boolean hasOnce()
optional bool once = 6;hasOnce in interface Proto.StateOrBuilderpublic boolean getOnce()
optional bool once = 6;getOnce in interface Proto.StateOrBuilderpublic com.google.protobuf.ProtocolStringList getTagsList()
repeated string tags = 7;getTagsList in interface Proto.StateOrBuilderpublic int getTagsCount()
repeated string tags = 7;getTagsCount in interface Proto.StateOrBuilderpublic String getTags(int index)
repeated string tags = 7;getTags in interface Proto.StateOrBuilderpublic com.google.protobuf.ByteString getTagsBytes(int index)
repeated string tags = 7;getTagsBytes in interface Proto.StateOrBuilderpublic boolean hasTtl()
optional float ttl = 8;hasTtl in interface Proto.StateOrBuilderpublic float getTtl()
optional float ttl = 8;getTtl in interface Proto.StateOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static Proto.State parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Proto.State parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Proto.State parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Proto.State parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Proto.State parseFrom(InputStream input) throws IOException
IOExceptionpublic static Proto.State parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Proto.State parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Proto.State parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Proto.State parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Proto.State parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Proto.State.Builder newBuilder()
public Proto.State.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Proto.State.Builder newBuilder(Proto.State prototype)
public Proto.State.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Proto.State.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2015. All rights reserved.