Package com.google.bigtable.v2
Class MutateRowRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<MutateRowRequest.Builder>
com.google.bigtable.v2.MutateRowRequest.Builder
- All Implemented Interfaces:
MutateRowRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- MutateRowRequest
public static final class MutateRowRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<MutateRowRequest.Builder>
implements MutateRowRequestOrBuilder
Request message for Bigtable.MutateRow.Protobuf type
google.bigtable.v2.MutateRowRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllMutations(Iterable<? extends Mutation> values) Required.addMutations(int index, Mutation value) Required.addMutations(int index, Mutation.Builder builderForValue) Required.addMutations(Mutation value) Required.addMutations(Mutation.Builder builderForValue) Required.Required.addMutationsBuilder(int index) Required.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()This value specifies routing for replication.Optional.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) If set consistently across retries, prevents this mutation from being double applied to aggregate column families within a 15m window.Required.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Required.Optional.clone()This value specifies routing for replication.com.google.protobuf.ByteStringThis value specifies routing for replication.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIf set consistently across retries, prevents this mutation from being double applied to aggregate column families within a 15m window.If set consistently across retries, prevents this mutation from being double applied to aggregate column families within a 15m window.If set consistently across retries, prevents this mutation from being double applied to aggregate column families within a 15m window.getMutations(int index) Required.getMutationsBuilder(int index) Required.Required.intRequired.Required.getMutationsOrBuilder(int index) Required.List<? extends MutationOrBuilder>Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.booleanIf set consistently across retries, prevents this mutation from being double applied to aggregate column families within a 15m window.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(MutateRowRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeIdempotency(Idempotency value) If set consistently across retries, prevents this mutation from being double applied to aggregate column families within a 15m window.final MutateRowRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeMutations(int index) Required.setAppProfileId(String value) This value specifies routing for replication.setAppProfileIdBytes(com.google.protobuf.ByteString value) This value specifies routing for replication.setAuthorizedViewName(String value) Optional.setAuthorizedViewNameBytes(com.google.protobuf.ByteString value) Optional.setIdempotency(Idempotency value) If set consistently across retries, prevents this mutation from being double applied to aggregate column families within a 15m window.setIdempotency(Idempotency.Builder builderForValue) If set consistently across retries, prevents this mutation from being double applied to aggregate column families within a 15m window.setMutations(int index, Mutation value) Required.setMutations(int index, Mutation.Builder builderForValue) Required.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRowKey(com.google.protobuf.ByteString value) Required.setTableName(String value) Optional.setTableNameBytes(com.google.protobuf.ByteString value) Optional.final MutateRowRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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<MutateRowRequest.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<MutateRowRequest.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<MutateRowRequest.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<MutateRowRequest.Builder>
-
setField
public MutateRowRequest.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<MutateRowRequest.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MutateRowRequest.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<MutateRowRequest.Builder>
-
setRepeatedField
public MutateRowRequest.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<MutateRowRequest.Builder>
-
addRepeatedField
public MutateRowRequest.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<MutateRowRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MutateRowRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<MutateRowRequest.Builder>
-
mergeFrom
public MutateRowRequest.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<MutateRowRequest.Builder>- Throws:
IOException
-
getTableName
Optional. The unique name of the table to which the mutation should be applied. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`.
string table_name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getTableNamein interfaceMutateRowRequestOrBuilder- Returns:
- The tableName.
-
getTableNameBytes
public com.google.protobuf.ByteString getTableNameBytes()Optional. The unique name of the table to which the mutation should be applied. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`.
string table_name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getTableNameBytesin interfaceMutateRowRequestOrBuilder- Returns:
- The bytes for tableName.
-
setTableName
Optional. The unique name of the table to which the mutation should be applied. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`.
string table_name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The tableName to set.- Returns:
- This builder for chaining.
-
clearTableName
Optional. The unique name of the table to which the mutation should be applied. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`.
string table_name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setTableNameBytes
Optional. The unique name of the table to which the mutation should be applied. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`.
string table_name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for tableName to set.- Returns:
- This builder for chaining.
-
getAuthorizedViewName
Optional. The unique name of the AuthorizedView to which the mutation should be applied. Values are of the form `projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>`.
string authorized_view_name = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getAuthorizedViewNamein interfaceMutateRowRequestOrBuilder- Returns:
- The authorizedViewName.
-
getAuthorizedViewNameBytes
public com.google.protobuf.ByteString getAuthorizedViewNameBytes()Optional. The unique name of the AuthorizedView to which the mutation should be applied. Values are of the form `projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>`.
string authorized_view_name = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getAuthorizedViewNameBytesin interfaceMutateRowRequestOrBuilder- Returns:
- The bytes for authorizedViewName.
-
setAuthorizedViewName
Optional. The unique name of the AuthorizedView to which the mutation should be applied. Values are of the form `projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>`.
string authorized_view_name = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The authorizedViewName to set.- Returns:
- This builder for chaining.
-
clearAuthorizedViewName
Optional. The unique name of the AuthorizedView to which the mutation should be applied. Values are of the form `projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>`.
string authorized_view_name = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setAuthorizedViewNameBytes
Optional. The unique name of the AuthorizedView to which the mutation should be applied. Values are of the form `projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>`.
string authorized_view_name = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for authorizedViewName to set.- Returns:
- This builder for chaining.
-
getAppProfileId
This value specifies routing for replication. If not specified, the "default" application profile will be used.
string app_profile_id = 4;- Specified by:
getAppProfileIdin interfaceMutateRowRequestOrBuilder- Returns:
- The appProfileId.
-
getAppProfileIdBytes
public com.google.protobuf.ByteString getAppProfileIdBytes()This value specifies routing for replication. If not specified, the "default" application profile will be used.
string app_profile_id = 4;- Specified by:
getAppProfileIdBytesin interfaceMutateRowRequestOrBuilder- Returns:
- The bytes for appProfileId.
-
setAppProfileId
This value specifies routing for replication. If not specified, the "default" application profile will be used.
string app_profile_id = 4;- Parameters:
value- The appProfileId to set.- Returns:
- This builder for chaining.
-
clearAppProfileId
This value specifies routing for replication. If not specified, the "default" application profile will be used.
string app_profile_id = 4;- Returns:
- This builder for chaining.
-
setAppProfileIdBytes
This value specifies routing for replication. If not specified, the "default" application profile will be used.
string app_profile_id = 4;- Parameters:
value- The bytes for appProfileId to set.- Returns:
- This builder for chaining.
-
getRowKey
public com.google.protobuf.ByteString getRowKey()Required. The key of the row to which the mutation should be applied.
bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRowKeyin interfaceMutateRowRequestOrBuilder- Returns:
- The rowKey.
-
setRowKey
Required. The key of the row to which the mutation should be applied.
bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The rowKey to set.- Returns:
- This builder for chaining.
-
clearRowKey
Required. The key of the row to which the mutation should be applied.
bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
getMutationsList
Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.
repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMutationsListin interfaceMutateRowRequestOrBuilder
-
getMutationsCount
public int getMutationsCount()Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.
repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMutationsCountin interfaceMutateRowRequestOrBuilder
-
getMutations
Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.
repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMutationsin interfaceMutateRowRequestOrBuilder
-
setMutations
Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.
repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; -
setMutations
Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.
repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; -
addMutations
Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.
repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; -
addMutations
Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.
repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; -
addMutations
Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.
repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; -
addMutations
Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.
repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; -
addAllMutations
Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.
repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; -
clearMutations
Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.
repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; -
removeMutations
Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.
repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; -
getMutationsBuilder
Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.
repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; -
getMutationsOrBuilder
Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.
repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMutationsOrBuilderin interfaceMutateRowRequestOrBuilder
-
getMutationsOrBuilderList
Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.
repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMutationsOrBuilderListin interfaceMutateRowRequestOrBuilder
-
addMutationsBuilder
Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.
repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; -
addMutationsBuilder
Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.
repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; -
getMutationsBuilderList
Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.
repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; -
hasIdempotency
public boolean hasIdempotency()If set consistently across retries, prevents this mutation from being double applied to aggregate column families within a 15m window.
.google.bigtable.v2.Idempotency idempotency = 8;- Specified by:
hasIdempotencyin interfaceMutateRowRequestOrBuilder- Returns:
- Whether the idempotency field is set.
-
getIdempotency
If set consistently across retries, prevents this mutation from being double applied to aggregate column families within a 15m window.
.google.bigtable.v2.Idempotency idempotency = 8;- Specified by:
getIdempotencyin interfaceMutateRowRequestOrBuilder- Returns:
- The idempotency.
-
setIdempotency
If set consistently across retries, prevents this mutation from being double applied to aggregate column families within a 15m window.
.google.bigtable.v2.Idempotency idempotency = 8; -
setIdempotency
If set consistently across retries, prevents this mutation from being double applied to aggregate column families within a 15m window.
.google.bigtable.v2.Idempotency idempotency = 8; -
mergeIdempotency
If set consistently across retries, prevents this mutation from being double applied to aggregate column families within a 15m window.
.google.bigtable.v2.Idempotency idempotency = 8; -
clearIdempotency
If set consistently across retries, prevents this mutation from being double applied to aggregate column families within a 15m window.
.google.bigtable.v2.Idempotency idempotency = 8; -
getIdempotencyBuilder
If set consistently across retries, prevents this mutation from being double applied to aggregate column families within a 15m window.
.google.bigtable.v2.Idempotency idempotency = 8; -
getIdempotencyOrBuilder
If set consistently across retries, prevents this mutation from being double applied to aggregate column families within a 15m window.
.google.bigtable.v2.Idempotency idempotency = 8;- Specified by:
getIdempotencyOrBuilderin interfaceMutateRowRequestOrBuilder
-
setUnknownFields
public final MutateRowRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MutateRowRequest.Builder>
-
mergeUnknownFields
public final MutateRowRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MutateRowRequest.Builder>
-