public static final class ClientProtos.Result extends com.google.protobuf.GeneratedMessage implements ClientProtos.ResultOrBuilder
Result
Modifier and Type | Class and Description |
---|---|
static class |
ClientProtos.Result.Builder
Protobuf type
Result |
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 |
ASSOCIATED_CELL_COUNT_FIELD_NUMBER |
static int |
CELL_FIELD_NUMBER |
static int |
EXISTS_FIELD_NUMBER |
static com.google.protobuf.Parser<ClientProtos.Result> |
PARSER |
static int |
PARTIAL_FIELD_NUMBER |
static int |
STALE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getAssociatedCellCount()
optional int32 associated_cell_count = 2; |
CellProtos.Cell |
getCell(int index)
repeated .Cell cell = 1; |
int |
getCellCount()
repeated .Cell cell = 1; |
List<CellProtos.Cell> |
getCellList()
repeated .Cell cell = 1; |
CellProtos.CellOrBuilder |
getCellOrBuilder(int index)
repeated .Cell cell = 1; |
List<? extends CellProtos.CellOrBuilder> |
getCellOrBuilderList()
repeated .Cell cell = 1; |
static ClientProtos.Result |
getDefaultInstance() |
ClientProtos.Result |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getExists()
optional bool exists = 3; |
com.google.protobuf.Parser<ClientProtos.Result> |
getParserForType() |
boolean |
getPartial()
optional bool partial = 5 [default = false]; |
int |
getSerializedSize() |
boolean |
getStale()
optional bool stale = 4 [default = false]; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAssociatedCellCount()
optional int32 associated_cell_count = 2; |
boolean |
hasExists()
optional bool exists = 3; |
int |
hashCode() |
boolean |
hasPartial()
optional bool partial = 5 [default = false]; |
boolean |
hasStale()
optional bool stale = 4 [default = false]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ClientProtos.Result.Builder |
newBuilder() |
static ClientProtos.Result.Builder |
newBuilder(ClientProtos.Result prototype) |
ClientProtos.Result.Builder |
newBuilderForType() |
protected ClientProtos.Result.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static ClientProtos.Result |
parseDelimitedFrom(InputStream input) |
static ClientProtos.Result |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.Result |
parseFrom(byte[] data) |
static ClientProtos.Result |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.Result |
parseFrom(com.google.protobuf.ByteString data) |
static ClientProtos.Result |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.Result |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ClientProtos.Result |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.Result |
parseFrom(InputStream input) |
static ClientProtos.Result |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientProtos.Result.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<ClientProtos.Result> PARSER
public static final int CELL_FIELD_NUMBER
public static final int ASSOCIATED_CELL_COUNT_FIELD_NUMBER
public static final int EXISTS_FIELD_NUMBER
public static final int STALE_FIELD_NUMBER
public static final int PARTIAL_FIELD_NUMBER
public static ClientProtos.Result getDefaultInstance()
public ClientProtos.Result 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<ClientProtos.Result> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public List<CellProtos.Cell> getCellList()
repeated .Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
getCellList
in interface ClientProtos.ResultOrBuilder
public List<? extends CellProtos.CellOrBuilder> getCellOrBuilderList()
repeated .Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
getCellOrBuilderList
in interface ClientProtos.ResultOrBuilder
public int getCellCount()
repeated .Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
getCellCount
in interface ClientProtos.ResultOrBuilder
public CellProtos.Cell getCell(int index)
repeated .Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
getCell
in interface ClientProtos.ResultOrBuilder
public CellProtos.CellOrBuilder getCellOrBuilder(int index)
repeated .Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
getCellOrBuilder
in interface ClientProtos.ResultOrBuilder
public boolean hasAssociatedCellCount()
optional int32 associated_cell_count = 2;
The below count is set when the associated cells are not part of this protobuf message; they are passed alongside and then this Message is just a placeholder with metadata. The count is needed to know how many to peel off the block of Cells as ours. NOTE: This is different from the pb managed cell_count of the 'cell' field above which is non-null when the cells are pb'd.
hasAssociatedCellCount
in interface ClientProtos.ResultOrBuilder
public int getAssociatedCellCount()
optional int32 associated_cell_count = 2;
The below count is set when the associated cells are not part of this protobuf message; they are passed alongside and then this Message is just a placeholder with metadata. The count is needed to know how many to peel off the block of Cells as ours. NOTE: This is different from the pb managed cell_count of the 'cell' field above which is non-null when the cells are pb'd.
getAssociatedCellCount
in interface ClientProtos.ResultOrBuilder
public boolean hasExists()
optional bool exists = 3;
used for Get to check existence only. Not set if existence_only was not set to true in the query.
hasExists
in interface ClientProtos.ResultOrBuilder
public boolean getExists()
optional bool exists = 3;
used for Get to check existence only. Not set if existence_only was not set to true in the query.
getExists
in interface ClientProtos.ResultOrBuilder
public boolean hasStale()
optional bool stale = 4 [default = false];
Whether or not the results are coming from possibly stale data
hasStale
in interface ClientProtos.ResultOrBuilder
public boolean getStale()
optional bool stale = 4 [default = false];
Whether or not the results are coming from possibly stale data
getStale
in interface ClientProtos.ResultOrBuilder
public boolean hasPartial()
optional bool partial = 5 [default = false];
Whether or not the entire result could be returned. Results will be split when the RPC chunk size limit is reached. Partial results contain only a subset of the cells for a row and must be combined with a result containing the remaining cells to form a complete result
hasPartial
in interface ClientProtos.ResultOrBuilder
public boolean getPartial()
optional bool partial = 5 [default = false];
Whether or not the entire result could be returned. Results will be split when the RPC chunk size limit is reached. Partial results contain only a subset of the cells for a row and must be combined with a result containing the remaining cells to form a complete result
getPartial
in interface ClientProtos.ResultOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ClientProtos.Result parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.Result parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.Result parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.Result parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.Result parseFrom(InputStream input) throws IOException
IOException
public static ClientProtos.Result parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientProtos.Result parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ClientProtos.Result parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientProtos.Result parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ClientProtos.Result parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientProtos.Result.Builder newBuilder()
public ClientProtos.Result.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ClientProtos.Result.Builder newBuilder(ClientProtos.Result prototype)
public ClientProtos.Result.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ClientProtos.Result.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.