public static final class KeyValuePb.KeyValue extends com.google.protobuf.GeneratedMessage implements KeyValuePb.KeyValueOrBuilder
KeyValue
Modifier and Type | Class and Description |
---|---|
static class |
KeyValuePb.KeyValue.Builder
Protobuf type
KeyValue |
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.KeyValue> |
PARSER |
static int |
VALUE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
static KeyValuePb.KeyValue |
getDefaultInstance() |
KeyValuePb.KeyValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getKey()
required bytes key = 1 [ctype = CORD]; |
com.google.protobuf.Parser<KeyValuePb.KeyValue> |
getParserForType() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.ByteString |
getValue()
required bytes value = 2 [ctype = CORD]; |
boolean |
hasKey()
required bytes key = 1 [ctype = CORD]; |
boolean |
hasValue()
required bytes value = 2 [ctype = CORD]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
static KeyValuePb.KeyValue.Builder |
newBuilder() |
static KeyValuePb.KeyValue.Builder |
newBuilder(KeyValuePb.KeyValue prototype) |
KeyValuePb.KeyValue.Builder |
newBuilderForType() |
protected KeyValuePb.KeyValue.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static KeyValuePb.KeyValue |
parseDelimitedFrom(InputStream input) |
static KeyValuePb.KeyValue |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyValuePb.KeyValue |
parseFrom(byte[] data) |
static KeyValuePb.KeyValue |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyValuePb.KeyValue |
parseFrom(com.google.protobuf.ByteString data) |
static KeyValuePb.KeyValue |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyValuePb.KeyValue |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeyValuePb.KeyValue |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyValuePb.KeyValue |
parseFrom(InputStream input) |
static KeyValuePb.KeyValue |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeyValuePb.KeyValue.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.KeyValue> PARSER
public static final int KEY_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static KeyValuePb.KeyValue getDefaultInstance()
public KeyValuePb.KeyValue 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.KeyValue> 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.KeyValueOrBuilder
public com.google.protobuf.ByteString getKey()
required bytes key = 1 [ctype = CORD];
getKey
in interface KeyValuePb.KeyValueOrBuilder
public boolean hasValue()
required bytes value = 2 [ctype = CORD];
hasValue
in interface KeyValuePb.KeyValueOrBuilder
public com.google.protobuf.ByteString getValue()
required bytes value = 2 [ctype = CORD];
getValue
in interface KeyValuePb.KeyValueOrBuilder
public static KeyValuePb.KeyValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeyValuePb.KeyValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeyValuePb.KeyValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeyValuePb.KeyValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeyValuePb.KeyValue parseFrom(InputStream input) throws IOException
IOException
public static KeyValuePb.KeyValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeyValuePb.KeyValue parseDelimitedFrom(InputStream input) throws IOException
IOException
public static KeyValuePb.KeyValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeyValuePb.KeyValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static KeyValuePb.KeyValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeyValuePb.KeyValue.Builder newBuilder()
public KeyValuePb.KeyValue.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static KeyValuePb.KeyValue.Builder newBuilder(KeyValuePb.KeyValue prototype)
public KeyValuePb.KeyValue.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected KeyValuePb.KeyValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2015 Google. All rights reserved.