public static final class Protos.ObjectResult extends com.google.protobuf.GeneratedMessage implements Protos.ObjectResultOrBuilder
ObjectResult
every object is abstracted as a 'EchoObject' which holds both the 'key' used for look up, and the value of the object stored in bytes.
| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.ObjectResult.Builder
Protobuf type
ObjectResult |
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 |
CLASS_NAME_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static int |
OBJECT_FIELD_NUMBER |
static com.google.protobuf.Parser<Protos.ObjectResult> |
PARSER |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName()
required string class_name = 2; |
com.google.protobuf.ByteString |
getClassNameBytes()
required string class_name = 2; |
static Protos.ObjectResult |
getDefaultInstance() |
Protos.ObjectResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getKey()
required string key = 1; |
com.google.protobuf.ByteString |
getKeyBytes()
required string key = 1; |
com.google.protobuf.ByteString |
getObject()
optional bytes object = 3; |
com.google.protobuf.Parser<Protos.ObjectResult> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasClassName()
required string class_name = 2; |
boolean |
hasKey()
required string key = 1; |
boolean |
hasObject()
optional bytes object = 3; |
boolean |
isInitialized() |
static Protos.ObjectResult.Builder |
newBuilder() |
static Protos.ObjectResult.Builder |
newBuilder(Protos.ObjectResult prototype) |
Protos.ObjectResult.Builder |
newBuilderForType() |
static Protos.ObjectResult |
parseDelimitedFrom(InputStream input) |
static Protos.ObjectResult |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ObjectResult |
parseFrom(byte[] data) |
static Protos.ObjectResult |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ObjectResult |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.ObjectResult |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ObjectResult |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.ObjectResult |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ObjectResult |
parseFrom(InputStream input) |
static Protos.ObjectResult |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.ObjectResult.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionequals, findInitializationErrors, getInitializationErrorString, hashCode, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static com.google.protobuf.Parser<Protos.ObjectResult> PARSER
public static final int KEY_FIELD_NUMBER
public static final int CLASS_NAME_FIELD_NUMBER
public static final int OBJECT_FIELD_NUMBER
public static Protos.ObjectResult getDefaultInstance()
public Protos.ObjectResult 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()
public com.google.protobuf.Parser<Protos.ObjectResult> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasKey()
required string key = 1;hasKey in interface Protos.ObjectResultOrBuilderpublic String getKey()
required string key = 1;getKey in interface Protos.ObjectResultOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
required string key = 1;getKeyBytes in interface Protos.ObjectResultOrBuilderpublic boolean hasClassName()
required string class_name = 2;hasClassName in interface Protos.ObjectResultOrBuilderpublic String getClassName()
required string class_name = 2;getClassName in interface Protos.ObjectResultOrBuilderpublic com.google.protobuf.ByteString getClassNameBytes()
required string class_name = 2;getClassNameBytes in interface Protos.ObjectResultOrBuilderpublic boolean hasObject()
optional bytes object = 3;hasObject in interface Protos.ObjectResultOrBuilderpublic com.google.protobuf.ByteString getObject()
optional bytes object = 3;getObject in interface Protos.ObjectResultOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessagepublic static Protos.ObjectResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.ObjectResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.ObjectResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.ObjectResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.ObjectResult parseFrom(InputStream input) throws IOException
IOExceptionpublic static Protos.ObjectResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.ObjectResult parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Protos.ObjectResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.ObjectResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Protos.ObjectResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.ObjectResult.Builder newBuilder()
public Protos.ObjectResult.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Protos.ObjectResult.Builder newBuilder(Protos.ObjectResult prototype)
public Protos.ObjectResult.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteCopyright © 2015. All rights reserved.