From 1da24973cc426a45bee87c2c53ba7861436f7611 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 24 Feb 2020 11:01:04 -0800 Subject: [PATCH] chore(regen): Re-generated to pick up changes in the API or client library generator. (#195) --- .../v2/BaseBigtableInstanceAdminClient.java | 184 ++++----- .../v2/BaseBigtableTableAdminClient.java | 172 ++++----- .../admin/v2/BigtableInstanceAdminGrpc.java | 28 +- .../admin/v2/BigtableTableAdminGrpc.java | 36 +- .../google/bigtable/admin/v2/AppProfile.java | 46 +-- .../admin/v2/AppProfileOrBuilder.java | 6 +- .../admin/v2/BigtableInstanceAdminProto.java | 350 ++++++++++-------- .../admin/v2/BigtableTableAdminProto.java | 291 +++++++++------ .../admin/v2/CheckConsistencyRequest.java | 84 +++-- .../v2/CheckConsistencyRequestOrBuilder.java | 24 +- .../com/google/bigtable/admin/v2/Cluster.java | 114 +++--- .../bigtable/admin/v2/ClusterOrBuilder.java | 32 +- .../admin/v2/CreateAppProfileRequest.java | 156 +++++--- .../v2/CreateAppProfileRequestOrBuilder.java | 42 ++- .../admin/v2/CreateClusterRequest.java | 153 +++++--- .../v2/CreateClusterRequestOrBuilder.java | 39 +- .../admin/v2/CreateInstanceRequest.java | 244 +++++++----- .../v2/CreateInstanceRequestOrBuilder.java | 82 ++-- .../v2/CreateTableFromSnapshotRequest.java | 154 ++++---- ...eateTableFromSnapshotRequestOrBuilder.java | 44 ++- .../bigtable/admin/v2/CreateTableRequest.java | 165 +++++---- .../admin/v2/CreateTableRequestOrBuilder.java | 45 ++- .../admin/v2/DeleteAppProfileRequest.java | 56 +-- .../v2/DeleteAppProfileRequestOrBuilder.java | 16 +- .../admin/v2/DeleteClusterRequest.java | 56 +-- .../v2/DeleteClusterRequestOrBuilder.java | 16 +- .../admin/v2/DeleteInstanceRequest.java | 56 +-- .../v2/DeleteInstanceRequestOrBuilder.java | 16 +- .../admin/v2/DeleteSnapshotRequest.java | 56 +-- .../v2/DeleteSnapshotRequestOrBuilder.java | 16 +- .../bigtable/admin/v2/DeleteTableRequest.java | 56 +-- .../admin/v2/DeleteTableRequestOrBuilder.java | 16 +- .../admin/v2/DropRowRangeRequest.java | 56 +-- .../v2/DropRowRangeRequestOrBuilder.java | 16 +- .../v2/GenerateConsistencyTokenRequest.java | 56 +-- ...erateConsistencyTokenRequestOrBuilder.java | 16 +- .../admin/v2/GetAppProfileRequest.java | 56 +-- .../v2/GetAppProfileRequestOrBuilder.java | 16 +- .../bigtable/admin/v2/GetClusterRequest.java | 56 +-- .../admin/v2/GetClusterRequestOrBuilder.java | 16 +- .../bigtable/admin/v2/GetInstanceRequest.java | 56 +-- .../admin/v2/GetInstanceRequestOrBuilder.java | 16 +- .../bigtable/admin/v2/GetSnapshotRequest.java | 56 +-- .../admin/v2/GetSnapshotRequestOrBuilder.java | 16 +- .../bigtable/admin/v2/GetTableRequest.java | 56 +-- .../admin/v2/GetTableRequestOrBuilder.java | 16 +- .../google/bigtable/admin/v2/Instance.java | 71 ++-- .../bigtable/admin/v2/InstanceOrBuilder.java | 18 +- .../bigtable/admin/v2/InstanceProto.java | 87 +++-- .../admin/v2/ListAppProfilesRequest.java | 98 +++-- .../v2/ListAppProfilesRequestOrBuilder.java | 27 +- .../admin/v2/ListClustersRequest.java | 70 ++-- .../v2/ListClustersRequestOrBuilder.java | 20 +- .../admin/v2/ListInstancesRequest.java | 56 +-- .../v2/ListInstancesRequestOrBuilder.java | 16 +- .../admin/v2/ListSnapshotsRequest.java | 84 +++-- .../v2/ListSnapshotsRequestOrBuilder.java | 24 +- .../bigtable/admin/v2/ListTablesRequest.java | 98 +++-- .../admin/v2/ListTablesRequestOrBuilder.java | 27 +- .../admin/v2/ModifyColumnFamiliesRequest.java | 148 ++++---- .../ModifyColumnFamiliesRequestOrBuilder.java | 36 +- .../v2/PartialUpdateInstanceRequest.java | 132 ++++--- ...PartialUpdateInstanceRequestOrBuilder.java | 33 +- .../google/bigtable/admin/v2/Snapshot.java | 183 +++------ .../bigtable/admin/v2/SnapshotOrBuilder.java | 48 +-- .../admin/v2/SnapshotTableRequest.java | 42 +-- .../v2/SnapshotTableRequestOrBuilder.java | 12 +- .../com/google/bigtable/admin/v2/Table.java | 103 ++---- .../bigtable/admin/v2/TableOrBuilder.java | 25 +- .../google/bigtable/admin/v2/TableProto.java | 110 +++--- .../admin/v2/UpdateAppProfileRequest.java | 132 ++++--- .../v2/UpdateAppProfileRequestOrBuilder.java | 33 +- .../admin/v2/bigtable_instance_admin.proto | 283 +++++++++----- .../admin/v2/bigtable_table_admin.proto | 255 +++++++++---- .../google/bigtable/admin/v2/common.proto | 2 +- .../google/bigtable/admin/v2/instance.proto | 65 ++-- .../google/bigtable/admin/v2/table.proto | 50 +-- synth.metadata | 8 +- 78 files changed, 3387 insertions(+), 2364 deletions(-) diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java index 78cca86b50..26f89dfb51 100644 --- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java +++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java @@ -162,15 +162,16 @@ public final OperationsClient getOperationsClient() { * } * * - * @param parent The unique name of the project in which to create the new instance. Values are of - * the form `projects/<project>`. - * @param instanceId The ID to be used when referring to the new instance within its project, - * e.g., just `myinstance` rather than `projects/myproject/instances/myinstance`. - * @param instance The instance to create. Fields marked `OutputOnly` must be left blank. - * @param clusters The clusters to be created within the instance, mapped by desired cluster ID, - * e.g., just `mycluster` rather than + * @param parent Required. The unique name of the project in which to create the new instance. + * Values are of the form `projects/{project}`. + * @param instanceId Required. The ID to be used when referring to the new instance within its + * project, e.g., just `myinstance` rather than `projects/myproject/instances/myinstance`. + * @param instance Required. The instance to create. Fields marked `OutputOnly` must be left + * blank. + * @param clusters Required. The clusters to be created within the instance, mapped by desired + * cluster ID, e.g., just `mycluster` rather than * `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly` - * must be left blank. Currently, at most two clusters can be specified. + * must be left blank. Currently, at most four clusters can be specified. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -203,15 +204,16 @@ public final OperationFuture createInstanceAsy * } * * - * @param parent The unique name of the project in which to create the new instance. Values are of - * the form `projects/<project>`. - * @param instanceId The ID to be used when referring to the new instance within its project, - * e.g., just `myinstance` rather than `projects/myproject/instances/myinstance`. - * @param instance The instance to create. Fields marked `OutputOnly` must be left blank. - * @param clusters The clusters to be created within the instance, mapped by desired cluster ID, - * e.g., just `mycluster` rather than + * @param parent Required. The unique name of the project in which to create the new instance. + * Values are of the form `projects/{project}`. + * @param instanceId Required. The ID to be used when referring to the new instance within its + * project, e.g., just `myinstance` rather than `projects/myproject/instances/myinstance`. + * @param instance Required. The instance to create. Fields marked `OutputOnly` must be left + * blank. + * @param clusters Required. The clusters to be created within the instance, mapped by desired + * cluster ID, e.g., just `mycluster` rather than * `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly` - * must be left blank. Currently, at most two clusters can be specified. + * must be left blank. Currently, at most four clusters can be specified. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -331,8 +333,8 @@ public final UnaryCallable createInstanceCalla * } * * - * @param name The unique name of the requested instance. Values are of the form - * `projects/<project>/instances/<instance>`. + * @param name Required. The unique name of the requested instance. Values are of the form + * `projects/{project}/instances/{instance}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Instance getInstance(InstanceName name) { @@ -354,8 +356,8 @@ public final Instance getInstance(InstanceName name) { * } * * - * @param name The unique name of the requested instance. Values are of the form - * `projects/<project>/instances/<instance>`. + * @param name Required. The unique name of the requested instance. Values are of the form + * `projects/{project}/instances/{instance}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Instance getInstance(String name) { @@ -421,8 +423,8 @@ public final UnaryCallable getInstanceCallable() { * } * * - * @param parent The unique name of the project for which a list of instances is requested. Values - * are of the form `projects/<project>`. + * @param parent Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListInstancesResponse listInstances(ProjectName parent) { @@ -446,8 +448,8 @@ public final ListInstancesResponse listInstances(ProjectName parent) { * } * * - * @param parent The unique name of the project for which a list of instances is requested. Values - * are of the form `projects/<project>`. + * @param parent Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListInstancesResponse listInstances(String parent) { @@ -502,7 +504,8 @@ public final UnaryCallable listInst // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Partially updates an instance within a project. + * Partially updates an instance within a project. This method can modify all fields of an + * Instance and is the preferred way to update an Instance. * *

Sample code: * @@ -514,9 +517,9 @@ public final UnaryCallable listInst * } * * - * @param instance The Instance which will (partially) replace the current value. - * @param updateMask The subset of Instance fields which should be replaced. Must be explicitly - * set. + * @param instance Required. The Instance which will (partially) replace the current value. + * @param updateMask Required. The subset of Instance fields which should be replaced. Must be + * explicitly set. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -533,7 +536,8 @@ public final OperationFuture partialUpdateInst // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Partially updates an instance within a project. + * Partially updates an instance within a project. This method can modify all fields of an + * Instance and is the preferred way to update an Instance. * *

Sample code: * @@ -561,7 +565,8 @@ public final OperationFuture partialUpdateInst // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Partially updates an instance within a project. + * Partially updates an instance within a project. This method can modify all fields of an + * Instance and is the preferred way to update an Instance. * *

Sample code: * @@ -587,7 +592,8 @@ public final OperationFuture partialUpdateInst // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Partially updates an instance within a project. + * Partially updates an instance within a project. This method can modify all fields of an + * Instance and is the preferred way to update an Instance. * *

