Package com.google.bigtable.v2
Class ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder>
com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder
- All Implemented Interfaces:
ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReadChangeStreamResponse.MutationChunk.ChunkInfo
public static final class ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder>
implements ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder
Information about the chunking of this mutation. Only `SetCell` mutations can be chunked, and all chunks for a `SetCell` will be delivered contiguously with no other mutation types interleaved.Protobuf type
google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The byte offset of this chunk into the total value size of the mutation.The total value size of all the chunks that make up the `SetCell`.When true, this is the last chunk of a chunked `SetCell`.intThe byte offset of this chunk into the total value size of the mutation.intThe total value size of all the chunks that make up the `SetCell`.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanWhen true, this is the last chunk of a chunked `SetCell`.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setChunkedValueOffset(int value) The byte offset of this chunk into the total value size of the mutation.setChunkedValueSize(int value) The total value size of all the chunks that make up the `SetCell`.setLastChunk(boolean value) When true, this is the last chunk of a chunked `SetCell`.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder>
-
mergeFrom
public ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder>- Throws:
IOException
-
getChunkedValueSize
public int getChunkedValueSize()The total value size of all the chunks that make up the `SetCell`.
int32 chunked_value_size = 1;- Specified by:
getChunkedValueSizein interfaceReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder- Returns:
- The chunkedValueSize.
-
setChunkedValueSize
The total value size of all the chunks that make up the `SetCell`.
int32 chunked_value_size = 1;- Parameters:
value- The chunkedValueSize to set.- Returns:
- This builder for chaining.
-
clearChunkedValueSize
The total value size of all the chunks that make up the `SetCell`.
int32 chunked_value_size = 1;- Returns:
- This builder for chaining.
-
getChunkedValueOffset
public int getChunkedValueOffset()The byte offset of this chunk into the total value size of the mutation.
int32 chunked_value_offset = 2;- Specified by:
getChunkedValueOffsetin interfaceReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder- Returns:
- The chunkedValueOffset.
-
setChunkedValueOffset
The byte offset of this chunk into the total value size of the mutation.
int32 chunked_value_offset = 2;- Parameters:
value- The chunkedValueOffset to set.- Returns:
- This builder for chaining.
-
clearChunkedValueOffset
The byte offset of this chunk into the total value size of the mutation.
int32 chunked_value_offset = 2;- Returns:
- This builder for chaining.
-
getLastChunk
public boolean getLastChunk()When true, this is the last chunk of a chunked `SetCell`.
bool last_chunk = 3;- Specified by:
getLastChunkin interfaceReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder- Returns:
- The lastChunk.
-
setLastChunk
When true, this is the last chunk of a chunked `SetCell`.
bool last_chunk = 3;- Parameters:
value- The lastChunk to set.- Returns:
- This builder for chaining.
-
clearLastChunk
When true, this is the last chunk of a chunked `SetCell`.
bool last_chunk = 3;- Returns:
- This builder for chaining.
-