public static final class KeyValuePb.KeyValues extends com.google.protobuf.GeneratedMessage implements KeyValuePb.KeyValuesOrBuilder
KeyValues| Modifier and Type | Class and Description |
|---|---|
static class |
KeyValuePb.KeyValues.Builder
Protobuf type
KeyValues |
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 |
KEY_FIELD_NUMBER |
static com.google.protobuf.Parser<KeyValuePb.KeyValues> |
PARSER |
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static KeyValuePb.KeyValues |
getDefaultInstance() |
KeyValuePb.KeyValues |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getKey()
required bytes key = 1 [ctype = CORD]; |
com.google.protobuf.Parser<KeyValuePb.KeyValues> |
getParserForType() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.ByteString |
getValue(int index)
repeated bytes value = 2 [ctype = CORD]; |
int |
getValueCount()
repeated bytes value = 2 [ctype = CORD]; |
List<com.google.protobuf.ByteString> |
getValueList()
repeated bytes value = 2 [ctype = CORD]; |
boolean |
hasKey()
required bytes key = 1 [ctype = CORD]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
static KeyValuePb.KeyValues.Builder |
newBuilder() |
static KeyValuePb.KeyValues.Builder |
newBuilder(KeyValuePb.KeyValues prototype) |
KeyValuePb.KeyValues.Builder |
newBuilderForType() |
protected KeyValuePb.KeyValues.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static KeyValuePb.KeyValues |
parseDelimitedFrom(InputStream input) |
static KeyValuePb.KeyValues |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyValuePb.KeyValues |
parseFrom(byte[] data) |
static KeyValuePb.KeyValues |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyValuePb.KeyValues |
parseFrom(com.google.protobuf.ByteString data) |
static KeyValuePb.KeyValues |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyValuePb.KeyValues |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeyValuePb.KeyValues |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyValuePb.KeyValues |
parseFrom(InputStream input) |
static KeyValuePb.KeyValues |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeyValuePb.KeyValues.Builder |
toBuilder() |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isInitialized, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField, writeReplaceequals, findInitializationErrors, getInitializationErrorString, getSerializedSize, hashCode, hashFields, toString, writeTocheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<KeyValuePb.KeyValues> PARSER
public static final int KEY_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static KeyValuePb.KeyValues getDefaultInstance()
public KeyValuePb.KeyValues 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<KeyValuePb.KeyValues> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasKey()
required bytes key = 1 [ctype = CORD];hasKey in interface KeyValuePb.KeyValuesOrBuilderpublic com.google.protobuf.ByteString getKey()
required bytes key = 1 [ctype = CORD];getKey in interface KeyValuePb.KeyValuesOrBuilderpublic List<com.google.protobuf.ByteString> getValueList()
repeated bytes value = 2 [ctype = CORD];
Don't use 3.
getValueList in interface KeyValuePb.KeyValuesOrBuilderpublic int getValueCount()
repeated bytes value = 2 [ctype = CORD];
Don't use 3.
getValueCount in interface KeyValuePb.KeyValuesOrBuilderpublic com.google.protobuf.ByteString getValue(int index)
repeated bytes value = 2 [ctype = CORD];
Don't use 3.
getValue in interface KeyValuePb.KeyValuesOrBuilderpublic static KeyValuePb.KeyValues parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyValuePb.KeyValues parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyValuePb.KeyValues parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyValuePb.KeyValues parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyValuePb.KeyValues parseFrom(InputStream input) throws IOException
IOExceptionpublic static KeyValuePb.KeyValues parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeyValuePb.KeyValues parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KeyValuePb.KeyValues parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeyValuePb.KeyValues parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KeyValuePb.KeyValues parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeyValuePb.KeyValues.Builder newBuilder()
public KeyValuePb.KeyValues.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static KeyValuePb.KeyValues.Builder newBuilder(KeyValuePb.KeyValues prototype)
public KeyValuePb.KeyValues.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected KeyValuePb.KeyValues.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2015 Google. All rights reserved.