public static final class Messages.Tag extends com.google.protobuf.GeneratedMessage implements Messages.TagOrBuilder
Tag| Modifier and Type | Class and Description |
|---|---|
static class |
Messages.Tag.Builder
Protobuf type
Tag |
| Modifier and Type | Field and Description |
|---|---|
static int |
KEY_FIELD_NUMBER |
static |
PARSER |
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static Messages.Tag |
getDefaultInstance() |
Messages.Tag |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getKey()
required string key = 1; |
com.google.protobuf.ByteString |
getKeyBytes()
required string key = 1; |
|
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
java.lang.String |
getValue()
optional string value = 2; |
com.google.protobuf.ByteString |
getValueBytes()
optional string value = 2; |
boolean |
hasKey()
required string key = 1; |
boolean |
hasValue()
optional string value = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Messages.Tag.Builder |
newBuilder() |
static Messages.Tag.Builder |
newBuilder(Messages.Tag prototype) |
Messages.Tag.Builder |
newBuilderForType() |
protected Messages.Tag.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Messages.Tag |
parseDelimitedFrom(java.io.InputStream input) |
static Messages.Tag |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.Tag |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.Tag |
parseFrom(com.google.protobuf.ByteString data) |
static Messages.Tag |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.Tag |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Messages.Tag |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.Tag |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Messages.Tag.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public staticPARSER
public static final int KEY_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static Messages.Tag getDefaultInstance()
public Messages.Tag getDefaultInstanceForType()
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
publicgetParserForType()
public boolean hasKey()
required string key = 1;hasKey in interface Messages.TagOrBuilderpublic java.lang.String getKey()
required string key = 1;getKey in interface Messages.TagOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
required string key = 1;getKeyBytes in interface Messages.TagOrBuilderpublic boolean hasValue()
optional string value = 2;hasValue in interface Messages.TagOrBuilderpublic java.lang.String getValue()
optional string value = 2;getValue in interface Messages.TagOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
optional string value = 2;getValueBytes in interface Messages.TagOrBuilderpublic final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
java.io.IOExceptionpublic int getSerializedSize()
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionpublic static Messages.Tag parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.Tag parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.Tag parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.Tag parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Messages.Tag parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Messages.Tag parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Messages.Tag parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Messages.Tag parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Messages.Tag.Builder newBuilder()
public Messages.Tag.Builder newBuilderForType()
public static Messages.Tag.Builder newBuilder(Messages.Tag prototype)
public Messages.Tag.Builder toBuilder()
protected Messages.Tag.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)