public static final class ClientPB.Result extends com.google.protobuf.GeneratedMessageLite implements ClientPB.ResultOrBuilder
Result
Modifier and Type | Class and Description |
---|---|
static class |
ClientPB.Result.Builder
Protobuf type
Result |
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,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<ClientPB.Result> |
PARSER |
static int |
PARTIAL_FIELD_NUMBER |
static int |
STALE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
int |
getAssociatedCellCount()
optional int32 associated_cell_count = 2; |
CellPB.Cell |
getCell(int index)
repeated .Cell cell = 1; |
int |
getCellCount()
repeated .Cell cell = 1; |
List<CellPB.Cell> |
getCellList()
repeated .Cell cell = 1; |
CellPB.CellOrBuilder |
getCellOrBuilder(int index)
repeated .Cell cell = 1; |
List<? extends CellPB.CellOrBuilder> |
getCellOrBuilderList()
repeated .Cell cell = 1; |
static ClientPB.Result |
getDefaultInstance() |
ClientPB.Result |
getDefaultInstanceForType() |
boolean |
getExists()
optional bool exists = 3; |
com.google.protobuf.Parser<ClientPB.Result> |
getParserForType() |
boolean |
getPartial()
optional bool partial = 5 [default = false]; |
int |
getSerializedSize() |
boolean |
getStale()
optional bool stale = 4 [default = false]; |
boolean |
hasAssociatedCellCount()
optional int32 associated_cell_count = 2; |
boolean |
hasExists()
optional bool exists = 3; |
boolean |
hasPartial()
optional bool partial = 5 [default = false]; |
boolean |
hasStale()
optional bool stale = 4 [default = false]; |
boolean |
isInitialized() |
static ClientPB.Result.Builder |
newBuilder() |
static ClientPB.Result.Builder |
newBuilder(ClientPB.Result prototype) |
ClientPB.Result.Builder |
newBuilderForType() |
static ClientPB.Result |
parseDelimitedFrom(InputStream input) |
static ClientPB.Result |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.Result |
parseFrom(byte[] data) |
static ClientPB.Result |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.Result |
parseFrom(com.google.protobuf.ByteString data) |
static ClientPB.Result |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.Result |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ClientPB.Result |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.Result |
parseFrom(InputStream input) |
static ClientPB.Result |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientPB.Result.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField
public static com.google.protobuf.Parser<ClientPB.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 ClientPB.Result getDefaultInstance()
public ClientPB.Result getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
public com.google.protobuf.Parser<ClientPB.Result> getParserForType()
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageLite
public List<CellPB.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 ClientPB.ResultOrBuilder
public List<? extends CellPB.CellOrBuilder> getCellOrBuilderList()
repeated .Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
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 ClientPB.ResultOrBuilder
public CellPB.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 ClientPB.ResultOrBuilder
public CellPB.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.
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 ClientPB.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 ClientPB.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 ClientPB.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 ClientPB.ResultOrBuilder
public boolean hasStale()
optional bool stale = 4 [default = false];
Whether or not the results are coming from possibly stale data
hasStale
in interface ClientPB.ResultOrBuilder
public boolean getStale()
optional bool stale = 4 [default = false];
Whether or not the results are coming from possibly stale data
getStale
in interface ClientPB.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 ClientPB.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 ClientPB.ResultOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessageLite
ObjectStreamException
public static ClientPB.Result parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.Result parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.Result parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.Result parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.Result parseFrom(InputStream input) throws IOException
IOException
public static ClientPB.Result parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientPB.Result parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ClientPB.Result parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientPB.Result parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ClientPB.Result parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientPB.Result.Builder newBuilder()
public ClientPB.Result.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ClientPB.Result.Builder newBuilder(ClientPB.Result prototype)
public ClientPB.Result.Builder toBuilder()
toBuilder
in interface com.google.protobuf.MessageLite
Copyright © 2010-2017, The Async HBase Authors