public static final class Proto.State.Builder extends com.google.protobuf.GeneratedMessage.Builder<Proto.State.Builder> implements Proto.StateOrBuilder
State
Deprecated; state was used by early versions of the protocol, but not any more.
| Modifier and Type | Method and Description |
|---|---|
Proto.State.Builder |
addAllTags(Iterable<String> values)
repeated string tags = 7; |
Proto.State.Builder |
addTags(String value)
repeated string tags = 7; |
Proto.State.Builder |
addTagsBytes(com.google.protobuf.ByteString value)
repeated string tags = 7; |
Proto.State |
build() |
Proto.State |
buildPartial() |
Proto.State.Builder |
clear() |
Proto.State.Builder |
clearDescription()
optional string description = 5; |
Proto.State.Builder |
clearHost()
optional string host = 4; |
Proto.State.Builder |
clearOnce()
optional bool once = 6; |
Proto.State.Builder |
clearService()
optional string service = 3; |
Proto.State.Builder |
clearState()
optional string state = 2; |
Proto.State.Builder |
clearTags()
repeated string tags = 7; |
Proto.State.Builder |
clearTime()
optional int64 time = 1; |
Proto.State.Builder |
clearTtl()
optional float ttl = 8; |
Proto.State.Builder |
clone() |
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() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHost()
optional string host = 4; |
com.google.protobuf.ByteString |
getHostBytes()
optional string host = 4; |
boolean |
getOnce()
optional bool once = 6; |
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; |
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() |
Proto.State.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Proto.State.Builder |
mergeFrom(com.google.protobuf.Message other) |
Proto.State.Builder |
mergeFrom(Proto.State other) |
Proto.State.Builder |
setDescription(String value)
optional string description = 5; |
Proto.State.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
optional string description = 5; |
Proto.State.Builder |
setHost(String value)
optional string host = 4; |
Proto.State.Builder |
setHostBytes(com.google.protobuf.ByteString value)
optional string host = 4; |
Proto.State.Builder |
setOnce(boolean value)
optional bool once = 6; |
Proto.State.Builder |
setService(String value)
optional string service = 3; |
Proto.State.Builder |
setServiceBytes(com.google.protobuf.ByteString value)
optional string service = 3; |
Proto.State.Builder |
setState(String value)
optional string state = 2; |
Proto.State.Builder |
setStateBytes(com.google.protobuf.ByteString value)
optional string state = 2; |
Proto.State.Builder |
setTags(int index,
String value)
repeated string tags = 7; |
Proto.State.Builder |
setTime(long value)
optional int64 time = 1; |
Proto.State.Builder |
setTtl(float value)
optional float ttl = 8; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Proto.State.Builder>public Proto.State.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Proto.State.Builder>public Proto.State.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<Proto.State.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Proto.State.Builder>public Proto.State getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Proto.State build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Proto.State buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Proto.State.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Proto.State.Builder>public Proto.State.Builder mergeFrom(Proto.State other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Proto.State.Builder>public Proto.State.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Proto.State.Builder>IOExceptionpublic boolean hasTime()
optional int64 time = 1;hasTime in interface Proto.StateOrBuilderpublic long getTime()
optional int64 time = 1;getTime in interface Proto.StateOrBuilderpublic Proto.State.Builder setTime(long value)
optional int64 time = 1;public Proto.State.Builder clearTime()
optional int64 time = 1;public 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 Proto.State.Builder setState(String value)
optional string state = 2;public Proto.State.Builder clearState()
optional string state = 2;public Proto.State.Builder setStateBytes(com.google.protobuf.ByteString value)
optional string state = 2;public 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 Proto.State.Builder setService(String value)
optional string service = 3;public Proto.State.Builder clearService()
optional string service = 3;public Proto.State.Builder setServiceBytes(com.google.protobuf.ByteString value)
optional string service = 3;public 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 Proto.State.Builder setHost(String value)
optional string host = 4;public Proto.State.Builder clearHost()
optional string host = 4;public Proto.State.Builder setHostBytes(com.google.protobuf.ByteString value)
optional string host = 4;public 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 Proto.State.Builder setDescription(String value)
optional string description = 5;public Proto.State.Builder clearDescription()
optional string description = 5;public Proto.State.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
optional string description = 5;public boolean hasOnce()
optional bool once = 6;hasOnce in interface Proto.StateOrBuilderpublic boolean getOnce()
optional bool once = 6;getOnce in interface Proto.StateOrBuilderpublic Proto.State.Builder setOnce(boolean value)
optional bool once = 6;public Proto.State.Builder clearOnce()
optional bool once = 6;public 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 Proto.State.Builder setTags(int index, String value)
repeated string tags = 7;public Proto.State.Builder addTags(String value)
repeated string tags = 7;public Proto.State.Builder addAllTags(Iterable<String> values)
repeated string tags = 7;public Proto.State.Builder clearTags()
repeated string tags = 7;public Proto.State.Builder addTagsBytes(com.google.protobuf.ByteString value)
repeated string tags = 7;public boolean hasTtl()
optional float ttl = 8;hasTtl in interface Proto.StateOrBuilderpublic float getTtl()
optional float ttl = 8;getTtl in interface Proto.StateOrBuilderpublic Proto.State.Builder setTtl(float value)
optional float ttl = 8;public Proto.State.Builder clearTtl()
optional float ttl = 8;Copyright © 2015. All rights reserved.