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 typegoogle.bigtable.v2.Mutation.SetCell
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Mutation.SetCell.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Mutation.SetCell
build()
Mutation.SetCell
buildPartial()
Mutation.SetCell.Builder
clear()
Mutation.SetCell.Builder
clearColumnQualifier()
The qualifier of the column into which new data should be written.Mutation.SetCell.Builder
clearFamilyName()
The name of the family into which new data should be written.Mutation.SetCell.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Mutation.SetCell.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Mutation.SetCell.Builder
clearTimestampMicros()
The timestamp of the cell into which new data should be written.Mutation.SetCell.Builder
clearValue()
The value to be written into the specified cell.Mutation.SetCell.Builder
clone()
com.google.protobuf.ByteString
getColumnQualifier()
The qualifier of the column into which new data should be written.Mutation.SetCell
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFamilyName()
The name of the family into which new data should be written.com.google.protobuf.ByteString
getFamilyNameBytes()
The name of the family into which new data should be written.long
getTimestampMicros()
The timestamp of the cell into which new data should be written.com.google.protobuf.ByteString
getValue()
The value to be written into the specified cell.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Mutation.SetCell.Builder
mergeFrom(Mutation.SetCell other)
Mutation.SetCell.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Mutation.SetCell.Builder
mergeFrom(com.google.protobuf.Message other)
Mutation.SetCell.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Mutation.SetCell.Builder
setColumnQualifier(com.google.protobuf.ByteString value)
The qualifier of the column into which new data should be written.Mutation.SetCell.Builder
setFamilyName(String value)
The name of the family into which new data should be written.Mutation.SetCell.Builder
setFamilyNameBytes(com.google.protobuf.ByteString value)
The name of the family into which new data should be written.Mutation.SetCell.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Mutation.SetCell.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Mutation.SetCell.Builder
setTimestampMicros(long value)
The timestamp of the cell into which new data should be written.Mutation.SetCell.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Mutation.SetCell.Builder
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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-
clear
public Mutation.SetCell.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-
getDefaultInstanceForType
public Mutation.SetCell getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Mutation.SetCell build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Mutation.SetCell buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Mutation.SetCell.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-
setField
public Mutation.SetCell.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-
clearField
public Mutation.SetCell.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-
clearOneof
public Mutation.SetCell.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-
addRepeatedField
public Mutation.SetCell.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-
mergeFrom
public Mutation.SetCell.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Mutation.SetCell.Builder>
-
mergeFrom
public Mutation.SetCell.Builder mergeFrom(Mutation.SetCell other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Mutation.SetCell.Builder>
- Throws:
IOException
-
getFamilyName
public String 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:
getFamilyName
in 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:
getFamilyNameBytes
in interfaceMutation.SetCellOrBuilder
- Returns:
- The bytes for familyName.
-
setFamilyName
public Mutation.SetCell.Builder setFamilyName(String value)
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
public Mutation.SetCell.Builder 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
public Mutation.SetCell.Builder setFamilyNameBytes(com.google.protobuf.ByteString value)
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:
getColumnQualifier
in interfaceMutation.SetCellOrBuilder
- Returns:
- The columnQualifier.
-
setColumnQualifier
public Mutation.SetCell.Builder setColumnQualifier(com.google.protobuf.ByteString value)
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
public Mutation.SetCell.Builder 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:
getTimestampMicros
in interfaceMutation.SetCellOrBuilder
- Returns:
- The timestampMicros.
-
setTimestampMicros
public Mutation.SetCell.Builder setTimestampMicros(long value)
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
public Mutation.SetCell.Builder 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:
getValue
in interfaceMutation.SetCellOrBuilder
- Returns:
- The value.
-
setValue
public Mutation.SetCell.Builder setValue(com.google.protobuf.ByteString value)
The value to be written into the specified cell.
bytes value = 4;
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
public Mutation.SetCell.Builder 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-
mergeUnknownFields
public final Mutation.SetCell.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mutation.SetCell.Builder>
-
-