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, writeReplace
equals, findInitializationErrors, getInitializationErrorString, getSerializedSize, hashCode, hashFields, toString, writeTo
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<KeyValuePb.KeyValues> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasKey()
required bytes key = 1 [ctype = CORD];
hasKey
in interface KeyValuePb.KeyValuesOrBuilder
public com.google.protobuf.ByteString getKey()
required bytes key = 1 [ctype = CORD];
getKey
in interface KeyValuePb.KeyValuesOrBuilder
public List<com.google.protobuf.ByteString> getValueList()
repeated bytes value = 2 [ctype = CORD];
Don't use 3.
getValueList
in interface KeyValuePb.KeyValuesOrBuilder
public int getValueCount()
repeated bytes value = 2 [ctype = CORD];
Don't use 3.
getValueCount
in interface KeyValuePb.KeyValuesOrBuilder
public com.google.protobuf.ByteString getValue(int index)
repeated bytes value = 2 [ctype = CORD];
Don't use 3.
getValue
in interface KeyValuePb.KeyValuesOrBuilder
public static KeyValuePb.KeyValues parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeyValuePb.KeyValues parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeyValuePb.KeyValues parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeyValuePb.KeyValues parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeyValuePb.KeyValues parseFrom(InputStream input) throws IOException
IOException
public static KeyValuePb.KeyValues parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeyValuePb.KeyValues parseDelimitedFrom(InputStream input) throws IOException
IOException
public static KeyValuePb.KeyValues parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeyValuePb.KeyValues parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static KeyValuePb.KeyValues parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeyValuePb.KeyValues.Builder newBuilder()
public KeyValuePb.KeyValues.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static KeyValuePb.KeyValues.Builder newBuilder(KeyValuePb.KeyValues prototype)
public KeyValuePb.KeyValues.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected KeyValuePb.KeyValues.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2015 Google. All rights reserved.