Sample code: * @@ -623,8 +629,8 @@ public final OperationFuture partialUpdateInst * } * * - * @param name The unique name of the instance to be deleted. Values are of the form - * `projects/<project>/instances/<instance>`. + * @param name Required. The unique name of the instance to be deleted. Values are of the form + * `projects/{project}/instances/{instance}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteInstance(InstanceName name) { @@ -646,8 +652,8 @@ public final void deleteInstance(InstanceName name) { * } * * - * @param name The unique name of the instance to be deleted. Values are of the form - * `projects/<project>/instances/<instance>`. + * @param name Required. The unique name of the instance to be deleted. Values are of the form + * `projects/{project}/instances/{instance}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteInstance(String name) { @@ -715,11 +721,13 @@ public final UnaryCallable deleteInstanceCallable( * } * * - * @param parent The unique name of the instance in which to create the new cluster. Values are of - * the form `projects/<project>/instances/<instance>`. - * @param clusterId The ID to be used when referring to the new cluster within its instance, e.g., - * just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`. - * @param cluster The cluster to be created. Fields marked `OutputOnly` must be left blank. + * @param parent Required. The unique name of the instance in which to create the new cluster. + * Values are of the form `projects/{project}/instances/{instance}`. + * @param clusterId Required. The ID to be used when referring to the new cluster within its + * instance, e.g., just `mycluster` rather than + * `projects/myproject/instances/myinstance/clusters/mycluster`. + * @param cluster Required. The cluster to be created. Fields marked `OutputOnly` must be left + * blank. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -750,11 +758,13 @@ public final OperationFuture createClusterAsync( * } * * - * @param parent The unique name of the instance in which to create the new cluster. Values are of - * the form `projects/<project>/instances/<instance>`. - * @param clusterId The ID to be used when referring to the new cluster within its instance, e.g., - * just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`. - * @param cluster The cluster to be created. Fields marked `OutputOnly` must be left blank. + * @param parent Required. The unique name of the instance in which to create the new cluster. + * Values are of the form `projects/{project}/instances/{instance}`. + * @param clusterId Required. The ID to be used when referring to the new cluster within its + * instance, e.g., just `mycluster` rather than + * `projects/myproject/instances/myinstance/clusters/mycluster`. + * @param cluster Required. The cluster to be created. Fields marked `OutputOnly` must be left + * blank. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -867,8 +877,8 @@ public final UnaryCallable createClusterCallabl * } * * - * @param name The unique name of the requested cluster. Values are of the form - * `projects/<project>/instances/<instance>/clusters/<cluster>`. + * @param name Required. The unique name of the requested cluster. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Cluster getCluster(ClusterName name) { @@ -890,8 +900,8 @@ public final Cluster getCluster(ClusterName name) { * } * * - * @param name The unique name of the requested cluster. Values are of the form - * `projects/<project>/instances/<instance>/clusters/<cluster>`. + * @param name Required. The unique name of the requested cluster. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Cluster getCluster(String name) { @@ -957,9 +967,9 @@ public final UnaryCallable getClusterCallable() { * } * * - * @param parent The unique name of the instance for which a list of clusters is requested. Values - * are of the form `projects/<project>/instances/<instance>`. Use - * `<instance> = '-'` to list Clusters for all Instances in a project, e.g., + * @param parent Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form `projects/{project}/instances/{instance}`. Use + * `{instance} = '-'` to list Clusters for all Instances in a project, e.g., * `projects/myproject/instances/-`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -984,9 +994,9 @@ public final ListClustersResponse listClusters(InstanceName parent) { * } * * - * @param parent The unique name of the instance for which a list of clusters is requested. Values - * are of the form `projects/<project>/instances/<instance>`. Use - * `<instance> = '-'` to list Clusters for all Instances in a project, e.g., + * @param parent Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form `projects/{project}/instances/{instance}`. Use + * `{instance} = '-'` to list Clusters for all Instances in a project, e.g., * `projects/myproject/instances/-`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1130,8 +1140,8 @@ public final UnaryCallable updateClusterCallable() { * } * * - * @param name The unique name of the cluster to be deleted. Values are of the form - * `projects/<project>/instances/<instance>/clusters/<cluster>`. + * @param name Required. The unique name of the cluster to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteCluster(ClusterName name) { @@ -1153,8 +1163,8 @@ public final void deleteCluster(ClusterName name) { * } * * - * @param name The unique name of the cluster to be deleted. Values are of the form - * `projects/<project>/instances/<instance>/clusters/<cluster>`. + * @param name Required. The unique name of the cluster to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteCluster(String name) { @@ -1222,12 +1232,13 @@ public final UnaryCallable deleteClusterCallable() * } * * - * @param parent The unique name of the instance in which to create the new app profile. Values - * are of the form `projects/<project>/instances/<instance>`. - * @param appProfileId The ID to be used when referring to the new app profile within its - * instance, e.g., just `myprofile` rather than + * @param parent Required. The unique name of the instance in which to create the new app profile. + * Values are of the form `projects/{project}/instances/{instance}`. + * @param appProfileId Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. - * @param appProfile The app profile to be created. Fields marked `OutputOnly` will be ignored. + * @param appProfile Required. The app profile to be created. Fields marked `OutputOnly` will be + * ignored. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final AppProfile createAppProfile( @@ -1256,12 +1267,13 @@ public final AppProfile createAppProfile( * } * * - * @param parent The unique name of the instance in which to create the new app profile. Values - * are of the form `projects/<project>/instances/<instance>`. - * @param appProfileId The ID to be used when referring to the new app profile within its - * instance, e.g., just `myprofile` rather than + * @param parent Required. The unique name of the instance in which to create the new app profile. + * Values are of the form `projects/{project}/instances/{instance}`. + * @param appProfileId Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. - * @param appProfile The app profile to be created. Fields marked `OutputOnly` will be ignored. + * @param appProfile Required. The app profile to be created. Fields marked `OutputOnly` will be + * ignored. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final AppProfile createAppProfile( @@ -1341,8 +1353,8 @@ public final UnaryCallable createAppProfile * } * * - * @param name The unique name of the requested app profile. Values are of the form - * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`. + * @param name Required. The unique name of the requested app profile. Values are of the form + * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final AppProfile getAppProfile(AppProfileName name) { @@ -1364,8 +1376,8 @@ public final AppProfile getAppProfile(AppProfileName name) { * } * * - * @param name The unique name of the requested app profile. Values are of the form - * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`. + * @param name Required. The unique name of the requested app profile. Values are of the form + * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final AppProfile getAppProfile(String name) { @@ -1433,9 +1445,9 @@ public final UnaryCallable getAppProfileCallab * } * * - * @param parent The unique name of the instance for which a list of app profiles is requested. - * Values are of the form `projects/<project>/instances/<instance>`. Use - * `<instance> = '-'` to list AppProfiles for all Instances in a project, e.g., + * @param parent Required. The unique name of the instance for which a list of app profiles is + * requested. Values are of the form `projects/{project}/instances/{instance}`. Use + * `{instance} = '-'` to list AppProfiles for all Instances in a project, e.g., * `projects/myproject/instances/-`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1462,9 +1474,9 @@ public final ListAppProfilesPagedResponse listAppProfiles(InstanceName parent) { * } * * - * @param parent The unique name of the instance for which a list of app profiles is requested. - * Values are of the form `projects/<project>/instances/<instance>`. Use - * `<instance> = '-'` to list AppProfiles for all Instances in a project, e.g., + * @param parent Required. The unique name of the instance for which a list of app profiles is + * requested. Values are of the form `projects/{project}/instances/{instance}`. Use + * `{instance} = '-'` to list AppProfiles for all Instances in a project, e.g., * `projects/myproject/instances/-`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1569,9 +1581,9 @@ public final ListAppProfilesPagedResponse listAppProfiles(ListAppProfilesRequest * } * * - * @param appProfile The app profile which will (partially) replace the current value. - * @param updateMask The subset of app profile fields which should be replaced. If unset, all - * fields will be replaced. + * @param appProfile Required. The app profile which will (partially) replace the current value. + * @param updateMask Required. The subset of app profile fields which should be replaced. If + * unset, all fields will be replaced. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -1677,8 +1689,8 @@ public final UnaryCallable updateAppProfileC * } * * - * @param name The unique name of the app profile to be deleted. Values are of the form - * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`. + * @param name Required. The unique name of the app profile to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteAppProfile(AppProfileName name) { @@ -1700,8 +1712,8 @@ public final void deleteAppProfile(AppProfileName name) { * } * * - * @param name The unique name of the app profile to be deleted. Values are of the form - * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`. + * @param name Required. The unique name of the app profile to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteAppProfile(String name) { diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java index b3c1380940..29c34f0651 100644 --- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java +++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java @@ -155,11 +155,12 @@ public final OperationsClient getOperationsClient() { * } * * - * @param parent The unique name of the instance in which to create the table. Values are of the - * form `projects/<project>/instances/<instance>`. - * @param tableId The name by which the new table should be referred to within the parent - * instance, e.g., `foobar` rather than `<parent>/tables/foobar`. - * @param table The Table to create. + * @param parent Required. The unique name of the instance in which to create the table. Values + * are of the form `projects/{project}/instances/{instance}`. + * @param tableId Required. The name by which the new table should be referred to within the + * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. Maximum 50 + * characters. + * @param table Required. The Table to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Table createTable(InstanceName parent, String tableId, Table table) { @@ -188,11 +189,12 @@ public final Table createTable(InstanceName parent, String tableId, Table table) * } * * - * @param parent The unique name of the instance in which to create the table. Values are of the - * form `projects/<project>/instances/<instance>`. - * @param tableId The name by which the new table should be referred to within the parent - * instance, e.g., `foobar` rather than `<parent>/tables/foobar`. - * @param table The Table to create. + * @param parent Required. The unique name of the instance in which to create the table. Values + * are of the form `projects/{project}/instances/{instance}`. + * @param tableId Required. The name by which the new table should be referred to within the + * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. Maximum 50 + * characters. + * @param table Required. The Table to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Table createTable(String parent, String tableId, Table table) { @@ -281,13 +283,13 @@ public final UnaryCallable createTableCallable() { * } * * - * @param parent The unique name of the instance in which to create the table. Values are of the - * form `projects/<project>/instances/<instance>`. - * @param tableId The name by which the new table should be referred to within the parent - * instance, e.g., `foobar` rather than `<parent>/tables/foobar`. - * @param sourceSnapshot The unique name of the snapshot from which to restore the table. The - * snapshot and the table must be in the same instance. Values are of the form - * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`. + * @param parent Required. The unique name of the instance in which to create the table. Values + * are of the form `projects/{project}/instances/{instance}`. + * @param tableId Required. The name by which the new table should be referred to within the + * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. + * @param sourceSnapshot Required. The unique name of the snapshot from which to restore the + * table. The snapshot and the table must be in the same instance. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -324,13 +326,13 @@ public final OperationFuture createTable * } * * - * @param parent The unique name of the instance in which to create the table. Values are of the - * form `projects/<project>/instances/<instance>`. - * @param tableId The name by which the new table should be referred to within the parent - * instance, e.g., `foobar` rather than `<parent>/tables/foobar`. - * @param sourceSnapshot The unique name of the snapshot from which to restore the table. The - * snapshot and the table must be in the same instance. Values are of the form - * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`. + * @param parent Required. The unique name of the instance in which to create the table. Values + * are of the form `projects/{project}/instances/{instance}`. + * @param tableId Required. The name by which the new table should be referred to within the + * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. + * @param sourceSnapshot Required. The unique name of the snapshot from which to restore the + * table. The snapshot and the table must be in the same instance. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -465,8 +467,8 @@ public final OperationFuture createTable * } * * - * @param parent The unique name of the instance for which tables should be listed. Values are of - * the form `projects/<project>/instances/<instance>`. + * @param parent Required. The unique name of the instance for which tables should be listed. + * Values are of the form `projects/{project}/instances/{instance}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListTablesPagedResponse listTables(InstanceName parent) { @@ -490,8 +492,8 @@ public final ListTablesPagedResponse listTables(InstanceName parent) { * } * * - * @param parent The unique name of the instance for which tables should be listed. Values are of - * the form `projects/<project>/instances/<instance>`. + * @param parent Required. The unique name of the instance for which tables should be listed. + * Values are of the form `projects/{project}/instances/{instance}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListTablesPagedResponse listTables(String parent) { @@ -592,8 +594,8 @@ public final UnaryCallable listTablesCall * } * * - * @param name The unique name of the requested table. Values are of the form - * `projects/<project>/instances/<instance>/tables/<table>`. + * @param name Required. The unique name of the requested table. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Table getTable(TableName name) { @@ -615,8 +617,8 @@ public final Table getTable(TableName name) { * } * * - * @param name The unique name of the requested table. Values are of the form - * `projects/<project>/instances/<instance>/tables/<table>`. + * @param name Required. The unique name of the requested table. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Table getTable(String name) { @@ -682,8 +684,8 @@ public final UnaryCallable getTableCallable() { * } * * - * @param name The unique name of the table to be deleted. Values are of the form - * `projects/<project>/instances/<instance>/tables/<table>`. + * @param name Required. The unique name of the table to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteTable(TableName name) { @@ -705,8 +707,8 @@ public final void deleteTable(TableName name) { * } * * - * @param name The unique name of the table to be deleted. Values are of the form - * `projects/<project>/instances/<instance>/tables/<table>`. + * @param name Required. The unique name of the table to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteTable(String name) { @@ -775,11 +777,11 @@ public final UnaryCallable deleteTableCallable() { * } * * - * @param name The unique name of the table whose families should be modified. Values are of the - * form `projects/<project>/instances/<instance>/tables/<table>`. - * @param modifications Modifications to be atomically applied to the specified table's families. - * Entries are applied in order, meaning that earlier modifications can be masked by later - * ones (in the case of repeated updates to the same family, for example). + * @param name Required. The unique name of the table whose families should be modified. Values + * are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param modifications Required. Modifications to be atomically applied to the specified table's + * families. Entries are applied in order, meaning that earlier modifications can be masked by + * later ones (in the case of repeated updates to the same family, for example). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Table modifyColumnFamilies( @@ -808,11 +810,11 @@ public final Table modifyColumnFamilies( * } * * - * @param name The unique name of the table whose families should be modified. Values are of the - * form `projects/<project>/instances/<instance>/tables/<table>`. - * @param modifications Modifications to be atomically applied to the specified table's families. - * Entries are applied in order, meaning that earlier modifications can be masked by later - * ones (in the case of repeated updates to the same family, for example). + * @param name Required. The unique name of the table whose families should be modified. Values + * are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param modifications Required. Modifications to be atomically applied to the specified table's + * families. Entries are applied in order, meaning that earlier modifications can be masked by + * later ones (in the case of repeated updates to the same family, for example). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Table modifyColumnFamilies( @@ -940,8 +942,8 @@ public final UnaryCallable dropRowRangeCallable() { * } * * - * @param name The unique name of the Table for which to create a consistency token. Values are of - * the form `projects/<project>/instances/<instance>/tables/<table>`. + * @param name Required. The unique name of the Table for which to create a consistency token. + * Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final GenerateConsistencyTokenResponse generateConsistencyToken(TableName name) { @@ -967,8 +969,8 @@ public final GenerateConsistencyTokenResponse generateConsistencyToken(TableName * } * * - * @param name The unique name of the Table for which to create a consistency token. Values are of - * the form `projects/<project>/instances/<instance>/tables/<table>`. + * @param name Required. The unique name of the Table for which to create a consistency token. + * Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final GenerateConsistencyTokenResponse generateConsistencyToken(String name) { @@ -1043,9 +1045,10 @@ public final GenerateConsistencyTokenResponse generateConsistencyToken( * } * * - * @param name The unique name of the Table for which to check replication consistency. Values are - * of the form `projects/<project>/instances/<instance>/tables/<table>`. - * @param consistencyToken The token created using GenerateConsistencyToken for the Table. + * @param name Required. The unique name of the Table for which to check replication consistency. + * Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param consistencyToken Required. The token created using GenerateConsistencyToken for the + * Table. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final CheckConsistencyResponse checkConsistency(TableName name, String consistencyToken) { @@ -1072,9 +1075,10 @@ public final CheckConsistencyResponse checkConsistency(TableName name, String co * } * * - * @param name The unique name of the Table for which to check replication consistency. Values are - * of the form `projects/<project>/instances/<instance>/tables/<table>`. - * @param consistencyToken The token created using GenerateConsistencyToken for the Table. + * @param name Required. The unique name of the Table for which to check replication consistency. + * Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param consistencyToken Required. The token created using GenerateConsistencyToken for the + * Table. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final CheckConsistencyResponse checkConsistency(String name, String consistencyToken) { @@ -1140,7 +1144,7 @@ public final CheckConsistencyResponse checkConsistency(CheckConsistencyRequest r // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Gets the access control policy for a table resource. Returns an empty policy if an table exists + * Gets the access control policy for a resource. Returns an empty policy if the resource exists * but does not have a policy set. * *

Sample code: @@ -1163,7 +1167,7 @@ public final Policy getIamPolicy(String resource) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Gets the access control policy for a table resource. Returns an empty policy if an table exists + * Gets the access control policy for a resource. Returns an empty policy if the resource exists * but does not have a policy set. * *

Sample code: @@ -1187,7 +1191,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Gets the access control policy for a table resource. Returns an empty policy if an table exists + * Gets the access control policy for a resource. Returns an empty policy if the resource exists * but does not have a policy set. * *

Sample code: @@ -1210,7 +1214,7 @@ public final UnaryCallable getIamPolicyCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Sets the access control policy on a table resource. Replaces any existing policy. + * Sets the access control policy on a Table or Backup resource. Replaces any existing policy. * *

Sample code: * @@ -1237,7 +1241,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Sets the access control policy on a table resource. Replaces any existing policy. + * Sets the access control policy on a Table or Backup resource. Replaces any existing policy. * *

Sample code: * @@ -1262,7 +1266,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Sets the access control policy on a table resource. Replaces any existing policy. + * Sets the access control policy on a Table or Backup resource. Replaces any existing policy. * *

Sample code: * @@ -1388,12 +1392,12 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq * * * @param name The unique name of the table to have the snapshot taken. Values are of the form - * `projects/<project>/instances/<instance>/tables/<table>`. + * `projects/{project}/instances/{instance}/tables/{table}`. * @param cluster The name of the cluster where the snapshot will be created in. Values are of the - * form `projects/<project>/instances/<instance>/clusters/<cluster>`. + * form `projects/{project}/instances/{instance}/clusters/{cluster}`. * @param snapshotId The ID by which the new snapshot should be referred to within the parent * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than - * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`. + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. * @param description Description of the snapshot. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1434,12 +1438,12 @@ public final OperationFuture snapshotTableAsync * * * @param name The unique name of the table to have the snapshot taken. Values are of the form - * `projects/<project>/instances/<instance>/tables/<table>`. + * `projects/{project}/instances/{instance}/tables/{table}`. * @param cluster The name of the cluster where the snapshot will be created in. Values are of the - * form `projects/<project>/instances/<instance>/clusters/<cluster>`. + * form `projects/{project}/instances/{instance}/clusters/{cluster}`. * @param snapshotId The ID by which the new snapshot should be referred to within the parent * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than - * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`. + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. * @param description Description of the snapshot. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1583,8 +1587,8 @@ public final UnaryCallable snapshotTableCallabl * } * * - * @param name The unique name of the requested snapshot. Values are of the form - * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`. + * @param name Required. The unique name of the requested snapshot. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Snapshot getSnapshot(SnapshotName name) { @@ -1611,8 +1615,8 @@ public final Snapshot getSnapshot(SnapshotName name) { * } * * - * @param name The unique name of the requested snapshot. Values are of the form - * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`. + * @param name Required. The unique name of the requested snapshot. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Snapshot getSnapshot(String name) { @@ -1695,10 +1699,10 @@ public final UnaryCallable getSnapshotCallable() { * } * * - * @param parent The unique name of the cluster for which snapshots should be listed. Values are - * of the form `projects/<project>/instances/<instance>/clusters/<cluster>`. - * Use `<cluster> = '-'` to list snapshots for all clusters in an instance, e.g., - * `projects/<project>/instances/<instance>/clusters/-`. + * @param parent Required. The unique name of the cluster for which snapshots should be listed. + * Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. Use + * `{cluster} = '-'` to list snapshots for all clusters in an instance, e.g., + * `projects/{project}/instances/{instance}/clusters/-`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListSnapshotsPagedResponse listSnapshots(ClusterName parent) { @@ -1729,10 +1733,10 @@ public final ListSnapshotsPagedResponse listSnapshots(ClusterName parent) { * } * * - * @param parent The unique name of the cluster for which snapshots should be listed. Values are - * of the form `projects/<project>/instances/<instance>/clusters/<cluster>`. - * Use `<cluster> = '-'` to list snapshots for all clusters in an instance, e.g., - * `projects/<project>/instances/<instance>/clusters/-`. + * @param parent Required. The unique name of the cluster for which snapshots should be listed. + * Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. Use + * `{cluster} = '-'` to list snapshots for all clusters in an instance, e.g., + * `projects/{project}/instances/{instance}/clusters/-`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListSnapshotsPagedResponse listSnapshots(String parent) { @@ -1854,8 +1858,8 @@ public final UnaryCallable listSnap * } * * - * @param name The unique name of the snapshot to be deleted. Values are of the form - * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`. + * @param name Required. The unique name of the snapshot to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteSnapshot(SnapshotName name) { @@ -1882,8 +1886,8 @@ public final void deleteSnapshot(SnapshotName name) { * } * * - * @param name The unique name of the snapshot to be deleted. Values are of the form - * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`. + * @param name Required. The unique name of the snapshot to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteSnapshot(String name) { diff --git a/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java b/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java index 648e95e479..63394a7836 100644 --- a/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java +++ b/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java @@ -1151,7 +1151,9 @@ public void listInstances( * * *

-     * Updates an instance within a project.
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
      * 
*/ public void updateInstance( @@ -1164,7 +1166,8 @@ public void updateInstance( * * *
-     * Partially updates an instance within a project.
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
      * 
*/ public void partialUpdateInstance( @@ -1563,7 +1566,9 @@ public void listInstances( * * *
-     * Updates an instance within a project.
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
      * 
*/ public void updateInstance( @@ -1579,7 +1584,8 @@ public void updateInstance( * * *
-     * Partially updates an instance within a project.
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
      * 
*/ public void partialUpdateInstance( @@ -1890,7 +1896,9 @@ public com.google.bigtable.admin.v2.ListInstancesResponse listInstances( * * *
-     * Updates an instance within a project.
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
      * 
*/ public com.google.bigtable.admin.v2.Instance updateInstance( @@ -1903,7 +1911,8 @@ public com.google.bigtable.admin.v2.Instance updateInstance( * * *
-     * Partially updates an instance within a project.
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
      * 
*/ public com.google.longrunning.Operation partialUpdateInstance( @@ -2165,7 +2174,9 @@ protected BigtableInstanceAdminFutureStub build( * * *
-     * Updates an instance within a project.
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -2178,7 +2189,8 @@ protected BigtableInstanceAdminFutureStub build( * * *
-     * Partially updates an instance within a project.
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture diff --git a/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java b/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java index 723ccd67cf..acd2e833da 100644 --- a/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java +++ b/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java @@ -1167,8 +1167,9 @@ public void deleteSnapshot( * * *
-     * Gets the access control policy for a table resource. Returns an empty
-     * policy if an table exists but does not have a policy set.
+     * Gets the access control policy for a resource.
+     * Returns an empty policy if the resource exists but does not have a policy
+     * set.
      * 
*/ public void getIamPolicy( @@ -1181,8 +1182,8 @@ public void getIamPolicy( * * *
-     * Sets the access control policy on a table resource. Replaces any existing
-     * policy.
+     * Sets the access control policy on a Table or Backup resource.
+     * Replaces any existing policy.
      * 
*/ public void setIamPolicy( @@ -1592,8 +1593,9 @@ public void deleteSnapshot( * * *
-     * Gets the access control policy for a table resource. Returns an empty
-     * policy if an table exists but does not have a policy set.
+     * Gets the access control policy for a resource.
+     * Returns an empty policy if the resource exists but does not have a policy
+     * set.
      * 
*/ public void getIamPolicy( @@ -1609,8 +1611,8 @@ public void getIamPolicy( * * *
-     * Sets the access control policy on a table resource. Replaces any existing
-     * policy.
+     * Sets the access control policy on a Table or Backup resource.
+     * Replaces any existing policy.
      * 
*/ public void setIamPolicy( @@ -1877,8 +1879,9 @@ public com.google.protobuf.Empty deleteSnapshot( * * *
-     * Gets the access control policy for a table resource. Returns an empty
-     * policy if an table exists but does not have a policy set.
+     * Gets the access control policy for a resource.
+     * Returns an empty policy if the resource exists but does not have a policy
+     * set.
      * 
*/ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { @@ -1890,8 +1893,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque * * *
-     * Sets the access control policy on a table resource. Replaces any existing
-     * policy.
+     * Sets the access control policy on a Table or Backup resource.
+     * Replaces any existing policy.
      * 
*/ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { @@ -2158,8 +2161,9 @@ protected BigtableTableAdminFutureStub build( * * *
-     * Gets the access control policy for a table resource. Returns an empty
-     * policy if an table exists but does not have a policy set.
+     * Gets the access control policy for a resource.
+     * Returns an empty policy if the resource exists but does not have a policy
+     * set.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -2172,8 +2176,8 @@ protected BigtableTableAdminFutureStub build( * * *
-     * Sets the access control policy on a table resource. Replaces any existing
-     * policy.
+     * Sets the access control policy on a Table or Backup resource.
+     * Replaces any existing policy.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java index 5f8787bdda..294a2cf529 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java @@ -180,10 +180,11 @@ public interface MultiClusterRoutingUseAnyOrBuilder * * *
-   * Read/write requests may be routed to any cluster in the instance, and will
-   * fail over to another cluster in the event of transient errors or delays.
-   * Choosing this option sacrifices read-your-writes consistency to improve
-   * availability.
+   * Read/write requests are routed to the nearest cluster in the instance, and
+   * will fail over to the nearest cluster that is available in the event of
+   * transient errors or delays. Clusters in a region are considered
+   * equidistant. Choosing this option sacrifices read-your-writes consistency
+   * to improve availability.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny} @@ -420,10 +421,11 @@ protected Builder newBuilderForType( * * *
-     * Read/write requests may be routed to any cluster in the instance, and will
-     * fail over to another cluster in the event of transient errors or delays.
-     * Choosing this option sacrifices read-your-writes consistency to improve
-     * availability.
+     * Read/write requests are routed to the nearest cluster in the instance, and
+     * will fail over to the nearest cluster that is available in the event of
+     * transient errors or delays. Clusters in a region are considered
+     * equidistant. Choosing this option sacrifices read-your-writes consistency
+     * to improve availability.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny} @@ -686,7 +688,7 @@ public interface SingleClusterRoutingOrBuilder * *
    * Unconditionally routes all read/write requests to a specific cluster.
-   * This option preserves read-your-writes consistency, but does not improve
+   * This option preserves read-your-writes consistency but does not improve
    * availability.
    * 
* @@ -1022,7 +1024,7 @@ protected Builder newBuilderForType( * *
      * Unconditionally routes all read/write requests to a specific cluster.
-     * This option preserves read-your-writes consistency, but does not improve
+     * This option preserves read-your-writes consistency but does not improve
      * availability.
      * 
* @@ -1619,7 +1621,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-   * Use a multi-cluster routing policy that may pick any cluster.
+   * Use a multi-cluster routing policy.
    * 
* * @@ -1635,7 +1637,7 @@ public boolean hasMultiClusterRoutingUseAny() { * * *
-   * Use a multi-cluster routing policy that may pick any cluster.
+   * Use a multi-cluster routing policy.
    * 
* * @@ -1655,7 +1657,7 @@ public boolean hasMultiClusterRoutingUseAny() { * * *
-   * Use a multi-cluster routing policy that may pick any cluster.
+   * Use a multi-cluster routing policy.
    * 
* * @@ -2532,7 +2534,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * *
-     * Use a multi-cluster routing policy that may pick any cluster.
+     * Use a multi-cluster routing policy.
      * 
* * @@ -2548,7 +2550,7 @@ public boolean hasMultiClusterRoutingUseAny() { * * *
-     * Use a multi-cluster routing policy that may pick any cluster.
+     * Use a multi-cluster routing policy.
      * 
* * @@ -2577,7 +2579,7 @@ public boolean hasMultiClusterRoutingUseAny() { * * *
-     * Use a multi-cluster routing policy that may pick any cluster.
+     * Use a multi-cluster routing policy.
      * 
* * @@ -2602,7 +2604,7 @@ public Builder setMultiClusterRoutingUseAny( * * *
-     * Use a multi-cluster routing policy that may pick any cluster.
+     * Use a multi-cluster routing policy.
      * 
* * @@ -2624,7 +2626,7 @@ public Builder setMultiClusterRoutingUseAny( * * *
-     * Use a multi-cluster routing policy that may pick any cluster.
+     * Use a multi-cluster routing policy.
      * 
* * @@ -2661,7 +2663,7 @@ public Builder mergeMultiClusterRoutingUseAny( * * *
-     * Use a multi-cluster routing policy that may pick any cluster.
+     * Use a multi-cluster routing policy.
      * 
* * @@ -2688,7 +2690,7 @@ public Builder clearMultiClusterRoutingUseAny() { * * *
-     * Use a multi-cluster routing policy that may pick any cluster.
+     * Use a multi-cluster routing policy.
      * 
* * @@ -2703,7 +2705,7 @@ public Builder clearMultiClusterRoutingUseAny() { * * *
-     * Use a multi-cluster routing policy that may pick any cluster.
+     * Use a multi-cluster routing policy.
      * 
* * @@ -2726,7 +2728,7 @@ public Builder clearMultiClusterRoutingUseAny() { * * *
-     * Use a multi-cluster routing policy that may pick any cluster.
+     * Use a multi-cluster routing policy.
      * 
* * diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java index bef0114d87..95be412205 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java @@ -120,7 +120,7 @@ public interface AppProfileOrBuilder * * *
-   * Use a multi-cluster routing policy that may pick any cluster.
+   * Use a multi-cluster routing policy.
    * 
* * @@ -134,7 +134,7 @@ public interface AppProfileOrBuilder * * *
-   * Use a multi-cluster routing policy that may pick any cluster.
+   * Use a multi-cluster routing policy.
    * 
* * @@ -148,7 +148,7 @@ public interface AppProfileOrBuilder * * *
-   * Use a multi-cluster routing policy that may pick any cluster.
+   * Use a multi-cluster routing policy.
    * 
* * diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java index 8ce70011d3..7f906002ac 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java @@ -130,162 +130,203 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n6google/bigtable/admin/v2/bigtable_inst" + "ance_admin.proto\022\030google.bigtable.admin." - + "v2\032\034google/api/annotations.proto\032\'google" - + "/bigtable/admin/v2/instance.proto\032\036googl" - + "e/iam/v1/iam_policy.proto\032\032google/iam/v1" - + "/policy.proto\032#google/longrunning/operat" - + "ions.proto\032\033google/protobuf/empty.proto\032" - + " google/protobuf/field_mask.proto\032\037googl" - + "e/protobuf/timestamp.proto\"\227\002\n\025CreateIns" - + "tanceRequest\022\016\n\006parent\030\001 \001(\t\022\023\n\013instance" - + "_id\030\002 \001(\t\0224\n\010instance\030\003 \001(\0132\".google.big" - + "table.admin.v2.Instance\022O\n\010clusters\030\004 \003(" - + "\0132=.google.bigtable.admin.v2.CreateInsta" - + "nceRequest.ClustersEntry\032R\n\rClustersEntr" - + "y\022\013\n\003key\030\001 \001(\t\0220\n\005value\030\002 \001(\0132!.google.b" - + "igtable.admin.v2.Cluster:\0028\001\"\"\n\022GetInsta" - + "nceRequest\022\014\n\004name\030\001 \001(\t\":\n\024ListInstance" - + "sRequest\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_token\030\002" - + " \001(\t\"\201\001\n\025ListInstancesResponse\0225\n\tinstan" - + "ces\030\001 \003(\0132\".google.bigtable.admin.v2.Ins" - + "tance\022\030\n\020failed_locations\030\002 \003(\t\022\027\n\017next_" - + "page_token\030\003 \001(\t\"\205\001\n\034PartialUpdateInstan" - + "ceRequest\0224\n\010instance\030\001 \001(\0132\".google.big" - + "table.admin.v2.Instance\022/\n\013update_mask\030\002" - + " \001(\0132\032.google.protobuf.FieldMask\"%\n\025Dele" - + "teInstanceRequest\022\014\n\004name\030\001 \001(\t\"n\n\024Creat" - + "eClusterRequest\022\016\n\006parent\030\001 \001(\t\022\022\n\nclust" - + "er_id\030\002 \001(\t\0222\n\007cluster\030\003 \001(\0132!.google.bi" - + "gtable.admin.v2.Cluster\"!\n\021GetClusterReq" - + "uest\022\014\n\004name\030\001 \001(\t\"9\n\023ListClustersReques" - + "t\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_token\030\002 \001(\t\"~\n" - + "\024ListClustersResponse\0223\n\010clusters\030\001 \003(\0132" - + "!.google.bigtable.admin.v2.Cluster\022\030\n\020fa" - + "iled_locations\030\002 \003(\t\022\027\n\017next_page_token\030" - + "\003 \001(\t\"$\n\024DeleteClusterRequest\022\014\n\004name\030\001 " - + "\001(\t\"\306\001\n\026CreateInstanceMetadata\022I\n\020origin" - + "al_request\030\001 \001(\0132/.google.bigtable.admin" - + ".v2.CreateInstanceRequest\0220\n\014request_tim" - + "e\030\002 \001(\0132\032.google.protobuf.Timestamp\022/\n\013f" - + "inish_time\030\003 \001(\0132\032.google.protobuf.Times" - + "tamp\"\315\001\n\026UpdateInstanceMetadata\022P\n\020origi" - + "nal_request\030\001 \001(\01326.google.bigtable.admi" - + "n.v2.PartialUpdateInstanceRequest\0220\n\014req" - + "uest_time\030\002 \001(\0132\032.google.protobuf.Timest" - + "amp\022/\n\013finish_time\030\003 \001(\0132\032.google.protob" - + "uf.Timestamp\"\304\001\n\025CreateClusterMetadata\022H" - + "\n\020original_request\030\001 \001(\0132..google.bigtab" - + "le.admin.v2.CreateClusterRequest\0220\n\014requ" - + "est_time\030\002 \001(\0132\032.google.protobuf.Timesta" - + "mp\022/\n\013finish_time\030\003 \001(\0132\032.google.protobu" - + "f.Timestamp\"\267\001\n\025UpdateClusterMetadata\022;\n" - + "\020original_request\030\001 \001(\0132!.google.bigtabl" - + "e.admin.v2.Cluster\0220\n\014request_time\030\002 \001(\013" - + "2\032.google.protobuf.Timestamp\022/\n\013finish_t" - + "ime\030\003 \001(\0132\032.google.protobuf.Timestamp\"\225\001" - + "\n\027CreateAppProfileRequest\022\016\n\006parent\030\001 \001(" - + "\t\022\026\n\016app_profile_id\030\002 \001(\t\0229\n\013app_profile" - + "\030\003 \001(\0132$.google.bigtable.admin.v2.AppPro" - + "file\022\027\n\017ignore_warnings\030\004 \001(\010\"$\n\024GetAppP" - + "rofileRequest\022\014\n\004name\030\001 \001(\t\"O\n\026ListAppPr" - + "ofilesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_si" - + "ze\030\003 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\210\001\n\027ListApp" - + "ProfilesResponse\022:\n\014app_profiles\030\001 \003(\0132$" - + ".google.bigtable.admin.v2.AppProfile\022\027\n\017" - + "next_page_token\030\002 \001(\t\022\030\n\020failed_location" - + "s\030\003 \003(\t\"\236\001\n\027UpdateAppProfileRequest\0229\n\013a" - + "pp_profile\030\001 \001(\0132$.google.bigtable.admin" - + ".v2.AppProfile\022/\n\013update_mask\030\002 \001(\0132\032.go" - + "ogle.protobuf.FieldMask\022\027\n\017ignore_warnin" - + "gs\030\003 \001(\010\"@\n\027DeleteAppProfileRequest\022\014\n\004n" - + "ame\030\001 \001(\t\022\027\n\017ignore_warnings\030\002 \001(\010\"\032\n\030Up" - + "dateAppProfileMetadata2\252\027\n\025BigtableInsta" - + "nceAdmin\022\216\001\n\016CreateInstance\022/.google.big" - + "table.admin.v2.CreateInstanceRequest\032\035.g" - + "oogle.longrunning.Operation\",\202\323\344\223\002&\"!/v2" - + "/{parent=projects/*}/instances:\001*\022\212\001\n\013Ge" - + "tInstance\022,.google.bigtable.admin.v2.Get" - + "InstanceRequest\032\".google.bigtable.admin." - + "v2.Instance\")\202\323\344\223\002#\022!/v2/{name=projects/" - + "*/instances/*}\022\233\001\n\rListInstances\022..googl" - + "e.bigtable.admin.v2.ListInstancesRequest" - + "\032/.google.bigtable.admin.v2.ListInstance" - + "sResponse\")\202\323\344\223\002#\022!/v2/{parent=projects/" - + "*}/instances\022\206\001\n\016UpdateInstance\022\".google" - + ".bigtable.admin.v2.Instance\032\".google.big" - + "table.admin.v2.Instance\",\202\323\344\223\002&\032!/v2/{na" - + "me=projects/*/instances/*}:\001*\022\254\001\n\025Partia" - + "lUpdateInstance\0226.google.bigtable.admin." - + "v2.PartialUpdateInstanceRequest\032\035.google" - + ".longrunning.Operation\"<\202\323\344\223\00262*/v2/{ins" - + "tance.name=projects/*/instances/*}:\010inst" - + "ance\022\204\001\n\016DeleteInstance\022/.google.bigtabl" - + "e.admin.v2.DeleteInstanceRequest\032\026.googl" - + "e.protobuf.Empty\")\202\323\344\223\002#*!/v2/{name=proj" - + "ects/*/instances/*}\022\235\001\n\rCreateCluster\022.." - + "google.bigtable.admin.v2.CreateClusterRe" - + "quest\032\035.google.longrunning.Operation\"=\202\323" - + "\344\223\0027\",/v2/{parent=projects/*/instances/*" - + "}/clusters:\007cluster\022\222\001\n\nGetCluster\022+.goo" - + "gle.bigtable.admin.v2.GetClusterRequest\032" - + "!.google.bigtable.admin.v2.Cluster\"4\202\323\344\223" - + "\002.\022,/v2/{name=projects/*/instances/*/clu" - + "sters/*}\022\243\001\n\014ListClusters\022-.google.bigta" - + "ble.admin.v2.ListClustersRequest\032..googl" - + "e.bigtable.admin.v2.ListClustersResponse" - + "\"4\202\323\344\223\002.\022,/v2/{parent=projects/*/instanc" - + "es/*}/clusters\022\212\001\n\rUpdateCluster\022!.googl" - + "e.bigtable.admin.v2.Cluster\032\035.google.lon" - + "grunning.Operation\"7\202\323\344\223\0021\032,/v2/{name=pr" - + "ojects/*/instances/*/clusters/*}:\001*\022\215\001\n\r" - + "DeleteCluster\022..google.bigtable.admin.v2" - + ".DeleteClusterRequest\032\026.google.protobuf." - + "Empty\"4\202\323\344\223\002.*,/v2/{name=projects/*/inst" - + "ances/*/clusters/*}\022\261\001\n\020CreateAppProfile" - + "\0221.google.bigtable.admin.v2.CreateAppPro" - + "fileRequest\032$.google.bigtable.admin.v2.A" - + "ppProfile\"D\202\323\344\223\002>\"//v2/{parent=projects/" - + "*/instances/*}/appProfiles:\013app_profile\022" - + "\236\001\n\rGetAppProfile\022..google.bigtable.admi" - + "n.v2.GetAppProfileRequest\032$.google.bigta" - + "ble.admin.v2.AppProfile\"7\202\323\344\223\0021\022//v2/{na" - + "me=projects/*/instances/*/appProfiles/*}" - + "\022\257\001\n\017ListAppProfiles\0220.google.bigtable.a" - + "dmin.v2.ListAppProfilesRequest\0321.google." - + "bigtable.admin.v2.ListAppProfilesRespons" - + "e\"7\202\323\344\223\0021\022//v2/{parent=projects/*/instan" - + "ces/*}/appProfiles\022\266\001\n\020UpdateAppProfile\022" - + "1.google.bigtable.admin.v2.UpdateAppProf" - + "ileRequest\032\035.google.longrunning.Operatio" - + "n\"P\202\323\344\223\002J2;/v2/{app_profile.name=project" - + "s/*/instances/*/appProfiles/*}:\013app_prof" - + "ile\022\226\001\n\020DeleteAppProfile\0221.google.bigtab" - + "le.admin.v2.DeleteAppProfileRequest\032\026.go" - + "ogle.protobuf.Empty\"7\202\323\344\223\0021*//v2/{name=p" - + "rojects/*/instances/*/appProfiles/*}\022\210\001\n" - + "\014GetIamPolicy\022\".google.iam.v1.GetIamPoli" - + "cyRequest\032\025.google.iam.v1.Policy\"=\202\323\344\223\0027" - + "\"2/v2/{resource=projects/*/instances/*}:" - + "getIamPolicy:\001*\022\210\001\n\014SetIamPolicy\022\".googl" - + "e.iam.v1.SetIamPolicyRequest\032\025.google.ia" - + "m.v1.Policy\"=\202\323\344\223\0027\"2/v2/{resource=proje" - + "cts/*/instances/*}:setIamPolicy:\001*\022\256\001\n\022T" - + "estIamPermissions\022(.google.iam.v1.TestIa" - + "mPermissionsRequest\032).google.iam.v1.Test" - + "IamPermissionsResponse\"C\202\323\344\223\002=\"8/v2/{res" - + "ource=projects/*/instances/*}:testIamPer" - + "missions:\001*B\275\001\n\034com.google.bigtable.admi" - + "n.v2B\032BigtableInstanceAdminProtoP\001Z=goog" - + "le.golang.org/genproto/googleapis/bigtab" - + "le/admin/v2;admin\252\002\036Google.Cloud.Bigtabl" - + "e.Admin.V2\312\002\036Google\\Cloud\\Bigtable\\Admin" - + "\\V2b\006proto3" + + "v2\032\034google/api/annotations.proto\032\027google" + + "/api/client.proto\032\037google/api/field_beha" + + "vior.proto\032\031google/api/resource.proto\032\'g" + + "oogle/bigtable/admin/v2/instance.proto\032\036" + + "google/iam/v1/iam_policy.proto\032\032google/i" + + "am/v1/policy.proto\032#google/longrunning/o" + + "perations.proto\032\033google/protobuf/empty.p" + + "roto\032 google/protobuf/field_mask.proto\032\037" + + "google/protobuf/timestamp.proto\"\333\002\n\025Crea" + + "teInstanceRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A" + + "-\n+cloudresourcemanager.googleapis.com/P" + + "roject\022\030\n\013instance_id\030\002 \001(\tB\003\340A\002\0229\n\010inst" + + "ance\030\003 \001(\0132\".google.bigtable.admin.v2.In" + + "stanceB\003\340A\002\022T\n\010clusters\030\004 \003(\0132=.google.b" + + "igtable.admin.v2.CreateInstanceRequest.C" + + "lustersEntryB\003\340A\002\032R\n\rClustersEntry\022\013\n\003ke" + + "y\030\001 \001(\t\0220\n\005value\030\002 \001(\0132!.google.bigtable" + + ".admin.v2.Cluster:\0028\001\"L\n\022GetInstanceRequ" + + "est\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n bigtable.goog" + + "leapis.com/Instance\"o\n\024ListInstancesRequ" + + "est\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresour" + + "cemanager.googleapis.com/Project\022\022\n\npage" + + "_token\030\002 \001(\t\"\201\001\n\025ListInstancesResponse\0225" + + "\n\tinstances\030\001 \003(\0132\".google.bigtable.admi" + + "n.v2.Instance\022\030\n\020failed_locations\030\002 \003(\t\022" + + "\027\n\017next_page_token\030\003 \001(\t\"\217\001\n\034PartialUpda" + + "teInstanceRequest\0229\n\010instance\030\001 \001(\0132\".go" + + "ogle.bigtable.admin.v2.InstanceB\003\340A\002\0224\n\013" + + "update_mask\030\002 \001(\0132\032.google.protobuf.Fiel" + + "dMaskB\003\340A\002\"O\n\025DeleteInstanceRequest\0226\n\004n" + + "ame\030\001 \001(\tB(\340A\002\372A\"\n bigtable.googleapis.c" + + "om/Instance\"\242\001\n\024CreateClusterRequest\0228\n\006" + + "parent\030\001 \001(\tB(\340A\002\372A\"\n bigtable.googleapi" + + "s.com/Instance\022\027\n\ncluster_id\030\002 \001(\tB\003\340A\002\022" + + "7\n\007cluster\030\003 \001(\0132!.google.bigtable.admin" + + ".v2.ClusterB\003\340A\002\"J\n\021GetClusterRequest\0225\n" + + "\004name\030\001 \001(\tB\'\340A\002\372A!\n\037bigtable.googleapis" + + ".com/Cluster\"c\n\023ListClustersRequest\0228\n\006p" + + "arent\030\001 \001(\tB(\340A\002\372A\"\n bigtable.googleapis" + + ".com/Instance\022\022\n\npage_token\030\002 \001(\t\"~\n\024Lis" + + "tClustersResponse\0223\n\010clusters\030\001 \003(\0132!.go" + + "ogle.bigtable.admin.v2.Cluster\022\030\n\020failed" + + "_locations\030\002 \003(\t\022\027\n\017next_page_token\030\003 \001(" + + "\t\"M\n\024DeleteClusterRequest\0225\n\004name\030\001 \001(\tB" + + "\'\340A\002\372A!\n\037bigtable.googleapis.com/Cluster" + + "\"\306\001\n\026CreateInstanceMetadata\022I\n\020original_" + + "request\030\001 \001(\0132/.google.bigtable.admin.v2" + + ".CreateInstanceRequest\0220\n\014request_time\030\002" + + " \001(\0132\032.google.protobuf.Timestamp\022/\n\013fini" + + "sh_time\030\003 \001(\0132\032.google.protobuf.Timestam" + + "p\"\315\001\n\026UpdateInstanceMetadata\022P\n\020original" + + "_request\030\001 \001(\01326.google.bigtable.admin.v" + + "2.PartialUpdateInstanceRequest\0220\n\014reques" + + "t_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + + "\022/\n\013finish_time\030\003 \001(\0132\032.google.protobuf." + + "Timestamp\"\304\001\n\025CreateClusterMetadata\022H\n\020o" + + "riginal_request\030\001 \001(\0132..google.bigtable." + + "admin.v2.CreateClusterRequest\0220\n\014request" + + "_time\030\002 \001(\0132\032.google.protobuf.Timestamp\022" + + "/\n\013finish_time\030\003 \001(\0132\032.google.protobuf.T" + + "imestamp\"\267\001\n\025UpdateClusterMetadata\022;\n\020or" + + "iginal_request\030\001 \001(\0132!.google.bigtable.a" + + "dmin.v2.Cluster\0220\n\014request_time\030\002 \001(\0132\032." + + "google.protobuf.Timestamp\022/\n\013finish_time" + + "\030\003 \001(\0132\032.google.protobuf.Timestamp\"\311\001\n\027C" + + "reateAppProfileRequest\0228\n\006parent\030\001 \001(\tB(" + + "\340A\002\372A\"\n bigtable.googleapis.com/Instance" + + "\022\033\n\016app_profile_id\030\002 \001(\tB\003\340A\002\022>\n\013app_pro" + + "file\030\003 \001(\0132$.google.bigtable.admin.v2.Ap" + + "pProfileB\003\340A\002\022\027\n\017ignore_warnings\030\004 \001(\010\"P" + + "\n\024GetAppProfileRequest\0228\n\004name\030\001 \001(\tB*\340A" + + "\002\372A$\n\"bigtable.googleapis.com/AppProfile" + + "\"y\n\026ListAppProfilesRequest\0228\n\006parent\030\001 \001" + + "(\tB(\340A\002\372A\"\n bigtable.googleapis.com/Inst" + + "ance\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\002 " + + "\001(\t\"\210\001\n\027ListAppProfilesResponse\022:\n\014app_p" + + "rofiles\030\001 \003(\0132$.google.bigtable.admin.v2" + + ".AppProfile\022\027\n\017next_page_token\030\002 \001(\t\022\030\n\020" + + "failed_locations\030\003 \003(\t\"\250\001\n\027UpdateAppProf" + + "ileRequest\022>\n\013app_profile\030\001 \001(\0132$.google" + + ".bigtable.admin.v2.AppProfileB\003\340A\002\0224\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "askB\003\340A\002\022\027\n\017ignore_warnings\030\003 \001(\010\"l\n\027Del" + + "eteAppProfileRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372" + + "A$\n\"bigtable.googleapis.com/AppProfile\022\027" + + "\n\017ignore_warnings\030\002 \001(\010\"\032\n\030UpdateAppProf" + + "ileMetadata2\222\036\n\025BigtableInstanceAdmin\022\332\001" + + "\n\016CreateInstance\022/.google.bigtable.admin" + + ".v2.CreateInstanceRequest\032\035.google.longr" + + "unning.Operation\"x\202\323\344\223\002&\"!/v2/{parent=pr" + + "ojects/*}/instances:\001*\332A$parent,instance" + + "_id,instance,clusters\312A\"\n\010Instance\022\026Crea" + + "teInstanceMetadata\022\221\001\n\013GetInstance\022,.goo" + + "gle.bigtable.admin.v2.GetInstanceRequest" + + "\032\".google.bigtable.admin.v2.Instance\"0\202\323" + + "\344\223\002#\022!/v2/{name=projects/*/instances/*}\332" + + "A\004name\022\244\001\n\rListInstances\022..google.bigtab" + + "le.admin.v2.ListInstancesRequest\032/.googl" + + "e.bigtable.admin.v2.ListInstancesRespons" + + "e\"2\202\323\344\223\002#\022!/v2/{parent=projects/*}/insta" + + "nces\332A\006parent\022\206\001\n\016UpdateInstance\022\".googl" + + "e.bigtable.admin.v2.Instance\032\".google.bi" + + "gtable.admin.v2.Instance\",\202\323\344\223\002&\032!/v2/{n" + + "ame=projects/*/instances/*}:\001*\022\350\001\n\025Parti" + + "alUpdateInstance\0226.google.bigtable.admin" + + ".v2.PartialUpdateInstanceRequest\032\035.googl" + + "e.longrunning.Operation\"x\202\323\344\223\00262*/v2/{in" + + "stance.name=projects/*/instances/*}:\010ins" + + "tance\332A\024instance,update_mask\312A\"\n\010Instanc" + + "e\022\026UpdateInstanceMetadata\022\213\001\n\016DeleteInst" + + "ance\022/.google.bigtable.admin.v2.DeleteIn" + + "stanceRequest\032\026.google.protobuf.Empty\"0\202" + + "\323\344\223\002#*!/v2/{name=projects/*/instances/*}" + + "\332A\004name\022\334\001\n\rCreateCluster\022..google.bigta" + + "ble.admin.v2.CreateClusterRequest\032\035.goog" + + "le.longrunning.Operation\"|\202\323\344\223\0027\",/v2/{p" + + "arent=projects/*/instances/*}/clusters:\007" + + "cluster\332A\031parent,cluster_id,cluster\312A \n\007" + + "Cluster\022\025CreateClusterMetadata\022\231\001\n\nGetCl" + + "uster\022+.google.bigtable.admin.v2.GetClus" + + "terRequest\032!.google.bigtable.admin.v2.Cl" + + "uster\";\202\323\344\223\002.\022,/v2/{name=projects/*/inst" + + "ances/*/clusters/*}\332A\004name\022\254\001\n\014ListClust" + + "ers\022-.google.bigtable.admin.v2.ListClust" + + "ersRequest\032..google.bigtable.admin.v2.Li" + + "stClustersResponse\"=\202\323\344\223\002.\022,/v2/{parent=" + + "projects/*/instances/*}/clusters\332A\006paren" + + "t\022\255\001\n\rUpdateCluster\022!.google.bigtable.ad" + + "min.v2.Cluster\032\035.google.longrunning.Oper" + + "ation\"Z\202\323\344\223\0021\032,/v2/{name=projects/*/inst" + + "ances/*/clusters/*}:\001*\312A \n\007Cluster\022\025Upda" + + "teClusterMetadata\022\224\001\n\rDeleteCluster\022..go" + + "ogle.bigtable.admin.v2.DeleteClusterRequ" + + "est\032\026.google.protobuf.Empty\";\202\323\344\223\002.*,/v2" + + "/{name=projects/*/instances/*/clusters/*" + + "}\332A\004name\022\325\001\n\020CreateAppProfile\0221.google.b" + + "igtable.admin.v2.CreateAppProfileRequest" + + "\032$.google.bigtable.admin.v2.AppProfile\"h" + + "\202\323\344\223\002>\"//v2/{parent=projects/*/instances" + + "/*}/appProfiles:\013app_profile\332A!parent,ap" + + "p_profile_id,app_profile\022\245\001\n\rGetAppProfi" + + "le\022..google.bigtable.admin.v2.GetAppProf" + + "ileRequest\032$.google.bigtable.admin.v2.Ap" + + "pProfile\">\202\323\344\223\0021\022//v2/{name=projects/*/i" + + "nstances/*/appProfiles/*}\332A\004name\022\270\001\n\017Lis" + + "tAppProfiles\0220.google.bigtable.admin.v2." + + "ListAppProfilesRequest\0321.google.bigtable" + + ".admin.v2.ListAppProfilesResponse\"@\202\323\344\223\002" + + "1\022//v2/{parent=projects/*/instances/*}/a" + + "ppProfiles\332A\006parent\022\372\001\n\020UpdateAppProfile" + + "\0221.google.bigtable.admin.v2.UpdateAppPro" + + "fileRequest\032\035.google.longrunning.Operati" + + "on\"\223\001\202\323\344\223\002J2;/v2/{app_profile.name=proje" + + "cts/*/instances/*/appProfiles/*}:\013app_pr" + + "ofile\332A\027app_profile,update_mask\312A&\n\nAppP" + + "rofile\022\030UpdateAppProfileMetadata\022\235\001\n\020Del" + + "eteAppProfile\0221.google.bigtable.admin.v2" + + ".DeleteAppProfileRequest\032\026.google.protob" + + "uf.Empty\">\202\323\344\223\0021*//v2/{name=projects/*/i" + + "nstances/*/appProfiles/*}\332A\004name\022\223\001\n\014Get" + + "IamPolicy\022\".google.iam.v1.GetIamPolicyRe" + + "quest\032\025.google.iam.v1.Policy\"H\202\323\344\223\0027\"2/v" + + "2/{resource=projects/*/instances/*}:getI" + + "amPolicy:\001*\332A\010resource\022\232\001\n\014SetIamPolicy\022" + + "\".google.iam.v1.SetIamPolicyRequest\032\025.go" + + "ogle.iam.v1.Policy\"O\202\323\344\223\0027\"2/v2/{resourc" + + "e=projects/*/instances/*}:setIamPolicy:\001" + + "*\332A\017resource,policy\022\305\001\n\022TestIamPermissio" + + "ns\022(.google.iam.v1.TestIamPermissionsReq" + + "uest\032).google.iam.v1.TestIamPermissionsR" + + "esponse\"Z\202\323\344\223\002=\"8/v2/{resource=projects/" + + "*/instances/*}:testIamPermissions:\001*\332A\024r" + + "esource,permissions\032\232\003\312A\034bigtableadmin.g" + + "oogleapis.com\322A\367\002https://www.googleapis." + + "com/auth/bigtable.admin,https://www.goog" + + "leapis.com/auth/bigtable.admin.cluster,h" + + "ttps://www.googleapis.com/auth/bigtable." + + "admin.instance,https://www.googleapis.co" + + "m/auth/cloud-bigtable.admin,https://www." + + "googleapis.com/auth/cloud-bigtable.admin" + + ".cluster,https://www.googleapis.com/auth" + + "/cloud-platform,https://www.googleapis.c" + + "om/auth/cloud-platform.read-onlyB\275\001\n\034com" + + ".google.bigtable.admin.v2B\032BigtableInsta" + + "nceAdminProtoP\001Z=google.golang.org/genpr" + + "oto/googleapis/bigtable/admin/v2;admin\252\002" + + "\036Google.Cloud.Bigtable.Admin.V2\312\002\036Google" + + "\\Cloud\\Bigtable\\Admin\\V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.bigtable.admin.v2.InstanceProto.getDescriptor(), com.google.iam.v1.IamPolicyProto.getDescriptor(), com.google.iam.v1.PolicyProto.getDescriptor(), @@ -480,10 +521,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] {}); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.bigtable.admin.v2.InstanceProto.getDescriptor(); com.google.iam.v1.IamPolicyProto.getDescriptor(); com.google.iam.v1.PolicyProto.getDescriptor(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java index d6c875a0d2..34b33fe5c2 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java @@ -122,55 +122,71 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n3google/bigtable/admin/v2/bigtable_tabl" + "e_admin.proto\022\030google.bigtable.admin.v2\032" - + "\034google/api/annotations.proto\032$google/bi" - + "gtable/admin/v2/table.proto\032\036google/iam/" - + "v1/iam_policy.proto\032\032google/iam/v1/polic" - + "y.proto\032#google/longrunning/operations.p" - + "roto\032\036google/protobuf/duration.proto\032\033go" - + "ogle/protobuf/empty.proto\032\037google/protob" - + "uf/timestamp.proto\"\310\001\n\022CreateTableReques" - + "t\022\016\n\006parent\030\001 \001(\t\022\020\n\010table_id\030\002 \001(\t\022.\n\005t" - + "able\030\003 \001(\0132\037.google.bigtable.admin.v2.Ta" - + "ble\022J\n\016initial_splits\030\004 \003(\01322.google.big" - + "table.admin.v2.CreateTableRequest.Split\032" - + "\024\n\005Split\022\013\n\003key\030\001 \001(\014\"[\n\036CreateTableFrom" - + "SnapshotRequest\022\016\n\006parent\030\001 \001(\t\022\020\n\010table" - + "_id\030\002 \001(\t\022\027\n\017source_snapshot\030\003 \001(\t\"m\n\023Dr" - + "opRowRangeRequest\022\014\n\004name\030\001 \001(\t\022\030\n\016row_k" - + "ey_prefix\030\002 \001(\014H\000\022$\n\032delete_all_data_fro" - + "m_table\030\003 \001(\010H\000B\010\n\006target\"~\n\021ListTablesR" - + "equest\022\016\n\006parent\030\001 \001(\t\0222\n\004view\030\002 \001(\0162$.g" - + "oogle.bigtable.admin.v2.Table.View\022\021\n\tpa" - + "ge_size\030\004 \001(\005\022\022\n\npage_token\030\003 \001(\t\"^\n\022Lis" - + "tTablesResponse\022/\n\006tables\030\001 \003(\0132\037.google" - + ".bigtable.admin.v2.Table\022\027\n\017next_page_to" - + "ken\030\002 \001(\t\"S\n\017GetTableRequest\022\014\n\004name\030\001 \001" - + "(\t\0222\n\004view\030\002 \001(\0162$.google.bigtable.admin" - + ".v2.Table.View\"\"\n\022DeleteTableRequest\022\014\n\004" - + "name\030\001 \001(\t\"\256\002\n\033ModifyColumnFamiliesReque" - + "st\022\014\n\004name\030\001 \001(\t\022Y\n\rmodifications\030\002 \003(\0132" - + "B.google.bigtable.admin.v2.ModifyColumnF" - + "amiliesRequest.Modification\032\245\001\n\014Modifica" - + "tion\022\n\n\002id\030\001 \001(\t\0228\n\006create\030\002 \001(\0132&.googl" - + "e.bigtable.admin.v2.ColumnFamilyH\000\0228\n\006up" - + "date\030\003 \001(\0132&.google.bigtable.admin.v2.Co" - + "lumnFamilyH\000\022\016\n\004drop\030\004 \001(\010H\000B\005\n\003mod\"/\n\037G" - + "enerateConsistencyTokenRequest\022\014\n\004name\030\001" - + " \001(\t\"=\n GenerateConsistencyTokenResponse" - + "\022\031\n\021consistency_token\030\001 \001(\t\"B\n\027CheckCons" - + "istencyRequest\022\014\n\004name\030\001 \001(\t\022\031\n\021consiste" - + "ncy_token\030\002 \001(\t\".\n\030CheckConsistencyRespo" - + "nse\022\022\n\nconsistent\030\001 \001(\010\"\207\001\n\024SnapshotTabl" - + "eRequest\022\014\n\004name\030\001 \001(\t\022\017\n\007cluster\030\002 \001(\t\022" - + "\023\n\013snapshot_id\030\003 \001(\t\022&\n\003ttl\030\004 \001(\0132\031.goog" - + "le.protobuf.Duration\022\023\n\013description\030\005 \001(" - + "\t\"\"\n\022GetSnapshotRequest\022\014\n\004name\030\001 \001(\t\"M\n" - + "\024ListSnapshotsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"g\n\025" - + "ListSnapshotsResponse\0225\n\tsnapshots\030\001 \003(\013" - + "2\".google.bigtable.admin.v2.Snapshot\022\027\n\017" - + "next_page_token\030\002 \001(\t\"%\n\025DeleteSnapshotR" - + "equest\022\014\n\004name\030\001 \001(\t\"\304\001\n\025SnapshotTableMe" + + "\034google/api/annotations.proto\032\027google/ap" + + "i/client.proto\032\037google/api/field_behavio" + + "r.proto\032\031google/api/resource.proto\032$goog" + + "le/bigtable/admin/v2/table.proto\032\036google" + + "/iam/v1/iam_policy.proto\032\032google/iam/v1/" + + "policy.proto\032#google/longrunning/operati" + + "ons.proto\032\036google/protobuf/duration.prot" + + "o\032\033google/protobuf/empty.proto\032\037google/p" + + "rotobuf/timestamp.proto\"\374\001\n\022CreateTableR" + + "equest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n bigtable" + + ".googleapis.com/Instance\022\025\n\010table_id\030\002 \001" + + "(\tB\003\340A\002\0223\n\005table\030\003 \001(\0132\037.google.bigtable" + + ".admin.v2.TableB\003\340A\002\022J\n\016initial_splits\030\004" + + " \003(\01322.google.bigtable.admin.v2.CreateTa" + + "bleRequest.Split\032\024\n\005Split\022\013\n\003key\030\001 \001(\014\"\264" + + "\001\n\036CreateTableFromSnapshotRequest\0228\n\006par" + + "ent\030\001 \001(\tB(\340A\002\372A\"\n bigtable.googleapis.c" + + "om/Instance\022\025\n\010table_id\030\002 \001(\tB\003\340A\002\022A\n\017so" + + "urce_snapshot\030\003 \001(\tB(\340A\002\372A\"\n bigtable.go" + + "ogleapis.com/Snapshot\"\224\001\n\023DropRowRangeRe" + + "quest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035bigtable.go" + + "ogleapis.com/Table\022\030\n\016row_key_prefix\030\002 \001" + + "(\014H\000\022$\n\032delete_all_data_from_table\030\003 \001(\010" + + "H\000B\010\n\006target\"\250\001\n\021ListTablesRequest\0228\n\006pa" + + "rent\030\001 \001(\tB(\340A\002\372A\"\n bigtable.googleapis." + + "com/Instance\0222\n\004view\030\002 \001(\0162$.google.bigt" + + "able.admin.v2.Table.View\022\021\n\tpage_size\030\004 " + + "\001(\005\022\022\n\npage_token\030\003 \001(\t\"^\n\022ListTablesRes" + + "ponse\022/\n\006tables\030\001 \003(\0132\037.google.bigtable." + + "admin.v2.Table\022\027\n\017next_page_token\030\002 \001(\t\"" + + "z\n\017GetTableRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037" + + "\n\035bigtable.googleapis.com/Table\0222\n\004view\030" + + "\002 \001(\0162$.google.bigtable.admin.v2.Table.V" + + "iew\"I\n\022DeleteTableRequest\0223\n\004name\030\001 \001(\tB" + + "%\340A\002\372A\037\n\035bigtable.googleapis.com/Table\"\332" + + "\002\n\033ModifyColumnFamiliesRequest\0223\n\004name\030\001" + + " \001(\tB%\340A\002\372A\037\n\035bigtable.googleapis.com/Ta" + + "ble\022^\n\rmodifications\030\002 \003(\0132B.google.bigt" + + "able.admin.v2.ModifyColumnFamiliesReques" + + "t.ModificationB\003\340A\002\032\245\001\n\014Modification\022\n\n\002" + + "id\030\001 \001(\t\0228\n\006create\030\002 \001(\0132&.google.bigtab" + + "le.admin.v2.ColumnFamilyH\000\0228\n\006update\030\003 \001" + + "(\0132&.google.bigtable.admin.v2.ColumnFami" + + "lyH\000\022\016\n\004drop\030\004 \001(\010H\000B\005\n\003mod\"V\n\037GenerateC" + + "onsistencyTokenRequest\0223\n\004name\030\001 \001(\tB%\340A" + + "\002\372A\037\n\035bigtable.googleapis.com/Table\"=\n G" + + "enerateConsistencyTokenResponse\022\031\n\021consi" + + "stency_token\030\001 \001(\t\"n\n\027CheckConsistencyRe" + + "quest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035bigtable.go" + + "ogleapis.com/Table\022\036\n\021consistency_token\030" + + "\002 \001(\tB\003\340A\002\".\n\030CheckConsistencyResponse\022\022" + + "\n\nconsistent\030\001 \001(\010\"\207\001\n\024SnapshotTableRequ" + + "est\022\014\n\004name\030\001 \001(\t\022\017\n\007cluster\030\002 \001(\t\022\023\n\013sn" + + "apshot_id\030\003 \001(\t\022&\n\003ttl\030\004 \001(\0132\031.google.pr" + + "otobuf.Duration\022\023\n\013description\030\005 \001(\t\"L\n\022" + + "GetSnapshotRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"" + + "\n bigtable.googleapis.com/Snapshot\"v\n\024Li" + + "stSnapshotsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372" + + "A!\n\037bigtable.googleapis.com/Cluster\022\021\n\tp" + + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"g\n\025Li" + + "stSnapshotsResponse\0225\n\tsnapshots\030\001 \003(\0132\"" + + ".google.bigtable.admin.v2.Snapshot\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"O\n\025DeleteSnapshotReq" + + "uest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n bigtable.goo" + + "gleapis.com/Snapshot\"\304\001\n\025SnapshotTableMe" + "tadata\022H\n\020original_request\030\001 \001(\0132..googl" + "e.bigtable.admin.v2.SnapshotTableRequest" + "\0220\n\014request_time\030\002 \001(\0132\032.google.protobuf" @@ -180,86 +196,110 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\01328.google.bigtable.admin.v2.CreateTable" + "FromSnapshotRequest\0220\n\014request_time\030\002 \001(" + "\0132\032.google.protobuf.Timestamp\022/\n\013finish_" - + "time\030\003 \001(\0132\032.google.protobuf.Timestamp2\231" - + "\025\n\022BigtableTableAdmin\022\223\001\n\013CreateTable\022,." + + "time\030\003 \001(\0132\032.google.protobuf.Timestamp2\351" + + "\033\n\022BigtableTableAdmin\022\253\001\n\013CreateTable\022,." + "google.bigtable.admin.v2.CreateTableRequ" - + "est\032\037.google.bigtable.admin.v2.Table\"5\202\323" + + "est\032\037.google.bigtable.admin.v2.Table\"M\202\323" + "\344\223\002/\"*/v2/{parent=projects/*/instances/*" - + "}/tables:\001*\022\274\001\n\027CreateTableFromSnapshot\022" - + "8.google.bigtable.admin.v2.CreateTableFr" - + "omSnapshotRequest\032\035.google.longrunning.O" - + "peration\"H\202\323\344\223\002B\"=/v2/{parent=projects/*" - + "/instances/*}/tables:createFromSnapshot:" - + "\001*\022\233\001\n\nListTables\022+.google.bigtable.admi" - + "n.v2.ListTablesRequest\032,.google.bigtable" - + ".admin.v2.ListTablesResponse\"2\202\323\344\223\002,\022*/v" - + "2/{parent=projects/*/instances/*}/tables" - + "\022\212\001\n\010GetTable\022).google.bigtable.admin.v2" - + ".GetTableRequest\032\037.google.bigtable.admin" - + ".v2.Table\"2\202\323\344\223\002,\022*/v2/{name=projects/*/" - + "instances/*/tables/*}\022\207\001\n\013DeleteTable\022,." - + "google.bigtable.admin.v2.DeleteTableRequ" - + "est\032\026.google.protobuf.Empty\"2\202\323\344\223\002,**/v2" - + "/{name=projects/*/instances/*/tables/*}\022" - + "\272\001\n\024ModifyColumnFamilies\0225.google.bigtab" - + "le.admin.v2.ModifyColumnFamiliesRequest\032" - + "\037.google.bigtable.admin.v2.Table\"J\202\323\344\223\002D" - + "\"?/v2/{name=projects/*/instances/*/table" - + "s/*}:modifyColumnFamilies:\001*\022\231\001\n\014DropRow" - + "Range\022-.google.bigtable.admin.v2.DropRow" - + "RangeRequest\032\026.google.protobuf.Empty\"B\202\323" - + "\344\223\002<\"7/v2/{name=projects/*/instances/*/t" - + "ables/*}:dropRowRange:\001*\022\341\001\n\030GenerateCon" - + "sistencyToken\0229.google.bigtable.admin.v2" - + ".GenerateConsistencyTokenRequest\032:.googl" - + "e.bigtable.admin.v2.GenerateConsistencyT" - + "okenResponse\"N\202\323\344\223\002H\"C/v2/{name=projects" - + "/*/instances/*/tables/*}:generateConsist" - + "encyToken:\001*\022\301\001\n\020CheckConsistency\0221.goog" - + "le.bigtable.admin.v2.CheckConsistencyReq" - + "uest\0322.google.bigtable.admin.v2.CheckCon" - + "sistencyResponse\"F\202\323\344\223\002@\";/v2/{name=proj" - + "ects/*/instances/*/tables/*}:checkConsis" - + "tency:\001*\022\236\001\n\rSnapshotTable\022..google.bigt" - + "able.admin.v2.SnapshotTableRequest\032\035.goo" - + "gle.longrunning.Operation\">\202\323\344\223\0028\"3/v2/{" - + "name=projects/*/instances/*/tables/*}:sn" - + "apshot:\001*\022\241\001\n\013GetSnapshot\022,.google.bigta" - + "ble.admin.v2.GetSnapshotRequest\032\".google" - + ".bigtable.admin.v2.Snapshot\"@\202\323\344\223\002:\0228/v2" - + "/{name=projects/*/instances/*/clusters/*" - + "/snapshots/*}\022\262\001\n\rListSnapshots\022..google" - + ".bigtable.admin.v2.ListSnapshotsRequest\032" - + "/.google.bigtable.admin.v2.ListSnapshots" - + "Response\"@\202\323\344\223\002:\0228/v2/{parent=projects/*" - + "/instances/*/clusters/*}/snapshots\022\233\001\n\016D" - + "eleteSnapshot\022/.google.bigtable.admin.v2" - + ".DeleteSnapshotRequest\032\026.google.protobuf" - + ".Empty\"@\202\323\344\223\002:*8/v2/{name=projects/*/ins" - + "tances/*/clusters/*/snapshots/*}\022\221\001\n\014Get" - + "IamPolicy\022\".google.iam.v1.GetIamPolicyRe" - + "quest\032\025.google.iam.v1.Policy\"F\202\323\344\223\002@\";/v" - + "2/{resource=projects/*/instances/*/table" - + "s/*}:getIamPolicy:\001*\022\221\001\n\014SetIamPolicy\022\"." - + "google.iam.v1.SetIamPolicyRequest\032\025.goog" - + "le.iam.v1.Policy\"F\202\323\344\223\002@\";/v2/{resource=" - + "projects/*/instances/*/tables/*}:setIamP" - + "olicy:\001*\022\267\001\n\022TestIamPermissions\022(.google" - + ".iam.v1.TestIamPermissionsRequest\032).goog" - + "le.iam.v1.TestIamPermissionsResponse\"L\202\323" - + "\344\223\002F\"A/v2/{resource=projects/*/instances" - + "/*/tables/*}:testIamPermissions:\001*B\272\001\n\034c" - + "om.google.bigtable.admin.v2B\027BigtableTab" - + "leAdminProtoP\001Z=google.golang.org/genpro" - + "to/googleapis/bigtable/admin/v2;admin\252\002\036" - + "Google.Cloud.Bigtable.Admin.V2\312\002\036Google\\" - + "Cloud\\Bigtable\\Admin\\V2b\006proto3" + + "}/tables:\001*\332A\025parent,table_id,table\022\212\002\n\027" + + "CreateTableFromSnapshot\0228.google.bigtabl" + + "e.admin.v2.CreateTableFromSnapshotReques" + + "t\032\035.google.longrunning.Operation\"\225\001\202\323\344\223\002" + + "B\"=/v2/{parent=projects/*/instances/*}/t" + + "ables:createFromSnapshot:\001*\332A\037parent,tab" + + "le_id,source_snapshot\312A(\n\005Table\022\037CreateT" + + "ableFromSnapshotMetadata\022\244\001\n\nListTables\022" + + "+.google.bigtable.admin.v2.ListTablesReq" + + "uest\032,.google.bigtable.admin.v2.ListTabl" + + "esResponse\";\202\323\344\223\002,\022*/v2/{parent=projects" + + "/*/instances/*}/tables\332A\006parent\022\221\001\n\010GetT" + + "able\022).google.bigtable.admin.v2.GetTable" + + "Request\032\037.google.bigtable.admin.v2.Table" + + "\"9\202\323\344\223\002,\022*/v2/{name=projects/*/instances" + + "/*/tables/*}\332A\004name\022\216\001\n\013DeleteTable\022,.go" + + "ogle.bigtable.admin.v2.DeleteTableReques" + + "t\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v2/{" + + "name=projects/*/instances/*/tables/*}\332A\004" + + "name\022\317\001\n\024ModifyColumnFamilies\0225.google.b" + + "igtable.admin.v2.ModifyColumnFamiliesReq" + + "uest\032\037.google.bigtable.admin.v2.Table\"_\202" + + "\323\344\223\002D\"?/v2/{name=projects/*/instances/*/" + + "tables/*}:modifyColumnFamilies:\001*\332A\022name" + + ",modifications\022\231\001\n\014DropRowRange\022-.google" + + ".bigtable.admin.v2.DropRowRangeRequest\032\026" + + ".google.protobuf.Empty\"B\202\323\344\223\002<\"7/v2/{nam" + + "e=projects/*/instances/*/tables/*}:dropR" + + "owRange:\001*\022\350\001\n\030GenerateConsistencyToken\022" + + "9.google.bigtable.admin.v2.GenerateConsi" + + "stencyTokenRequest\032:.google.bigtable.adm" + + "in.v2.GenerateConsistencyTokenResponse\"U" + + "\202\323\344\223\002H\"C/v2/{name=projects/*/instances/*" + + "/tables/*}:generateConsistencyToken:\001*\332A" + + "\004name\022\332\001\n\020CheckConsistency\0221.google.bigt" + + "able.admin.v2.CheckConsistencyRequest\0322." + + "google.bigtable.admin.v2.CheckConsistenc" + + "yResponse\"_\202\323\344\223\002@\";/v2/{name=projects/*/" + + "instances/*/tables/*}:checkConsistency:\001" + + "*\332A\026name,consistency_token\022\352\001\n\rSnapshotT" + + "able\022..google.bigtable.admin.v2.Snapshot" + + "TableRequest\032\035.google.longrunning.Operat" + + "ion\"\211\001\202\323\344\223\0028\"3/v2/{name=projects/*/insta" + + "nces/*/tables/*}:snapshot:\001*\332A$name,clus" + + "ter,snapshot_id,description\312A!\n\010Snapshot" + + "\022\025SnapshotTableMetadata\022\250\001\n\013GetSnapshot\022" + + ",.google.bigtable.admin.v2.GetSnapshotRe" + + "quest\032\".google.bigtable.admin.v2.Snapsho" + + "t\"G\202\323\344\223\002:\0228/v2/{name=projects/*/instance" + + "s/*/clusters/*/snapshots/*}\332A\004name\022\273\001\n\rL" + + "istSnapshots\022..google.bigtable.admin.v2." + + "ListSnapshotsRequest\032/.google.bigtable.a" + + "dmin.v2.ListSnapshotsResponse\"I\202\323\344\223\002:\0228/" + + "v2/{parent=projects/*/instances/*/cluste" + + "rs/*}/snapshots\332A\006parent\022\242\001\n\016DeleteSnaps" + + "hot\022/.google.bigtable.admin.v2.DeleteSna" + + "pshotRequest\032\026.google.protobuf.Empty\"G\202\323" + + "\344\223\002:*8/v2/{name=projects/*/instances/*/c" + + "lusters/*/snapshots/*}\332A\004name\022\234\001\n\014GetIam" + + "Policy\022\".google.iam.v1.GetIamPolicyReque" + + "st\032\025.google.iam.v1.Policy\"Q\202\323\344\223\002@\";/v2/{" + + "resource=projects/*/instances/*/tables/*" + + "}:getIamPolicy:\001*\332A\010resource\022\363\001\n\014SetIamP" + + "olicy\022\".google.iam.v1.SetIamPolicyReques" + + "t\032\025.google.iam.v1.Policy\"\247\001\202\323\344\223\002\216\001\";/v2/" + + "{resource=projects/*/instances/*/tables/" + + "*}:setIamPolicy:\001*ZL\"G/v2/{resource=proj" + + "ects/*/instances/*/clusters/*/backups/*}" + + ":setIamPolicy:\001*\332A\017resource,policy\022\244\002\n\022T" + + "estIamPermissions\022(.google.iam.v1.TestIa" + + "mPermissionsRequest\032).google.iam.v1.Test" + + "IamPermissionsResponse\"\270\001\202\323\344\223\002\232\001\"A/v2/{r" + + "esource=projects/*/instances/*/tables/*}" + + ":testIamPermissions:\001*ZR\"M/v2/{resource=" + + "projects/*/instances/*/clusters/*/backup" + + "s/*}:testIamPermissions:\001*\332A\024resource,pe" + + "rmissions\032\336\002\312A\034bigtableadmin.googleapis." + + "com\322A\273\002https://www.googleapis.com/auth/b" + + "igtable.admin,https://www.googleapis.com" + + "/auth/bigtable.admin.table,https://www.g" + + "oogleapis.com/auth/cloud-bigtable.admin," + + "https://www.googleapis.com/auth/cloud-bi" + + "gtable.admin.table,https://www.googleapi" + + "s.com/auth/cloud-platform,https://www.go" + + "ogleapis.com/auth/cloud-platform.read-on" + + "lyB\272\001\n\034com.google.bigtable.admin.v2B\027Big" + + "tableTableAdminProtoP\001Z=google.golang.or" + + "g/genproto/googleapis/bigtable/admin/v2;" + + "admin\252\002\036Google.Cloud.Bigtable.Admin.V2\312\002" + + "\036Google\\Cloud\\Bigtable\\Admin\\V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.bigtable.admin.v2.TableProto.getDescriptor(), com.google.iam.v1.IamPolicyProto.getDescriptor(), com.google.iam.v1.PolicyProto.getDescriptor(), @@ -442,10 +482,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.bigtable.admin.v2.TableProto.getDescriptor(); com.google.iam.v1.IamPolicyProto.getDescriptor(); com.google.iam.v1.PolicyProto.getDescriptor(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java index b0169deb13..3c911228b7 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java @@ -126,12 +126,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the Table for which to check replication consistency.
+   * Required. The unique name of the Table for which to check replication consistency.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -150,12 +152,14 @@ public java.lang.String getName() { * * *
-   * The unique name of the Table for which to check replication consistency.
+   * Required. The unique name of the Table for which to check replication consistency.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -177,10 +181,10 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * The token created using GenerateConsistencyToken for the Table.
+   * Required. The token created using GenerateConsistencyToken for the Table.
    * 
* - * string consistency_token = 2; + * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The consistencyToken. */ @@ -199,10 +203,10 @@ public java.lang.String getConsistencyToken() { * * *
-   * The token created using GenerateConsistencyToken for the Table.
+   * Required. The token created using GenerateConsistencyToken for the Table.
    * 
* - * string consistency_token = 2; + * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for consistencyToken. */ @@ -558,12 +562,14 @@ public Builder mergeFrom( * * *
-     * The unique name of the Table for which to check replication consistency.
+     * Required. The unique name of the Table for which to check replication consistency.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -582,12 +588,14 @@ public java.lang.String getName() { * * *
-     * The unique name of the Table for which to check replication consistency.
+     * Required. The unique name of the Table for which to check replication consistency.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -606,12 +614,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The unique name of the Table for which to check replication consistency.
+     * Required. The unique name of the Table for which to check replication consistency.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -629,12 +639,14 @@ public Builder setName(java.lang.String value) { * * *
-     * The unique name of the Table for which to check replication consistency.
+     * Required. The unique name of the Table for which to check replication consistency.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -648,12 +660,14 @@ public Builder clearName() { * * *
-     * The unique name of the Table for which to check replication consistency.
+     * Required. The unique name of the Table for which to check replication consistency.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -674,10 +688,10 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * The token created using GenerateConsistencyToken for the Table.
+     * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* - * string consistency_token = 2; + * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The consistencyToken. */ @@ -696,10 +710,10 @@ public java.lang.String getConsistencyToken() { * * *
-     * The token created using GenerateConsistencyToken for the Table.
+     * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* - * string consistency_token = 2; + * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for consistencyToken. */ @@ -718,10 +732,10 @@ public com.google.protobuf.ByteString getConsistencyTokenBytes() { * * *
-     * The token created using GenerateConsistencyToken for the Table.
+     * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* - * string consistency_token = 2; + * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The consistencyToken to set. * @return This builder for chaining. @@ -739,10 +753,10 @@ public Builder setConsistencyToken(java.lang.String value) { * * *
-     * The token created using GenerateConsistencyToken for the Table.
+     * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* - * string consistency_token = 2; + * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ @@ -756,10 +770,10 @@ public Builder clearConsistencyToken() { * * *
-     * The token created using GenerateConsistencyToken for the Table.
+     * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* - * string consistency_token = 2; + * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The bytes for consistencyToken to set. * @return This builder for chaining. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java index d0ca5afc54..b6accf6535 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java @@ -27,12 +27,14 @@ public interface CheckConsistencyRequestOrBuilder * * *
-   * The unique name of the Table for which to check replication consistency.
+   * Required. The unique name of the Table for which to check replication consistency.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -41,12 +43,14 @@ public interface CheckConsistencyRequestOrBuilder * * *
-   * The unique name of the Table for which to check replication consistency.
+   * Required. The unique name of the Table for which to check replication consistency.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -56,10 +60,10 @@ public interface CheckConsistencyRequestOrBuilder * * *
-   * The token created using GenerateConsistencyToken for the Table.
+   * Required. The token created using GenerateConsistencyToken for the Table.
    * 
* - * string consistency_token = 2; + * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The consistencyToken. */ @@ -68,10 +72,10 @@ public interface CheckConsistencyRequestOrBuilder * * *
-   * The token created using GenerateConsistencyToken for the Table.
+   * Required. The token created using GenerateConsistencyToken for the Table.
    * 
* - * string consistency_token = 2; + * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for consistencyToken. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java index ec8175dcfd..fa0d9a9962 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java @@ -359,12 +359,11 @@ private State(int value) { * * *
-   * (`OutputOnly`)
    * The unique name of the cluster. Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/[a-z][-a-z0-9]*`.
+   * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The name. */ @@ -383,12 +382,11 @@ public java.lang.String getName() { * * *
-   * (`OutputOnly`)
    * The unique name of the cluster. Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/[a-z][-a-z0-9]*`.
+   * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for name. */ @@ -414,10 +412,10 @@ public com.google.protobuf.ByteString getNameBytes() { * The location where this cluster's nodes and storage reside. For best * performance, clients should be located as close as possible to this * cluster. Currently only zones are supported, so values should be of the - * form `projects/<project>/locations/<zone>`. + * form `projects/{project}/locations/{zone}`. * * - * string location = 2; + * string location = 2 [(.google.api.resource_reference) = { ... } * * @return The location. */ @@ -440,10 +438,10 @@ public java.lang.String getLocation() { * The location where this cluster's nodes and storage reside. For best * performance, clients should be located as close as possible to this * cluster. Currently only zones are supported, so values should be of the - * form `projects/<project>/locations/<zone>`. + * form `projects/{project}/locations/{zone}`. * * - * string location = 2; + * string location = 2 [(.google.api.resource_reference) = { ... } * * @return The bytes for location. */ @@ -465,11 +463,12 @@ public com.google.protobuf.ByteString getLocationBytes() { * * *
-   * (`OutputOnly`)
    * The current state of the cluster.
    * 
* - * .google.bigtable.admin.v2.Cluster.State state = 3; + * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return The enum numeric value on the wire for state. */ @@ -480,11 +479,12 @@ public int getStateValue() { * * *
-   * (`OutputOnly`)
    * The current state of the cluster.
    * 
* - * .google.bigtable.admin.v2.Cluster.State state = 3; + * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return The state. */ @@ -501,11 +501,11 @@ public com.google.bigtable.admin.v2.Cluster.State getState() { * * *
-   * The number of nodes allocated to this cluster. More nodes enable higher
+   * Required. The number of nodes allocated to this cluster. More nodes enable higher
    * throughput and more consistent performance.
    * 
* - * int32 serve_nodes = 4; + * int32 serve_nodes = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return The serveNodes. */ @@ -934,12 +934,11 @@ public Builder mergeFrom( * * *
-     * (`OutputOnly`)
      * The unique name of the cluster. Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/[a-z][-a-z0-9]*`.
+     * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The name. */ @@ -958,12 +957,11 @@ public java.lang.String getName() { * * *
-     * (`OutputOnly`)
      * The unique name of the cluster. Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/[a-z][-a-z0-9]*`.
+     * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for name. */ @@ -982,12 +980,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * (`OutputOnly`)
      * The unique name of the cluster. Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/[a-z][-a-z0-9]*`.
+     * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The name to set. * @return This builder for chaining. @@ -1005,12 +1002,11 @@ public Builder setName(java.lang.String value) { * * *
-     * (`OutputOnly`)
      * The unique name of the cluster. Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/[a-z][-a-z0-9]*`.
+     * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ @@ -1024,12 +1020,11 @@ public Builder clearName() { * * *
-     * (`OutputOnly`)
      * The unique name of the cluster. Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/[a-z][-a-z0-9]*`.
+     * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The bytes for name to set. * @return This builder for chaining. @@ -1054,10 +1049,10 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * The location where this cluster's nodes and storage reside. For best * performance, clients should be located as close as possible to this * cluster. Currently only zones are supported, so values should be of the - * form `projects/<project>/locations/<zone>`. + * form `projects/{project}/locations/{zone}`. * * - * string location = 2; + * string location = 2 [(.google.api.resource_reference) = { ... } * * @return The location. */ @@ -1080,10 +1075,10 @@ public java.lang.String getLocation() { * The location where this cluster's nodes and storage reside. For best * performance, clients should be located as close as possible to this * cluster. Currently only zones are supported, so values should be of the - * form `projects/<project>/locations/<zone>`. + * form `projects/{project}/locations/{zone}`. * * - * string location = 2; + * string location = 2 [(.google.api.resource_reference) = { ... } * * @return The bytes for location. */ @@ -1106,10 +1101,10 @@ public com.google.protobuf.ByteString getLocationBytes() { * The location where this cluster's nodes and storage reside. For best * performance, clients should be located as close as possible to this * cluster. Currently only zones are supported, so values should be of the - * form `projects/<project>/locations/<zone>`. + * form `projects/{project}/locations/{zone}`. * * - * string location = 2; + * string location = 2 [(.google.api.resource_reference) = { ... } * * @param value The location to set. * @return This builder for chaining. @@ -1131,10 +1126,10 @@ public Builder setLocation(java.lang.String value) { * The location where this cluster's nodes and storage reside. For best * performance, clients should be located as close as possible to this * cluster. Currently only zones are supported, so values should be of the - * form `projects/<project>/locations/<zone>`. + * form `projects/{project}/locations/{zone}`. * * - * string location = 2; + * string location = 2 [(.google.api.resource_reference) = { ... } * * @return This builder for chaining. */ @@ -1152,10 +1147,10 @@ public Builder clearLocation() { * The location where this cluster's nodes and storage reside. For best * performance, clients should be located as close as possible to this * cluster. Currently only zones are supported, so values should be of the - * form `projects/<project>/locations/<zone>`. + * form `projects/{project}/locations/{zone}`. * * - * string location = 2; + * string location = 2 [(.google.api.resource_reference) = { ... } * * @param value The bytes for location to set. * @return This builder for chaining. @@ -1176,11 +1171,12 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { * * *
-     * (`OutputOnly`)
      * The current state of the cluster.
      * 
* - * .google.bigtable.admin.v2.Cluster.State state = 3; + * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return The enum numeric value on the wire for state. */ @@ -1191,11 +1187,12 @@ public int getStateValue() { * * *
-     * (`OutputOnly`)
      * The current state of the cluster.
      * 
* - * .google.bigtable.admin.v2.Cluster.State state = 3; + * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. @@ -1209,11 +1206,12 @@ public Builder setStateValue(int value) { * * *
-     * (`OutputOnly`)
      * The current state of the cluster.
      * 
* - * .google.bigtable.admin.v2.Cluster.State state = 3; + * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return The state. */ @@ -1227,11 +1225,12 @@ public com.google.bigtable.admin.v2.Cluster.State getState() { * * *
-     * (`OutputOnly`)
      * The current state of the cluster.
      * 
* - * .google.bigtable.admin.v2.Cluster.State state = 3; + * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @param value The state to set. * @return This builder for chaining. @@ -1249,11 +1248,12 @@ public Builder setState(com.google.bigtable.admin.v2.Cluster.State value) { * * *
-     * (`OutputOnly`)
      * The current state of the cluster.
      * 
* - * .google.bigtable.admin.v2.Cluster.State state = 3; + * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return This builder for chaining. */ @@ -1269,11 +1269,11 @@ public Builder clearState() { * * *
-     * The number of nodes allocated to this cluster. More nodes enable higher
+     * Required. The number of nodes allocated to this cluster. More nodes enable higher
      * throughput and more consistent performance.
      * 
* - * int32 serve_nodes = 4; + * int32 serve_nodes = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return The serveNodes. */ @@ -1284,11 +1284,11 @@ public int getServeNodes() { * * *
-     * The number of nodes allocated to this cluster. More nodes enable higher
+     * Required. The number of nodes allocated to this cluster. More nodes enable higher
      * throughput and more consistent performance.
      * 
* - * int32 serve_nodes = 4; + * int32 serve_nodes = 4 [(.google.api.field_behavior) = REQUIRED]; * * @param value The serveNodes to set. * @return This builder for chaining. @@ -1303,11 +1303,11 @@ public Builder setServeNodes(int value) { * * *
-     * The number of nodes allocated to this cluster. More nodes enable higher
+     * Required. The number of nodes allocated to this cluster. More nodes enable higher
      * throughput and more consistent performance.
      * 
* - * int32 serve_nodes = 4; + * int32 serve_nodes = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java index 1dcda264c8..4526a7d312 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java @@ -27,12 +27,11 @@ public interface ClusterOrBuilder * * *
-   * (`OutputOnly`)
    * The unique name of the cluster. Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/[a-z][-a-z0-9]*`.
+   * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The name. */ @@ -41,12 +40,11 @@ public interface ClusterOrBuilder * * *
-   * (`OutputOnly`)
    * The unique name of the cluster. Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/[a-z][-a-z0-9]*`.
+   * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for name. */ @@ -60,10 +58,10 @@ public interface ClusterOrBuilder * The location where this cluster's nodes and storage reside. For best * performance, clients should be located as close as possible to this * cluster. Currently only zones are supported, so values should be of the - * form `projects/<project>/locations/<zone>`. + * form `projects/{project}/locations/{zone}`. * * - * string location = 2; + * string location = 2 [(.google.api.resource_reference) = { ... } * * @return The location. */ @@ -76,10 +74,10 @@ public interface ClusterOrBuilder * The location where this cluster's nodes and storage reside. For best * performance, clients should be located as close as possible to this * cluster. Currently only zones are supported, so values should be of the - * form `projects/<project>/locations/<zone>`. + * form `projects/{project}/locations/{zone}`. * * - * string location = 2; + * string location = 2 [(.google.api.resource_reference) = { ... } * * @return The bytes for location. */ @@ -89,11 +87,12 @@ public interface ClusterOrBuilder * * *
-   * (`OutputOnly`)
    * The current state of the cluster.
    * 
* - * .google.bigtable.admin.v2.Cluster.State state = 3; + * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return The enum numeric value on the wire for state. */ @@ -102,11 +101,12 @@ public interface ClusterOrBuilder * * *
-   * (`OutputOnly`)
    * The current state of the cluster.
    * 
* - * .google.bigtable.admin.v2.Cluster.State state = 3; + * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * * @return The state. */ @@ -116,11 +116,11 @@ public interface ClusterOrBuilder * * *
-   * The number of nodes allocated to this cluster. More nodes enable higher
+   * Required. The number of nodes allocated to this cluster. More nodes enable higher
    * throughput and more consistent performance.
    * 
* - * int32 serve_nodes = 4; + * int32 serve_nodes = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return The serveNodes. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java index 9ad0336215..81c02c44c4 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java @@ -146,12 +146,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the instance in which to create the new app profile.
+   * Required. The unique name of the instance in which to create the new app profile.
    * Values are of the form
-   * `projects/<project>/instances/<instance>`.
+   * `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -170,12 +172,14 @@ public java.lang.String getParent() { * * *
-   * The unique name of the instance in which to create the new app profile.
+   * Required. The unique name of the instance in which to create the new app profile.
    * Values are of the form
-   * `projects/<project>/instances/<instance>`.
+   * `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -197,12 +201,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The ID to be used when referring to the new app profile within its
+   * Required. The ID to be used when referring to the new app profile within its
    * instance, e.g., just `myprofile` rather than
    * `projects/myproject/instances/myinstance/appProfiles/myprofile`.
    * 
* - * string app_profile_id = 2; + * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The appProfileId. */ @@ -221,12 +225,12 @@ public java.lang.String getAppProfileId() { * * *
-   * The ID to be used when referring to the new app profile within its
+   * Required. The ID to be used when referring to the new app profile within its
    * instance, e.g., just `myprofile` rather than
    * `projects/myproject/instances/myinstance/appProfiles/myprofile`.
    * 
* - * string app_profile_id = 2; + * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for appProfileId. */ @@ -248,11 +252,13 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { * * *
-   * The app profile to be created.
+   * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the appProfile field is set. */ @@ -263,11 +269,13 @@ public boolean hasAppProfile() { * * *
-   * The app profile to be created.
+   * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The appProfile. */ @@ -280,11 +288,13 @@ public com.google.bigtable.admin.v2.AppProfile getAppProfile() { * * *
-   * The app profile to be created.
+   * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { return getAppProfile(); @@ -689,12 +699,14 @@ public Builder mergeFrom( * * *
-     * The unique name of the instance in which to create the new app profile.
+     * Required. The unique name of the instance in which to create the new app profile.
      * Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -713,12 +725,14 @@ public java.lang.String getParent() { * * *
-     * The unique name of the instance in which to create the new app profile.
+     * Required. The unique name of the instance in which to create the new app profile.
      * Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -737,12 +751,14 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The unique name of the instance in which to create the new app profile.
+     * Required. The unique name of the instance in which to create the new app profile.
      * Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -760,12 +776,14 @@ public Builder setParent(java.lang.String value) { * * *
-     * The unique name of the instance in which to create the new app profile.
+     * Required. The unique name of the instance in which to create the new app profile.
      * Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -779,12 +797,14 @@ public Builder clearParent() { * * *
-     * The unique name of the instance in which to create the new app profile.
+     * Required. The unique name of the instance in which to create the new app profile.
      * Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. @@ -805,12 +825,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The ID to be used when referring to the new app profile within its
+     * Required. The ID to be used when referring to the new app profile within its
      * instance, e.g., just `myprofile` rather than
      * `projects/myproject/instances/myinstance/appProfiles/myprofile`.
      * 
* - * string app_profile_id = 2; + * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The appProfileId. */ @@ -829,12 +849,12 @@ public java.lang.String getAppProfileId() { * * *
-     * The ID to be used when referring to the new app profile within its
+     * Required. The ID to be used when referring to the new app profile within its
      * instance, e.g., just `myprofile` rather than
      * `projects/myproject/instances/myinstance/appProfiles/myprofile`.
      * 
* - * string app_profile_id = 2; + * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for appProfileId. */ @@ -853,12 +873,12 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { * * *
-     * The ID to be used when referring to the new app profile within its
+     * Required. The ID to be used when referring to the new app profile within its
      * instance, e.g., just `myprofile` rather than
      * `projects/myproject/instances/myinstance/appProfiles/myprofile`.
      * 
* - * string app_profile_id = 2; + * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The appProfileId to set. * @return This builder for chaining. @@ -876,12 +896,12 @@ public Builder setAppProfileId(java.lang.String value) { * * *
-     * The ID to be used when referring to the new app profile within its
+     * Required. The ID to be used when referring to the new app profile within its
      * instance, e.g., just `myprofile` rather than
      * `projects/myproject/instances/myinstance/appProfiles/myprofile`.
      * 
* - * string app_profile_id = 2; + * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ @@ -895,12 +915,12 @@ public Builder clearAppProfileId() { * * *
-     * The ID to be used when referring to the new app profile within its
+     * Required. The ID to be used when referring to the new app profile within its
      * instance, e.g., just `myprofile` rather than
      * `projects/myproject/instances/myinstance/appProfiles/myprofile`.
      * 
* - * string app_profile_id = 2; + * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The bytes for appProfileId to set. * @return This builder for chaining. @@ -926,11 +946,13 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { * * *
-     * The app profile to be created.
+     * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the appProfile field is set. */ @@ -941,11 +963,13 @@ public boolean hasAppProfile() { * * *
-     * The app profile to be created.
+     * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The appProfile. */ @@ -962,11 +986,13 @@ public com.google.bigtable.admin.v2.AppProfile getAppProfile() { * * *
-     * The app profile to be created.
+     * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { @@ -985,11 +1011,13 @@ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile value) { * * *
-     * The app profile to be created.
+     * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { if (appProfileBuilder_ == null) { @@ -1005,11 +1033,13 @@ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile.Builder bui * * *
-     * The app profile to be created.
+     * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { @@ -1032,11 +1062,13 @@ public Builder mergeAppProfile(com.google.bigtable.admin.v2.AppProfile value) { * * *
-     * The app profile to be created.
+     * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAppProfile() { if (appProfileBuilder_ == null) { @@ -1053,11 +1085,13 @@ public Builder clearAppProfile() { * * *
-     * The app profile to be created.
+     * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { @@ -1068,11 +1102,13 @@ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { * * *
-     * The app profile to be created.
+     * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { if (appProfileBuilder_ != null) { @@ -1087,11 +1123,13 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() * * *
-     * The app profile to be created.
+     * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.bigtable.admin.v2.AppProfile, diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java index c1c3c08848..65d15a68b3 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java @@ -27,12 +27,14 @@ public interface CreateAppProfileRequestOrBuilder * * *
-   * The unique name of the instance in which to create the new app profile.
+   * Required. The unique name of the instance in which to create the new app profile.
    * Values are of the form
-   * `projects/<project>/instances/<instance>`.
+   * `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -41,12 +43,14 @@ public interface CreateAppProfileRequestOrBuilder * * *
-   * The unique name of the instance in which to create the new app profile.
+   * Required. The unique name of the instance in which to create the new app profile.
    * Values are of the form
-   * `projects/<project>/instances/<instance>`.
+   * `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -56,12 +60,12 @@ public interface CreateAppProfileRequestOrBuilder * * *
-   * The ID to be used when referring to the new app profile within its
+   * Required. The ID to be used when referring to the new app profile within its
    * instance, e.g., just `myprofile` rather than
    * `projects/myproject/instances/myinstance/appProfiles/myprofile`.
    * 
* - * string app_profile_id = 2; + * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The appProfileId. */ @@ -70,12 +74,12 @@ public interface CreateAppProfileRequestOrBuilder * * *
-   * The ID to be used when referring to the new app profile within its
+   * Required. The ID to be used when referring to the new app profile within its
    * instance, e.g., just `myprofile` rather than
    * `projects/myproject/instances/myinstance/appProfiles/myprofile`.
    * 
* - * string app_profile_id = 2; + * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for appProfileId. */ @@ -85,11 +89,13 @@ public interface CreateAppProfileRequestOrBuilder * * *
-   * The app profile to be created.
+   * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the appProfile field is set. */ @@ -98,11 +104,13 @@ public interface CreateAppProfileRequestOrBuilder * * *
-   * The app profile to be created.
+   * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The appProfile. */ @@ -111,11 +119,13 @@ public interface CreateAppProfileRequestOrBuilder * * *
-   * The app profile to be created.
+   * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java index 77a724bde4..a2ef0c8673 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java @@ -141,12 +141,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the instance in which to create the new cluster.
+   * Required. The unique name of the instance in which to create the new cluster.
    * Values are of the form
-   * `projects/<project>/instances/<instance>`.
+   * `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -165,12 +167,14 @@ public java.lang.String getParent() { * * *
-   * The unique name of the instance in which to create the new cluster.
+   * Required. The unique name of the instance in which to create the new cluster.
    * Values are of the form
-   * `projects/<project>/instances/<instance>`.
+   * `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -192,12 +196,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The ID to be used when referring to the new cluster within its instance,
+   * Required. The ID to be used when referring to the new cluster within its instance,
    * e.g., just `mycluster` rather than
    * `projects/myproject/instances/myinstance/clusters/mycluster`.
    * 
* - * string cluster_id = 2; + * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The clusterId. */ @@ -216,12 +220,12 @@ public java.lang.String getClusterId() { * * *
-   * The ID to be used when referring to the new cluster within its instance,
+   * Required. The ID to be used when referring to the new cluster within its instance,
    * e.g., just `mycluster` rather than
    * `projects/myproject/instances/myinstance/clusters/mycluster`.
    * 
* - * string cluster_id = 2; + * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for clusterId. */ @@ -243,11 +247,12 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-   * The cluster to be created.
+   * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3; + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the cluster field is set. */ @@ -258,11 +263,12 @@ public boolean hasCluster() { * * *
-   * The cluster to be created.
+   * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3; + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The cluster. */ @@ -273,11 +279,12 @@ public com.google.bigtable.admin.v2.Cluster getCluster() { * * *
-   * The cluster to be created.
+   * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3; + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { return getCluster(); @@ -650,12 +657,14 @@ public Builder mergeFrom( * * *
-     * The unique name of the instance in which to create the new cluster.
+     * Required. The unique name of the instance in which to create the new cluster.
      * Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -674,12 +683,14 @@ public java.lang.String getParent() { * * *
-     * The unique name of the instance in which to create the new cluster.
+     * Required. The unique name of the instance in which to create the new cluster.
      * Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -698,12 +709,14 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The unique name of the instance in which to create the new cluster.
+     * Required. The unique name of the instance in which to create the new cluster.
      * Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -721,12 +734,14 @@ public Builder setParent(java.lang.String value) { * * *
-     * The unique name of the instance in which to create the new cluster.
+     * Required. The unique name of the instance in which to create the new cluster.
      * Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -740,12 +755,14 @@ public Builder clearParent() { * * *
-     * The unique name of the instance in which to create the new cluster.
+     * Required. The unique name of the instance in which to create the new cluster.
      * Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. @@ -766,12 +783,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The ID to be used when referring to the new cluster within its instance,
+     * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
      * `projects/myproject/instances/myinstance/clusters/mycluster`.
      * 
* - * string cluster_id = 2; + * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The clusterId. */ @@ -790,12 +807,12 @@ public java.lang.String getClusterId() { * * *
-     * The ID to be used when referring to the new cluster within its instance,
+     * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
      * `projects/myproject/instances/myinstance/clusters/mycluster`.
      * 
* - * string cluster_id = 2; + * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for clusterId. */ @@ -814,12 +831,12 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * The ID to be used when referring to the new cluster within its instance,
+     * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
      * `projects/myproject/instances/myinstance/clusters/mycluster`.
      * 
* - * string cluster_id = 2; + * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -837,12 +854,12 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * The ID to be used when referring to the new cluster within its instance,
+     * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
      * `projects/myproject/instances/myinstance/clusters/mycluster`.
      * 
* - * string cluster_id = 2; + * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ @@ -856,12 +873,12 @@ public Builder clearClusterId() { * * *
-     * The ID to be used when referring to the new cluster within its instance,
+     * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
      * `projects/myproject/instances/myinstance/clusters/mycluster`.
      * 
* - * string cluster_id = 2; + * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. @@ -887,11 +904,13 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * *
-     * The cluster to be created.
+     * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3; + * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the cluster field is set. */ @@ -902,11 +921,13 @@ public boolean hasCluster() { * * *
-     * The cluster to be created.
+     * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3; + * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The cluster. */ @@ -923,11 +944,13 @@ public com.google.bigtable.admin.v2.Cluster getCluster() { * * *
-     * The cluster to be created.
+     * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3; + * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCluster(com.google.bigtable.admin.v2.Cluster value) { if (clusterBuilder_ == null) { @@ -946,11 +969,13 @@ public Builder setCluster(com.google.bigtable.admin.v2.Cluster value) { * * *
-     * The cluster to be created.
+     * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3; + * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCluster(com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { @@ -966,11 +991,13 @@ public Builder setCluster(com.google.bigtable.admin.v2.Cluster.Builder builderFo * * *
-     * The cluster to be created.
+     * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3; + * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCluster(com.google.bigtable.admin.v2.Cluster value) { if (clusterBuilder_ == null) { @@ -993,11 +1020,13 @@ public Builder mergeCluster(com.google.bigtable.admin.v2.Cluster value) { * * *
-     * The cluster to be created.
+     * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3; + * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCluster() { if (clusterBuilder_ == null) { @@ -1014,11 +1043,13 @@ public Builder clearCluster() { * * *
-     * The cluster to be created.
+     * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3; + * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.Cluster.Builder getClusterBuilder() { @@ -1029,11 +1060,13 @@ public com.google.bigtable.admin.v2.Cluster.Builder getClusterBuilder() { * * *
-     * The cluster to be created.
+     * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3; + * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { @@ -1048,11 +1081,13 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { * * *
-     * The cluster to be created.
+     * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3; + * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.bigtable.admin.v2.Cluster, diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java index 49d6bdb42a..35c9ee104a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java @@ -27,12 +27,14 @@ public interface CreateClusterRequestOrBuilder * * *
-   * The unique name of the instance in which to create the new cluster.
+   * Required. The unique name of the instance in which to create the new cluster.
    * Values are of the form
-   * `projects/<project>/instances/<instance>`.
+   * `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -41,12 +43,14 @@ public interface CreateClusterRequestOrBuilder * * *
-   * The unique name of the instance in which to create the new cluster.
+   * Required. The unique name of the instance in which to create the new cluster.
    * Values are of the form
-   * `projects/<project>/instances/<instance>`.
+   * `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -56,12 +60,12 @@ public interface CreateClusterRequestOrBuilder * * *
-   * The ID to be used when referring to the new cluster within its instance,
+   * Required. The ID to be used when referring to the new cluster within its instance,
    * e.g., just `mycluster` rather than
    * `projects/myproject/instances/myinstance/clusters/mycluster`.
    * 
* - * string cluster_id = 2; + * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The clusterId. */ @@ -70,12 +74,12 @@ public interface CreateClusterRequestOrBuilder * * *
-   * The ID to be used when referring to the new cluster within its instance,
+   * Required. The ID to be used when referring to the new cluster within its instance,
    * e.g., just `mycluster` rather than
    * `projects/myproject/instances/myinstance/clusters/mycluster`.
    * 
* - * string cluster_id = 2; + * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for clusterId. */ @@ -85,11 +89,12 @@ public interface CreateClusterRequestOrBuilder * * *
-   * The cluster to be created.
+   * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3; + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the cluster field is set. */ @@ -98,11 +103,12 @@ public interface CreateClusterRequestOrBuilder * * *
-   * The cluster to be created.
+   * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3; + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The cluster. */ @@ -111,11 +117,12 @@ public interface CreateClusterRequestOrBuilder * * *
-   * The cluster to be created.
+   * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3; + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java index ce339a1d51..b2ce008cf6 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java @@ -169,11 +169,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * *
-   * The unique name of the project in which to create the new instance.
-   * Values are of the form `projects/<project>`.
+   * Required. The unique name of the project in which to create the new instance.
+   * Values are of the form `projects/{project}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -192,11 +194,13 @@ public java.lang.String getParent() { * * *
-   * The unique name of the project in which to create the new instance.
-   * Values are of the form `projects/<project>`.
+   * Required. The unique name of the project in which to create the new instance.
+   * Values are of the form `projects/{project}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -218,12 +222,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The ID to be used when referring to the new instance within its project,
+   * Required. The ID to be used when referring to the new instance within its project,
    * e.g., just `myinstance` rather than
    * `projects/myproject/instances/myinstance`.
    * 
* - * string instance_id = 2; + * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The instanceId. */ @@ -242,12 +246,12 @@ public java.lang.String getInstanceId() { * * *
-   * The ID to be used when referring to the new instance within its project,
+   * Required. The ID to be used when referring to the new instance within its project,
    * e.g., just `myinstance` rather than
    * `projects/myproject/instances/myinstance`.
    * 
* - * string instance_id = 2; + * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for instanceId. */ @@ -269,11 +273,13 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { * * *
-   * The instance to create.
+   * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Instance instance = 3; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the instance field is set. */ @@ -284,11 +290,13 @@ public boolean hasInstance() { * * *
-   * The instance to create.
+   * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Instance instance = 3; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The instance. */ @@ -301,11 +309,13 @@ public com.google.bigtable.admin.v2.Instance getInstance() { * * *
-   * The instance to create.
+   * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Instance instance = 3; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { return getInstance(); @@ -345,14 +355,16 @@ public int getClustersCount() { * * *
-   * The clusters to be created within the instance, mapped by desired
+   * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
    * `projects/myproject/instances/myinstance/clusters/mycluster`.
    * Fields marked `OutputOnly` must be left blank.
-   * Currently, at most two clusters can be specified.
+   * Currently, at most four clusters can be specified.
    * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4; + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean containsClusters(java.lang.String key) { if (key == null) { @@ -369,14 +381,16 @@ public java.util.Map get * * *
-   * The clusters to be created within the instance, mapped by desired
+   * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
    * `projects/myproject/instances/myinstance/clusters/mycluster`.
    * Fields marked `OutputOnly` must be left blank.
-   * Currently, at most two clusters can be specified.
+   * Currently, at most four clusters can be specified.
    * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4; + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.Map getClustersMap() { return internalGetClusters().getMap(); @@ -385,14 +399,16 @@ public java.util.Map get * * *
-   * The clusters to be created within the instance, mapped by desired
+   * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
    * `projects/myproject/instances/myinstance/clusters/mycluster`.
    * Fields marked `OutputOnly` must be left blank.
-   * Currently, at most two clusters can be specified.
+   * Currently, at most four clusters can be specified.
    * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4; + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.Cluster getClustersOrDefault( java.lang.String key, com.google.bigtable.admin.v2.Cluster defaultValue) { @@ -407,14 +423,16 @@ public com.google.bigtable.admin.v2.Cluster getClustersOrDefault( * * *
-   * The clusters to be created within the instance, mapped by desired
+   * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
    * `projects/myproject/instances/myinstance/clusters/mycluster`.
    * Fields marked `OutputOnly` must be left blank.
-   * Currently, at most two clusters can be specified.
+   * Currently, at most four clusters can be specified.
    * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4; + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.Cluster getClustersOrThrow(java.lang.String key) { if (key == null) { @@ -840,11 +858,13 @@ public Builder mergeFrom( * * *
-     * The unique name of the project in which to create the new instance.
-     * Values are of the form `projects/<project>`.
+     * Required. The unique name of the project in which to create the new instance.
+     * Values are of the form `projects/{project}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -863,11 +883,13 @@ public java.lang.String getParent() { * * *
-     * The unique name of the project in which to create the new instance.
-     * Values are of the form `projects/<project>`.
+     * Required. The unique name of the project in which to create the new instance.
+     * Values are of the form `projects/{project}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -886,11 +908,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The unique name of the project in which to create the new instance.
-     * Values are of the form `projects/<project>`.
+     * Required. The unique name of the project in which to create the new instance.
+     * Values are of the form `projects/{project}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -908,11 +932,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * The unique name of the project in which to create the new instance.
-     * Values are of the form `projects/<project>`.
+     * Required. The unique name of the project in which to create the new instance.
+     * Values are of the form `projects/{project}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -926,11 +952,13 @@ public Builder clearParent() { * * *
-     * The unique name of the project in which to create the new instance.
-     * Values are of the form `projects/<project>`.
+     * Required. The unique name of the project in which to create the new instance.
+     * Values are of the form `projects/{project}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. @@ -951,12 +979,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The ID to be used when referring to the new instance within its project,
+     * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
      * `projects/myproject/instances/myinstance`.
      * 
* - * string instance_id = 2; + * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The instanceId. */ @@ -975,12 +1003,12 @@ public java.lang.String getInstanceId() { * * *
-     * The ID to be used when referring to the new instance within its project,
+     * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
      * `projects/myproject/instances/myinstance`.
      * 
* - * string instance_id = 2; + * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for instanceId. */ @@ -999,12 +1027,12 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { * * *
-     * The ID to be used when referring to the new instance within its project,
+     * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
      * `projects/myproject/instances/myinstance`.
      * 
* - * string instance_id = 2; + * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The instanceId to set. * @return This builder for chaining. @@ -1022,12 +1050,12 @@ public Builder setInstanceId(java.lang.String value) { * * *
-     * The ID to be used when referring to the new instance within its project,
+     * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
      * `projects/myproject/instances/myinstance`.
      * 
* - * string instance_id = 2; + * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ @@ -1041,12 +1069,12 @@ public Builder clearInstanceId() { * * *
-     * The ID to be used when referring to the new instance within its project,
+     * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
      * `projects/myproject/instances/myinstance`.
      * 
* - * string instance_id = 2; + * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The bytes for instanceId to set. * @return This builder for chaining. @@ -1072,11 +1100,13 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { * * *
-     * The instance to create.
+     * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 3; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the instance field is set. */ @@ -1087,11 +1117,13 @@ public boolean hasInstance() { * * *
-     * The instance to create.
+     * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 3; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The instance. */ @@ -1108,11 +1140,13 @@ public com.google.bigtable.admin.v2.Instance getInstance() { * * *
-     * The instance to create.
+     * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 3; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.bigtable.admin.v2.Instance value) { if (instanceBuilder_ == null) { @@ -1131,11 +1165,13 @@ public Builder setInstance(com.google.bigtable.admin.v2.Instance value) { * * *
-     * The instance to create.
+     * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 3; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.bigtable.admin.v2.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { @@ -1151,11 +1187,13 @@ public Builder setInstance(com.google.bigtable.admin.v2.Instance.Builder builder * * *
-     * The instance to create.
+     * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 3; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInstance(com.google.bigtable.admin.v2.Instance value) { if (instanceBuilder_ == null) { @@ -1178,11 +1216,13 @@ public Builder mergeInstance(com.google.bigtable.admin.v2.Instance value) { * * *
-     * The instance to create.
+     * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 3; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstance() { if (instanceBuilder_ == null) { @@ -1199,11 +1239,13 @@ public Builder clearInstance() { * * *
-     * The instance to create.
+     * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 3; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { @@ -1214,11 +1256,13 @@ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { * * *
-     * The instance to create.
+     * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 3; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { @@ -1233,11 +1277,13 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { * * *
-     * The instance to create.
+     * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 3; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.bigtable.admin.v2.Instance, @@ -1288,14 +1334,16 @@ public int getClustersCount() { * * *
-     * The clusters to be created within the instance, mapped by desired
+     * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
      * `projects/myproject/instances/myinstance/clusters/mycluster`.
      * Fields marked `OutputOnly` must be left blank.
-     * Currently, at most two clusters can be specified.
+     * Currently, at most four clusters can be specified.
      * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4; + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean containsClusters(java.lang.String key) { if (key == null) { @@ -1312,14 +1360,16 @@ public java.util.Map get * * *
-     * The clusters to be created within the instance, mapped by desired
+     * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
      * `projects/myproject/instances/myinstance/clusters/mycluster`.
      * Fields marked `OutputOnly` must be left blank.
-     * Currently, at most two clusters can be specified.
+     * Currently, at most four clusters can be specified.
      * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4; + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.Map getClustersMap() { return internalGetClusters().getMap(); @@ -1328,14 +1378,16 @@ public java.util.Map get * * *
-     * The clusters to be created within the instance, mapped by desired
+     * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
      * `projects/myproject/instances/myinstance/clusters/mycluster`.
      * Fields marked `OutputOnly` must be left blank.
-     * Currently, at most two clusters can be specified.
+     * Currently, at most four clusters can be specified.
      * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4; + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.Cluster getClustersOrDefault( java.lang.String key, com.google.bigtable.admin.v2.Cluster defaultValue) { @@ -1350,14 +1402,16 @@ public com.google.bigtable.admin.v2.Cluster getClustersOrDefault( * * *
-     * The clusters to be created within the instance, mapped by desired
+     * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
      * `projects/myproject/instances/myinstance/clusters/mycluster`.
      * Fields marked `OutputOnly` must be left blank.
-     * Currently, at most two clusters can be specified.
+     * Currently, at most four clusters can be specified.
      * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4; + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.Cluster getClustersOrThrow(java.lang.String key) { if (key == null) { @@ -1379,14 +1433,16 @@ public Builder clearClusters() { * * *
-     * The clusters to be created within the instance, mapped by desired
+     * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
      * `projects/myproject/instances/myinstance/clusters/mycluster`.
      * Fields marked `OutputOnly` must be left blank.
-     * Currently, at most two clusters can be specified.
+     * Currently, at most four clusters can be specified.
      * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4; + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeClusters(java.lang.String key) { if (key == null) { @@ -1405,14 +1461,16 @@ public Builder removeClusters(java.lang.String key) { * * *
-     * The clusters to be created within the instance, mapped by desired
+     * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
      * `projects/myproject/instances/myinstance/clusters/mycluster`.
      * Fields marked `OutputOnly` must be left blank.
-     * Currently, at most two clusters can be specified.
+     * Currently, at most four clusters can be specified.
      * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4; + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder putClusters(java.lang.String key, com.google.bigtable.admin.v2.Cluster value) { if (key == null) { @@ -1428,14 +1486,16 @@ public Builder putClusters(java.lang.String key, com.google.bigtable.admin.v2.Cl * * *
-     * The clusters to be created within the instance, mapped by desired
+     * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
      * `projects/myproject/instances/myinstance/clusters/mycluster`.
      * Fields marked `OutputOnly` must be left blank.
-     * Currently, at most two clusters can be specified.
+     * Currently, at most four clusters can be specified.
      * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4; + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder putAllClusters( java.util.Map values) { diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java index 0e1685c00c..8417fff128 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface CreateInstanceRequestOrBuilder * * *
-   * The unique name of the project in which to create the new instance.
-   * Values are of the form `projects/<project>`.
+   * Required. The unique name of the project in which to create the new instance.
+   * Values are of the form `projects/{project}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -40,11 +42,13 @@ public interface CreateInstanceRequestOrBuilder * * *
-   * The unique name of the project in which to create the new instance.
-   * Values are of the form `projects/<project>`.
+   * Required. The unique name of the project in which to create the new instance.
+   * Values are of the form `projects/{project}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -54,12 +58,12 @@ public interface CreateInstanceRequestOrBuilder * * *
-   * The ID to be used when referring to the new instance within its project,
+   * Required. The ID to be used when referring to the new instance within its project,
    * e.g., just `myinstance` rather than
    * `projects/myproject/instances/myinstance`.
    * 
* - * string instance_id = 2; + * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The instanceId. */ @@ -68,12 +72,12 @@ public interface CreateInstanceRequestOrBuilder * * *
-   * The ID to be used when referring to the new instance within its project,
+   * Required. The ID to be used when referring to the new instance within its project,
    * e.g., just `myinstance` rather than
    * `projects/myproject/instances/myinstance`.
    * 
* - * string instance_id = 2; + * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for instanceId. */ @@ -83,11 +87,13 @@ public interface CreateInstanceRequestOrBuilder * * *
-   * The instance to create.
+   * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Instance instance = 3; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the instance field is set. */ @@ -96,11 +102,13 @@ public interface CreateInstanceRequestOrBuilder * * *
-   * The instance to create.
+   * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Instance instance = 3; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The instance. */ @@ -109,11 +117,13 @@ public interface CreateInstanceRequestOrBuilder * * *
-   * The instance to create.
+   * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Instance instance = 3; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder(); @@ -121,28 +131,32 @@ public interface CreateInstanceRequestOrBuilder * * *
-   * The clusters to be created within the instance, mapped by desired
+   * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
    * `projects/myproject/instances/myinstance/clusters/mycluster`.
    * Fields marked `OutputOnly` must be left blank.
-   * Currently, at most two clusters can be specified.
+   * Currently, at most four clusters can be specified.
    * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4; + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ int getClustersCount(); /** * * *
-   * The clusters to be created within the instance, mapped by desired
+   * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
    * `projects/myproject/instances/myinstance/clusters/mycluster`.
    * Fields marked `OutputOnly` must be left blank.
-   * Currently, at most two clusters can be specified.
+   * Currently, at most four clusters can be specified.
    * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4; + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean containsClusters(java.lang.String key); /** Use {@link #getClustersMap()} instead. */ @@ -152,28 +166,32 @@ public interface CreateInstanceRequestOrBuilder * * *
-   * The clusters to be created within the instance, mapped by desired
+   * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
    * `projects/myproject/instances/myinstance/clusters/mycluster`.
    * Fields marked `OutputOnly` must be left blank.
-   * Currently, at most two clusters can be specified.
+   * Currently, at most four clusters can be specified.
    * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4; + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ java.util.Map getClustersMap(); /** * * *
-   * The clusters to be created within the instance, mapped by desired
+   * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
    * `projects/myproject/instances/myinstance/clusters/mycluster`.
    * Fields marked `OutputOnly` must be left blank.
-   * Currently, at most two clusters can be specified.
+   * Currently, at most four clusters can be specified.
    * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4; + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.bigtable.admin.v2.Cluster getClustersOrDefault( java.lang.String key, com.google.bigtable.admin.v2.Cluster defaultValue); @@ -181,14 +199,16 @@ com.google.bigtable.admin.v2.Cluster getClustersOrDefault( * * *
-   * The clusters to be created within the instance, mapped by desired
+   * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
    * `projects/myproject/instances/myinstance/clusters/mycluster`.
    * Fields marked `OutputOnly` must be left blank.
-   * Currently, at most two clusters can be specified.
+   * Currently, at most four clusters can be specified.
    * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4; + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.bigtable.admin.v2.Cluster getClustersOrThrow(java.lang.String key); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java index ca1d231a95..ff31cd20b1 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java @@ -139,11 +139,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the instance in which to create the table.
-   * Values are of the form `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance in which to create the table.
+   * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -162,11 +164,13 @@ public java.lang.String getParent() { * * *
-   * The unique name of the instance in which to create the table.
-   * Values are of the form `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance in which to create the table.
+   * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -188,11 +192,11 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The name by which the new table should be referred to within the parent
-   * instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
+   * Required. The name by which the new table should be referred to within the parent
+   * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
    * 
* - * string table_id = 2; + * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The tableId. */ @@ -211,11 +215,11 @@ public java.lang.String getTableId() { * * *
-   * The name by which the new table should be referred to within the parent
-   * instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
+   * Required. The name by which the new table should be referred to within the parent
+   * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
    * 
* - * string table_id = 2; + * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for tableId. */ @@ -237,13 +241,15 @@ public com.google.protobuf.ByteString getTableIdBytes() { * * *
-   * The unique name of the snapshot from which to restore the table. The
+   * Required. The unique name of the snapshot from which to restore the table. The
    * snapshot and the table must be in the same instance.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * string source_snapshot = 3; + * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The sourceSnapshot. */ @@ -262,13 +268,15 @@ public java.lang.String getSourceSnapshot() { * * *
-   * The unique name of the snapshot from which to restore the table. The
+   * Required. The unique name of the snapshot from which to restore the table. The
    * snapshot and the table must be in the same instance.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * string source_snapshot = 3; + * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for sourceSnapshot. */ @@ -645,11 +653,13 @@ public Builder mergeFrom( * * *
-     * The unique name of the instance in which to create the table.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance in which to create the table.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -668,11 +678,13 @@ public java.lang.String getParent() { * * *
-     * The unique name of the instance in which to create the table.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance in which to create the table.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -691,11 +703,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The unique name of the instance in which to create the table.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance in which to create the table.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -713,11 +727,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * The unique name of the instance in which to create the table.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance in which to create the table.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -731,11 +747,13 @@ public Builder clearParent() { * * *
-     * The unique name of the instance in which to create the table.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance in which to create the table.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. @@ -756,11 +774,11 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The name by which the new table should be referred to within the parent
-     * instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
+     * Required. The name by which the new table should be referred to within the parent
+     * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
      * 
* - * string table_id = 2; + * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The tableId. */ @@ -779,11 +797,11 @@ public java.lang.String getTableId() { * * *
-     * The name by which the new table should be referred to within the parent
-     * instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
+     * Required. The name by which the new table should be referred to within the parent
+     * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
      * 
* - * string table_id = 2; + * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for tableId. */ @@ -802,11 +820,11 @@ public com.google.protobuf.ByteString getTableIdBytes() { * * *
-     * The name by which the new table should be referred to within the parent
-     * instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
+     * Required. The name by which the new table should be referred to within the parent
+     * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
      * 
* - * string table_id = 2; + * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The tableId to set. * @return This builder for chaining. @@ -824,11 +842,11 @@ public Builder setTableId(java.lang.String value) { * * *
-     * The name by which the new table should be referred to within the parent
-     * instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
+     * Required. The name by which the new table should be referred to within the parent
+     * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
      * 
* - * string table_id = 2; + * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ @@ -842,11 +860,11 @@ public Builder clearTableId() { * * *
-     * The name by which the new table should be referred to within the parent
-     * instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
+     * Required. The name by which the new table should be referred to within the parent
+     * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
      * 
* - * string table_id = 2; + * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The bytes for tableId to set. * @return This builder for chaining. @@ -867,13 +885,15 @@ public Builder setTableIdBytes(com.google.protobuf.ByteString value) { * * *
-     * The unique name of the snapshot from which to restore the table. The
+     * Required. The unique name of the snapshot from which to restore the table. The
      * snapshot and the table must be in the same instance.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string source_snapshot = 3; + * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The sourceSnapshot. */ @@ -892,13 +912,15 @@ public java.lang.String getSourceSnapshot() { * * *
-     * The unique name of the snapshot from which to restore the table. The
+     * Required. The unique name of the snapshot from which to restore the table. The
      * snapshot and the table must be in the same instance.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string source_snapshot = 3; + * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for sourceSnapshot. */ @@ -917,13 +939,15 @@ public com.google.protobuf.ByteString getSourceSnapshotBytes() { * * *
-     * The unique name of the snapshot from which to restore the table. The
+     * Required. The unique name of the snapshot from which to restore the table. The
      * snapshot and the table must be in the same instance.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string source_snapshot = 3; + * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The sourceSnapshot to set. * @return This builder for chaining. @@ -941,13 +965,15 @@ public Builder setSourceSnapshot(java.lang.String value) { * * *
-     * The unique name of the snapshot from which to restore the table. The
+     * Required. The unique name of the snapshot from which to restore the table. The
      * snapshot and the table must be in the same instance.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string source_snapshot = 3; + * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -961,13 +987,15 @@ public Builder clearSourceSnapshot() { * * *
-     * The unique name of the snapshot from which to restore the table. The
+     * Required. The unique name of the snapshot from which to restore the table. The
      * snapshot and the table must be in the same instance.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string source_snapshot = 3; + * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for sourceSnapshot to set. * @return This builder for chaining. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java index d205b6e1db..f3a5b86e8f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface CreateTableFromSnapshotRequestOrBuilder * * *
-   * The unique name of the instance in which to create the table.
-   * Values are of the form `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance in which to create the table.
+   * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -40,11 +42,13 @@ public interface CreateTableFromSnapshotRequestOrBuilder * * *
-   * The unique name of the instance in which to create the table.
-   * Values are of the form `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance in which to create the table.
+   * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -54,11 +58,11 @@ public interface CreateTableFromSnapshotRequestOrBuilder * * *
-   * The name by which the new table should be referred to within the parent
-   * instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
+   * Required. The name by which the new table should be referred to within the parent
+   * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
    * 
* - * string table_id = 2; + * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The tableId. */ @@ -67,11 +71,11 @@ public interface CreateTableFromSnapshotRequestOrBuilder * * *
-   * The name by which the new table should be referred to within the parent
-   * instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
+   * Required. The name by which the new table should be referred to within the parent
+   * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
    * 
* - * string table_id = 2; + * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for tableId. */ @@ -81,13 +85,15 @@ public interface CreateTableFromSnapshotRequestOrBuilder * * *
-   * The unique name of the snapshot from which to restore the table. The
+   * Required. The unique name of the snapshot from which to restore the table. The
    * snapshot and the table must be in the same instance.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * string source_snapshot = 3; + * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The sourceSnapshot. */ @@ -96,13 +102,15 @@ public interface CreateTableFromSnapshotRequestOrBuilder * * *
-   * The unique name of the snapshot from which to restore the table. The
+   * Required. The unique name of the snapshot from which to restore the table. The
    * snapshot and the table must be in the same instance.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * string source_snapshot = 3; + * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for sourceSnapshot. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java index 2d8f657870..ec7632d609 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java @@ -714,11 +714,13 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split getDefaultInstanceF * * *
-   * The unique name of the instance in which to create the table.
-   * Values are of the form `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance in which to create the table.
+   * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -737,11 +739,13 @@ public java.lang.String getParent() { * * *
-   * The unique name of the instance in which to create the table.
-   * Values are of the form `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance in which to create the table.
+   * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -763,11 +767,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The name by which the new table should be referred to within the parent
-   * instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
+   * Required. The name by which the new table should be referred to within the parent
+   * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
+   * Maximum 50 characters.
    * 
* - * string table_id = 2; + * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The tableId. */ @@ -786,11 +791,12 @@ public java.lang.String getTableId() { * * *
-   * The name by which the new table should be referred to within the parent
-   * instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
+   * Required. The name by which the new table should be referred to within the parent
+   * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
+   * Maximum 50 characters.
    * 
* - * string table_id = 2; + * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for tableId. */ @@ -812,10 +818,11 @@ public com.google.protobuf.ByteString getTableIdBytes() { * * *
-   * The Table to create.
+   * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3; + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the table field is set. */ @@ -826,10 +833,11 @@ public boolean hasTable() { * * *
-   * The Table to create.
+   * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3; + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The table. */ @@ -840,10 +848,11 @@ public com.google.bigtable.admin.v2.Table getTable() { * * *
-   * The Table to create.
+   * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3; + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { return getTable(); @@ -1405,11 +1414,13 @@ public Builder mergeFrom( * * *
-     * The unique name of the instance in which to create the table.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance in which to create the table.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -1428,11 +1439,13 @@ public java.lang.String getParent() { * * *
-     * The unique name of the instance in which to create the table.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance in which to create the table.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -1451,11 +1464,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The unique name of the instance in which to create the table.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance in which to create the table.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -1473,11 +1488,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * The unique name of the instance in which to create the table.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance in which to create the table.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -1491,11 +1508,13 @@ public Builder clearParent() { * * *
-     * The unique name of the instance in which to create the table.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance in which to create the table.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. @@ -1516,11 +1535,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The name by which the new table should be referred to within the parent
-     * instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
+     * Required. The name by which the new table should be referred to within the parent
+     * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
+     * Maximum 50 characters.
      * 
* - * string table_id = 2; + * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The tableId. */ @@ -1539,11 +1559,12 @@ public java.lang.String getTableId() { * * *
-     * The name by which the new table should be referred to within the parent
-     * instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
+     * Required. The name by which the new table should be referred to within the parent
+     * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
+     * Maximum 50 characters.
      * 
* - * string table_id = 2; + * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for tableId. */ @@ -1562,11 +1583,12 @@ public com.google.protobuf.ByteString getTableIdBytes() { * * *
-     * The name by which the new table should be referred to within the parent
-     * instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
+     * Required. The name by which the new table should be referred to within the parent
+     * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
+     * Maximum 50 characters.
      * 
* - * string table_id = 2; + * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The tableId to set. * @return This builder for chaining. @@ -1584,11 +1606,12 @@ public Builder setTableId(java.lang.String value) { * * *
-     * The name by which the new table should be referred to within the parent
-     * instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
+     * Required. The name by which the new table should be referred to within the parent
+     * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
+     * Maximum 50 characters.
      * 
* - * string table_id = 2; + * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ @@ -1602,11 +1625,12 @@ public Builder clearTableId() { * * *
-     * The name by which the new table should be referred to within the parent
-     * instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
+     * Required. The name by which the new table should be referred to within the parent
+     * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
+     * Maximum 50 characters.
      * 
* - * string table_id = 2; + * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The bytes for tableId to set. * @return This builder for chaining. @@ -1632,10 +1656,11 @@ public Builder setTableIdBytes(com.google.protobuf.ByteString value) { * * *
-     * The Table to create.
+     * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3; + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the table field is set. */ @@ -1646,10 +1671,11 @@ public boolean hasTable() { * * *
-     * The Table to create.
+     * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3; + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The table. */ @@ -1664,10 +1690,11 @@ public com.google.bigtable.admin.v2.Table getTable() { * * *
-     * The Table to create.
+     * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3; + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTable(com.google.bigtable.admin.v2.Table value) { if (tableBuilder_ == null) { @@ -1686,10 +1713,11 @@ public Builder setTable(com.google.bigtable.admin.v2.Table value) { * * *
-     * The Table to create.
+     * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3; + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTable(com.google.bigtable.admin.v2.Table.Builder builderForValue) { if (tableBuilder_ == null) { @@ -1705,10 +1733,11 @@ public Builder setTable(com.google.bigtable.admin.v2.Table.Builder builderForVal * * *
-     * The Table to create.
+     * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3; + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTable(com.google.bigtable.admin.v2.Table value) { if (tableBuilder_ == null) { @@ -1729,10 +1758,11 @@ public Builder mergeTable(com.google.bigtable.admin.v2.Table value) { * * *
-     * The Table to create.
+     * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3; + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTable() { if (tableBuilder_ == null) { @@ -1749,10 +1779,11 @@ public Builder clearTable() { * * *
-     * The Table to create.
+     * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3; + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.Table.Builder getTableBuilder() { @@ -1763,10 +1794,11 @@ public com.google.bigtable.admin.v2.Table.Builder getTableBuilder() { * * *
-     * The Table to create.
+     * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3; + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { if (tableBuilder_ != null) { @@ -1779,10 +1811,11 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { * * *
-     * The Table to create.
+     * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3; + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.bigtable.admin.v2.Table, diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java index a072fe04f6..c456476e3f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface CreateTableRequestOrBuilder * * *
-   * The unique name of the instance in which to create the table.
-   * Values are of the form `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance in which to create the table.
+   * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -40,11 +42,13 @@ public interface CreateTableRequestOrBuilder * * *
-   * The unique name of the instance in which to create the table.
-   * Values are of the form `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance in which to create the table.
+   * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -54,11 +58,12 @@ public interface CreateTableRequestOrBuilder * * *
-   * The name by which the new table should be referred to within the parent
-   * instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
+   * Required. The name by which the new table should be referred to within the parent
+   * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
+   * Maximum 50 characters.
    * 
* - * string table_id = 2; + * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The tableId. */ @@ -67,11 +72,12 @@ public interface CreateTableRequestOrBuilder * * *
-   * The name by which the new table should be referred to within the parent
-   * instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
+   * Required. The name by which the new table should be referred to within the parent
+   * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
+   * Maximum 50 characters.
    * 
* - * string table_id = 2; + * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for tableId. */ @@ -81,10 +87,11 @@ public interface CreateTableRequestOrBuilder * * *
-   * The Table to create.
+   * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3; + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the table field is set. */ @@ -93,10 +100,11 @@ public interface CreateTableRequestOrBuilder * * *
-   * The Table to create.
+   * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3; + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The table. */ @@ -105,10 +113,11 @@ public interface CreateTableRequestOrBuilder * * *
-   * The Table to create.
+   * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3; + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java index 1dfd713f27..2b96264d7a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java @@ -122,11 +122,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the app profile to be deleted. Values are of the form
-   * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
+   * Required. The unique name of the app profile to be deleted. Values are of the form
+   * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -145,11 +147,13 @@ public java.lang.String getName() { * * *
-   * The unique name of the app profile to be deleted. Values are of the form
-   * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
+   * Required. The unique name of the app profile to be deleted. Values are of the form
+   * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -520,11 +524,13 @@ public Builder mergeFrom( * * *
-     * The unique name of the app profile to be deleted. Values are of the form
-     * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
+     * Required. The unique name of the app profile to be deleted. Values are of the form
+     * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -543,11 +549,13 @@ public java.lang.String getName() { * * *
-     * The unique name of the app profile to be deleted. Values are of the form
-     * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
+     * Required. The unique name of the app profile to be deleted. Values are of the form
+     * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -566,11 +574,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The unique name of the app profile to be deleted. Values are of the form
-     * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
+     * Required. The unique name of the app profile to be deleted. Values are of the form
+     * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -588,11 +598,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The unique name of the app profile to be deleted. Values are of the form
-     * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
+     * Required. The unique name of the app profile to be deleted. Values are of the form
+     * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -606,11 +618,13 @@ public Builder clearName() { * * *
-     * The unique name of the app profile to be deleted. Values are of the form
-     * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
+     * Required. The unique name of the app profile to be deleted. Values are of the form
+     * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java index 1ca293a13e..6749ba3c22 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface DeleteAppProfileRequestOrBuilder * * *
-   * The unique name of the app profile to be deleted. Values are of the form
-   * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
+   * Required. The unique name of the app profile to be deleted. Values are of the form
+   * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface DeleteAppProfileRequestOrBuilder * * *
-   * The unique name of the app profile to be deleted. Values are of the form
-   * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
+   * Required. The unique name of the app profile to be deleted. Values are of the form
+   * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java index 10cef00aa5..82f735a259 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java @@ -117,11 +117,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the cluster to be deleted. Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+   * Required. The unique name of the cluster to be deleted. Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -140,11 +142,13 @@ public java.lang.String getName() { * * *
-   * The unique name of the cluster to be deleted. Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+   * Required. The unique name of the cluster to be deleted. Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -483,11 +487,13 @@ public Builder mergeFrom( * * *
-     * The unique name of the cluster to be deleted. Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+     * Required. The unique name of the cluster to be deleted. Values are of the form
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -506,11 +512,13 @@ public java.lang.String getName() { * * *
-     * The unique name of the cluster to be deleted. Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+     * Required. The unique name of the cluster to be deleted. Values are of the form
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -529,11 +537,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The unique name of the cluster to be deleted. Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+     * Required. The unique name of the cluster to be deleted. Values are of the form
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -551,11 +561,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The unique name of the cluster to be deleted. Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+     * Required. The unique name of the cluster to be deleted. Values are of the form
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -569,11 +581,13 @@ public Builder clearName() { * * *
-     * The unique name of the cluster to be deleted. Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+     * Required. The unique name of the cluster to be deleted. Values are of the form
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java index d6d71c620a..88c65b724d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface DeleteClusterRequestOrBuilder * * *
-   * The unique name of the cluster to be deleted. Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+   * Required. The unique name of the cluster to be deleted. Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface DeleteClusterRequestOrBuilder * * *
-   * The unique name of the cluster to be deleted. Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+   * Required. The unique name of the cluster to be deleted. Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java index 77af44c11d..59a7becbaf 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java @@ -117,11 +117,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the instance to be deleted.
-   * Values are of the form `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance to be deleted.
+   * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -140,11 +142,13 @@ public java.lang.String getName() { * * *
-   * The unique name of the instance to be deleted.
-   * Values are of the form `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance to be deleted.
+   * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -483,11 +487,13 @@ public Builder mergeFrom( * * *
-     * The unique name of the instance to be deleted.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance to be deleted.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -506,11 +512,13 @@ public java.lang.String getName() { * * *
-     * The unique name of the instance to be deleted.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance to be deleted.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -529,11 +537,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The unique name of the instance to be deleted.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance to be deleted.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -551,11 +561,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The unique name of the instance to be deleted.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance to be deleted.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -569,11 +581,13 @@ public Builder clearName() { * * *
-     * The unique name of the instance to be deleted.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance to be deleted.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java index 11ea6a7d91..2f53ef3e45 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface DeleteInstanceRequestOrBuilder * * *
-   * The unique name of the instance to be deleted.
-   * Values are of the form `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance to be deleted.
+   * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface DeleteInstanceRequestOrBuilder * * *
-   * The unique name of the instance to be deleted.
-   * Values are of the form `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance to be deleted.
+   * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java index 167e63f9da..539bc34d83 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java @@ -122,12 +122,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the snapshot to be deleted.
+   * Required. The unique name of the snapshot to be deleted.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -146,12 +148,14 @@ public java.lang.String getName() { * * *
-   * The unique name of the snapshot to be deleted.
+   * Required. The unique name of the snapshot to be deleted.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -495,12 +499,14 @@ public Builder mergeFrom( * * *
-     * The unique name of the snapshot to be deleted.
+     * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -519,12 +525,14 @@ public java.lang.String getName() { * * *
-     * The unique name of the snapshot to be deleted.
+     * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -543,12 +551,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The unique name of the snapshot to be deleted.
+     * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -566,12 +576,14 @@ public Builder setName(java.lang.String value) { * * *
-     * The unique name of the snapshot to be deleted.
+     * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -585,12 +597,14 @@ public Builder clearName() { * * *
-     * The unique name of the snapshot to be deleted.
+     * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java index 2ed1a8ece0..0a137b602d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java @@ -27,12 +27,14 @@ public interface DeleteSnapshotRequestOrBuilder * * *
-   * The unique name of the snapshot to be deleted.
+   * Required. The unique name of the snapshot to be deleted.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -41,12 +43,14 @@ public interface DeleteSnapshotRequestOrBuilder * * *
-   * The unique name of the snapshot to be deleted.
+   * Required. The unique name of the snapshot to be deleted.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java index 2dba1c38aa..04bc1a2f1f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java @@ -118,12 +118,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the table to be deleted.
+   * Required. The unique name of the table to be deleted.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -142,12 +144,14 @@ public java.lang.String getName() { * * *
-   * The unique name of the table to be deleted.
+   * Required. The unique name of the table to be deleted.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -486,12 +490,14 @@ public Builder mergeFrom( * * *
-     * The unique name of the table to be deleted.
+     * Required. The unique name of the table to be deleted.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -510,12 +516,14 @@ public java.lang.String getName() { * * *
-     * The unique name of the table to be deleted.
+     * Required. The unique name of the table to be deleted.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -534,12 +542,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The unique name of the table to be deleted.
+     * Required. The unique name of the table to be deleted.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -557,12 +567,14 @@ public Builder setName(java.lang.String value) { * * *
-     * The unique name of the table to be deleted.
+     * Required. The unique name of the table to be deleted.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -576,12 +588,14 @@ public Builder clearName() { * * *
-     * The unique name of the table to be deleted.
+     * Required. The unique name of the table to be deleted.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java index 4ff8ded153..f70089424e 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java @@ -27,12 +27,14 @@ public interface DeleteTableRequestOrBuilder * * *
-   * The unique name of the table to be deleted.
+   * Required. The unique name of the table to be deleted.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -41,12 +43,14 @@ public interface DeleteTableRequestOrBuilder * * *
-   * The unique name of the table to be deleted.
+   * Required. The unique name of the table to be deleted.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java index cb7e52e55e..e541b777ad 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java @@ -177,12 +177,14 @@ public TargetCase getTargetCase() { * * *
-   * The unique name of the table on which to drop a range of rows.
+   * Required. The unique name of the table on which to drop a range of rows.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -201,12 +203,14 @@ public java.lang.String getName() { * * *
-   * The unique name of the table on which to drop a range of rows.
+   * Required. The unique name of the table on which to drop a range of rows.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -662,12 +666,14 @@ public Builder clearTarget() { * * *
-     * The unique name of the table on which to drop a range of rows.
+     * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -686,12 +692,14 @@ public java.lang.String getName() { * * *
-     * The unique name of the table on which to drop a range of rows.
+     * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -710,12 +718,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The unique name of the table on which to drop a range of rows.
+     * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -733,12 +743,14 @@ public Builder setName(java.lang.String value) { * * *
-     * The unique name of the table on which to drop a range of rows.
+     * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -752,12 +764,14 @@ public Builder clearName() { * * *
-     * The unique name of the table on which to drop a range of rows.
+     * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java index aa755e4697..bd1828b824 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java @@ -27,12 +27,14 @@ public interface DropRowRangeRequestOrBuilder * * *
-   * The unique name of the table on which to drop a range of rows.
+   * Required. The unique name of the table on which to drop a range of rows.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -41,12 +43,14 @@ public interface DropRowRangeRequestOrBuilder * * *
-   * The unique name of the table on which to drop a range of rows.
+   * Required. The unique name of the table on which to drop a range of rows.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java index 10b883a4c5..d70483aeb0 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java @@ -119,12 +119,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the Table for which to create a consistency token.
+   * Required. The unique name of the Table for which to create a consistency token.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -143,12 +145,14 @@ public java.lang.String getName() { * * *
-   * The unique name of the Table for which to create a consistency token.
+   * Required. The unique name of the Table for which to create a consistency token.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -491,12 +495,14 @@ public Builder mergeFrom( * * *
-     * The unique name of the Table for which to create a consistency token.
+     * Required. The unique name of the Table for which to create a consistency token.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -515,12 +521,14 @@ public java.lang.String getName() { * * *
-     * The unique name of the Table for which to create a consistency token.
+     * Required. The unique name of the Table for which to create a consistency token.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -539,12 +547,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The unique name of the Table for which to create a consistency token.
+     * Required. The unique name of the Table for which to create a consistency token.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -562,12 +572,14 @@ public Builder setName(java.lang.String value) { * * *
-     * The unique name of the Table for which to create a consistency token.
+     * Required. The unique name of the Table for which to create a consistency token.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -581,12 +593,14 @@ public Builder clearName() { * * *
-     * The unique name of the Table for which to create a consistency token.
+     * Required. The unique name of the Table for which to create a consistency token.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java index f57846b818..9d70e81ddb 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java @@ -27,12 +27,14 @@ public interface GenerateConsistencyTokenRequestOrBuilder * * *
-   * The unique name of the Table for which to create a consistency token.
+   * Required. The unique name of the Table for which to create a consistency token.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -41,12 +43,14 @@ public interface GenerateConsistencyTokenRequestOrBuilder * * *
-   * The unique name of the Table for which to create a consistency token.
+   * Required. The unique name of the Table for which to create a consistency token.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java index 58b4639337..da4fd3eca8 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java @@ -117,11 +117,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the requested app profile. Values are of the form
-   * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
+   * Required. The unique name of the requested app profile. Values are of the form
+   * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -140,11 +142,13 @@ public java.lang.String getName() { * * *
-   * The unique name of the requested app profile. Values are of the form
-   * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
+   * Required. The unique name of the requested app profile. Values are of the form
+   * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -483,11 +487,13 @@ public Builder mergeFrom( * * *
-     * The unique name of the requested app profile. Values are of the form
-     * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
+     * Required. The unique name of the requested app profile. Values are of the form
+     * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -506,11 +512,13 @@ public java.lang.String getName() { * * *
-     * The unique name of the requested app profile. Values are of the form
-     * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
+     * Required. The unique name of the requested app profile. Values are of the form
+     * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -529,11 +537,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The unique name of the requested app profile. Values are of the form
-     * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
+     * Required. The unique name of the requested app profile. Values are of the form
+     * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -551,11 +561,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The unique name of the requested app profile. Values are of the form
-     * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
+     * Required. The unique name of the requested app profile. Values are of the form
+     * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -569,11 +581,13 @@ public Builder clearName() { * * *
-     * The unique name of the requested app profile. Values are of the form
-     * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
+     * Required. The unique name of the requested app profile. Values are of the form
+     * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java index 79248f0fca..e020273ffe 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface GetAppProfileRequestOrBuilder * * *
-   * The unique name of the requested app profile. Values are of the form
-   * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
+   * Required. The unique name of the requested app profile. Values are of the form
+   * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface GetAppProfileRequestOrBuilder * * *
-   * The unique name of the requested app profile. Values are of the form
-   * `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
+   * Required. The unique name of the requested app profile. Values are of the form
+   * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java index 2e37f811bc..78f394e47a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java @@ -117,11 +117,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the requested cluster. Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+   * Required. The unique name of the requested cluster. Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -140,11 +142,13 @@ public java.lang.String getName() { * * *
-   * The unique name of the requested cluster. Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+   * Required. The unique name of the requested cluster. Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -481,11 +485,13 @@ public Builder mergeFrom( * * *
-     * The unique name of the requested cluster. Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+     * Required. The unique name of the requested cluster. Values are of the form
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -504,11 +510,13 @@ public java.lang.String getName() { * * *
-     * The unique name of the requested cluster. Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+     * Required. The unique name of the requested cluster. Values are of the form
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -527,11 +535,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The unique name of the requested cluster. Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+     * Required. The unique name of the requested cluster. Values are of the form
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -549,11 +559,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The unique name of the requested cluster. Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+     * Required. The unique name of the requested cluster. Values are of the form
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -567,11 +579,13 @@ public Builder clearName() { * * *
-     * The unique name of the requested cluster. Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+     * Required. The unique name of the requested cluster. Values are of the form
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java index 9f079145cd..a4e313feb6 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface GetClusterRequestOrBuilder * * *
-   * The unique name of the requested cluster. Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+   * Required. The unique name of the requested cluster. Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface GetClusterRequestOrBuilder * * *
-   * The unique name of the requested cluster. Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+   * Required. The unique name of the requested cluster. Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java index 658ed0b4e6..629d8406b8 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java @@ -117,11 +117,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the requested instance. Values are of the form
-   * `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the requested instance. Values are of the form
+   * `projects/{project}/instances/{instance}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -140,11 +142,13 @@ public java.lang.String getName() { * * *
-   * The unique name of the requested instance. Values are of the form
-   * `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the requested instance. Values are of the form
+   * `projects/{project}/instances/{instance}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -482,11 +486,13 @@ public Builder mergeFrom( * * *
-     * The unique name of the requested instance. Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the requested instance. Values are of the form
+     * `projects/{project}/instances/{instance}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -505,11 +511,13 @@ public java.lang.String getName() { * * *
-     * The unique name of the requested instance. Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the requested instance. Values are of the form
+     * `projects/{project}/instances/{instance}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -528,11 +536,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The unique name of the requested instance. Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the requested instance. Values are of the form
+     * `projects/{project}/instances/{instance}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -550,11 +560,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The unique name of the requested instance. Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the requested instance. Values are of the form
+     * `projects/{project}/instances/{instance}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -568,11 +580,13 @@ public Builder clearName() { * * *
-     * The unique name of the requested instance. Values are of the form
-     * `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the requested instance. Values are of the form
+     * `projects/{project}/instances/{instance}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java index 8ebc209cca..5d06a96344 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface GetInstanceRequestOrBuilder * * *
-   * The unique name of the requested instance. Values are of the form
-   * `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the requested instance. Values are of the form
+   * `projects/{project}/instances/{instance}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface GetInstanceRequestOrBuilder * * *
-   * The unique name of the requested instance. Values are of the form
-   * `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the requested instance. Values are of the form
+   * `projects/{project}/instances/{instance}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java index 2a2c1198ac..d2de7acbab 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java @@ -122,12 +122,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the requested snapshot.
+   * Required. The unique name of the requested snapshot.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -146,12 +148,14 @@ public java.lang.String getName() { * * *
-   * The unique name of the requested snapshot.
+   * Required. The unique name of the requested snapshot.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -494,12 +498,14 @@ public Builder mergeFrom( * * *
-     * The unique name of the requested snapshot.
+     * Required. The unique name of the requested snapshot.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -518,12 +524,14 @@ public java.lang.String getName() { * * *
-     * The unique name of the requested snapshot.
+     * Required. The unique name of the requested snapshot.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -542,12 +550,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The unique name of the requested snapshot.
+     * Required. The unique name of the requested snapshot.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -565,12 +575,14 @@ public Builder setName(java.lang.String value) { * * *
-     * The unique name of the requested snapshot.
+     * Required. The unique name of the requested snapshot.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -584,12 +596,14 @@ public Builder clearName() { * * *
-     * The unique name of the requested snapshot.
+     * Required. The unique name of the requested snapshot.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java index 2e5eff0d8a..e56c3bd5f1 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java @@ -27,12 +27,14 @@ public interface GetSnapshotRequestOrBuilder * * *
-   * The unique name of the requested snapshot.
+   * Required. The unique name of the requested snapshot.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -41,12 +43,14 @@ public interface GetSnapshotRequestOrBuilder * * *
-   * The unique name of the requested snapshot.
+   * Required. The unique name of the requested snapshot.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java index 5a62b6aa2d..2a372f3789 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java @@ -126,12 +126,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the requested table.
+   * Required. The unique name of the requested table.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -150,12 +152,14 @@ public java.lang.String getName() { * * *
-   * The unique name of the requested table.
+   * Required. The unique name of the requested table.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -544,12 +548,14 @@ public Builder mergeFrom( * * *
-     * The unique name of the requested table.
+     * Required. The unique name of the requested table.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -568,12 +574,14 @@ public java.lang.String getName() { * * *
-     * The unique name of the requested table.
+     * Required. The unique name of the requested table.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -592,12 +600,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The unique name of the requested table.
+     * Required. The unique name of the requested table.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -615,12 +625,14 @@ public Builder setName(java.lang.String value) { * * *
-     * The unique name of the requested table.
+     * Required. The unique name of the requested table.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -634,12 +646,14 @@ public Builder clearName() { * * *
-     * The unique name of the requested table.
+     * Required. The unique name of the requested table.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java index 924c49b0c7..7e88e78807 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java @@ -27,12 +27,14 @@ public interface GetTableRequestOrBuilder * * *
-   * The unique name of the requested table.
+   * Required. The unique name of the requested table.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -41,12 +43,14 @@ public interface GetTableRequestOrBuilder * * *
-   * The unique name of the requested table.
+   * Required. The unique name of the requested table.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java index d9027c8732..821a8f4dfb 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java @@ -24,8 +24,8 @@ *
  * A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and
  * the resources that serve them.
- * All tables in an instance are served from a single
- * [Cluster][google.bigtable.admin.v2.Cluster].
+ * All tables in an instance are served from all
+ * [Clusters][google.bigtable.admin.v2.Cluster] in the instance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.Instance} @@ -497,12 +497,11 @@ private Type(int value) { * * *
-   * (`OutputOnly`)
    * The unique name of the instance. Values are of the form
-   * `projects/<project>/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
+   * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The name. */ @@ -521,12 +520,11 @@ public java.lang.String getName() { * * *
-   * (`OutputOnly`)
    * The unique name of the instance. Values are of the form
-   * `projects/<project>/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
+   * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for name. */ @@ -548,12 +546,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * The descriptive name for this instance as it appears in UIs.
+   * Required. The descriptive name for this instance as it appears in UIs.
    * Can be changed at any time, but should be kept globally unique
    * to avoid confusion.
    * 
* - * string display_name = 2; + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The displayName. */ @@ -572,12 +570,12 @@ public java.lang.String getDisplayName() { * * *
-   * The descriptive name for this instance as it appears in UIs.
+   * Required. The descriptive name for this instance as it appears in UIs.
    * Can be changed at any time, but should be kept globally unique
    * to avoid confusion.
    * 
* - * string display_name = 2; + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for displayName. */ @@ -999,8 +997,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and
    * the resources that serve them.
-   * All tables in an instance are served from a single
-   * [Cluster][google.bigtable.admin.v2.Cluster].
+   * All tables in an instance are served from all
+   * [Clusters][google.bigtable.admin.v2.Cluster] in the instance.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.Instance} @@ -1204,12 +1202,11 @@ public Builder mergeFrom( * * *
-     * (`OutputOnly`)
      * The unique name of the instance. Values are of the form
-     * `projects/<project>/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
+     * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The name. */ @@ -1228,12 +1225,11 @@ public java.lang.String getName() { * * *
-     * (`OutputOnly`)
      * The unique name of the instance. Values are of the form
-     * `projects/<project>/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
+     * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for name. */ @@ -1252,12 +1248,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * (`OutputOnly`)
      * The unique name of the instance. Values are of the form
-     * `projects/<project>/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
+     * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The name to set. * @return This builder for chaining. @@ -1275,12 +1270,11 @@ public Builder setName(java.lang.String value) { * * *
-     * (`OutputOnly`)
      * The unique name of the instance. Values are of the form
-     * `projects/<project>/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
+     * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ @@ -1294,12 +1288,11 @@ public Builder clearName() { * * *
-     * (`OutputOnly`)
      * The unique name of the instance. Values are of the form
-     * `projects/<project>/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
+     * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The bytes for name to set. * @return This builder for chaining. @@ -1320,12 +1313,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * The descriptive name for this instance as it appears in UIs.
+     * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
      * to avoid confusion.
      * 
* - * string display_name = 2; + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The displayName. */ @@ -1344,12 +1337,12 @@ public java.lang.String getDisplayName() { * * *
-     * The descriptive name for this instance as it appears in UIs.
+     * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
      * to avoid confusion.
      * 
* - * string display_name = 2; + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for displayName. */ @@ -1368,12 +1361,12 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-     * The descriptive name for this instance as it appears in UIs.
+     * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
      * to avoid confusion.
      * 
* - * string display_name = 2; + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The displayName to set. * @return This builder for chaining. @@ -1391,12 +1384,12 @@ public Builder setDisplayName(java.lang.String value) { * * *
-     * The descriptive name for this instance as it appears in UIs.
+     * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
      * to avoid confusion.
      * 
* - * string display_name = 2; + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ @@ -1410,12 +1403,12 @@ public Builder clearDisplayName() { * * *
-     * The descriptive name for this instance as it appears in UIs.
+     * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
      * to avoid confusion.
      * 
* - * string display_name = 2; + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The bytes for displayName to set. * @return This builder for chaining. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java index 472054baa0..fd555df3fa 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java @@ -27,12 +27,11 @@ public interface InstanceOrBuilder * * *
-   * (`OutputOnly`)
    * The unique name of the instance. Values are of the form
-   * `projects/<project>/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
+   * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The name. */ @@ -41,12 +40,11 @@ public interface InstanceOrBuilder * * *
-   * (`OutputOnly`)
    * The unique name of the instance. Values are of the form
-   * `projects/<project>/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
+   * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for name. */ @@ -56,12 +54,12 @@ public interface InstanceOrBuilder * * *
-   * The descriptive name for this instance as it appears in UIs.
+   * Required. The descriptive name for this instance as it appears in UIs.
    * Can be changed at any time, but should be kept globally unique
    * to avoid confusion.
    * 
* - * string display_name = 2; + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The displayName. */ @@ -70,12 +68,12 @@ public interface InstanceOrBuilder * * *
-   * The descriptive name for this instance as it appears in UIs.
+   * Required. The descriptive name for this instance as it appears in UIs.
    * Can be changed at any time, but should be kept globally unique
    * to avoid confusion.
    * 
* - * string display_name = 2; + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for displayName. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java index 6d5dccd17d..faf3c77d81 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java @@ -62,45 +62,57 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n\'google/bigtable/admin/v2/instance.prot" + "o\022\030google.bigtable.admin.v2\032\034google/api/" - + "annotations.proto\032%google/bigtable/admin" - + "/v2/common.proto\"\203\003\n\010Instance\022\014\n\004name\030\001 " - + "\001(\t\022\024\n\014display_name\030\002 \001(\t\0227\n\005state\030\003 \001(\016" - + "2(.google.bigtable.admin.v2.Instance.Sta" - + "te\0225\n\004type\030\004 \001(\0162\'.google.bigtable.admin" - + ".v2.Instance.Type\022>\n\006labels\030\005 \003(\0132..goog" - + "le.bigtable.admin.v2.Instance.LabelsEntr" - + "y\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" - + " \001(\t:\0028\001\"5\n\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t" - + "\n\005READY\020\001\022\014\n\010CREATING\020\002\"=\n\004Type\022\024\n\020TYPE_" - + "UNSPECIFIED\020\000\022\016\n\nPRODUCTION\020\001\022\017\n\013DEVELOP" - + "MENT\020\002\"\216\002\n\007Cluster\022\014\n\004name\030\001 \001(\t\022\020\n\010loca" - + "tion\030\002 \001(\t\0226\n\005state\030\003 \001(\0162\'.google.bigta" - + "ble.admin.v2.Cluster.State\022\023\n\013serve_node" - + "s\030\004 \001(\005\022C\n\024default_storage_type\030\005 \001(\0162%." - + "google.bigtable.admin.v2.StorageType\"Q\n\005" - + "State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014\n" - + "\010CREATING\020\002\022\014\n\010RESIZING\020\003\022\014\n\010DISABLED\020\004\"" - + "\202\003\n\nAppProfile\022\014\n\004name\030\001 \001(\t\022\014\n\004etag\030\002 \001" - + "(\t\022\023\n\013description\030\003 \001(\t\022g\n\035multi_cluster" - + "_routing_use_any\030\005 \001(\0132>.google.bigtable" - + ".admin.v2.AppProfile.MultiClusterRouting" - + "UseAnyH\000\022[\n\026single_cluster_routing\030\006 \001(\013" - + "29.google.bigtable.admin.v2.AppProfile.S" - + "ingleClusterRoutingH\000\032\033\n\031MultiClusterRou" - + "tingUseAny\032N\n\024SingleClusterRouting\022\022\n\ncl" - + "uster_id\030\001 \001(\t\022\"\n\032allow_transactional_wr" - + "ites\030\002 \001(\010B\020\n\016routing_policyB\260\001\n\034com.goo" - + "gle.bigtable.admin.v2B\rInstanceProtoP\001Z=" - + "google.golang.org/genproto/googleapis/bi" - + "gtable/admin/v2;admin\252\002\036Google.Cloud.Big" - + "table.Admin.V2\312\002\036Google\\Cloud\\Bigtable\\A" - + "dmin\\V2b\006proto3" + + "annotations.proto\032\037google/api/field_beha" + + "vior.proto\032\031google/api/resource.proto\032%g" + + "oogle/bigtable/admin/v2/common.proto\"\335\003\n" + + "\010Instance\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display_" + + "name\030\002 \001(\tB\003\340A\002\0227\n\005state\030\003 \001(\0162(.google." + + "bigtable.admin.v2.Instance.State\0225\n\004type" + + "\030\004 \001(\0162\'.google.bigtable.admin.v2.Instan" + + "ce.Type\022>\n\006labels\030\005 \003(\0132..google.bigtabl" + + "e.admin.v2.Instance.LabelsEntry\032-\n\013Label" + + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"5" + + "\n\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022" + + "\014\n\010CREATING\020\002\"=\n\004Type\022\024\n\020TYPE_UNSPECIFIE" + + "D\020\000\022\016\n\nPRODUCTION\020\001\022\017\n\013DEVELOPMENT\020\002:N\352A" + + "K\n bigtable.googleapis.com/Instance\022\'pro" + + "jects/{project}/instances/{instance}\"\247\003\n" + + "\007Cluster\022\021\n\004name\030\001 \001(\tB\003\340A\003\0228\n\010location\030" + + "\002 \001(\tB&\372A#\n!locations.googleapis.com/Loc" + + "ation\022;\n\005state\030\003 \001(\0162\'.google.bigtable.a" + + "dmin.v2.Cluster.StateB\003\340A\003\022\030\n\013serve_node" + + "s\030\004 \001(\005B\003\340A\002\022C\n\024default_storage_type\030\005 \001" + + "(\0162%.google.bigtable.admin.v2.StorageTyp" + + "e\"Q\n\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005READY" + + "\020\001\022\014\n\010CREATING\020\002\022\014\n\010RESIZING\020\003\022\014\n\010DISABL" + + "ED\020\004:`\352A]\n\037bigtable.googleapis.com/Clust" + + "er\022:projects/{project}/instances/{instan" + + "ce}/clusters/{cluster}\"\356\003\n\nAppProfile\022\014\n" + + "\004name\030\001 \001(\t\022\014\n\004etag\030\002 \001(\t\022\023\n\013description" + + "\030\003 \001(\t\022g\n\035multi_cluster_routing_use_any\030" + + "\005 \001(\0132>.google.bigtable.admin.v2.AppProf" + + "ile.MultiClusterRoutingUseAnyH\000\022[\n\026singl" + + "e_cluster_routing\030\006 \001(\01329.google.bigtabl" + + "e.admin.v2.AppProfile.SingleClusterRouti" + + "ngH\000\032\033\n\031MultiClusterRoutingUseAny\032N\n\024Sin" + + "gleClusterRouting\022\022\n\ncluster_id\030\001 \001(\t\022\"\n" + + "\032allow_transactional_writes\030\002 \001(\010:j\352Ag\n\"" + + "bigtable.googleapis.com/AppProfile\022Aproj" + + "ects/{project}/instances/{instance}/appP" + + "rofiles/{app_profile}B\020\n\016routing_policyB" + + "\260\001\n\034com.google.bigtable.admin.v2B\rInstan" + + "ceProtoP\001Z=google.golang.org/genproto/go" + + "ogleapis/bigtable/admin/v2;admin\252\002\036Googl" + + "e.Cloud.Bigtable.Admin.V2\312\002\036Google\\Cloud" + + "\\Bigtable\\Admin\\V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.bigtable.admin.v2.CommonProto.getDescriptor(), }); internal_static_google_bigtable_admin_v2_Instance_descriptor = @@ -154,7 +166,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ClusterId", "AllowTransactionalWrites", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.bigtable.admin.v2.CommonProto.getDescriptor(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java index 42e100c417..c8e5323e18 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java @@ -130,14 +130,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the instance for which a list of app profiles is
+   * Required. The unique name of the instance for which a list of app profiles is
    * requested. Values are of the form
-   * `projects/<project>/instances/<instance>`.
-   * Use `<instance> = '-'` to list AppProfiles for all Instances in a project,
+   * `projects/{project}/instances/{instance}`.
+   * Use `{instance} = '-'` to list AppProfiles for all Instances in a project,
    * e.g., `projects/myproject/instances/-`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -156,14 +158,16 @@ public java.lang.String getParent() { * * *
-   * The unique name of the instance for which a list of app profiles is
+   * Required. The unique name of the instance for which a list of app profiles is
    * requested. Values are of the form
-   * `projects/<project>/instances/<instance>`.
-   * Use `<instance> = '-'` to list AppProfiles for all Instances in a project,
+   * `projects/{project}/instances/{instance}`.
+   * Use `{instance} = '-'` to list AppProfiles for all Instances in a project,
    * e.g., `projects/myproject/instances/-`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -186,7 +190,12 @@ public com.google.protobuf.ByteString getParentBytes() { * *
    * Maximum number of results per page.
-   * CURRENTLY UNIMPLEMENTED AND IGNORED.
+   * A page_size of zero lets the server choose the number of items to return.
+   * A page_size which is strictly positive will return at most that many items.
+   * A negative page_size will cause an error.
+   * Following the first request, subsequent paginated calls are not required
+   * to pass a page_size. If a page_size is set in subsequent calls, it must
+   * match the page_size given in the first request.
    * 
* * int32 page_size = 3; @@ -598,14 +607,16 @@ public Builder mergeFrom( * * *
-     * The unique name of the instance for which a list of app profiles is
+     * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
-     * `projects/<project>/instances/<instance>`.
-     * Use `<instance> = '-'` to list AppProfiles for all Instances in a project,
+     * `projects/{project}/instances/{instance}`.
+     * Use `{instance} = '-'` to list AppProfiles for all Instances in a project,
      * e.g., `projects/myproject/instances/-`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -624,14 +635,16 @@ public java.lang.String getParent() { * * *
-     * The unique name of the instance for which a list of app profiles is
+     * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
-     * `projects/<project>/instances/<instance>`.
-     * Use `<instance> = '-'` to list AppProfiles for all Instances in a project,
+     * `projects/{project}/instances/{instance}`.
+     * Use `{instance} = '-'` to list AppProfiles for all Instances in a project,
      * e.g., `projects/myproject/instances/-`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -650,14 +663,16 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The unique name of the instance for which a list of app profiles is
+     * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
-     * `projects/<project>/instances/<instance>`.
-     * Use `<instance> = '-'` to list AppProfiles for all Instances in a project,
+     * `projects/{project}/instances/{instance}`.
+     * Use `{instance} = '-'` to list AppProfiles for all Instances in a project,
      * e.g., `projects/myproject/instances/-`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -675,14 +690,16 @@ public Builder setParent(java.lang.String value) { * * *
-     * The unique name of the instance for which a list of app profiles is
+     * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
-     * `projects/<project>/instances/<instance>`.
-     * Use `<instance> = '-'` to list AppProfiles for all Instances in a project,
+     * `projects/{project}/instances/{instance}`.
+     * Use `{instance} = '-'` to list AppProfiles for all Instances in a project,
      * e.g., `projects/myproject/instances/-`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -696,14 +713,16 @@ public Builder clearParent() { * * *
-     * The unique name of the instance for which a list of app profiles is
+     * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
-     * `projects/<project>/instances/<instance>`.
-     * Use `<instance> = '-'` to list AppProfiles for all Instances in a project,
+     * `projects/{project}/instances/{instance}`.
+     * Use `{instance} = '-'` to list AppProfiles for all Instances in a project,
      * e.g., `projects/myproject/instances/-`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. @@ -725,7 +744,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * *
      * Maximum number of results per page.
-     * CURRENTLY UNIMPLEMENTED AND IGNORED.
+     * A page_size of zero lets the server choose the number of items to return.
+     * A page_size which is strictly positive will return at most that many items.
+     * A negative page_size will cause an error.
+     * Following the first request, subsequent paginated calls are not required
+     * to pass a page_size. If a page_size is set in subsequent calls, it must
+     * match the page_size given in the first request.
      * 
* * int32 page_size = 3; @@ -740,7 +764,12 @@ public int getPageSize() { * *
      * Maximum number of results per page.
-     * CURRENTLY UNIMPLEMENTED AND IGNORED.
+     * A page_size of zero lets the server choose the number of items to return.
+     * A page_size which is strictly positive will return at most that many items.
+     * A negative page_size will cause an error.
+     * Following the first request, subsequent paginated calls are not required
+     * to pass a page_size. If a page_size is set in subsequent calls, it must
+     * match the page_size given in the first request.
      * 
* * int32 page_size = 3; @@ -759,7 +788,12 @@ public Builder setPageSize(int value) { * *
      * Maximum number of results per page.
-     * CURRENTLY UNIMPLEMENTED AND IGNORED.
+     * A page_size of zero lets the server choose the number of items to return.
+     * A page_size which is strictly positive will return at most that many items.
+     * A negative page_size will cause an error.
+     * Following the first request, subsequent paginated calls are not required
+     * to pass a page_size. If a page_size is set in subsequent calls, it must
+     * match the page_size given in the first request.
      * 
* * int32 page_size = 3; diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java index 2de07c9832..20f3acd123 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java @@ -27,14 +27,16 @@ public interface ListAppProfilesRequestOrBuilder * * *
-   * The unique name of the instance for which a list of app profiles is
+   * Required. The unique name of the instance for which a list of app profiles is
    * requested. Values are of the form
-   * `projects/<project>/instances/<instance>`.
-   * Use `<instance> = '-'` to list AppProfiles for all Instances in a project,
+   * `projects/{project}/instances/{instance}`.
+   * Use `{instance} = '-'` to list AppProfiles for all Instances in a project,
    * e.g., `projects/myproject/instances/-`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -43,14 +45,16 @@ public interface ListAppProfilesRequestOrBuilder * * *
-   * The unique name of the instance for which a list of app profiles is
+   * Required. The unique name of the instance for which a list of app profiles is
    * requested. Values are of the form
-   * `projects/<project>/instances/<instance>`.
-   * Use `<instance> = '-'` to list AppProfiles for all Instances in a project,
+   * `projects/{project}/instances/{instance}`.
+   * Use `{instance} = '-'` to list AppProfiles for all Instances in a project,
    * e.g., `projects/myproject/instances/-`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -61,7 +65,12 @@ public interface ListAppProfilesRequestOrBuilder * *
    * Maximum number of results per page.
-   * CURRENTLY UNIMPLEMENTED AND IGNORED.
+   * A page_size of zero lets the server choose the number of items to return.
+   * A page_size which is strictly positive will return at most that many items.
+   * A negative page_size will cause an error.
+   * Following the first request, subsequent paginated calls are not required
+   * to pass a page_size. If a page_size is set in subsequent calls, it must
+   * match the page_size given in the first request.
    * 
* * int32 page_size = 3; diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java index b4789f9858..20e82f8940 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java @@ -125,13 +125,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the instance for which a list of clusters is requested.
-   * Values are of the form `projects/<project>/instances/<instance>`.
-   * Use `<instance> = '-'` to list Clusters for all Instances in a project,
+   * Required. The unique name of the instance for which a list of clusters is requested.
+   * Values are of the form `projects/{project}/instances/{instance}`.
+   * Use `{instance} = '-'` to list Clusters for all Instances in a project,
    * e.g., `projects/myproject/instances/-`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -150,13 +152,15 @@ public java.lang.String getParent() { * * *
-   * The unique name of the instance for which a list of clusters is requested.
-   * Values are of the form `projects/<project>/instances/<instance>`.
-   * Use `<instance> = '-'` to list Clusters for all Instances in a project,
+   * Required. The unique name of the instance for which a list of clusters is requested.
+   * Values are of the form `projects/{project}/instances/{instance}`.
+   * Use `{instance} = '-'` to list Clusters for all Instances in a project,
    * e.g., `projects/myproject/instances/-`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -557,13 +561,15 @@ public Builder mergeFrom( * * *
-     * The unique name of the instance for which a list of clusters is requested.
-     * Values are of the form `projects/<project>/instances/<instance>`.
-     * Use `<instance> = '-'` to list Clusters for all Instances in a project,
+     * Required. The unique name of the instance for which a list of clusters is requested.
+     * Values are of the form `projects/{project}/instances/{instance}`.
+     * Use `{instance} = '-'` to list Clusters for all Instances in a project,
      * e.g., `projects/myproject/instances/-`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -582,13 +588,15 @@ public java.lang.String getParent() { * * *
-     * The unique name of the instance for which a list of clusters is requested.
-     * Values are of the form `projects/<project>/instances/<instance>`.
-     * Use `<instance> = '-'` to list Clusters for all Instances in a project,
+     * Required. The unique name of the instance for which a list of clusters is requested.
+     * Values are of the form `projects/{project}/instances/{instance}`.
+     * Use `{instance} = '-'` to list Clusters for all Instances in a project,
      * e.g., `projects/myproject/instances/-`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -607,13 +615,15 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The unique name of the instance for which a list of clusters is requested.
-     * Values are of the form `projects/<project>/instances/<instance>`.
-     * Use `<instance> = '-'` to list Clusters for all Instances in a project,
+     * Required. The unique name of the instance for which a list of clusters is requested.
+     * Values are of the form `projects/{project}/instances/{instance}`.
+     * Use `{instance} = '-'` to list Clusters for all Instances in a project,
      * e.g., `projects/myproject/instances/-`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -631,13 +641,15 @@ public Builder setParent(java.lang.String value) { * * *
-     * The unique name of the instance for which a list of clusters is requested.
-     * Values are of the form `projects/<project>/instances/<instance>`.
-     * Use `<instance> = '-'` to list Clusters for all Instances in a project,
+     * Required. The unique name of the instance for which a list of clusters is requested.
+     * Values are of the form `projects/{project}/instances/{instance}`.
+     * Use `{instance} = '-'` to list Clusters for all Instances in a project,
      * e.g., `projects/myproject/instances/-`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -651,13 +663,15 @@ public Builder clearParent() { * * *
-     * The unique name of the instance for which a list of clusters is requested.
-     * Values are of the form `projects/<project>/instances/<instance>`.
-     * Use `<instance> = '-'` to list Clusters for all Instances in a project,
+     * Required. The unique name of the instance for which a list of clusters is requested.
+     * Values are of the form `projects/{project}/instances/{instance}`.
+     * Use `{instance} = '-'` to list Clusters for all Instances in a project,
      * e.g., `projects/myproject/instances/-`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java index db0520c1d3..897c16d1c5 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java @@ -27,13 +27,15 @@ public interface ListClustersRequestOrBuilder * * *
-   * The unique name of the instance for which a list of clusters is requested.
-   * Values are of the form `projects/<project>/instances/<instance>`.
-   * Use `<instance> = '-'` to list Clusters for all Instances in a project,
+   * Required. The unique name of the instance for which a list of clusters is requested.
+   * Values are of the form `projects/{project}/instances/{instance}`.
+   * Use `{instance} = '-'` to list Clusters for all Instances in a project,
    * e.g., `projects/myproject/instances/-`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -42,13 +44,15 @@ public interface ListClustersRequestOrBuilder * * *
-   * The unique name of the instance for which a list of clusters is requested.
-   * Values are of the form `projects/<project>/instances/<instance>`.
-   * Use `<instance> = '-'` to list Clusters for all Instances in a project,
+   * Required. The unique name of the instance for which a list of clusters is requested.
+   * Values are of the form `projects/{project}/instances/{instance}`.
+   * Use `{instance} = '-'` to list Clusters for all Instances in a project,
    * e.g., `projects/myproject/instances/-`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java index 67a77e8bbf..1469cf8273 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java @@ -125,11 +125,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the project for which a list of instances is requested.
-   * Values are of the form `projects/<project>`.
+   * Required. The unique name of the project for which a list of instances is requested.
+   * Values are of the form `projects/{project}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -148,11 +150,13 @@ public java.lang.String getParent() { * * *
-   * The unique name of the project for which a list of instances is requested.
-   * Values are of the form `projects/<project>`.
+   * Required. The unique name of the project for which a list of instances is requested.
+   * Values are of the form `projects/{project}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -554,11 +558,13 @@ public Builder mergeFrom( * * *
-     * The unique name of the project for which a list of instances is requested.
-     * Values are of the form `projects/<project>`.
+     * Required. The unique name of the project for which a list of instances is requested.
+     * Values are of the form `projects/{project}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -577,11 +583,13 @@ public java.lang.String getParent() { * * *
-     * The unique name of the project for which a list of instances is requested.
-     * Values are of the form `projects/<project>`.
+     * Required. The unique name of the project for which a list of instances is requested.
+     * Values are of the form `projects/{project}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -600,11 +608,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The unique name of the project for which a list of instances is requested.
-     * Values are of the form `projects/<project>`.
+     * Required. The unique name of the project for which a list of instances is requested.
+     * Values are of the form `projects/{project}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -622,11 +632,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * The unique name of the project for which a list of instances is requested.
-     * Values are of the form `projects/<project>`.
+     * Required. The unique name of the project for which a list of instances is requested.
+     * Values are of the form `projects/{project}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -640,11 +652,13 @@ public Builder clearParent() { * * *
-     * The unique name of the project for which a list of instances is requested.
-     * Values are of the form `projects/<project>`.
+     * Required. The unique name of the project for which a list of instances is requested.
+     * Values are of the form `projects/{project}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java index ecc59c0e67..c6646d25d2 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface ListInstancesRequestOrBuilder * * *
-   * The unique name of the project for which a list of instances is requested.
-   * Values are of the form `projects/<project>`.
+   * Required. The unique name of the project for which a list of instances is requested.
+   * Values are of the form `projects/{project}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -40,11 +42,13 @@ public interface ListInstancesRequestOrBuilder * * *
-   * The unique name of the project for which a list of instances is requested.
-   * Values are of the form `projects/<project>`.
+   * Required. The unique name of the project for which a list of instances is requested.
+   * Values are of the form `projects/{project}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java index ecc0b09eff..02e6e0dac6 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java @@ -135,14 +135,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the cluster for which snapshots should be listed.
+   * Required. The unique name of the cluster for which snapshots should be listed.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>`.
-   * Use `<cluster> = '-'` to list snapshots for all clusters in an instance,
-   * e.g., `projects/<project>/instances/<instance>/clusters/-`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
+   * Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
+   * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -161,14 +163,16 @@ public java.lang.String getParent() { * * *
-   * The unique name of the cluster for which snapshots should be listed.
+   * Required. The unique name of the cluster for which snapshots should be listed.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>`.
-   * Use `<cluster> = '-'` to list snapshots for all clusters in an instance,
-   * e.g., `projects/<project>/instances/<instance>/clusters/-`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
+   * Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
+   * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -608,14 +612,16 @@ public Builder mergeFrom( * * *
-     * The unique name of the cluster for which snapshots should be listed.
+     * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
-     * Use `<cluster> = '-'` to list snapshots for all clusters in an instance,
-     * e.g., `projects/<project>/instances/<instance>/clusters/-`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
+     * Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
+     * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -634,14 +640,16 @@ public java.lang.String getParent() { * * *
-     * The unique name of the cluster for which snapshots should be listed.
+     * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
-     * Use `<cluster> = '-'` to list snapshots for all clusters in an instance,
-     * e.g., `projects/<project>/instances/<instance>/clusters/-`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
+     * Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
+     * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -660,14 +668,16 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The unique name of the cluster for which snapshots should be listed.
+     * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
-     * Use `<cluster> = '-'` to list snapshots for all clusters in an instance,
-     * e.g., `projects/<project>/instances/<instance>/clusters/-`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
+     * Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
+     * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -685,14 +695,16 @@ public Builder setParent(java.lang.String value) { * * *
-     * The unique name of the cluster for which snapshots should be listed.
+     * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
-     * Use `<cluster> = '-'` to list snapshots for all clusters in an instance,
-     * e.g., `projects/<project>/instances/<instance>/clusters/-`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
+     * Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
+     * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -706,14 +718,16 @@ public Builder clearParent() { * * *
-     * The unique name of the cluster for which snapshots should be listed.
+     * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
-     * Use `<cluster> = '-'` to list snapshots for all clusters in an instance,
-     * e.g., `projects/<project>/instances/<instance>/clusters/-`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
+     * Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
+     * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java index 9af4cd03a6..8437c4e8da 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java @@ -27,14 +27,16 @@ public interface ListSnapshotsRequestOrBuilder * * *
-   * The unique name of the cluster for which snapshots should be listed.
+   * Required. The unique name of the cluster for which snapshots should be listed.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>`.
-   * Use `<cluster> = '-'` to list snapshots for all clusters in an instance,
-   * e.g., `projects/<project>/instances/<instance>/clusters/-`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
+   * Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
+   * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -43,14 +45,16 @@ public interface ListSnapshotsRequestOrBuilder * * *
-   * The unique name of the cluster for which snapshots should be listed.
+   * Required. The unique name of the cluster for which snapshots should be listed.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>`.
-   * Use `<cluster> = '-'` to list snapshots for all clusters in an instance,
-   * e.g., `projects/<project>/instances/<instance>/clusters/-`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
+   * Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
+   * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java index 116b9e1c58..5605e0ee1f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java @@ -139,11 +139,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The unique name of the instance for which tables should be listed.
-   * Values are of the form `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance for which tables should be listed.
+   * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -162,11 +164,13 @@ public java.lang.String getParent() { * * *
-   * The unique name of the instance for which tables should be listed.
-   * Values are of the form `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance for which tables should be listed.
+   * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -189,7 +193,7 @@ public com.google.protobuf.ByteString getParentBytes() { * *
    * The view to be applied to the returned tables' fields.
-   * Defaults to `NAME_ONLY` if unspecified; no others are currently supported.
+   * Only NAME_ONLY view (default) and REPLICATION_VIEW are supported.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; @@ -204,7 +208,7 @@ public int getViewValue() { * *
    * The view to be applied to the returned tables' fields.
-   * Defaults to `NAME_ONLY` if unspecified; no others are currently supported.
+   * Only NAME_ONLY view (default) and REPLICATION_VIEW are supported.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; @@ -225,7 +229,12 @@ public com.google.bigtable.admin.v2.Table.View getView() { * *
    * Maximum number of results per page.
-   * CURRENTLY UNIMPLEMENTED AND IGNORED.
+   * A page_size of zero lets the server choose the number of items to return.
+   * A page_size which is strictly positive will return at most that many items.
+   * A negative page_size will cause an error.
+   * Following the first request, subsequent paginated calls are not required
+   * to pass a page_size. If a page_size is set in subsequent calls, it must
+   * match the page_size given in the first request.
    * 
* * int32 page_size = 4; @@ -651,11 +660,13 @@ public Builder mergeFrom( * * *
-     * The unique name of the instance for which tables should be listed.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance for which tables should be listed.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -674,11 +685,13 @@ public java.lang.String getParent() { * * *
-     * The unique name of the instance for which tables should be listed.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance for which tables should be listed.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -697,11 +710,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The unique name of the instance for which tables should be listed.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance for which tables should be listed.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -719,11 +734,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * The unique name of the instance for which tables should be listed.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance for which tables should be listed.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -737,11 +754,13 @@ public Builder clearParent() { * * *
-     * The unique name of the instance for which tables should be listed.
-     * Values are of the form `projects/<project>/instances/<instance>`.
+     * Required. The unique name of the instance for which tables should be listed.
+     * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. @@ -763,7 +782,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * *
      * The view to be applied to the returned tables' fields.
-     * Defaults to `NAME_ONLY` if unspecified; no others are currently supported.
+     * Only NAME_ONLY view (default) and REPLICATION_VIEW are supported.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; @@ -778,7 +797,7 @@ public int getViewValue() { * *
      * The view to be applied to the returned tables' fields.
-     * Defaults to `NAME_ONLY` if unspecified; no others are currently supported.
+     * Only NAME_ONLY view (default) and REPLICATION_VIEW are supported.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; @@ -796,7 +815,7 @@ public Builder setViewValue(int value) { * *
      * The view to be applied to the returned tables' fields.
-     * Defaults to `NAME_ONLY` if unspecified; no others are currently supported.
+     * Only NAME_ONLY view (default) and REPLICATION_VIEW are supported.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; @@ -814,7 +833,7 @@ public com.google.bigtable.admin.v2.Table.View getView() { * *
      * The view to be applied to the returned tables' fields.
-     * Defaults to `NAME_ONLY` if unspecified; no others are currently supported.
+     * Only NAME_ONLY view (default) and REPLICATION_VIEW are supported.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; @@ -836,7 +855,7 @@ public Builder setView(com.google.bigtable.admin.v2.Table.View value) { * *
      * The view to be applied to the returned tables' fields.
-     * Defaults to `NAME_ONLY` if unspecified; no others are currently supported.
+     * Only NAME_ONLY view (default) and REPLICATION_VIEW are supported.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; @@ -856,7 +875,12 @@ public Builder clearView() { * *
      * Maximum number of results per page.
-     * CURRENTLY UNIMPLEMENTED AND IGNORED.
+     * A page_size of zero lets the server choose the number of items to return.
+     * A page_size which is strictly positive will return at most that many items.
+     * A negative page_size will cause an error.
+     * Following the first request, subsequent paginated calls are not required
+     * to pass a page_size. If a page_size is set in subsequent calls, it must
+     * match the page_size given in the first request.
      * 
* * int32 page_size = 4; @@ -871,7 +895,12 @@ public int getPageSize() { * *
      * Maximum number of results per page.
-     * CURRENTLY UNIMPLEMENTED AND IGNORED.
+     * A page_size of zero lets the server choose the number of items to return.
+     * A page_size which is strictly positive will return at most that many items.
+     * A negative page_size will cause an error.
+     * Following the first request, subsequent paginated calls are not required
+     * to pass a page_size. If a page_size is set in subsequent calls, it must
+     * match the page_size given in the first request.
      * 
* * int32 page_size = 4; @@ -890,7 +919,12 @@ public Builder setPageSize(int value) { * *
      * Maximum number of results per page.
-     * CURRENTLY UNIMPLEMENTED AND IGNORED.
+     * A page_size of zero lets the server choose the number of items to return.
+     * A page_size which is strictly positive will return at most that many items.
+     * A negative page_size will cause an error.
+     * Following the first request, subsequent paginated calls are not required
+     * to pass a page_size. If a page_size is set in subsequent calls, it must
+     * match the page_size given in the first request.
      * 
* * int32 page_size = 4; diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java index 681ec4df47..7497be7075 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface ListTablesRequestOrBuilder * * *
-   * The unique name of the instance for which tables should be listed.
-   * Values are of the form `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance for which tables should be listed.
+   * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -40,11 +42,13 @@ public interface ListTablesRequestOrBuilder * * *
-   * The unique name of the instance for which tables should be listed.
-   * Values are of the form `projects/<project>/instances/<instance>`.
+   * Required. The unique name of the instance for which tables should be listed.
+   * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -55,7 +59,7 @@ public interface ListTablesRequestOrBuilder * *
    * The view to be applied to the returned tables' fields.
-   * Defaults to `NAME_ONLY` if unspecified; no others are currently supported.
+   * Only NAME_ONLY view (default) and REPLICATION_VIEW are supported.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; @@ -68,7 +72,7 @@ public interface ListTablesRequestOrBuilder * *
    * The view to be applied to the returned tables' fields.
-   * Defaults to `NAME_ONLY` if unspecified; no others are currently supported.
+   * Only NAME_ONLY view (default) and REPLICATION_VIEW are supported.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; @@ -82,7 +86,12 @@ public interface ListTablesRequestOrBuilder * *
    * Maximum number of results per page.
-   * CURRENTLY UNIMPLEMENTED AND IGNORED.
+   * A page_size of zero lets the server choose the number of items to return.
+   * A page_size which is strictly positive will return at most that many items.
+   * A negative page_size will cause an error.
+   * Following the first request, subsequent paginated calls are not required
+   * to pass a page_size. If a page_size is set in subsequent calls, it must
+   * match the page_size given in the first request.
    * 
* * int32 page_size = 4; diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java index 7c1e4c8027..c7721ce084 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java @@ -1702,12 +1702,14 @@ public com.google.protobuf.Parser getParserForType() { * * *
-   * The unique name of the table whose families should be modified.
+   * Required. The unique name of the table whose families should be modified.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -1726,12 +1728,14 @@ public java.lang.String getName() { * * *
-   * The unique name of the table whose families should be modified.
+   * Required. The unique name of the table whose families should be modified.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -1754,14 +1758,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Modifications to be atomically applied to the specified table's families.
+   * Required. Modifications to be atomically applied to the specified table's families.
    * Entries are applied in order, meaning that earlier modifications can be
    * masked by later ones (in the case of repeated updates to the same family,
    * for example).
    * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public java.util.List @@ -1772,14 +1776,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Modifications to be atomically applied to the specified table's families.
+   * Required. Modifications to be atomically applied to the specified table's families.
    * Entries are applied in order, meaning that earlier modifications can be
    * masked by later ones (in the case of repeated updates to the same family,
    * for example).
    * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public java.util.List< @@ -1791,14 +1795,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Modifications to be atomically applied to the specified table's families.
+   * Required. Modifications to be atomically applied to the specified table's families.
    * Entries are applied in order, meaning that earlier modifications can be
    * masked by later ones (in the case of repeated updates to the same family,
    * for example).
    * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public int getModificationsCount() { @@ -1808,14 +1812,14 @@ public int getModificationsCount() { * * *
-   * Modifications to be atomically applied to the specified table's families.
+   * Required. Modifications to be atomically applied to the specified table's families.
    * Entries are applied in order, meaning that earlier modifications can be
    * masked by later ones (in the case of repeated updates to the same family,
    * for example).
    * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getModifications( @@ -1826,14 +1830,14 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification get * * *
-   * Modifications to be atomically applied to the specified table's families.
+   * Required. Modifications to be atomically applied to the specified table's families.
    * Entries are applied in order, meaning that earlier modifications can be
    * masked by later ones (in the case of repeated updates to the same family,
    * for example).
    * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder @@ -2224,12 +2228,14 @@ public Builder mergeFrom( * * *
-     * The unique name of the table whose families should be modified.
+     * Required. The unique name of the table whose families should be modified.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -2248,12 +2254,14 @@ public java.lang.String getName() { * * *
-     * The unique name of the table whose families should be modified.
+     * Required. The unique name of the table whose families should be modified.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -2272,12 +2280,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The unique name of the table whose families should be modified.
+     * Required. The unique name of the table whose families should be modified.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -2295,12 +2305,14 @@ public Builder setName(java.lang.String value) { * * *
-     * The unique name of the table whose families should be modified.
+     * Required. The unique name of the table whose families should be modified.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -2314,12 +2326,14 @@ public Builder clearName() { * * *
-     * The unique name of the table whose families should be modified.
+     * Required. The unique name of the table whose families should be modified.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -2358,14 +2372,14 @@ private void ensureModificationsIsMutable() { * * *
-     * Modifications to be atomically applied to the specified table's families.
+     * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
      * masked by later ones (in the case of repeated updates to the same family,
      * for example).
      * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public java.util.List @@ -2380,14 +2394,14 @@ private void ensureModificationsIsMutable() { * * *
-     * Modifications to be atomically applied to the specified table's families.
+     * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
      * masked by later ones (in the case of repeated updates to the same family,
      * for example).
      * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public int getModificationsCount() { @@ -2401,14 +2415,14 @@ public int getModificationsCount() { * * *
-     * Modifications to be atomically applied to the specified table's families.
+     * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
      * masked by later ones (in the case of repeated updates to the same family,
      * for example).
      * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getModifications( @@ -2423,14 +2437,14 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification get * * *
-     * Modifications to be atomically applied to the specified table's families.
+     * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
      * masked by later ones (in the case of repeated updates to the same family,
      * for example).
      * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder setModifications( @@ -2451,14 +2465,14 @@ public Builder setModifications( * * *
-     * Modifications to be atomically applied to the specified table's families.
+     * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
      * masked by later ones (in the case of repeated updates to the same family,
      * for example).
      * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder setModifications( @@ -2478,14 +2492,14 @@ public Builder setModifications( * * *
-     * Modifications to be atomically applied to the specified table's families.
+     * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
      * masked by later ones (in the case of repeated updates to the same family,
      * for example).
      * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder addModifications( @@ -2506,14 +2520,14 @@ public Builder addModifications( * * *
-     * Modifications to be atomically applied to the specified table's families.
+     * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
      * masked by later ones (in the case of repeated updates to the same family,
      * for example).
      * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder addModifications( @@ -2534,14 +2548,14 @@ public Builder addModifications( * * *
-     * Modifications to be atomically applied to the specified table's families.
+     * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
      * masked by later ones (in the case of repeated updates to the same family,
      * for example).
      * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder addModifications( @@ -2560,14 +2574,14 @@ public Builder addModifications( * * *
-     * Modifications to be atomically applied to the specified table's families.
+     * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
      * masked by later ones (in the case of repeated updates to the same family,
      * for example).
      * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder addModifications( @@ -2587,14 +2601,14 @@ public Builder addModifications( * * *
-     * Modifications to be atomically applied to the specified table's families.
+     * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
      * masked by later ones (in the case of repeated updates to the same family,
      * for example).
      * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder addAllModifications( @@ -2614,14 +2628,14 @@ public Builder addAllModifications( * * *
-     * Modifications to be atomically applied to the specified table's families.
+     * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
      * masked by later ones (in the case of repeated updates to the same family,
      * for example).
      * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder clearModifications() { @@ -2638,14 +2652,14 @@ public Builder clearModifications() { * * *
-     * Modifications to be atomically applied to the specified table's families.
+     * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
      * masked by later ones (in the case of repeated updates to the same family,
      * for example).
      * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder removeModifications(int index) { @@ -2662,14 +2676,14 @@ public Builder removeModifications(int index) { * * *
-     * Modifications to be atomically applied to the specified table's families.
+     * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
      * masked by later ones (in the case of repeated updates to the same family,
      * for example).
      * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder @@ -2680,14 +2694,14 @@ public Builder removeModifications(int index) { * * *
-     * Modifications to be atomically applied to the specified table's families.
+     * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
      * masked by later ones (in the case of repeated updates to the same family,
      * for example).
      * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder @@ -2702,14 +2716,14 @@ public Builder removeModifications(int index) { * * *
-     * Modifications to be atomically applied to the specified table's families.
+     * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
      * masked by later ones (in the case of repeated updates to the same family,
      * for example).
      * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public java.util.List< @@ -2726,14 +2740,14 @@ public Builder removeModifications(int index) { * * *
-     * Modifications to be atomically applied to the specified table's families.
+     * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
      * masked by later ones (in the case of repeated updates to the same family,
      * for example).
      * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder @@ -2747,14 +2761,14 @@ public Builder removeModifications(int index) { * * *
-     * Modifications to be atomically applied to the specified table's families.
+     * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
      * masked by later ones (in the case of repeated updates to the same family,
      * for example).
      * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder @@ -2769,14 +2783,14 @@ public Builder removeModifications(int index) { * * *
-     * Modifications to be atomically applied to the specified table's families.
+     * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
      * masked by later ones (in the case of repeated updates to the same family,
      * for example).
      * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public java.util.List< diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java index fc2bf3bab6..374bbc2440 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java @@ -27,12 +27,14 @@ public interface ModifyColumnFamiliesRequestOrBuilder * * *
-   * The unique name of the table whose families should be modified.
+   * Required. The unique name of the table whose families should be modified.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -41,12 +43,14 @@ public interface ModifyColumnFamiliesRequestOrBuilder * * *
-   * The unique name of the table whose families should be modified.
+   * Required. The unique name of the table whose families should be modified.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -56,14 +60,14 @@ public interface ModifyColumnFamiliesRequestOrBuilder * * *
-   * Modifications to be atomically applied to the specified table's families.
+   * Required. Modifications to be atomically applied to the specified table's families.
    * Entries are applied in order, meaning that earlier modifications can be
    * masked by later ones (in the case of repeated updates to the same family,
    * for example).
    * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ java.util.List @@ -72,14 +76,14 @@ public interface ModifyColumnFamiliesRequestOrBuilder * * *
-   * Modifications to be atomically applied to the specified table's families.
+   * Required. Modifications to be atomically applied to the specified table's families.
    * Entries are applied in order, meaning that earlier modifications can be
    * masked by later ones (in the case of repeated updates to the same family,
    * for example).
    * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getModifications(int index); @@ -87,14 +91,14 @@ public interface ModifyColumnFamiliesRequestOrBuilder * * *
-   * Modifications to be atomically applied to the specified table's families.
+   * Required. Modifications to be atomically applied to the specified table's families.
    * Entries are applied in order, meaning that earlier modifications can be
    * masked by later ones (in the case of repeated updates to the same family,
    * for example).
    * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ int getModificationsCount(); @@ -102,14 +106,14 @@ public interface ModifyColumnFamiliesRequestOrBuilder * * *
-   * Modifications to be atomically applied to the specified table's families.
+   * Required. Modifications to be atomically applied to the specified table's families.
    * Entries are applied in order, meaning that earlier modifications can be
    * masked by later ones (in the case of repeated updates to the same family,
    * for example).
    * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ java.util.List< @@ -119,14 +123,14 @@ public interface ModifyColumnFamiliesRequestOrBuilder * * *
-   * Modifications to be atomically applied to the specified table's families.
+   * Required. Modifications to be atomically applied to the specified table's families.
    * Entries are applied in order, meaning that earlier modifications can be
    * masked by later ones (in the case of repeated updates to the same family,
    * for example).
    * 
* * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; * */ com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java index 68d6e84ad4..1b2a06f422 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java @@ -139,10 +139,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The Instance which will (partially) replace the current value.
+   * Required. The Instance which will (partially) replace the current value.
    * 
* - * .google.bigtable.admin.v2.Instance instance = 1; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the instance field is set. */ @@ -153,10 +155,12 @@ public boolean hasInstance() { * * *
-   * The Instance which will (partially) replace the current value.
+   * Required. The Instance which will (partially) replace the current value.
    * 
* - * .google.bigtable.admin.v2.Instance instance = 1; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The instance. */ @@ -169,10 +173,12 @@ public com.google.bigtable.admin.v2.Instance getInstance() { * * *
-   * The Instance which will (partially) replace the current value.
+   * Required. The Instance which will (partially) replace the current value.
    * 
* - * .google.bigtable.admin.v2.Instance instance = 1; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { return getInstance(); @@ -184,11 +190,12 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { * * *
-   * The subset of Instance fields which should be replaced.
+   * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the updateMask field is set. */ @@ -199,11 +206,12 @@ public boolean hasUpdateMask() { * * *
-   * The subset of Instance fields which should be replaced.
+   * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The updateMask. */ @@ -214,11 +222,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * The subset of Instance fields which should be replaced.
+   * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { return getUpdateMask(); @@ -593,10 +602,12 @@ public Builder mergeFrom( * * *
-     * The Instance which will (partially) replace the current value.
+     * Required. The Instance which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 1; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the instance field is set. */ @@ -607,10 +618,12 @@ public boolean hasInstance() { * * *
-     * The Instance which will (partially) replace the current value.
+     * Required. The Instance which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 1; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The instance. */ @@ -627,10 +640,12 @@ public com.google.bigtable.admin.v2.Instance getInstance() { * * *
-     * The Instance which will (partially) replace the current value.
+     * Required. The Instance which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 1; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.bigtable.admin.v2.Instance value) { if (instanceBuilder_ == null) { @@ -649,10 +664,12 @@ public Builder setInstance(com.google.bigtable.admin.v2.Instance value) { * * *
-     * The Instance which will (partially) replace the current value.
+     * Required. The Instance which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 1; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.bigtable.admin.v2.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { @@ -668,10 +685,12 @@ public Builder setInstance(com.google.bigtable.admin.v2.Instance.Builder builder * * *
-     * The Instance which will (partially) replace the current value.
+     * Required. The Instance which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 1; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInstance(com.google.bigtable.admin.v2.Instance value) { if (instanceBuilder_ == null) { @@ -694,10 +713,12 @@ public Builder mergeInstance(com.google.bigtable.admin.v2.Instance value) { * * *
-     * The Instance which will (partially) replace the current value.
+     * Required. The Instance which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 1; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstance() { if (instanceBuilder_ == null) { @@ -714,10 +735,12 @@ public Builder clearInstance() { * * *
-     * The Instance which will (partially) replace the current value.
+     * Required. The Instance which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 1; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { @@ -728,10 +751,12 @@ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { * * *
-     * The Instance which will (partially) replace the current value.
+     * Required. The Instance which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 1; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { @@ -746,10 +771,12 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { * * *
-     * The Instance which will (partially) replace the current value.
+     * Required. The Instance which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 1; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.bigtable.admin.v2.Instance, @@ -778,11 +805,12 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { * * *
-     * The subset of Instance fields which should be replaced.
+     * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the updateMask field is set. */ @@ -793,11 +821,12 @@ public boolean hasUpdateMask() { * * *
-     * The subset of Instance fields which should be replaced.
+     * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The updateMask. */ @@ -814,11 +843,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * The subset of Instance fields which should be replaced.
+     * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -837,11 +867,12 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The subset of Instance fields which should be replaced.
+     * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { @@ -857,11 +888,12 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * The subset of Instance fields which should be replaced.
+     * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -882,11 +914,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The subset of Instance fields which should be replaced.
+     * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -903,11 +936,12 @@ public Builder clearUpdateMask() { * * *
-     * The subset of Instance fields which should be replaced.
+     * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { @@ -918,11 +952,12 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * The subset of Instance fields which should be replaced.
+     * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { @@ -937,11 +972,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * The subset of Instance fields which should be replaced.
+     * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java index f8b5cb2033..3b3bde4012 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface PartialUpdateInstanceRequestOrBuilder * * *
-   * The Instance which will (partially) replace the current value.
+   * Required. The Instance which will (partially) replace the current value.
    * 
* - * .google.bigtable.admin.v2.Instance instance = 1; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the instance field is set. */ @@ -39,10 +41,12 @@ public interface PartialUpdateInstanceRequestOrBuilder * * *
-   * The Instance which will (partially) replace the current value.
+   * Required. The Instance which will (partially) replace the current value.
    * 
* - * .google.bigtable.admin.v2.Instance instance = 1; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The instance. */ @@ -51,10 +55,12 @@ public interface PartialUpdateInstanceRequestOrBuilder * * *
-   * The Instance which will (partially) replace the current value.
+   * Required. The Instance which will (partially) replace the current value.
    * 
* - * .google.bigtable.admin.v2.Instance instance = 1; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder(); @@ -62,11 +68,12 @@ public interface PartialUpdateInstanceRequestOrBuilder * * *
-   * The subset of Instance fields which should be replaced.
+   * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the updateMask field is set. */ @@ -75,11 +82,12 @@ public interface PartialUpdateInstanceRequestOrBuilder * * *
-   * The subset of Instance fields which should be replaced.
+   * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The updateMask. */ @@ -88,11 +96,12 @@ public interface PartialUpdateInstanceRequestOrBuilder * * *
-   * The subset of Instance fields which should be replaced.
+   * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java index 761e3dfa1d..093585e03e 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java @@ -345,8 +345,7 @@ private State(int value) { * * *
-   * (`OutputOnly`)
-   * The unique name of the snapshot.
+   * Output only. The unique name of the snapshot.
    * Values are of the form
    * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
    * 
@@ -370,8 +369,7 @@ public java.lang.String getName() { * * *
-   * (`OutputOnly`)
-   * The unique name of the snapshot.
+   * Output only. The unique name of the snapshot.
    * Values are of the form
    * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
    * 
@@ -398,8 +396,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * (`OutputOnly`)
-   * The source table at the time the snapshot was taken.
+   * Output only. The source table at the time the snapshot was taken.
    * 
* * .google.bigtable.admin.v2.Table source_table = 2; @@ -413,8 +410,7 @@ public boolean hasSourceTable() { * * *
-   * (`OutputOnly`)
-   * The source table at the time the snapshot was taken.
+   * Output only. The source table at the time the snapshot was taken.
    * 
* * .google.bigtable.admin.v2.Table source_table = 2; @@ -430,8 +426,7 @@ public com.google.bigtable.admin.v2.Table getSourceTable() { * * *
-   * (`OutputOnly`)
-   * The source table at the time the snapshot was taken.
+   * Output only. The source table at the time the snapshot was taken.
    * 
* * .google.bigtable.admin.v2.Table source_table = 2; @@ -446,8 +441,7 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() { * * *
-   * (`OutputOnly`)
-   * The size of the data in the source table at the time the snapshot was
+   * Output only. The size of the data in the source table at the time the snapshot was
    * taken. In some cases, this value may be computed asynchronously via a
    * background process and a placeholder of 0 will be used in the meantime.
    * 
@@ -466,8 +460,7 @@ public long getDataSizeBytes() { * * *
-   * (`OutputOnly`)
-   * The time when the snapshot is created.
+   * Output only. The time when the snapshot is created.
    * 
* * .google.protobuf.Timestamp create_time = 4; @@ -481,8 +474,7 @@ public boolean hasCreateTime() { * * *
-   * (`OutputOnly`)
-   * The time when the snapshot is created.
+   * Output only. The time when the snapshot is created.
    * 
* * .google.protobuf.Timestamp create_time = 4; @@ -496,8 +488,7 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-   * (`OutputOnly`)
-   * The time when the snapshot is created.
+   * Output only. The time when the snapshot is created.
    * 
* * .google.protobuf.Timestamp create_time = 4; @@ -512,8 +503,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-   * (`OutputOnly`)
-   * The time when the snapshot will be deleted. The maximum amount of time a
+   * Output only. The time when the snapshot will be deleted. The maximum amount of time a
    * snapshot can stay active is 365 days. If 'ttl' is not specified,
    * the default maximum of 365 days will be used.
    * 
@@ -529,8 +519,7 @@ public boolean hasDeleteTime() { * * *
-   * (`OutputOnly`)
-   * The time when the snapshot will be deleted. The maximum amount of time a
+   * Output only. The time when the snapshot will be deleted. The maximum amount of time a
    * snapshot can stay active is 365 days. If 'ttl' is not specified,
    * the default maximum of 365 days will be used.
    * 
@@ -546,8 +535,7 @@ public com.google.protobuf.Timestamp getDeleteTime() { * * *
-   * (`OutputOnly`)
-   * The time when the snapshot will be deleted. The maximum amount of time a
+   * Output only. The time when the snapshot will be deleted. The maximum amount of time a
    * snapshot can stay active is 365 days. If 'ttl' is not specified,
    * the default maximum of 365 days will be used.
    * 
@@ -564,8 +552,7 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { * * *
-   * (`OutputOnly`)
-   * The current state of the snapshot.
+   * Output only. The current state of the snapshot.
    * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; @@ -579,8 +566,7 @@ public int getStateValue() { * * *
-   * (`OutputOnly`)
-   * The current state of the snapshot.
+   * Output only. The current state of the snapshot.
    * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; @@ -600,8 +586,7 @@ public com.google.bigtable.admin.v2.Snapshot.State getState() { * * *
-   * (`OutputOnly`)
-   * Description of the snapshot.
+   * Output only. Description of the snapshot.
    * 
* * string description = 7; @@ -623,8 +608,7 @@ public java.lang.String getDescription() { * * *
-   * (`OutputOnly`)
-   * Description of the snapshot.
+   * Output only. Description of the snapshot.
    * 
* * string description = 7; @@ -1097,8 +1081,7 @@ public Builder mergeFrom( * * *
-     * (`OutputOnly`)
-     * The unique name of the snapshot.
+     * Output only. The unique name of the snapshot.
      * Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
      * 
@@ -1122,8 +1105,7 @@ public java.lang.String getName() { * * *
-     * (`OutputOnly`)
-     * The unique name of the snapshot.
+     * Output only. The unique name of the snapshot.
      * Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
      * 
@@ -1147,8 +1129,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * (`OutputOnly`)
-     * The unique name of the snapshot.
+     * Output only. The unique name of the snapshot.
      * Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
      * 
@@ -1171,8 +1152,7 @@ public Builder setName(java.lang.String value) { * * *
-     * (`OutputOnly`)
-     * The unique name of the snapshot.
+     * Output only. The unique name of the snapshot.
      * Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
      * 
@@ -1191,8 +1171,7 @@ public Builder clearName() { * * *
-     * (`OutputOnly`)
-     * The unique name of the snapshot.
+     * Output only. The unique name of the snapshot.
      * Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
      * 
@@ -1223,8 +1202,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * (`OutputOnly`)
-     * The source table at the time the snapshot was taken.
+     * Output only. The source table at the time the snapshot was taken.
      * 
* * .google.bigtable.admin.v2.Table source_table = 2; @@ -1238,8 +1216,7 @@ public boolean hasSourceTable() { * * *
-     * (`OutputOnly`)
-     * The source table at the time the snapshot was taken.
+     * Output only. The source table at the time the snapshot was taken.
      * 
* * .google.bigtable.admin.v2.Table source_table = 2; @@ -1259,8 +1236,7 @@ public com.google.bigtable.admin.v2.Table getSourceTable() { * * *
-     * (`OutputOnly`)
-     * The source table at the time the snapshot was taken.
+     * Output only. The source table at the time the snapshot was taken.
      * 
* * .google.bigtable.admin.v2.Table source_table = 2; @@ -1282,8 +1258,7 @@ public Builder setSourceTable(com.google.bigtable.admin.v2.Table value) { * * *
-     * (`OutputOnly`)
-     * The source table at the time the snapshot was taken.
+     * Output only. The source table at the time the snapshot was taken.
      * 
* * .google.bigtable.admin.v2.Table source_table = 2; @@ -1302,8 +1277,7 @@ public Builder setSourceTable(com.google.bigtable.admin.v2.Table.Builder builder * * *
-     * (`OutputOnly`)
-     * The source table at the time the snapshot was taken.
+     * Output only. The source table at the time the snapshot was taken.
      * 
* * .google.bigtable.admin.v2.Table source_table = 2; @@ -1329,8 +1303,7 @@ public Builder mergeSourceTable(com.google.bigtable.admin.v2.Table value) { * * *
-     * (`OutputOnly`)
-     * The source table at the time the snapshot was taken.
+     * Output only. The source table at the time the snapshot was taken.
      * 
* * .google.bigtable.admin.v2.Table source_table = 2; @@ -1350,8 +1323,7 @@ public Builder clearSourceTable() { * * *
-     * (`OutputOnly`)
-     * The source table at the time the snapshot was taken.
+     * Output only. The source table at the time the snapshot was taken.
      * 
* * .google.bigtable.admin.v2.Table source_table = 2; @@ -1365,8 +1337,7 @@ public com.google.bigtable.admin.v2.Table.Builder getSourceTableBuilder() { * * *
-     * (`OutputOnly`)
-     * The source table at the time the snapshot was taken.
+     * Output only. The source table at the time the snapshot was taken.
      * 
* * .google.bigtable.admin.v2.Table source_table = 2; @@ -1384,8 +1355,7 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() { * * *
-     * (`OutputOnly`)
-     * The source table at the time the snapshot was taken.
+     * Output only. The source table at the time the snapshot was taken.
      * 
* * .google.bigtable.admin.v2.Table source_table = 2; @@ -1412,8 +1382,7 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() { * * *
-     * (`OutputOnly`)
-     * The size of the data in the source table at the time the snapshot was
+     * Output only. The size of the data in the source table at the time the snapshot was
      * taken. In some cases, this value may be computed asynchronously via a
      * background process and a placeholder of 0 will be used in the meantime.
      * 
@@ -1429,8 +1398,7 @@ public long getDataSizeBytes() { * * *
-     * (`OutputOnly`)
-     * The size of the data in the source table at the time the snapshot was
+     * Output only. The size of the data in the source table at the time the snapshot was
      * taken. In some cases, this value may be computed asynchronously via a
      * background process and a placeholder of 0 will be used in the meantime.
      * 
@@ -1450,8 +1418,7 @@ public Builder setDataSizeBytes(long value) { * * *
-     * (`OutputOnly`)
-     * The size of the data in the source table at the time the snapshot was
+     * Output only. The size of the data in the source table at the time the snapshot was
      * taken. In some cases, this value may be computed asynchronously via a
      * background process and a placeholder of 0 will be used in the meantime.
      * 
@@ -1477,8 +1444,7 @@ public Builder clearDataSizeBytes() { * * *
-     * (`OutputOnly`)
-     * The time when the snapshot is created.
+     * Output only. The time when the snapshot is created.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1492,8 +1458,7 @@ public boolean hasCreateTime() { * * *
-     * (`OutputOnly`)
-     * The time when the snapshot is created.
+     * Output only. The time when the snapshot is created.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1513,8 +1478,7 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-     * (`OutputOnly`)
-     * The time when the snapshot is created.
+     * Output only. The time when the snapshot is created.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1536,8 +1500,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * (`OutputOnly`)
-     * The time when the snapshot is created.
+     * Output only. The time when the snapshot is created.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1556,8 +1519,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * (`OutputOnly`)
-     * The time when the snapshot is created.
+     * Output only. The time when the snapshot is created.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1581,8 +1543,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * (`OutputOnly`)
-     * The time when the snapshot is created.
+     * Output only. The time when the snapshot is created.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1602,8 +1563,7 @@ public Builder clearCreateTime() { * * *
-     * (`OutputOnly`)
-     * The time when the snapshot is created.
+     * Output only. The time when the snapshot is created.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1617,8 +1577,7 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { * * *
-     * (`OutputOnly`)
-     * The time when the snapshot is created.
+     * Output only. The time when the snapshot is created.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1636,8 +1595,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * (`OutputOnly`)
-     * The time when the snapshot is created.
+     * Output only. The time when the snapshot is created.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1669,8 +1627,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * (`OutputOnly`)
-     * The time when the snapshot will be deleted. The maximum amount of time a
+     * Output only. The time when the snapshot will be deleted. The maximum amount of time a
      * snapshot can stay active is 365 days. If 'ttl' is not specified,
      * the default maximum of 365 days will be used.
      * 
@@ -1686,8 +1643,7 @@ public boolean hasDeleteTime() { * * *
-     * (`OutputOnly`)
-     * The time when the snapshot will be deleted. The maximum amount of time a
+     * Output only. The time when the snapshot will be deleted. The maximum amount of time a
      * snapshot can stay active is 365 days. If 'ttl' is not specified,
      * the default maximum of 365 days will be used.
      * 
@@ -1709,8 +1665,7 @@ public com.google.protobuf.Timestamp getDeleteTime() { * * *
-     * (`OutputOnly`)
-     * The time when the snapshot will be deleted. The maximum amount of time a
+     * Output only. The time when the snapshot will be deleted. The maximum amount of time a
      * snapshot can stay active is 365 days. If 'ttl' is not specified,
      * the default maximum of 365 days will be used.
      * 
@@ -1734,8 +1689,7 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { * * *
-     * (`OutputOnly`)
-     * The time when the snapshot will be deleted. The maximum amount of time a
+     * Output only. The time when the snapshot will be deleted. The maximum amount of time a
      * snapshot can stay active is 365 days. If 'ttl' is not specified,
      * the default maximum of 365 days will be used.
      * 
@@ -1756,8 +1710,7 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * (`OutputOnly`)
-     * The time when the snapshot will be deleted. The maximum amount of time a
+     * Output only. The time when the snapshot will be deleted. The maximum amount of time a
      * snapshot can stay active is 365 days. If 'ttl' is not specified,
      * the default maximum of 365 days will be used.
      * 
@@ -1783,8 +1736,7 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { * * *
-     * (`OutputOnly`)
-     * The time when the snapshot will be deleted. The maximum amount of time a
+     * Output only. The time when the snapshot will be deleted. The maximum amount of time a
      * snapshot can stay active is 365 days. If 'ttl' is not specified,
      * the default maximum of 365 days will be used.
      * 
@@ -1806,8 +1758,7 @@ public Builder clearDeleteTime() { * * *
-     * (`OutputOnly`)
-     * The time when the snapshot will be deleted. The maximum amount of time a
+     * Output only. The time when the snapshot will be deleted. The maximum amount of time a
      * snapshot can stay active is 365 days. If 'ttl' is not specified,
      * the default maximum of 365 days will be used.
      * 
@@ -1823,8 +1774,7 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { * * *
-     * (`OutputOnly`)
-     * The time when the snapshot will be deleted. The maximum amount of time a
+     * Output only. The time when the snapshot will be deleted. The maximum amount of time a
      * snapshot can stay active is 365 days. If 'ttl' is not specified,
      * the default maximum of 365 days will be used.
      * 
@@ -1844,8 +1794,7 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { * * *
-     * (`OutputOnly`)
-     * The time when the snapshot will be deleted. The maximum amount of time a
+     * Output only. The time when the snapshot will be deleted. The maximum amount of time a
      * snapshot can stay active is 365 days. If 'ttl' is not specified,
      * the default maximum of 365 days will be used.
      * 
@@ -1874,8 +1823,7 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { * * *
-     * (`OutputOnly`)
-     * The current state of the snapshot.
+     * Output only. The current state of the snapshot.
      * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; @@ -1889,8 +1837,7 @@ public int getStateValue() { * * *
-     * (`OutputOnly`)
-     * The current state of the snapshot.
+     * Output only. The current state of the snapshot.
      * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; @@ -1907,8 +1854,7 @@ public Builder setStateValue(int value) { * * *
-     * (`OutputOnly`)
-     * The current state of the snapshot.
+     * Output only. The current state of the snapshot.
      * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; @@ -1925,8 +1871,7 @@ public com.google.bigtable.admin.v2.Snapshot.State getState() { * * *
-     * (`OutputOnly`)
-     * The current state of the snapshot.
+     * Output only. The current state of the snapshot.
      * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; @@ -1947,8 +1892,7 @@ public Builder setState(com.google.bigtable.admin.v2.Snapshot.State value) { * * *
-     * (`OutputOnly`)
-     * The current state of the snapshot.
+     * Output only. The current state of the snapshot.
      * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; @@ -1967,8 +1911,7 @@ public Builder clearState() { * * *
-     * (`OutputOnly`)
-     * Description of the snapshot.
+     * Output only. Description of the snapshot.
      * 
* * string description = 7; @@ -1990,8 +1933,7 @@ public java.lang.String getDescription() { * * *
-     * (`OutputOnly`)
-     * Description of the snapshot.
+     * Output only. Description of the snapshot.
      * 
* * string description = 7; @@ -2013,8 +1955,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-     * (`OutputOnly`)
-     * Description of the snapshot.
+     * Output only. Description of the snapshot.
      * 
* * string description = 7; @@ -2035,8 +1976,7 @@ public Builder setDescription(java.lang.String value) { * * *
-     * (`OutputOnly`)
-     * Description of the snapshot.
+     * Output only. Description of the snapshot.
      * 
* * string description = 7; @@ -2053,8 +1993,7 @@ public Builder clearDescription() { * * *
-     * (`OutputOnly`)
-     * Description of the snapshot.
+     * Output only. Description of the snapshot.
      * 
* * string description = 7; diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java index 611265421e..2683d99b53 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java @@ -27,8 +27,7 @@ public interface SnapshotOrBuilder * * *
-   * (`OutputOnly`)
-   * The unique name of the snapshot.
+   * Output only. The unique name of the snapshot.
    * Values are of the form
    * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
    * 
@@ -42,8 +41,7 @@ public interface SnapshotOrBuilder * * *
-   * (`OutputOnly`)
-   * The unique name of the snapshot.
+   * Output only. The unique name of the snapshot.
    * Values are of the form
    * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
    * 
@@ -58,8 +56,7 @@ public interface SnapshotOrBuilder * * *
-   * (`OutputOnly`)
-   * The source table at the time the snapshot was taken.
+   * Output only. The source table at the time the snapshot was taken.
    * 
* * .google.bigtable.admin.v2.Table source_table = 2; @@ -71,8 +68,7 @@ public interface SnapshotOrBuilder * * *
-   * (`OutputOnly`)
-   * The source table at the time the snapshot was taken.
+   * Output only. The source table at the time the snapshot was taken.
    * 
* * .google.bigtable.admin.v2.Table source_table = 2; @@ -84,8 +80,7 @@ public interface SnapshotOrBuilder * * *
-   * (`OutputOnly`)
-   * The source table at the time the snapshot was taken.
+   * Output only. The source table at the time the snapshot was taken.
    * 
* * .google.bigtable.admin.v2.Table source_table = 2; @@ -96,8 +91,7 @@ public interface SnapshotOrBuilder * * *
-   * (`OutputOnly`)
-   * The size of the data in the source table at the time the snapshot was
+   * Output only. The size of the data in the source table at the time the snapshot was
    * taken. In some cases, this value may be computed asynchronously via a
    * background process and a placeholder of 0 will be used in the meantime.
    * 
@@ -112,8 +106,7 @@ public interface SnapshotOrBuilder * * *
-   * (`OutputOnly`)
-   * The time when the snapshot is created.
+   * Output only. The time when the snapshot is created.
    * 
* * .google.protobuf.Timestamp create_time = 4; @@ -125,8 +118,7 @@ public interface SnapshotOrBuilder * * *
-   * (`OutputOnly`)
-   * The time when the snapshot is created.
+   * Output only. The time when the snapshot is created.
    * 
* * .google.protobuf.Timestamp create_time = 4; @@ -138,8 +130,7 @@ public interface SnapshotOrBuilder * * *
-   * (`OutputOnly`)
-   * The time when the snapshot is created.
+   * Output only. The time when the snapshot is created.
    * 
* * .google.protobuf.Timestamp create_time = 4; @@ -150,8 +141,7 @@ public interface SnapshotOrBuilder * * *
-   * (`OutputOnly`)
-   * The time when the snapshot will be deleted. The maximum amount of time a
+   * Output only. The time when the snapshot will be deleted. The maximum amount of time a
    * snapshot can stay active is 365 days. If 'ttl' is not specified,
    * the default maximum of 365 days will be used.
    * 
@@ -165,8 +155,7 @@ public interface SnapshotOrBuilder * * *
-   * (`OutputOnly`)
-   * The time when the snapshot will be deleted. The maximum amount of time a
+   * Output only. The time when the snapshot will be deleted. The maximum amount of time a
    * snapshot can stay active is 365 days. If 'ttl' is not specified,
    * the default maximum of 365 days will be used.
    * 
@@ -180,8 +169,7 @@ public interface SnapshotOrBuilder * * *
-   * (`OutputOnly`)
-   * The time when the snapshot will be deleted. The maximum amount of time a
+   * Output only. The time when the snapshot will be deleted. The maximum amount of time a
    * snapshot can stay active is 365 days. If 'ttl' is not specified,
    * the default maximum of 365 days will be used.
    * 
@@ -194,8 +182,7 @@ public interface SnapshotOrBuilder * * *
-   * (`OutputOnly`)
-   * The current state of the snapshot.
+   * Output only. The current state of the snapshot.
    * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; @@ -207,8 +194,7 @@ public interface SnapshotOrBuilder * * *
-   * (`OutputOnly`)
-   * The current state of the snapshot.
+   * Output only. The current state of the snapshot.
    * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; @@ -221,8 +207,7 @@ public interface SnapshotOrBuilder * * *
-   * (`OutputOnly`)
-   * Description of the snapshot.
+   * Output only. Description of the snapshot.
    * 
* * string description = 7; @@ -234,8 +219,7 @@ public interface SnapshotOrBuilder * * *
-   * (`OutputOnly`)
-   * Description of the snapshot.
+   * Output only. Description of the snapshot.
    * 
* * string description = 7; diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java index 13f29b3075..86ef0b534b 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java @@ -162,7 +162,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * The unique name of the table to have the snapshot taken.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* * string name = 1; @@ -186,7 +186,7 @@ public java.lang.String getName() { *
    * The unique name of the table to have the snapshot taken.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* * string name = 1; @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getNameBytes() { *
    * The name of the cluster where the snapshot will be created in.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* * string cluster = 2; @@ -237,7 +237,7 @@ public java.lang.String getCluster() { *
    * The name of the cluster where the snapshot will be created in.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* * string cluster = 2; @@ -265,7 +265,7 @@ public com.google.protobuf.ByteString getClusterBytes() { * The ID by which the new snapshot should be referred to within the parent * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` * rather than - * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`. + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. * * * string snapshot_id = 3; @@ -290,7 +290,7 @@ public java.lang.String getSnapshotId() { * The ID by which the new snapshot should be referred to within the parent * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` * rather than - * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`. + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. * * * string snapshot_id = 3; @@ -814,7 +814,7 @@ public Builder mergeFrom( *
      * The unique name of the table to have the snapshot taken.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* * string name = 1; @@ -838,7 +838,7 @@ public java.lang.String getName() { *
      * The unique name of the table to have the snapshot taken.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* * string name = 1; @@ -862,7 +862,7 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * The unique name of the table to have the snapshot taken.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* * string name = 1; @@ -885,7 +885,7 @@ public Builder setName(java.lang.String value) { *
      * The unique name of the table to have the snapshot taken.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* * string name = 1; @@ -904,7 +904,7 @@ public Builder clearName() { *
      * The unique name of the table to have the snapshot taken.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* * string name = 1; @@ -930,7 +930,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { *
      * The name of the cluster where the snapshot will be created in.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* * string cluster = 2; @@ -954,7 +954,7 @@ public java.lang.String getCluster() { *
      * The name of the cluster where the snapshot will be created in.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* * string cluster = 2; @@ -978,7 +978,7 @@ public com.google.protobuf.ByteString getClusterBytes() { *
      * The name of the cluster where the snapshot will be created in.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* * string cluster = 2; @@ -1001,7 +1001,7 @@ public Builder setCluster(java.lang.String value) { *
      * The name of the cluster where the snapshot will be created in.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* * string cluster = 2; @@ -1020,7 +1020,7 @@ public Builder clearCluster() { *
      * The name of the cluster where the snapshot will be created in.
      * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* * string cluster = 2; @@ -1047,7 +1047,7 @@ public Builder setClusterBytes(com.google.protobuf.ByteString value) { * The ID by which the new snapshot should be referred to within the parent * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` * rather than - * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`. + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. * * * string snapshot_id = 3; @@ -1072,7 +1072,7 @@ public java.lang.String getSnapshotId() { * The ID by which the new snapshot should be referred to within the parent * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` * rather than - * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`. + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. * * * string snapshot_id = 3; @@ -1097,7 +1097,7 @@ public com.google.protobuf.ByteString getSnapshotIdBytes() { * The ID by which the new snapshot should be referred to within the parent * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` * rather than - * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`. + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. * * * string snapshot_id = 3; @@ -1121,7 +1121,7 @@ public Builder setSnapshotId(java.lang.String value) { * The ID by which the new snapshot should be referred to within the parent * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` * rather than - * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`. + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. * * * string snapshot_id = 3; @@ -1141,7 +1141,7 @@ public Builder clearSnapshotId() { * The ID by which the new snapshot should be referred to within the parent * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` * rather than - * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`. + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. * * * string snapshot_id = 3; diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java index 2e89d151bd..a23eb7aa6c 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java @@ -29,7 +29,7 @@ public interface SnapshotTableRequestOrBuilder *
    * The unique name of the table to have the snapshot taken.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* * string name = 1; @@ -43,7 +43,7 @@ public interface SnapshotTableRequestOrBuilder *
    * The unique name of the table to have the snapshot taken.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* * string name = 1; @@ -58,7 +58,7 @@ public interface SnapshotTableRequestOrBuilder *
    * The name of the cluster where the snapshot will be created in.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* * string cluster = 2; @@ -72,7 +72,7 @@ public interface SnapshotTableRequestOrBuilder *
    * The name of the cluster where the snapshot will be created in.
    * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>`.
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* * string cluster = 2; @@ -88,7 +88,7 @@ public interface SnapshotTableRequestOrBuilder * The ID by which the new snapshot should be referred to within the parent * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` * rather than - * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`. + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. * * * string snapshot_id = 3; @@ -103,7 +103,7 @@ public interface SnapshotTableRequestOrBuilder * The ID by which the new snapshot should be referred to within the parent * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` * rather than - * `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`. + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. * * * string snapshot_id = 3; diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java index fdea92fe0f..aa648a7a9c 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java @@ -353,8 +353,8 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Only populates `name` and fields related to the table's
-     * replication state.
+     * Only populates `name` and fields related to the table's replication
+     * state.
      * 
* * REPLICATION_VIEW = 3; @@ -407,8 +407,8 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Only populates `name` and fields related to the table's
-     * replication state.
+     * Only populates `name` and fields related to the table's replication
+     * state.
      * 
* * REPLICATION_VIEW = 3; @@ -517,8 +517,7 @@ public interface ClusterStateOrBuilder * * *
-     * (`OutputOnly`)
-     * The state of replication for the table in this cluster.
+     * Output only. The state of replication for the table in this cluster.
      * 
* * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1; @@ -531,8 +530,7 @@ public interface ClusterStateOrBuilder * * *
-     * (`OutputOnly`)
-     * The state of replication for the table in this cluster.
+     * Output only. The state of replication for the table in this cluster.
      * 
* * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1; @@ -855,8 +853,7 @@ private ReplicationState(int value) { * * *
-     * (`OutputOnly`)
-     * The state of replication for the table in this cluster.
+     * Output only. The state of replication for the table in this cluster.
      * 
* * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1; @@ -871,8 +868,7 @@ public int getReplicationStateValue() { * * *
-     * (`OutputOnly`)
-     * The state of replication for the table in this cluster.
+     * Output only. The state of replication for the table in this cluster.
      * 
* * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1; @@ -1220,8 +1216,7 @@ public Builder mergeFrom( * * *
-       * (`OutputOnly`)
-       * The state of replication for the table in this cluster.
+       * Output only. The state of replication for the table in this cluster.
        * 
* * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1; @@ -1236,8 +1231,7 @@ public int getReplicationStateValue() { * * *
-       * (`OutputOnly`)
-       * The state of replication for the table in this cluster.
+       * Output only. The state of replication for the table in this cluster.
        * 
* * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1; @@ -1255,8 +1249,7 @@ public Builder setReplicationStateValue(int value) { * * *
-       * (`OutputOnly`)
-       * The state of replication for the table in this cluster.
+       * Output only. The state of replication for the table in this cluster.
        * 
* * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1; @@ -1278,8 +1271,7 @@ public Builder setReplicationStateValue(int value) { * * *
-       * (`OutputOnly`)
-       * The state of replication for the table in this cluster.
+       * Output only. The state of replication for the table in this cluster.
        * 
* * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1; @@ -1302,8 +1294,7 @@ public Builder setReplicationState( * * *
-       * (`OutputOnly`)
-       * The state of replication for the table in this cluster.
+       * Output only. The state of replication for the table in this cluster.
        * 
* * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1; @@ -1376,8 +1367,7 @@ public com.google.bigtable.admin.v2.Table.ClusterState getDefaultInstanceForType * * *
-   * (`OutputOnly`)
-   * The unique name of the table. Values are of the form
+   * Output only. The unique name of the table. Values are of the form
    * `projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`
    * 
@@ -1401,8 +1391,7 @@ public java.lang.String getName() { * * *
-   * (`OutputOnly`)
-   * The unique name of the table. Values are of the form
+   * Output only. The unique name of the table. Values are of the form
    * `projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`
    * 
@@ -1461,8 +1450,7 @@ public int getClusterStatesCount() { * * *
-   * (`OutputOnly`)
-   * Map from cluster ID to per-cluster table state.
+   * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
    * particular cluster (for example, if its zone is unavailable), then
    * there will be an entry for the cluster with UNKNOWN `replication_status`.
@@ -1488,8 +1476,7 @@ public boolean containsClusterStates(java.lang.String key) {
    *
    *
    * 
-   * (`OutputOnly`)
-   * Map from cluster ID to per-cluster table state.
+   * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
    * particular cluster (for example, if its zone is unavailable), then
    * there will be an entry for the cluster with UNKNOWN `replication_status`.
@@ -1507,8 +1494,7 @@ public boolean containsClusterStates(java.lang.String key) {
    *
    *
    * 
-   * (`OutputOnly`)
-   * Map from cluster ID to per-cluster table state.
+   * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
    * particular cluster (for example, if its zone is unavailable), then
    * there will be an entry for the cluster with UNKNOWN `replication_status`.
@@ -1531,8 +1517,7 @@ public com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault
    *
    *
    * 
-   * (`OutputOnly`)
-   * Map from cluster ID to per-cluster table state.
+   * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
    * particular cluster (for example, if its zone is unavailable), then
    * there will be an entry for the cluster with UNKNOWN `replication_status`.
@@ -1677,7 +1662,7 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(java.l
    * The granularity (i.e. `MILLIS`) at which timestamps are stored in
    * this table. Timestamps not matching the granularity will be rejected.
    * If unspecified at creation time, the value will be set to `MILLIS`.
-   * Views: `SCHEMA_VIEW`, `FULL`
+   * Views: `SCHEMA_VIEW`, `FULL`.
    * 
* * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4; @@ -1695,7 +1680,7 @@ public int getGranularityValue() { * The granularity (i.e. `MILLIS`) at which timestamps are stored in * this table. Timestamps not matching the granularity will be rejected. * If unspecified at creation time, the value will be set to `MILLIS`. - * Views: `SCHEMA_VIEW`, `FULL` + * Views: `SCHEMA_VIEW`, `FULL`. *
* * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4; @@ -2121,8 +2106,7 @@ public Builder mergeFrom( * * *
-     * (`OutputOnly`)
-     * The unique name of the table. Values are of the form
+     * Output only. The unique name of the table. Values are of the form
      * `projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`
      * 
@@ -2146,8 +2130,7 @@ public java.lang.String getName() { * * *
-     * (`OutputOnly`)
-     * The unique name of the table. Values are of the form
+     * Output only. The unique name of the table. Values are of the form
      * `projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`
      * 
@@ -2171,8 +2154,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * (`OutputOnly`)
-     * The unique name of the table. Values are of the form
+     * Output only. The unique name of the table. Values are of the form
      * `projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`
      * 
@@ -2195,8 +2177,7 @@ public Builder setName(java.lang.String value) { * * *
-     * (`OutputOnly`)
-     * The unique name of the table. Values are of the form
+     * Output only. The unique name of the table. Values are of the form
      * `projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`
      * 
@@ -2215,8 +2196,7 @@ public Builder clearName() { * * *
-     * (`OutputOnly`)
-     * The unique name of the table. Values are of the form
+     * Output only. The unique name of the table. Values are of the form
      * `projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`
      * 
@@ -2273,8 +2253,7 @@ public int getClusterStatesCount() { * * *
-     * (`OutputOnly`)
-     * Map from cluster ID to per-cluster table state.
+     * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
      * particular cluster (for example, if its zone is unavailable), then
      * there will be an entry for the cluster with UNKNOWN `replication_status`.
@@ -2300,8 +2279,7 @@ public boolean containsClusterStates(java.lang.String key) {
      *
      *
      * 
-     * (`OutputOnly`)
-     * Map from cluster ID to per-cluster table state.
+     * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
      * particular cluster (for example, if its zone is unavailable), then
      * there will be an entry for the cluster with UNKNOWN `replication_status`.
@@ -2319,8 +2297,7 @@ public boolean containsClusterStates(java.lang.String key) {
      *
      *
      * 
-     * (`OutputOnly`)
-     * Map from cluster ID to per-cluster table state.
+     * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
      * particular cluster (for example, if its zone is unavailable), then
      * there will be an entry for the cluster with UNKNOWN `replication_status`.
@@ -2343,8 +2320,7 @@ public com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault
      *
      *
      * 
-     * (`OutputOnly`)
-     * Map from cluster ID to per-cluster table state.
+     * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
      * particular cluster (for example, if its zone is unavailable), then
      * there will be an entry for the cluster with UNKNOWN `replication_status`.
@@ -2375,8 +2351,7 @@ public Builder clearClusterStates() {
      *
      *
      * 
-     * (`OutputOnly`)
-     * Map from cluster ID to per-cluster table state.
+     * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
      * particular cluster (for example, if its zone is unavailable), then
      * there will be an entry for the cluster with UNKNOWN `replication_status`.
@@ -2403,8 +2378,7 @@ public Builder removeClusterStates(java.lang.String key) {
      *
      *
      * 
-     * (`OutputOnly`)
-     * Map from cluster ID to per-cluster table state.
+     * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
      * particular cluster (for example, if its zone is unavailable), then
      * there will be an entry for the cluster with UNKNOWN `replication_status`.
@@ -2429,8 +2403,7 @@ public Builder putClusterStates(
      *
      *
      * 
-     * (`OutputOnly`)
-     * Map from cluster ID to per-cluster table state.
+     * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
      * particular cluster (for example, if its zone is unavailable), then
      * there will be an entry for the cluster with UNKNOWN `replication_status`.
@@ -2636,7 +2609,7 @@ public Builder putAllColumnFamilies(
      * The granularity (i.e. `MILLIS`) at which timestamps are stored in
      * this table. Timestamps not matching the granularity will be rejected.
      * If unspecified at creation time, the value will be set to `MILLIS`.
-     * Views: `SCHEMA_VIEW`, `FULL`
+     * Views: `SCHEMA_VIEW`, `FULL`.
      * 
* * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4; @@ -2654,7 +2627,7 @@ public int getGranularityValue() { * The granularity (i.e. `MILLIS`) at which timestamps are stored in * this table. Timestamps not matching the granularity will be rejected. * If unspecified at creation time, the value will be set to `MILLIS`. - * Views: `SCHEMA_VIEW`, `FULL` + * Views: `SCHEMA_VIEW`, `FULL`. *
* * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4; @@ -2675,7 +2648,7 @@ public Builder setGranularityValue(int value) { * The granularity (i.e. `MILLIS`) at which timestamps are stored in * this table. Timestamps not matching the granularity will be rejected. * If unspecified at creation time, the value will be set to `MILLIS`. - * Views: `SCHEMA_VIEW`, `FULL` + * Views: `SCHEMA_VIEW`, `FULL`. *
* * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4; @@ -2698,7 +2671,7 @@ public com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity() * The granularity (i.e. `MILLIS`) at which timestamps are stored in * this table. Timestamps not matching the granularity will be rejected. * If unspecified at creation time, the value will be set to `MILLIS`. - * Views: `SCHEMA_VIEW`, `FULL` + * Views: `SCHEMA_VIEW`, `FULL`. *
* * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4; @@ -2723,7 +2696,7 @@ public Builder setGranularity(com.google.bigtable.admin.v2.Table.TimestampGranul * The granularity (i.e. `MILLIS`) at which timestamps are stored in * this table. Timestamps not matching the granularity will be rejected. * If unspecified at creation time, the value will be set to `MILLIS`. - * Views: `SCHEMA_VIEW`, `FULL` + * Views: `SCHEMA_VIEW`, `FULL`. *
* * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4; diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java index 035ad4eccb..5a4c438517 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java @@ -27,8 +27,7 @@ public interface TableOrBuilder * * *
-   * (`OutputOnly`)
-   * The unique name of the table. Values are of the form
+   * Output only. The unique name of the table. Values are of the form
    * `projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`
    * 
@@ -42,8 +41,7 @@ public interface TableOrBuilder * * *
-   * (`OutputOnly`)
-   * The unique name of the table. Values are of the form
+   * Output only. The unique name of the table. Values are of the form
    * `projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`
    * 
@@ -58,8 +56,7 @@ public interface TableOrBuilder * * *
-   * (`OutputOnly`)
-   * Map from cluster ID to per-cluster table state.
+   * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
    * particular cluster (for example, if its zone is unavailable), then
    * there will be an entry for the cluster with UNKNOWN `replication_status`.
@@ -74,8 +71,7 @@ public interface TableOrBuilder
    *
    *
    * 
-   * (`OutputOnly`)
-   * Map from cluster ID to per-cluster table state.
+   * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
    * particular cluster (for example, if its zone is unavailable), then
    * there will be an entry for the cluster with UNKNOWN `replication_status`.
@@ -94,8 +90,7 @@ public interface TableOrBuilder
    *
    *
    * 
-   * (`OutputOnly`)
-   * Map from cluster ID to per-cluster table state.
+   * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
    * particular cluster (for example, if its zone is unavailable), then
    * there will be an entry for the cluster with UNKNOWN `replication_status`.
@@ -111,8 +106,7 @@ public interface TableOrBuilder
    *
    *
    * 
-   * (`OutputOnly`)
-   * Map from cluster ID to per-cluster table state.
+   * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
    * particular cluster (for example, if its zone is unavailable), then
    * there will be an entry for the cluster with UNKNOWN `replication_status`.
@@ -128,8 +122,7 @@ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
    *
    *
    * 
-   * (`OutputOnly`)
-   * Map from cluster ID to per-cluster table state.
+   * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
    * particular cluster (for example, if its zone is unavailable), then
    * there will be an entry for the cluster with UNKNOWN `replication_status`.
@@ -214,7 +207,7 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    * The granularity (i.e. `MILLIS`) at which timestamps are stored in
    * this table. Timestamps not matching the granularity will be rejected.
    * If unspecified at creation time, the value will be set to `MILLIS`.
-   * Views: `SCHEMA_VIEW`, `FULL`
+   * Views: `SCHEMA_VIEW`, `FULL`.
    * 
* * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4; @@ -230,7 +223,7 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault( * The granularity (i.e. `MILLIS`) at which timestamps are stored in * this table. Timestamps not matching the granularity will be rejected. * If unspecified at creation time, the value will be set to `MILLIS`. - * Views: `SCHEMA_VIEW`, `FULL` + * Views: `SCHEMA_VIEW`, `FULL`. *
* * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4; diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java index 913884d6ef..ac7ebc2de1 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java @@ -74,59 +74,68 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n$google/bigtable/admin/v2/table.proto\022\030" + "google.bigtable.admin.v2\032\034google/api/ann" - + "otations.proto\032\036google/protobuf/duration" - + ".proto\032\037google/protobuf/timestamp.proto\"" - + "\313\006\n\005Table\022\014\n\004name\030\001 \001(\t\022J\n\016cluster_state" - + "s\030\002 \003(\01322.google.bigtable.admin.v2.Table" - + ".ClusterStatesEntry\022L\n\017column_families\030\003" - + " \003(\01323.google.bigtable.admin.v2.Table.Co" - + "lumnFamiliesEntry\022I\n\013granularity\030\004 \001(\01624" - + ".google.bigtable.admin.v2.Table.Timestam" - + "pGranularity\032\342\001\n\014ClusterState\022X\n\021replica" - + "tion_state\030\001 \001(\0162=.google.bigtable.admin" - + ".v2.Table.ClusterState.ReplicationState\"" - + "x\n\020ReplicationState\022\023\n\017STATE_NOT_KNOWN\020\000" - + "\022\020\n\014INITIALIZING\020\001\022\027\n\023PLANNED_MAINTENANC" - + "E\020\002\022\031\n\025UNPLANNED_MAINTENANCE\020\003\022\t\n\005READY\020" - + "\004\032b\n\022ClusterStatesEntry\022\013\n\003key\030\001 \001(\t\022;\n\005" - + "value\030\002 \001(\0132,.google.bigtable.admin.v2.T" - + "able.ClusterState:\0028\001\032]\n\023ColumnFamiliesE" - + "ntry\022\013\n\003key\030\001 \001(\t\0225\n\005value\030\002 \001(\0132&.googl" - + "e.bigtable.admin.v2.ColumnFamily:\0028\001\"I\n\024" - + "TimestampGranularity\022%\n!TIMESTAMP_GRANUL" - + "ARITY_UNSPECIFIED\020\000\022\n\n\006MILLIS\020\001\"\\\n\004View\022" - + "\024\n\020VIEW_UNSPECIFIED\020\000\022\r\n\tNAME_ONLY\020\001\022\017\n\013" - + "SCHEMA_VIEW\020\002\022\024\n\020REPLICATION_VIEW\020\003\022\010\n\004F" - + "ULL\020\004\"A\n\014ColumnFamily\0221\n\007gc_rule\030\001 \001(\0132 " - + ".google.bigtable.admin.v2.GcRule\"\325\002\n\006GcR" - + "ule\022\032\n\020max_num_versions\030\001 \001(\005H\000\022,\n\007max_a" - + "ge\030\002 \001(\0132\031.google.protobuf.DurationH\000\022E\n" - + "\014intersection\030\003 \001(\0132-.google.bigtable.ad" - + "min.v2.GcRule.IntersectionH\000\0227\n\005union\030\004 " - + "\001(\0132&.google.bigtable.admin.v2.GcRule.Un" - + "ionH\000\032?\n\014Intersection\022/\n\005rules\030\001 \003(\0132 .g" - + "oogle.bigtable.admin.v2.GcRule\0328\n\005Union\022" - + "/\n\005rules\030\001 \003(\0132 .google.bigtable.admin.v" - + "2.GcRuleB\006\n\004rule\"\317\002\n\010Snapshot\022\014\n\004name\030\001 " - + "\001(\t\0225\n\014source_table\030\002 \001(\0132\037.google.bigta" - + "ble.admin.v2.Table\022\027\n\017data_size_bytes\030\003 " - + "\001(\003\022/\n\013create_time\030\004 \001(\0132\032.google.protob" - + "uf.Timestamp\022/\n\013delete_time\030\005 \001(\0132\032.goog" - + "le.protobuf.Timestamp\0227\n\005state\030\006 \001(\0162(.g" - + "oogle.bigtable.admin.v2.Snapshot.State\022\023" - + "\n\013description\030\007 \001(\t\"5\n\005State\022\023\n\017STATE_NO" - + "T_KNOWN\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002B\255\001\n\034c" - + "om.google.bigtable.admin.v2B\nTableProtoP" - + "\001Z=google.golang.org/genproto/googleapis" - + "/bigtable/admin/v2;admin\252\002\036Google.Cloud." - + "Bigtable.Admin.V2\312\002\036Google\\Cloud\\Bigtabl" - + "e\\Admin\\V2b\006proto3" + + "otations.proto\032\037google/api/field_behavio" + + "r.proto\032\031google/api/resource.proto\032\036goog" + + "le/protobuf/duration.proto\032\037google/proto" + + "buf/timestamp.proto\"\247\007\n\005Table\022\014\n\004name\030\001 " + + "\001(\t\022J\n\016cluster_states\030\002 \003(\01322.google.big" + + "table.admin.v2.Table.ClusterStatesEntry\022" + + "L\n\017column_families\030\003 \003(\01323.google.bigtab" + + "le.admin.v2.Table.ColumnFamiliesEntry\022I\n" + + "\013granularity\030\004 \001(\01624.google.bigtable.adm" + + "in.v2.Table.TimestampGranularity\032\342\001\n\014Clu" + + "sterState\022X\n\021replication_state\030\001 \001(\0162=.g" + + "oogle.bigtable.admin.v2.Table.ClusterSta" + + "te.ReplicationState\"x\n\020ReplicationState\022" + + "\023\n\017STATE_NOT_KNOWN\020\000\022\020\n\014INITIALIZING\020\001\022\027" + + "\n\023PLANNED_MAINTENANCE\020\002\022\031\n\025UNPLANNED_MAI" + + "NTENANCE\020\003\022\t\n\005READY\020\004\032b\n\022ClusterStatesEn" + + "try\022\013\n\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google" + + ".bigtable.admin.v2.Table.ClusterState:\0028" + + "\001\032]\n\023ColumnFamiliesEntry\022\013\n\003key\030\001 \001(\t\0225\n" + + "\005value\030\002 \001(\0132&.google.bigtable.admin.v2." + + "ColumnFamily:\0028\001\"I\n\024TimestampGranularity" + + "\022%\n!TIMESTAMP_GRANULARITY_UNSPECIFIED\020\000\022" + + "\n\n\006MILLIS\020\001\"\\\n\004View\022\024\n\020VIEW_UNSPECIFIED\020" + + "\000\022\r\n\tNAME_ONLY\020\001\022\017\n\013SCHEMA_VIEW\020\002\022\024\n\020REP" + + "LICATION_VIEW\020\003\022\010\n\004FULL\020\004:Z\352AW\n\035bigtable" + + ".googleapis.com/Table\0226projects/{project" + + "}/instances/{instance}/tables/{table}\"A\n" + + "\014ColumnFamily\0221\n\007gc_rule\030\001 \001(\0132 .google." + + "bigtable.admin.v2.GcRule\"\325\002\n\006GcRule\022\032\n\020m" + + "ax_num_versions\030\001 \001(\005H\000\022,\n\007max_age\030\002 \001(\013" + + "2\031.google.protobuf.DurationH\000\022E\n\014interse" + + "ction\030\003 \001(\0132-.google.bigtable.admin.v2.G" + + "cRule.IntersectionH\000\0227\n\005union\030\004 \001(\0132&.go" + + "ogle.bigtable.admin.v2.GcRule.UnionH\000\032?\n" + + "\014Intersection\022/\n\005rules\030\001 \003(\0132 .google.bi" + + "gtable.admin.v2.GcRule\0328\n\005Union\022/\n\005rules" + + "\030\001 \003(\0132 .google.bigtable.admin.v2.GcRule" + + "B\006\n\004rule\"\307\003\n\010Snapshot\022\014\n\004name\030\001 \001(\t\0225\n\014s" + + "ource_table\030\002 \001(\0132\037.google.bigtable.admi" + + "n.v2.Table\022\027\n\017data_size_bytes\030\003 \001(\003\022/\n\013c" + + "reate_time\030\004 \001(\0132\032.google.protobuf.Times" + + "tamp\022/\n\013delete_time\030\005 \001(\0132\032.google.proto" + + "buf.Timestamp\0227\n\005state\030\006 \001(\0162(.google.bi" + + "gtable.admin.v2.Snapshot.State\022\023\n\013descri" + + "ption\030\007 \001(\t\"5\n\005State\022\023\n\017STATE_NOT_KNOWN\020" + + "\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002:v\352As\n bigtabl" + + "e.googleapis.com/Snapshot\022Oprojects/{pro" + + "ject}/instances/{instance}/clusters/{clu" + + "ster}/snapshots/{snapshot}B\255\001\n\034com.googl" + + "e.bigtable.admin.v2B\nTableProtoP\001Z=googl" + + "e.golang.org/genproto/googleapis/bigtabl" + + "e/admin/v2;admin\252\002\036Google.Cloud.Bigtable" + + ".Admin.V2\312\002\036Google\\Cloud\\Bigtable\\Admin\\" + + "V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); @@ -208,7 +217,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "State", "Description", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java index 9962a81a62..739bb5cbad 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java @@ -144,10 +144,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The app profile which will (partially) replace the current value.
+   * Required. The app profile which will (partially) replace the current value.
    * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the appProfile field is set. */ @@ -158,10 +160,12 @@ public boolean hasAppProfile() { * * *
-   * The app profile which will (partially) replace the current value.
+   * Required. The app profile which will (partially) replace the current value.
    * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The appProfile. */ @@ -174,10 +178,12 @@ public com.google.bigtable.admin.v2.AppProfile getAppProfile() { * * *
-   * The app profile which will (partially) replace the current value.
+   * Required. The app profile which will (partially) replace the current value.
    * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { return getAppProfile(); @@ -189,11 +195,12 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() * * *
-   * The subset of app profile fields which should be replaced.
+   * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the updateMask field is set. */ @@ -204,11 +211,12 @@ public boolean hasUpdateMask() { * * *
-   * The subset of app profile fields which should be replaced.
+   * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The updateMask. */ @@ -219,11 +227,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * The subset of app profile fields which should be replaced.
+   * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { return getUpdateMask(); @@ -629,10 +638,12 @@ public Builder mergeFrom( * * *
-     * The app profile which will (partially) replace the current value.
+     * Required. The app profile which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the appProfile field is set. */ @@ -643,10 +654,12 @@ public boolean hasAppProfile() { * * *
-     * The app profile which will (partially) replace the current value.
+     * Required. The app profile which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The appProfile. */ @@ -663,10 +676,12 @@ public com.google.bigtable.admin.v2.AppProfile getAppProfile() { * * *
-     * The app profile which will (partially) replace the current value.
+     * Required. The app profile which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { @@ -685,10 +700,12 @@ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile value) { * * *
-     * The app profile which will (partially) replace the current value.
+     * Required. The app profile which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { if (appProfileBuilder_ == null) { @@ -704,10 +721,12 @@ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile.Builder bui * * *
-     * The app profile which will (partially) replace the current value.
+     * Required. The app profile which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { @@ -730,10 +749,12 @@ public Builder mergeAppProfile(com.google.bigtable.admin.v2.AppProfile value) { * * *
-     * The app profile which will (partially) replace the current value.
+     * Required. The app profile which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAppProfile() { if (appProfileBuilder_ == null) { @@ -750,10 +771,12 @@ public Builder clearAppProfile() { * * *
-     * The app profile which will (partially) replace the current value.
+     * Required. The app profile which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { @@ -764,10 +787,12 @@ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { * * *
-     * The app profile which will (partially) replace the current value.
+     * Required. The app profile which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { if (appProfileBuilder_ != null) { @@ -782,10 +807,12 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() * * *
-     * The app profile which will (partially) replace the current value.
+     * Required. The app profile which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.bigtable.admin.v2.AppProfile, @@ -814,11 +841,12 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() * * *
-     * The subset of app profile fields which should be replaced.
+     * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the updateMask field is set. */ @@ -829,11 +857,12 @@ public boolean hasUpdateMask() { * * *
-     * The subset of app profile fields which should be replaced.
+     * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The updateMask. */ @@ -850,11 +879,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * The subset of app profile fields which should be replaced.
+     * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -873,11 +903,12 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The subset of app profile fields which should be replaced.
+     * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { @@ -893,11 +924,12 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * The subset of app profile fields which should be replaced.
+     * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -918,11 +950,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The subset of app profile fields which should be replaced.
+     * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -939,11 +972,12 @@ public Builder clearUpdateMask() { * * *
-     * The subset of app profile fields which should be replaced.
+     * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { @@ -954,11 +988,12 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * The subset of app profile fields which should be replaced.
+     * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { @@ -973,11 +1008,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * The subset of app profile fields which should be replaced.
+     * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java index 8d743ef898..08e475ad27 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface UpdateAppProfileRequestOrBuilder * * *
-   * The app profile which will (partially) replace the current value.
+   * Required. The app profile which will (partially) replace the current value.
    * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the appProfile field is set. */ @@ -39,10 +41,12 @@ public interface UpdateAppProfileRequestOrBuilder * * *
-   * The app profile which will (partially) replace the current value.
+   * Required. The app profile which will (partially) replace the current value.
    * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The appProfile. */ @@ -51,10 +55,12 @@ public interface UpdateAppProfileRequestOrBuilder * * *
-   * The app profile which will (partially) replace the current value.
+   * Required. The app profile which will (partially) replace the current value.
    * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder(); @@ -62,11 +68,12 @@ public interface UpdateAppProfileRequestOrBuilder * * *
-   * The subset of app profile fields which should be replaced.
+   * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the updateMask field is set. */ @@ -75,11 +82,12 @@ public interface UpdateAppProfileRequestOrBuilder * * *
-   * The subset of app profile fields which should be replaced.
+   * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The updateMask. */ @@ -88,11 +96,12 @@ public interface UpdateAppProfileRequestOrBuilder * * *
-   * The subset of app profile fields which should be replaced.
+   * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto index 80ce424707..8e05bfd0fb 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto +++ b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC. +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,6 +18,9 @@ syntax = "proto3"; package google.bigtable.admin.v2; import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/bigtable/admin/v2/instance.proto"; import "google/iam/v1/iam_policy.proto"; import "google/iam/v1/policy.proto"; @@ -37,13 +40,27 @@ option php_namespace = "Google\\Cloud\\Bigtable\\Admin\\V2"; // Clusters. Provides access to the Instance and Cluster schemas only, not the // tables' metadata or data stored in those tables. service BigtableInstanceAdmin { + option (google.api.default_host) = "bigtableadmin.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/bigtable.admin," + "https://www.googleapis.com/auth/bigtable.admin.cluster," + "https://www.googleapis.com/auth/bigtable.admin.instance," + "https://www.googleapis.com/auth/cloud-bigtable.admin," + "https://www.googleapis.com/auth/cloud-bigtable.admin.cluster," + "https://www.googleapis.com/auth/cloud-platform," + "https://www.googleapis.com/auth/cloud-platform.read-only"; + // Create an instance within a project. - rpc CreateInstance(CreateInstanceRequest) - returns (google.longrunning.Operation) { + rpc CreateInstance(CreateInstanceRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{parent=projects/*}/instances" body: "*" }; + option (google.api.method_signature) = "parent,instance_id,instance,clusters"; + option (google.longrunning.operation_info) = { + response_type: "Instance" + metadata_type: "CreateInstanceMetadata" + }; } // Gets information about an instance. @@ -51,6 +68,7 @@ service BigtableInstanceAdmin { option (google.api.http) = { get: "/v2/{name=projects/*/instances/*}" }; + option (google.api.method_signature) = "name"; } // Lists information about instances in a project. @@ -58,9 +76,12 @@ service BigtableInstanceAdmin { option (google.api.http) = { get: "/v2/{parent=projects/*}/instances" }; + option (google.api.method_signature) = "parent"; } - // Updates an instance within a project. + // Updates an instance within a project. This method updates only the display + // name and type for an Instance. To update other Instance properties, such as + // labels, use PartialUpdateInstance. rpc UpdateInstance(Instance) returns (Instance) { option (google.api.http) = { put: "/v2/{name=projects/*/instances/*}" @@ -68,13 +89,18 @@ service BigtableInstanceAdmin { }; } - // Partially updates an instance within a project. - rpc PartialUpdateInstance(PartialUpdateInstanceRequest) - returns (google.longrunning.Operation) { + // Partially updates an instance within a project. This method can modify all + // fields of an Instance and is the preferred way to update an Instance. + rpc PartialUpdateInstance(PartialUpdateInstanceRequest) returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v2/{instance.name=projects/*/instances/*}" body: "instance" }; + option (google.api.method_signature) = "instance,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "Instance" + metadata_type: "UpdateInstanceMetadata" + }; } // Delete an instance from a project. @@ -82,15 +108,20 @@ service BigtableInstanceAdmin { option (google.api.http) = { delete: "/v2/{name=projects/*/instances/*}" }; + option (google.api.method_signature) = "name"; } // Creates a cluster within an instance. - rpc CreateCluster(CreateClusterRequest) - returns (google.longrunning.Operation) { + rpc CreateCluster(CreateClusterRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{parent=projects/*/instances/*}/clusters" body: "cluster" }; + option (google.api.method_signature) = "parent,cluster_id,cluster"; + option (google.longrunning.operation_info) = { + response_type: "Cluster" + metadata_type: "CreateClusterMetadata" + }; } // Gets information about a cluster. @@ -98,6 +129,7 @@ service BigtableInstanceAdmin { option (google.api.http) = { get: "/v2/{name=projects/*/instances/*/clusters/*}" }; + option (google.api.method_signature) = "name"; } // Lists information about clusters in an instance. @@ -105,6 +137,7 @@ service BigtableInstanceAdmin { option (google.api.http) = { get: "/v2/{parent=projects/*/instances/*}/clusters" }; + option (google.api.method_signature) = "parent"; } // Updates a cluster within an instance. @@ -113,6 +146,10 @@ service BigtableInstanceAdmin { put: "/v2/{name=projects/*/instances/*/clusters/*}" body: "*" }; + option (google.longrunning.operation_info) = { + response_type: "Cluster" + metadata_type: "UpdateClusterMetadata" + }; } // Deletes a cluster from an instance. @@ -120,6 +157,7 @@ service BigtableInstanceAdmin { option (google.api.http) = { delete: "/v2/{name=projects/*/instances/*/clusters/*}" }; + option (google.api.method_signature) = "name"; } // Creates an app profile within an instance. @@ -128,6 +166,7 @@ service BigtableInstanceAdmin { post: "/v2/{parent=projects/*/instances/*}/appProfiles" body: "app_profile" }; + option (google.api.method_signature) = "parent,app_profile_id,app_profile"; } // Gets information about an app profile. @@ -135,98 +174,118 @@ service BigtableInstanceAdmin { option (google.api.http) = { get: "/v2/{name=projects/*/instances/*/appProfiles/*}" }; + option (google.api.method_signature) = "name"; } // Lists information about app profiles in an instance. - rpc ListAppProfiles(ListAppProfilesRequest) - returns (ListAppProfilesResponse) { + rpc ListAppProfiles(ListAppProfilesRequest) returns (ListAppProfilesResponse) { option (google.api.http) = { get: "/v2/{parent=projects/*/instances/*}/appProfiles" }; + option (google.api.method_signature) = "parent"; } // Updates an app profile within an instance. - rpc UpdateAppProfile(UpdateAppProfileRequest) - returns (google.longrunning.Operation) { + rpc UpdateAppProfile(UpdateAppProfileRequest) returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v2/{app_profile.name=projects/*/instances/*/appProfiles/*}" body: "app_profile" }; + option (google.api.method_signature) = "app_profile,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "AppProfile" + metadata_type: "UpdateAppProfileMetadata" + }; } // Deletes an app profile from an instance. - rpc DeleteAppProfile(DeleteAppProfileRequest) - returns (google.protobuf.Empty) { + rpc DeleteAppProfile(DeleteAppProfileRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=projects/*/instances/*/appProfiles/*}" }; + option (google.api.method_signature) = "name"; } // Gets the access control policy for an instance resource. Returns an empty // policy if an instance exists but does not have a policy set. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) - returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v2/{resource=projects/*/instances/*}:getIamPolicy" body: "*" }; + option (google.api.method_signature) = "resource"; } // Sets the access control policy on an instance resource. Replaces any // existing policy. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) - returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v2/{resource=projects/*/instances/*}:setIamPolicy" body: "*" }; + option (google.api.method_signature) = "resource,policy"; } // Returns permissions that the caller has on the specified instance resource. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) - returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v2/{resource=projects/*/instances/*}:testIamPermissions" body: "*" }; + option (google.api.method_signature) = "resource,permissions"; } } // Request message for BigtableInstanceAdmin.CreateInstance. message CreateInstanceRequest { - // The unique name of the project in which to create the new instance. - // Values are of the form `projects/`. - string parent = 1; - - // The ID to be used when referring to the new instance within its project, + // Required. The unique name of the project in which to create the new instance. + // Values are of the form `projects/{project}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + } + ]; + + // Required. The ID to be used when referring to the new instance within its project, // e.g., just `myinstance` rather than // `projects/myproject/instances/myinstance`. - string instance_id = 2; + string instance_id = 2 [(google.api.field_behavior) = REQUIRED]; - // The instance to create. + // Required. The instance to create. // Fields marked `OutputOnly` must be left blank. - Instance instance = 3; + Instance instance = 3 [(google.api.field_behavior) = REQUIRED]; - // The clusters to be created within the instance, mapped by desired + // Required. The clusters to be created within the instance, mapped by desired // cluster ID, e.g., just `mycluster` rather than // `projects/myproject/instances/myinstance/clusters/mycluster`. // Fields marked `OutputOnly` must be left blank. - // Currently, at most two clusters can be specified. - map clusters = 4; + // Currently, at most four clusters can be specified. + map clusters = 4 [(google.api.field_behavior) = REQUIRED]; } // Request message for BigtableInstanceAdmin.GetInstance. message GetInstanceRequest { - // The unique name of the requested instance. Values are of the form - // `projects//instances/`. - string name = 1; + // Required. The unique name of the requested instance. Values are of the form + // `projects/{project}/instances/{instance}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Instance" + } + ]; } // Request message for BigtableInstanceAdmin.ListInstances. message ListInstancesRequest { - // The unique name of the project for which a list of instances is requested. - // Values are of the form `projects/`. - string parent = 1; + // Required. The unique name of the project for which a list of instances is requested. + // Values are of the form `projects/{project}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + } + ]; // DEPRECATED: This field is unused and ignored. string page_token = 2; @@ -251,52 +310,72 @@ message ListInstancesResponse { // Request message for BigtableInstanceAdmin.PartialUpdateInstance. message PartialUpdateInstanceRequest { - // The Instance which will (partially) replace the current value. - Instance instance = 1; + // Required. The Instance which will (partially) replace the current value. + Instance instance = 1 [(google.api.field_behavior) = REQUIRED]; - // The subset of Instance fields which should be replaced. + // Required. The subset of Instance fields which should be replaced. // Must be explicitly set. - google.protobuf.FieldMask update_mask = 2; + google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; } // Request message for BigtableInstanceAdmin.DeleteInstance. message DeleteInstanceRequest { - // The unique name of the instance to be deleted. - // Values are of the form `projects//instances/`. - string name = 1; + // Required. The unique name of the instance to be deleted. + // Values are of the form `projects/{project}/instances/{instance}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Instance" + } + ]; } // Request message for BigtableInstanceAdmin.CreateCluster. message CreateClusterRequest { - // The unique name of the instance in which to create the new cluster. + // Required. The unique name of the instance in which to create the new cluster. // Values are of the form - // `projects//instances/`. - string parent = 1; - - // The ID to be used when referring to the new cluster within its instance, + // `projects/{project}/instances/{instance}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Instance" + } + ]; + + // Required. The ID to be used when referring to the new cluster within its instance, // e.g., just `mycluster` rather than // `projects/myproject/instances/myinstance/clusters/mycluster`. - string cluster_id = 2; + string cluster_id = 2 [(google.api.field_behavior) = REQUIRED]; - // The cluster to be created. + // Required. The cluster to be created. // Fields marked `OutputOnly` must be left blank. - Cluster cluster = 3; + Cluster cluster = 3 [(google.api.field_behavior) = REQUIRED]; } // Request message for BigtableInstanceAdmin.GetCluster. message GetClusterRequest { - // The unique name of the requested cluster. Values are of the form - // `projects//instances//clusters/`. - string name = 1; + // Required. The unique name of the requested cluster. Values are of the form + // `projects/{project}/instances/{instance}/clusters/{cluster}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Cluster" + } + ]; } // Request message for BigtableInstanceAdmin.ListClusters. message ListClustersRequest { - // The unique name of the instance for which a list of clusters is requested. - // Values are of the form `projects//instances/`. - // Use ` = '-'` to list Clusters for all Instances in a project, + // Required. The unique name of the instance for which a list of clusters is requested. + // Values are of the form `projects/{project}/instances/{instance}`. + // Use `{instance} = '-'` to list Clusters for all Instances in a project, // e.g., `projects/myproject/instances/-`. - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Instance" + } + ]; // DEPRECATED: This field is unused and ignored. string page_token = 2; @@ -320,9 +399,14 @@ message ListClustersResponse { // Request message for BigtableInstanceAdmin.DeleteCluster. message DeleteClusterRequest { - // The unique name of the cluster to be deleted. Values are of the form - // `projects//instances//clusters/`. - string name = 1; + // Required. The unique name of the cluster to be deleted. Values are of the form + // `projects/{project}/instances/{instance}/clusters/{cluster}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Cluster" + } + ]; } // The metadata for the Operation returned by CreateInstance. @@ -375,19 +459,24 @@ message UpdateClusterMetadata { // Request message for BigtableInstanceAdmin.CreateAppProfile. message CreateAppProfileRequest { - // The unique name of the instance in which to create the new app profile. + // Required. The unique name of the instance in which to create the new app profile. // Values are of the form - // `projects//instances/`. - string parent = 1; - - // The ID to be used when referring to the new app profile within its + // `projects/{project}/instances/{instance}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Instance" + } + ]; + + // Required. The ID to be used when referring to the new app profile within its // instance, e.g., just `myprofile` rather than // `projects/myproject/instances/myinstance/appProfiles/myprofile`. - string app_profile_id = 2; + string app_profile_id = 2 [(google.api.field_behavior) = REQUIRED]; - // The app profile to be created. + // Required. The app profile to be created. // Fields marked `OutputOnly` will be ignored. - AppProfile app_profile = 3; + AppProfile app_profile = 3 [(google.api.field_behavior) = REQUIRED]; // If true, ignore safety checks when creating the app profile. bool ignore_warnings = 4; @@ -395,22 +484,39 @@ message CreateAppProfileRequest { // Request message for BigtableInstanceAdmin.GetAppProfile. message GetAppProfileRequest { - // The unique name of the requested app profile. Values are of the form - // `projects//instances//appProfiles/`. - string name = 1; + // Required. The unique name of the requested app profile. Values are of the form + // `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/AppProfile" + } + ]; } // Request message for BigtableInstanceAdmin.ListAppProfiles. message ListAppProfilesRequest { - // The unique name of the instance for which a list of app profiles is + // Required. The unique name of the instance for which a list of app profiles is // requested. Values are of the form - // `projects//instances/`. - // Use ` = '-'` to list AppProfiles for all Instances in a project, + // `projects/{project}/instances/{instance}`. + // Use `{instance} = '-'` to list AppProfiles for all Instances in a project, // e.g., `projects/myproject/instances/-`. - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Instance" + } + ]; // Maximum number of results per page. - // CURRENTLY UNIMPLEMENTED AND IGNORED. + // + // A page_size of zero lets the server choose the number of items to return. + // A page_size which is strictly positive will return at most that many items. + // A negative page_size will cause an error. + // + // Following the first request, subsequent paginated calls are not required + // to pass a page_size. If a page_size is set in subsequent calls, it must + // match the page_size given in the first request. int32 page_size = 3; // The value of `next_page_token` returned by a previous call. @@ -436,12 +542,12 @@ message ListAppProfilesResponse { // Request message for BigtableInstanceAdmin.UpdateAppProfile. message UpdateAppProfileRequest { - // The app profile which will (partially) replace the current value. - AppProfile app_profile = 1; + // Required. The app profile which will (partially) replace the current value. + AppProfile app_profile = 1 [(google.api.field_behavior) = REQUIRED]; - // The subset of app profile fields which should be replaced. + // Required. The subset of app profile fields which should be replaced. // If unset, all fields will be replaced. - google.protobuf.FieldMask update_mask = 2; + google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; // If true, ignore safety checks when updating the app profile. bool ignore_warnings = 3; @@ -449,9 +555,14 @@ message UpdateAppProfileRequest { // Request message for BigtableInstanceAdmin.DeleteAppProfile. message DeleteAppProfileRequest { - // The unique name of the app profile to be deleted. Values are of the form - // `projects//instances//appProfiles/`. - string name = 1; + // Required. The unique name of the app profile to be deleted. Values are of the form + // `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/AppProfile" + } + ]; // If true, ignore safety checks when deleting the app profile. bool ignore_warnings = 2; diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto index 8120222959..6b1caac1e2 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto +++ b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC. +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,6 +18,9 @@ syntax = "proto3"; package google.bigtable.admin.v2; import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/bigtable/admin/v2/table.proto"; import "google/iam/v1/iam_policy.proto"; import "google/iam/v1/policy.proto"; @@ -39,6 +42,15 @@ option php_namespace = "Google\\Cloud\\Bigtable\\Admin\\V2"; // Provides access to the table schemas only, not the data stored within // the tables. service BigtableTableAdmin { + option (google.api.default_host) = "bigtableadmin.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/bigtable.admin," + "https://www.googleapis.com/auth/bigtable.admin.table," + "https://www.googleapis.com/auth/cloud-bigtable.admin," + "https://www.googleapis.com/auth/cloud-bigtable.admin.table," + "https://www.googleapis.com/auth/cloud-platform," + "https://www.googleapis.com/auth/cloud-platform.read-only"; + // Creates a new table in the specified instance. // The table can be created with a full set of initial column families, // specified in the request. @@ -47,6 +59,7 @@ service BigtableTableAdmin { post: "/v2/{parent=projects/*/instances/*}/tables" body: "*" }; + option (google.api.method_signature) = "parent,table_id,table"; } // Creates a new table from the specified snapshot. The target table must @@ -57,12 +70,16 @@ service BigtableTableAdmin { // feature might be changed in backward-incompatible ways and is not // recommended for production use. It is not subject to any SLA or deprecation // policy. - rpc CreateTableFromSnapshot(CreateTableFromSnapshotRequest) - returns (google.longrunning.Operation) { + rpc CreateTableFromSnapshot(CreateTableFromSnapshotRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{parent=projects/*/instances/*}/tables:createFromSnapshot" body: "*" }; + option (google.api.method_signature) = "parent,table_id,source_snapshot"; + option (google.longrunning.operation_info) = { + response_type: "Table" + metadata_type: "CreateTableFromSnapshotMetadata" + }; } // Lists all tables served from a specified instance. @@ -70,6 +87,7 @@ service BigtableTableAdmin { option (google.api.http) = { get: "/v2/{parent=projects/*/instances/*}/tables" }; + option (google.api.method_signature) = "parent"; } // Gets metadata information about the specified table. @@ -77,6 +95,7 @@ service BigtableTableAdmin { option (google.api.http) = { get: "/v2/{name=projects/*/instances/*/tables/*}" }; + option (google.api.method_signature) = "name"; } // Permanently deletes a specified table and all of its data. @@ -84,6 +103,7 @@ service BigtableTableAdmin { option (google.api.http) = { delete: "/v2/{name=projects/*/instances/*/tables/*}" }; + option (google.api.method_signature) = "name"; } // Performs a series of column family modifications on the specified table. @@ -95,6 +115,7 @@ service BigtableTableAdmin { post: "/v2/{name=projects/*/instances/*/tables/*}:modifyColumnFamilies" body: "*" }; + option (google.api.method_signature) = "name,modifications"; } // Permanently drop/delete a row range from a specified table. The request can @@ -111,23 +132,23 @@ service BigtableTableAdmin { // CheckConsistency to check whether mutations to the table that finished // before this call started have been replicated. The tokens will be available // for 90 days. - rpc GenerateConsistencyToken(GenerateConsistencyTokenRequest) - returns (GenerateConsistencyTokenResponse) { + rpc GenerateConsistencyToken(GenerateConsistencyTokenRequest) returns (GenerateConsistencyTokenResponse) { option (google.api.http) = { post: "/v2/{name=projects/*/instances/*/tables/*}:generateConsistencyToken" body: "*" }; + option (google.api.method_signature) = "name"; } // Checks replication consistency based on a consistency token, that is, if // replication has caught up based on the conditions specified in the token // and the check request. - rpc CheckConsistency(CheckConsistencyRequest) - returns (CheckConsistencyResponse) { + rpc CheckConsistency(CheckConsistencyRequest) returns (CheckConsistencyResponse) { option (google.api.http) = { post: "/v2/{name=projects/*/instances/*/tables/*}:checkConsistency" body: "*" }; + option (google.api.method_signature) = "name,consistency_token"; } // Creates a new snapshot in the specified cluster from the specified @@ -138,12 +159,16 @@ service BigtableTableAdmin { // feature might be changed in backward-incompatible ways and is not // recommended for production use. It is not subject to any SLA or deprecation // policy. - rpc SnapshotTable(SnapshotTableRequest) - returns (google.longrunning.Operation) { + rpc SnapshotTable(SnapshotTableRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{name=projects/*/instances/*/tables/*}:snapshot" body: "*" }; + option (google.api.method_signature) = "name,cluster,snapshot_id,description"; + option (google.longrunning.operation_info) = { + response_type: "Snapshot" + metadata_type: "SnapshotTableMetadata" + }; } // Gets metadata information about the specified snapshot. @@ -157,6 +182,7 @@ service BigtableTableAdmin { option (google.api.http) = { get: "/v2/{name=projects/*/instances/*/clusters/*/snapshots/*}" }; + option (google.api.method_signature) = "name"; } // Lists all snapshots associated with the specified cluster. @@ -170,6 +196,7 @@ service BigtableTableAdmin { option (google.api.http) = { get: "/v2/{parent=projects/*/instances/*/clusters/*}/snapshots" }; + option (google.api.method_signature) = "parent"; } // Permanently deletes the specified snapshot. @@ -183,24 +210,32 @@ service BigtableTableAdmin { option (google.api.http) = { delete: "/v2/{name=projects/*/instances/*/clusters/*/snapshots/*}" }; + option (google.api.method_signature) = "name"; } - // Gets the access control policy for a table resource. Returns an empty - // policy if an table exists but does not have a policy set. + // Gets the access control policy for a resource. + // Returns an empty policy if the resource exists but does not have a policy + // set. rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v2/{resource=projects/*/instances/*/tables/*}:getIamPolicy" body: "*" }; + option (google.api.method_signature) = "resource"; } - // Sets the access control policy on a table resource. Replaces any existing - // policy. + // Sets the access control policy on a Table or Backup resource. + // Replaces any existing policy. rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v2/{resource=projects/*/instances/*/tables/*}:setIamPolicy" body: "*" + additional_bindings { + post: "/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:setIamPolicy" + body: "*" + } }; + option (google.api.method_signature) = "resource,policy"; } // Returns permissions that the caller has on the specified table resource. @@ -208,7 +243,12 @@ service BigtableTableAdmin { option (google.api.http) = { post: "/v2/{resource=projects/*/instances/*/tables/*}:testIamPermissions" body: "*" + additional_bindings { + post: "/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:testIamPermissions" + body: "*" + } }; + option (google.api.method_signature) = "resource,permissions"; } } @@ -221,16 +261,22 @@ message CreateTableRequest { bytes key = 1; } - // The unique name of the instance in which to create the table. - // Values are of the form `projects//instances/`. - string parent = 1; + // Required. The unique name of the instance in which to create the table. + // Values are of the form `projects/{project}/instances/{instance}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Instance" + } + ]; - // The name by which the new table should be referred to within the parent - // instance, e.g., `foobar` rather than `/tables/foobar`. - string table_id = 2; + // Required. The name by which the new table should be referred to within the parent + // instance, e.g., `foobar` rather than `{parent}/tables/foobar`. + // Maximum 50 characters. + string table_id = 2 [(google.api.field_behavior) = REQUIRED]; - // The Table to create. - Table table = 3; + // Required. The Table to create. + Table table = 3 [(google.api.field_behavior) = REQUIRED]; // The optional list of row keys that will be used to initially split the // table into several tablets (tablets are similar to HBase regions). @@ -259,28 +305,43 @@ message CreateTableRequest { // feature might be changed in backward-incompatible ways and is not recommended // for production use. It is not subject to any SLA or deprecation policy. message CreateTableFromSnapshotRequest { - // The unique name of the instance in which to create the table. - // Values are of the form `projects//instances/`. - string parent = 1; + // Required. The unique name of the instance in which to create the table. + // Values are of the form `projects/{project}/instances/{instance}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Instance" + } + ]; - // The name by which the new table should be referred to within the parent - // instance, e.g., `foobar` rather than `/tables/foobar`. - string table_id = 2; + // Required. The name by which the new table should be referred to within the parent + // instance, e.g., `foobar` rather than `{parent}/tables/foobar`. + string table_id = 2 [(google.api.field_behavior) = REQUIRED]; - // The unique name of the snapshot from which to restore the table. The + // Required. The unique name of the snapshot from which to restore the table. The // snapshot and the table must be in the same instance. // Values are of the form - // `projects//instances//clusters//snapshots/`. - string source_snapshot = 3; + // `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + string source_snapshot = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Snapshot" + } + ]; } // Request message for // [google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange][google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange] message DropRowRangeRequest { - // The unique name of the table on which to drop a range of rows. + // Required. The unique name of the table on which to drop a range of rows. // Values are of the form - // `projects//instances//tables/`. - string name = 1; + // `projects/{project}/instances/{instance}/tables/{table}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Table" + } + ]; // Delete all rows or by prefix. oneof target { @@ -296,16 +357,28 @@ message DropRowRangeRequest { // Request message for // [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables] message ListTablesRequest { - // The unique name of the instance for which tables should be listed. - // Values are of the form `projects//instances/`. - string parent = 1; + // Required. The unique name of the instance for which tables should be listed. + // Values are of the form `projects/{project}/instances/{instance}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Instance" + } + ]; // The view to be applied to the returned tables' fields. - // Defaults to `NAME_ONLY` if unspecified; no others are currently supported. + // Only NAME_ONLY view (default) and REPLICATION_VIEW are supported. Table.View view = 2; // Maximum number of results per page. - // CURRENTLY UNIMPLEMENTED AND IGNORED. + // + // A page_size of zero lets the server choose the number of items to return. + // A page_size which is strictly positive will return at most that many items. + // A negative page_size will cause an error. + // + // Following the first request, subsequent paginated calls are not required + // to pass a page_size. If a page_size is set in subsequent calls, it must + // match the page_size given in the first request. int32 page_size = 4; // The value of `next_page_token` returned by a previous call. @@ -327,10 +400,15 @@ message ListTablesResponse { // Request message for // [google.bigtable.admin.v2.BigtableTableAdmin.GetTable][google.bigtable.admin.v2.BigtableTableAdmin.GetTable] message GetTableRequest { - // The unique name of the requested table. + // Required. The unique name of the requested table. // Values are of the form - // `projects//instances//tables/
`. - string name = 1; + // `projects/{project}/instances/{instance}/tables/{table}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Table" + } + ]; // The view to be applied to the returned table's fields. // Defaults to `SCHEMA_VIEW` if unspecified. @@ -340,10 +418,15 @@ message GetTableRequest { // Request message for // [google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable] message DeleteTableRequest { - // The unique name of the table to be deleted. + // Required. The unique name of the table to be deleted. // Values are of the form - // `projects//instances//tables/
`. - string name = 1; + // `projects/{project}/instances/{instance}/tables/{table}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Table" + } + ]; } // Request message for @@ -370,25 +453,35 @@ message ModifyColumnFamiliesRequest { } } - // The unique name of the table whose families should be modified. + // Required. The unique name of the table whose families should be modified. // Values are of the form - // `projects//instances//tables/
`. - string name = 1; + // `projects/{project}/instances/{instance}/tables/{table}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Table" + } + ]; - // Modifications to be atomically applied to the specified table's families. + // Required. Modifications to be atomically applied to the specified table's families. // Entries are applied in order, meaning that earlier modifications can be // masked by later ones (in the case of repeated updates to the same family, // for example). - repeated Modification modifications = 2; + repeated Modification modifications = 2 [(google.api.field_behavior) = REQUIRED]; } // Request message for // [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken] message GenerateConsistencyTokenRequest { - // The unique name of the Table for which to create a consistency token. + // Required. The unique name of the Table for which to create a consistency token. // Values are of the form - // `projects//instances//tables/
`. - string name = 1; + // `projects/{project}/instances/{instance}/tables/{table}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Table" + } + ]; } // Response message for @@ -401,13 +494,18 @@ message GenerateConsistencyTokenResponse { // Request message for // [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency] message CheckConsistencyRequest { - // The unique name of the Table for which to check replication consistency. + // Required. The unique name of the Table for which to check replication consistency. // Values are of the form - // `projects//instances//tables/
`. - string name = 1; + // `projects/{project}/instances/{instance}/tables/{table}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Table" + } + ]; - // The token created using GenerateConsistencyToken for the Table. - string consistency_token = 2; + // Required. The token created using GenerateConsistencyToken for the Table. + string consistency_token = 2 [(google.api.field_behavior) = REQUIRED]; } // Response message for @@ -428,18 +526,18 @@ message CheckConsistencyResponse { message SnapshotTableRequest { // The unique name of the table to have the snapshot taken. // Values are of the form - // `projects//instances//tables/
`. + // `projects/{project}/instances/{instance}/tables/{table}`. string name = 1; // The name of the cluster where the snapshot will be created in. // Values are of the form - // `projects//instances//clusters/`. + // `projects/{project}/instances/{instance}/clusters/{cluster}`. string cluster = 2; // The ID by which the new snapshot should be referred to within the parent // cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` // rather than - // `projects//instances//clusters//snapshots/mysnapshot`. + // `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. string snapshot_id = 3; // The amount of time that the new snapshot can stay active after it is @@ -460,10 +558,15 @@ message SnapshotTableRequest { // feature might be changed in backward-incompatible ways and is not recommended // for production use. It is not subject to any SLA or deprecation policy. message GetSnapshotRequest { - // The unique name of the requested snapshot. + // Required. The unique name of the requested snapshot. // Values are of the form - // `projects//instances//clusters//snapshots/`. - string name = 1; + // `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Snapshot" + } + ]; } // Request message for @@ -474,12 +577,17 @@ message GetSnapshotRequest { // feature might be changed in backward-incompatible ways and is not recommended // for production use. It is not subject to any SLA or deprecation policy. message ListSnapshotsRequest { - // The unique name of the cluster for which snapshots should be listed. + // Required. The unique name of the cluster for which snapshots should be listed. // Values are of the form - // `projects//instances//clusters/`. - // Use ` = '-'` to list snapshots for all clusters in an instance, - // e.g., `projects//instances//clusters/-`. - string parent = 1; + // `projects/{project}/instances/{instance}/clusters/{cluster}`. + // Use `{cluster} = '-'` to list snapshots for all clusters in an instance, + // e.g., `projects/{project}/instances/{instance}/clusters/-`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Cluster" + } + ]; // The maximum number of snapshots to return per page. // CURRENTLY UNIMPLEMENTED AND IGNORED. @@ -514,10 +622,15 @@ message ListSnapshotsResponse { // feature might be changed in backward-incompatible ways and is not recommended // for production use. It is not subject to any SLA or deprecation policy. message DeleteSnapshotRequest { - // The unique name of the snapshot to be deleted. + // Required. The unique name of the snapshot to be deleted. // Values are of the form - // `projects//instances//clusters//snapshots/`. - string name = 1; + // `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtable.googleapis.com/Snapshot" + } + ]; } // The metadata for the Operation returned by SnapshotTable. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto index ad4d735994..a1771dc659 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto +++ b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC. +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto index ef8599bfe3..418fbea94c 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto +++ b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC. +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,6 +18,8 @@ syntax = "proto3"; package google.bigtable.admin.v2; import "google/api/annotations.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/bigtable/admin/v2/common.proto"; option csharp_namespace = "Google.Cloud.Bigtable.Admin.V2"; @@ -29,9 +31,14 @@ option php_namespace = "Google\\Cloud\\Bigtable\\Admin\\V2"; // A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and // the resources that serve them. -// All tables in an instance are served from a single -// [Cluster][google.bigtable.admin.v2.Cluster]. +// All tables in an instance are served from all +// [Clusters][google.bigtable.admin.v2.Cluster] in the instance. message Instance { + option (google.api.resource) = { + type: "bigtable.googleapis.com/Instance" + pattern: "projects/{project}/instances/{instance}" + }; + // Possible states of an instance. enum State { // The state of the instance could not be determined. @@ -67,15 +74,14 @@ message Instance { DEVELOPMENT = 2; } - // (`OutputOnly`) // The unique name of the instance. Values are of the form - // `projects//instances/[a-z][a-z0-9\\-]+[a-z0-9]`. - string name = 1; + // `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The descriptive name for this instance as it appears in UIs. + // Required. The descriptive name for this instance as it appears in UIs. // Can be changed at any time, but should be kept globally unique // to avoid confusion. - string display_name = 2; + string display_name = 2 [(google.api.field_behavior) = REQUIRED]; // (`OutputOnly`) // The current state of the instance. @@ -102,6 +108,11 @@ message Instance { // of serving all [Tables][google.bigtable.admin.v2.Table] in the parent // [Instance][google.bigtable.admin.v2.Instance]. message Cluster { + option (google.api.resource) = { + type: "bigtable.googleapis.com/Cluster" + pattern: "projects/{project}/instances/{instance}/clusters/{cluster}" + }; + // Possible states of a cluster. enum State { // The state of the cluster could not be determined. @@ -127,25 +138,25 @@ message Cluster { DISABLED = 4; } - // (`OutputOnly`) // The unique name of the cluster. Values are of the form - // `projects//instances//clusters/[a-z][-a-z0-9]*`. - string name = 1; + // `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // (`CreationOnly`) // The location where this cluster's nodes and storage reside. For best // performance, clients should be located as close as possible to this // cluster. Currently only zones are supported, so values should be of the - // form `projects//locations/`. - string location = 2; + // form `projects/{project}/locations/{zone}`. + string location = 2 [(google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + }]; - // (`OutputOnly`) // The current state of the cluster. - State state = 3; + State state = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The number of nodes allocated to this cluster. More nodes enable higher + // Required. The number of nodes allocated to this cluster. More nodes enable higher // throughput and more consistent performance. - int32 serve_nodes = 4; + int32 serve_nodes = 4 [(google.api.field_behavior) = REQUIRED]; // (`CreationOnly`) // The type of storage used by this cluster to serve its @@ -156,14 +167,20 @@ message Cluster { // A configuration object describing how Cloud Bigtable should treat traffic // from a particular end user application. message AppProfile { - // Read/write requests may be routed to any cluster in the instance, and will - // fail over to another cluster in the event of transient errors or delays. - // Choosing this option sacrifices read-your-writes consistency to improve - // availability. + option (google.api.resource) = { + type: "bigtable.googleapis.com/AppProfile" + pattern: "projects/{project}/instances/{instance}/appProfiles/{app_profile}" + }; + + // Read/write requests are routed to the nearest cluster in the instance, and + // will fail over to the nearest cluster that is available in the event of + // transient errors or delays. Clusters in a region are considered + // equidistant. Choosing this option sacrifices read-your-writes consistency + // to improve availability. message MultiClusterRoutingUseAny {} // Unconditionally routes all read/write requests to a specific cluster. - // This option preserves read-your-writes consistency, but does not improve + // This option preserves read-your-writes consistency but does not improve // availability. message SingleClusterRouting { // The cluster to which read/write requests should be routed. @@ -193,10 +210,10 @@ message AppProfile { // Optional long form description of the use case for this AppProfile. string description = 3; - // The routing policy for all read/write requests which use this app profile. + // The routing policy for all read/write requests that use this app profile. // A value must be explicitly set. oneof routing_policy { - // Use a multi-cluster routing policy that may pick any cluster. + // Use a multi-cluster routing policy. MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; // Use a single-cluster routing policy. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto index 5019d8b864..6590627b27 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto +++ b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC. +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,6 +18,8 @@ syntax = "proto3"; package google.bigtable.admin.v2; import "google/api/annotations.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; @@ -31,6 +33,11 @@ option php_namespace = "Google\\Cloud\\Bigtable\\Admin\\V2"; // A collection of user data indexed by row, column, and timestamp. // Each table is served using the resources of its parent cluster. message Table { + option (google.api.resource) = { + type: "bigtable.googleapis.com/Table" + pattern: "projects/{project}/instances/{instance}/tables/{table}" + }; + // The state of a table's data in a particular cluster. message ClusterState { // Table replication states. @@ -57,8 +64,7 @@ message Table { READY = 4; } - // (`OutputOnly`) - // The state of replication for the table in this cluster. + // Output only. The state of replication for the table in this cluster. ReplicationState replication_state = 1; } @@ -84,22 +90,20 @@ message Table { // Only populates `name` and fields related to the table's schema. SCHEMA_VIEW = 2; - // Only populates `name` and fields related to the table's - // replication state. + // Only populates `name` and fields related to the table's replication + // state. REPLICATION_VIEW = 3; // Populates all fields. FULL = 4; } - // (`OutputOnly`) - // The unique name of the table. Values are of the form + // Output only. The unique name of the table. Values are of the form // `projects//instances//tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. // Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL` string name = 1; - // (`OutputOnly`) - // Map from cluster ID to per-cluster table state. + // Output only. Map from cluster ID to per-cluster table state. // If it could not be determined whether or not the table has data in a // particular cluster (for example, if its zone is unavailable), then // there will be an entry for the cluster with UNKNOWN `replication_status`. @@ -115,7 +119,7 @@ message Table { // The granularity (i.e. `MILLIS`) at which timestamps are stored in // this table. Timestamps not matching the granularity will be rejected. // If unspecified at creation time, the value will be set to `MILLIS`. - // Views: `SCHEMA_VIEW`, `FULL` + // Views: `SCHEMA_VIEW`, `FULL`. TimestampGranularity granularity = 4; } @@ -170,6 +174,11 @@ message GcRule { // feature might be changed in backward-incompatible ways and is not recommended // for production use. It is not subject to any SLA or deprecation policy. message Snapshot { + option (google.api.resource) = { + type: "bigtable.googleapis.com/Snapshot" + pattern: "projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}" + }; + // Possible states of a snapshot. enum State { // The state of the snapshot could not be determined. @@ -184,37 +193,30 @@ message Snapshot { CREATING = 2; } - // (`OutputOnly`) - // The unique name of the snapshot. + // Output only. The unique name of the snapshot. // Values are of the form // `projects//instances//clusters//snapshots/`. string name = 1; - // (`OutputOnly`) - // The source table at the time the snapshot was taken. + // Output only. The source table at the time the snapshot was taken. Table source_table = 2; - // (`OutputOnly`) - // The size of the data in the source table at the time the snapshot was + // Output only. The size of the data in the source table at the time the snapshot was // taken. In some cases, this value may be computed asynchronously via a // background process and a placeholder of 0 will be used in the meantime. int64 data_size_bytes = 3; - // (`OutputOnly`) - // The time when the snapshot is created. + // Output only. The time when the snapshot is created. google.protobuf.Timestamp create_time = 4; - // (`OutputOnly`) - // The time when the snapshot will be deleted. The maximum amount of time a + // Output only. The time when the snapshot will be deleted. The maximum amount of time a // snapshot can stay active is 365 days. If 'ttl' is not specified, // the default maximum of 365 days will be used. google.protobuf.Timestamp delete_time = 5; - // (`OutputOnly`) - // The current state of the snapshot. + // Output only. The current state of the snapshot. State state = 6; - // (`OutputOnly`) - // Description of the snapshot. + // Output only. Description of the snapshot. string description = 7; } diff --git a/synth.metadata b/synth.metadata index 73713c7ad9..d15460e06a 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2020-02-08T09:42:30.672468Z", + "updateTime": "2020-02-11T10:30:55.675615Z", "sources": [ { "generator": { @@ -12,9 +12,9 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "e7d8a694f4559201e6913f6610069cb08b39274e", - "internalRef": "293903652", - "log": "e7d8a694f4559201e6913f6610069cb08b39274e\nDepend on the latest gapic-generator and resource names plugin.\n\nThis fixes the very old an very annoying bug: https://github.com/googleapis/gapic-generator/pull/3087\n\nPiperOrigin-RevId: 293903652\n\n806b2854a966d55374ee26bb0cef4e30eda17b58\nfix: correct capitalization of Ruby namespaces in SecurityCenter V1p1beta1\n\nPiperOrigin-RevId: 293903613\n\n1b83c92462b14d67a7644e2980f723112472e03a\nPublish annotations and grpc service config for Logging API.\n\nPiperOrigin-RevId: 293893514\n\ne46f761cd6ec15a9e3d5ed4ff321a4bcba8e8585\nGenerate the Bazel build file for recommendengine public api\n\nPiperOrigin-RevId: 293710856\n\n68477017c4173c98addac0373950c6aa9d7b375f\nMake `language_code` optional for UpdateIntentRequest and BatchUpdateIntentsRequest.\n\nThe comments and proto annotations describe this parameter as optional.\n\nPiperOrigin-RevId: 293703548\n\n16f823f578bca4e845a19b88bb9bc5870ea71ab2\nAdd BUILD.bazel files for managedidentities API\n\nPiperOrigin-RevId: 293698246\n\n2f53fd8178c9a9de4ad10fae8dd17a7ba36133f2\nAdd v1p1beta1 config file\n\nPiperOrigin-RevId: 293696729\n\n052b274138fce2be80f97b6dcb83ab343c7c8812\nAdd source field for user event and add field behavior annotations\n\nPiperOrigin-RevId: 293693115\n\n1e89732b2d69151b1b3418fff3d4cc0434f0dded\ndatacatalog: v1beta1 add three new RPCs to gapic v1beta1 config\n\nPiperOrigin-RevId: 293692823\n\n9c8bd09bbdc7c4160a44f1fbab279b73cd7a2337\nchange the name of AccessApproval service to AccessApprovalAdmin\n\nPiperOrigin-RevId: 293690934\n\n2e23b8fbc45f5d9e200572ca662fe1271bcd6760\nAdd ListEntryGroups method, add http bindings to support entry group tagging, and update some comments.\n\nPiperOrigin-RevId: 293666452\n\n0275e38a4ca03a13d3f47a9613aac8c8b0d3f1f2\nAdd proto_package field to managedidentities API. It is needed for APIs that still depend on artman generation.\n\nPiperOrigin-RevId: 293643323\n\n4cdfe8278cb6f308106580d70648001c9146e759\nRegenerating public protos for Data Catalog to add new Custom Type Entry feature.\n\nPiperOrigin-RevId: 293614782\n\n45d2a569ab526a1fad3720f95eefb1c7330eaada\nEnable client generation for v1 ManagedIdentities API.\n\nPiperOrigin-RevId: 293515675\n\n2c17086b77e6f3bcf04a1f65758dfb0c3da1568f\nAdd the Actions on Google common types (//google/actions/type/*).\n\nPiperOrigin-RevId: 293478245\n\n781aadb932e64a12fb6ead7cd842698d99588433\nDialogflow weekly v2/v2beta1 library update:\n- Documentation updates\nImportant updates are also posted at\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 293443396\n\ne2602608c9138c2fca24162720e67f9307c30b95\nDialogflow weekly v2/v2beta1 library update:\n- Documentation updates\nImportant updates are also posted at\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 293442964\n\nc8aef82028d06b7992278fa9294c18570dc86c3d\nAdd cc_proto_library and cc_grpc_library targets for Bigtable protos.\n\nAlso fix indentation of cc_grpc_library targets in Spanner and IAM protos.\n\nPiperOrigin-RevId: 293440538\n\ne2faab04f4cb7f9755072330866689b1943a16e9\ncloudtasks: v2 replace non-standard retry params in gapic config v2\n\nPiperOrigin-RevId: 293424055\n\ndfb4097ea628a8470292c6590a4313aee0c675bd\nerrorreporting: v1beta1 add legacy artman config for php\n\nPiperOrigin-RevId: 293423790\n\nb18aed55b45bfe5b62476292c72759e6c3e573c6\nasset: v1p1beta1 updated comment for `page_size` limit.\n\nPiperOrigin-RevId: 293421386\n\nc9ef36b7956d9859a2fc86ad35fcaa16958ab44f\nbazel: Refactor CI build scripts\n\nPiperOrigin-RevId: 293387911\n\na8ed9d921fdddc61d8467bfd7c1668f0ad90435c\nfix: set Ruby module name for OrgPolicy\n\nPiperOrigin-RevId: 293257997\n\n6c7d28509bd8315de8af0889688ee20099594269\nredis: v1beta1 add UpgradeInstance and connect_mode field to Instance\n\nPiperOrigin-RevId: 293242878\n\nae0abed4fcb4c21f5cb67a82349a049524c4ef68\nredis: v1 add connect_mode field to Instance\n\nPiperOrigin-RevId: 293241914\n\n3f7a0d29b28ee9365771da2b66edf7fa2b4e9c56\nAdds service config definition for bigqueryreservation v1beta1\n\nPiperOrigin-RevId: 293234418\n\n0c88168d5ed6fe353a8cf8cbdc6bf084f6bb66a5\naddition of BUILD & configuration for accessapproval v1\n\nPiperOrigin-RevId: 293219198\n\n39bedc2e30f4778ce81193f6ba1fec56107bcfc4\naccessapproval: v1 publish protos\n\nPiperOrigin-RevId: 293167048\n\n69d9945330a5721cd679f17331a78850e2618226\nAdd file-level `Session` resource definition\n\nPiperOrigin-RevId: 293080182\n\nf6a1a6b417f39694275ca286110bc3c1ca4db0dc\nAdd file-level `Session` resource definition\n\nPiperOrigin-RevId: 293080178\n\n29d40b78e3dc1579b0b209463fbcb76e5767f72a\nExpose managedidentities/v1beta1/ API for client library usage.\n\nPiperOrigin-RevId: 292979741\n\na22129a1fb6e18056d576dfb7717aef74b63734a\nExpose managedidentities/v1/ API for client library usage.\n\nPiperOrigin-RevId: 292968186\n\n" + "sha": "5006247aa157e59118833658084345ee59af7c09", + "internalRef": "294383128", + "log": "5006247aa157e59118833658084345ee59af7c09\nFix: Make deprecated fields optional\nFix: Deprecate SetLoggingServiceRequest.zone in line with the comments\nFeature: Add resource name method signatures where appropriate\n\nPiperOrigin-RevId: 294383128\n\neabba40dac05c5cbe0fca3a35761b17e372036c4\nFix: C# and PHP package/namespace capitalization for BigQuery Storage v1.\n\nPiperOrigin-RevId: 294382444\n\nf8d9a858a7a55eba8009a23aa3f5cc5fe5e88dde\nfix: artman configuration file for bigtable-admin\n\nPiperOrigin-RevId: 294322616\n\n0f29555d1cfcf96add5c0b16b089235afbe9b1a9\nAPI definition for (not-yet-launched) GCS gRPC.\n\nPiperOrigin-RevId: 294321472\n\nfcc86bee0e84dc11e9abbff8d7c3529c0626f390\nfix: Bigtable Admin v2\n\nChange LRO metadata from PartialUpdateInstanceMetadata\nto UpdateInstanceMetadata. (Otherwise, it will not build.)\n\nPiperOrigin-RevId: 294264582\n\n6d9361eae2ebb3f42d8c7ce5baf4bab966fee7c0\nrefactor: Add annotations to Bigtable Admin v2.\n\nPiperOrigin-RevId: 294243406\n\nad7616f3fc8e123451c8b3a7987bc91cea9e6913\nFix: Resource type in CreateLogMetricRequest should use logging.googleapis.com.\nFix: ListLogEntries should have a method signature for convenience of calling it.\n\nPiperOrigin-RevId: 294222165\n\n63796fcbb08712676069e20a3e455c9f7aa21026\nFix: Remove extraneous resource definition for cloudkms.googleapis.com/CryptoKey.\n\nPiperOrigin-RevId: 294176658\n\n" } }, {