Package com.google.bigtable.v2
Class Mutation.SetCell.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
com.google.bigtable.v2.Mutation.SetCell.Builder
- All Implemented Interfaces:
Mutation.SetCellOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Mutation.SetCell
public static final class Mutation.SetCell.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
implements Mutation.SetCellOrBuilder
A Mutation which sets the value of the specified cell.Protobuf type
google.bigtable.v2.Mutation.SetCell-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The qualifier of the column into which new data should be written.The name of the family into which new data should be written.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The timestamp of the cell into which new data should be written.The value to be written into the specified cell.clone()com.google.protobuf.ByteStringThe qualifier of the column into which new data should be written.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe name of the family into which new data should be written.com.google.protobuf.ByteStringThe name of the family into which new data should be written.longThe timestamp of the cell into which new data should be written.com.google.protobuf.ByteStringgetValue()The value to be written into the specified cell.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(Mutation.SetCell other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final Mutation.SetCell.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setColumnQualifier(com.google.protobuf.ByteString value) The qualifier of the column into which new data should be written.setFamilyName(String value) The name of the family into which new data should be written.setFamilyNameBytes(com.google.protobuf.ByteString value) The name of the family into which new data should be written.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTimestampMicros(long value) The timestamp of the cell into which new data should be written.final Mutation.SetCell.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setValue(com.google.protobuf.ByteString value) The value to be written into the specified cell.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.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.GeneratedMessageV3.Builder<Mutation.SetCell.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-
setField
public Mutation.SetCell.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-
setRepeatedField
public Mutation.SetCell.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-
addRepeatedField
public Mutation.SetCell.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Mutation.SetCell.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-
mergeFrom
public Mutation.SetCell.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<Mutation.SetCell.Builder>- Throws:
IOException
-
getFamilyName
The name of the family into which new data should be written. Must match `[-_.a-zA-Z0-9]+`
string family_name = 1;- Specified by:
getFamilyNamein interfaceMutation.SetCellOrBuilder- Returns:
- The familyName.
-
getFamilyNameBytes
public com.google.protobuf.ByteString getFamilyNameBytes()The name of the family into which new data should be written. Must match `[-_.a-zA-Z0-9]+`
string family_name = 1;- Specified by:
getFamilyNameBytesin interfaceMutation.SetCellOrBuilder- Returns:
- The bytes for familyName.
-
setFamilyName
The name of the family into which new data should be written. Must match `[-_.a-zA-Z0-9]+`
string family_name = 1;- Parameters:
value- The familyName to set.- Returns:
- This builder for chaining.
-
clearFamilyName
The name of the family into which new data should be written. Must match `[-_.a-zA-Z0-9]+`
string family_name = 1;- Returns:
- This builder for chaining.
-
setFamilyNameBytes
The name of the family into which new data should be written. Must match `[-_.a-zA-Z0-9]+`
string family_name = 1;- Parameters:
value- The bytes for familyName to set.- Returns:
- This builder for chaining.
-
getColumnQualifier
public com.google.protobuf.ByteString getColumnQualifier()The qualifier of the column into which new data should be written. Can be any byte string, including the empty string.
bytes column_qualifier = 2;- Specified by:
getColumnQualifierin interfaceMutation.SetCellOrBuilder- Returns:
- The columnQualifier.
-
setColumnQualifier
The qualifier of the column into which new data should be written. Can be any byte string, including the empty string.
bytes column_qualifier = 2;- Parameters:
value- The columnQualifier to set.- Returns:
- This builder for chaining.
-
clearColumnQualifier
The qualifier of the column into which new data should be written. Can be any byte string, including the empty string.
bytes column_qualifier = 2;- Returns:
- This builder for chaining.
-
getTimestampMicros
public long getTimestampMicros()The timestamp of the cell into which new data should be written. Use -1 for current Bigtable server time. Otherwise, the client should set this value itself, noting that the default value is a timestamp of zero if the field is left unspecified. Values must match the granularity of the table (e.g. micros, millis).
int64 timestamp_micros = 3;- Specified by:
getTimestampMicrosin interfaceMutation.SetCellOrBuilder- Returns:
- The timestampMicros.
-
setTimestampMicros
The timestamp of the cell into which new data should be written. Use -1 for current Bigtable server time. Otherwise, the client should set this value itself, noting that the default value is a timestamp of zero if the field is left unspecified. Values must match the granularity of the table (e.g. micros, millis).
int64 timestamp_micros = 3;- Parameters:
value- The timestampMicros to set.- Returns:
- This builder for chaining.
-
clearTimestampMicros
The timestamp of the cell into which new data should be written. Use -1 for current Bigtable server time. Otherwise, the client should set this value itself, noting that the default value is a timestamp of zero if the field is left unspecified. Values must match the granularity of the table (e.g. micros, millis).
int64 timestamp_micros = 3;- Returns:
- This builder for chaining.
-
getValue
public com.google.protobuf.ByteString getValue()The value to be written into the specified cell.
bytes value = 4;- Specified by:
getValuein interfaceMutation.SetCellOrBuilder- Returns:
- The value.
-
setValue
The value to be written into the specified cell.
bytes value = 4;- Parameters:
value- The value to set.- Returns:
- This builder for chaining.
-
clearValue
The value to be written into the specified cell.
bytes value = 4;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Mutation.SetCell.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-
mergeUnknownFields
public final Mutation.SetCell.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-