com.google.bigtable.v2.CheckAndMutateRowRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-bigtable-v2 Show documentation
Show all versions of proto-google-cloud-bigtable-v2 Show documentation
PROTO library for proto-google-cloud-bigtable-v2
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/bigtable/v2/bigtable.proto
// Protobuf Java Version: 3.25.4
package com.google.bigtable.v2;
public interface CheckAndMutateRowRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.bigtable.v2.CheckAndMutateRowRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Optional. The unique name of the table to which the conditional 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) = { ... }
*
*
* @return The tableName.
*/
java.lang.String getTableName();
/**
*
*
*
* Optional. The unique name of the table to which the conditional 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) = { ... }
*
*
* @return The bytes for tableName.
*/
com.google.protobuf.ByteString getTableNameBytes();
/**
*
*
*
* Optional. The unique name of the AuthorizedView to which the conditional
* mutation should be applied.
*
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>`.
*
*
*
* string authorized_view_name = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
*
*
* @return The authorizedViewName.
*/
java.lang.String getAuthorizedViewName();
/**
*
*
*
* Optional. The unique name of the AuthorizedView to which the conditional
* mutation should be applied.
*
* Values are of the form
* `projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>`.
*
*
*
* string authorized_view_name = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for authorizedViewName.
*/
com.google.protobuf.ByteString getAuthorizedViewNameBytes();
/**
*
*
*
* This value specifies routing for replication. If not specified, the
* "default" application profile will be used.
*
*
* string app_profile_id = 7;
*
* @return The appProfileId.
*/
java.lang.String getAppProfileId();
/**
*
*
*
* This value specifies routing for replication. If not specified, the
* "default" application profile will be used.
*
*
* string app_profile_id = 7;
*
* @return The bytes for appProfileId.
*/
com.google.protobuf.ByteString getAppProfileIdBytes();
/**
*
*
*
* Required. The key of the row to which the conditional mutation should be
* applied.
*
*
* bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The rowKey.
*/
com.google.protobuf.ByteString getRowKey();
/**
*
*
*
* The filter to be applied to the contents of the specified row. Depending
* on whether or not any results are yielded, either `true_mutations` or
* `false_mutations` will be executed. If unset, checks that the row contains
* any values at all.
*
*
* .google.bigtable.v2.RowFilter predicate_filter = 6;
*
* @return Whether the predicateFilter field is set.
*/
boolean hasPredicateFilter();
/**
*
*
*
* The filter to be applied to the contents of the specified row. Depending
* on whether or not any results are yielded, either `true_mutations` or
* `false_mutations` will be executed. If unset, checks that the row contains
* any values at all.
*
*
* .google.bigtable.v2.RowFilter predicate_filter = 6;
*
* @return The predicateFilter.
*/
com.google.bigtable.v2.RowFilter getPredicateFilter();
/**
*
*
*
* The filter to be applied to the contents of the specified row. Depending
* on whether or not any results are yielded, either `true_mutations` or
* `false_mutations` will be executed. If unset, checks that the row contains
* any values at all.
*
*
* .google.bigtable.v2.RowFilter predicate_filter = 6;
*/
com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder();
/**
*
*
*
* Changes to be atomically applied to the specified row if `predicate_filter`
* yields at least one cell when applied to `row_key`. Entries are applied in
* order, meaning that earlier mutations can be masked by later ones.
* Must contain at least one entry if `false_mutations` is empty, and at most
* 100000.
*
*
* repeated .google.bigtable.v2.Mutation true_mutations = 4;
*/
java.util.List getTrueMutationsList();
/**
*
*
*
* Changes to be atomically applied to the specified row if `predicate_filter`
* yields at least one cell when applied to `row_key`. Entries are applied in
* order, meaning that earlier mutations can be masked by later ones.
* Must contain at least one entry if `false_mutations` is empty, and at most
* 100000.
*
*
* repeated .google.bigtable.v2.Mutation true_mutations = 4;
*/
com.google.bigtable.v2.Mutation getTrueMutations(int index);
/**
*
*
*
* Changes to be atomically applied to the specified row if `predicate_filter`
* yields at least one cell when applied to `row_key`. Entries are applied in
* order, meaning that earlier mutations can be masked by later ones.
* Must contain at least one entry if `false_mutations` is empty, and at most
* 100000.
*
*
* repeated .google.bigtable.v2.Mutation true_mutations = 4;
*/
int getTrueMutationsCount();
/**
*
*
*
* Changes to be atomically applied to the specified row if `predicate_filter`
* yields at least one cell when applied to `row_key`. Entries are applied in
* order, meaning that earlier mutations can be masked by later ones.
* Must contain at least one entry if `false_mutations` is empty, and at most
* 100000.
*
*
* repeated .google.bigtable.v2.Mutation true_mutations = 4;
*/
java.util.List extends com.google.bigtable.v2.MutationOrBuilder>
getTrueMutationsOrBuilderList();
/**
*
*
*
* Changes to be atomically applied to the specified row if `predicate_filter`
* yields at least one cell when applied to `row_key`. Entries are applied in
* order, meaning that earlier mutations can be masked by later ones.
* Must contain at least one entry if `false_mutations` is empty, and at most
* 100000.
*
*
* repeated .google.bigtable.v2.Mutation true_mutations = 4;
*/
com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int index);
/**
*
*
*
* Changes to be atomically applied to the specified row if `predicate_filter`
* does not yield any cells when applied to `row_key`. Entries are applied in
* order, meaning that earlier mutations can be masked by later ones.
* Must contain at least one entry if `true_mutations` is empty, and at most
* 100000.
*
*
* repeated .google.bigtable.v2.Mutation false_mutations = 5;
*/
java.util.List getFalseMutationsList();
/**
*
*
*
* Changes to be atomically applied to the specified row if `predicate_filter`
* does not yield any cells when applied to `row_key`. Entries are applied in
* order, meaning that earlier mutations can be masked by later ones.
* Must contain at least one entry if `true_mutations` is empty, and at most
* 100000.
*
*
* repeated .google.bigtable.v2.Mutation false_mutations = 5;
*/
com.google.bigtable.v2.Mutation getFalseMutations(int index);
/**
*
*
*
* Changes to be atomically applied to the specified row if `predicate_filter`
* does not yield any cells when applied to `row_key`. Entries are applied in
* order, meaning that earlier mutations can be masked by later ones.
* Must contain at least one entry if `true_mutations` is empty, and at most
* 100000.
*
*
* repeated .google.bigtable.v2.Mutation false_mutations = 5;
*/
int getFalseMutationsCount();
/**
*
*
*
* Changes to be atomically applied to the specified row if `predicate_filter`
* does not yield any cells when applied to `row_key`. Entries are applied in
* order, meaning that earlier mutations can be masked by later ones.
* Must contain at least one entry if `true_mutations` is empty, and at most
* 100000.
*
*
* repeated .google.bigtable.v2.Mutation false_mutations = 5;
*/
java.util.List extends com.google.bigtable.v2.MutationOrBuilder>
getFalseMutationsOrBuilderList();
/**
*
*
*
* Changes to be atomically applied to the specified row if `predicate_filter`
* does not yield any cells when applied to `row_key`. Entries are applied in
* order, meaning that earlier mutations can be masked by later ones.
* Must contain at least one entry if `true_mutations` is empty, and at most
* 100000.
*
*
* repeated .google.bigtable.v2.Mutation false_mutations = 5;
*/
com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(int index);
}