@@ -18,14 +18,14 @@
com.google.cloud
google-cloud-bigtable-deps-bom
- 2.8.1-SNAPSHOT
+ 2.9.1-SNAPSHOT
pom
import
com.google.cloud
google-cloud-bigtable-bom
- 2.8.1-SNAPSHOT
+ 2.9.1-SNAPSHOT
pom
import
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java
index d353ac178183..c0d6cb0b8c57 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java
@@ -73,6 +73,11 @@ private AutoscalingTargets(
cpuUtilizationPercent_ = input.readInt32();
break;
}
+ case 24:
+ {
+ storageUtilizationGibPerNode_ = input.readInt32();
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -130,6 +135,29 @@ public int getCpuUtilizationPercent() {
return cpuUtilizationPercent_;
}
+ public static final int STORAGE_UTILIZATION_GIB_PER_NODE_FIELD_NUMBER = 3;
+ private int storageUtilizationGibPerNode_;
+ /**
+ *
+ *
+ *
+ * The storage utilization that the Autoscaler should be trying to achieve.
+ * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
+ * cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster;
+ * otherwise it will return INVALID_ARGUMENT error. If this value is set to 0,
+ * it will be treated as if it were set to the default value: 2560 for SSD,
+ * 8192 for HDD.
+ *
+ *
+ * int32 storage_utilization_gib_per_node = 3;
+ *
+ * @return The storageUtilizationGibPerNode.
+ */
+ @java.lang.Override
+ public int getStorageUtilizationGibPerNode() {
+ return storageUtilizationGibPerNode_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -147,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (cpuUtilizationPercent_ != 0) {
output.writeInt32(2, cpuUtilizationPercent_);
}
+ if (storageUtilizationGibPerNode_ != 0) {
+ output.writeInt32(3, storageUtilizationGibPerNode_);
+ }
unknownFields.writeTo(output);
}
@@ -159,6 +190,10 @@ public int getSerializedSize() {
if (cpuUtilizationPercent_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, cpuUtilizationPercent_);
}
+ if (storageUtilizationGibPerNode_ != 0) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeInt32Size(3, storageUtilizationGibPerNode_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -176,6 +211,7 @@ public boolean equals(final java.lang.Object obj) {
(com.google.bigtable.admin.v2.AutoscalingTargets) obj;
if (getCpuUtilizationPercent() != other.getCpuUtilizationPercent()) return false;
+ if (getStorageUtilizationGibPerNode() != other.getStorageUtilizationGibPerNode()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -189,6 +225,8 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + CPU_UTILIZATION_PERCENT_FIELD_NUMBER;
hash = (53 * hash) + getCpuUtilizationPercent();
+ hash = (37 * hash) + STORAGE_UTILIZATION_GIB_PER_NODE_FIELD_NUMBER;
+ hash = (53 * hash) + getStorageUtilizationGibPerNode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -336,6 +374,8 @@ public Builder clear() {
super.clear();
cpuUtilizationPercent_ = 0;
+ storageUtilizationGibPerNode_ = 0;
+
return this;
}
@@ -364,6 +404,7 @@ public com.google.bigtable.admin.v2.AutoscalingTargets buildPartial() {
com.google.bigtable.admin.v2.AutoscalingTargets result =
new com.google.bigtable.admin.v2.AutoscalingTargets(this);
result.cpuUtilizationPercent_ = cpuUtilizationPercent_;
+ result.storageUtilizationGibPerNode_ = storageUtilizationGibPerNode_;
onBuilt();
return result;
}
@@ -417,6 +458,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.AutoscalingTargets other)
if (other.getCpuUtilizationPercent() != 0) {
setCpuUtilizationPercent(other.getCpuUtilizationPercent());
}
+ if (other.getStorageUtilizationGibPerNode() != 0) {
+ setStorageUtilizationGibPerNode(other.getStorageUtilizationGibPerNode());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -507,6 +551,73 @@ public Builder clearCpuUtilizationPercent() {
return this;
}
+ private int storageUtilizationGibPerNode_;
+ /**
+ *
+ *
+ *
+ * The storage utilization that the Autoscaler should be trying to achieve.
+ * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
+ * cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster;
+ * otherwise it will return INVALID_ARGUMENT error. If this value is set to 0,
+ * it will be treated as if it were set to the default value: 2560 for SSD,
+ * 8192 for HDD.
+ *
+ *
+ * int32 storage_utilization_gib_per_node = 3;
+ *
+ * @return The storageUtilizationGibPerNode.
+ */
+ @java.lang.Override
+ public int getStorageUtilizationGibPerNode() {
+ return storageUtilizationGibPerNode_;
+ }
+ /**
+ *
+ *
+ *
+ * The storage utilization that the Autoscaler should be trying to achieve.
+ * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
+ * cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster;
+ * otherwise it will return INVALID_ARGUMENT error. If this value is set to 0,
+ * it will be treated as if it were set to the default value: 2560 for SSD,
+ * 8192 for HDD.
+ *
+ *
+ * int32 storage_utilization_gib_per_node = 3;
+ *
+ * @param value The storageUtilizationGibPerNode to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStorageUtilizationGibPerNode(int value) {
+
+ storageUtilizationGibPerNode_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The storage utilization that the Autoscaler should be trying to achieve.
+ * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
+ * cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster;
+ * otherwise it will return INVALID_ARGUMENT error. If this value is set to 0,
+ * it will be treated as if it were set to the default value: 2560 for SSD,
+ * 8192 for HDD.
+ *
+ *
+ * int32 storage_utilization_gib_per_node = 3;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearStorageUtilizationGibPerNode() {
+
+ storageUtilizationGibPerNode_ = 0;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java
index 965b82257303..c3b9e6e25655 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java
@@ -38,4 +38,22 @@ public interface AutoscalingTargetsOrBuilder
* @return The cpuUtilizationPercent.
*/
int getCpuUtilizationPercent();
+
+ /**
+ *
+ *
+ *
+ * The storage utilization that the Autoscaler should be trying to achieve.
+ * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
+ * cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster;
+ * otherwise it will return INVALID_ARGUMENT error. If this value is set to 0,
+ * it will be treated as if it were set to the default value: 2560 for SSD,
+ * 8192 for HDD.
+ *
+ *
+ * int32 storage_utilization_gib_per_node = 3;
+ *
+ * @return The storageUtilizationGibPerNode.
+ */
+ int getStorageUtilizationGibPerNode();
}
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 0bfe904405d1..082eaffde95a 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
@@ -71,6 +71,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -214,196 +222,207 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\0162$.google.bigtable.admin.v2.Table.View\""
+ "N\n\022DeleteTableRequest\0228\n\004name\030\001 \001(\tB*\340A\002"
+ "\372A$\n\"bigtableadmin.googleapis.com/Table\""
- + "\337\002\n\033ModifyColumnFamiliesRequest\0228\n\004name\030"
- + "\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin.googleapis."
- + "com/Table\022^\n\rmodifications\030\002 \003(\0132B.googl"
- + "e.bigtable.admin.v2.ModifyColumnFamilies"
- + "Request.ModificationB\003\340A\002\032\245\001\n\014Modificati"
- + "on\022\n\n\002id\030\001 \001(\t\0228\n\006create\030\002 \001(\0132&.google."
- + "bigtable.admin.v2.ColumnFamilyH\000\0228\n\006upda"
- + "te\030\003 \001(\0132&.google.bigtable.admin.v2.Colu"
- + "mnFamilyH\000\022\016\n\004drop\030\004 \001(\010H\000B\005\n\003mod\"[\n\037Gen"
- + "erateConsistencyTokenRequest\0228\n\004name\030\001 \001"
- + "(\tB*\340A\002\372A$\n\"bigtableadmin.googleapis.com"
- + "/Table\"=\n GenerateConsistencyTokenRespon"
- + "se\022\031\n\021consistency_token\030\001 \001(\t\"s\n\027CheckCo"
- + "nsistencyRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\""
- + "bigtableadmin.googleapis.com/Table\022\036\n\021co"
- + "nsistency_token\030\002 \001(\tB\003\340A\002\".\n\030CheckConsi"
- + "stencyResponse\022\022\n\nconsistent\030\001 \001(\010\"\346\001\n\024S"
- + "napshotTableRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A"
- + "$\n\"bigtableadmin.googleapis.com/Table\022=\n"
- + "\007cluster\030\002 \001(\tB,\340A\002\372A&\n$bigtableadmin.go"
- + "ogleapis.com/Cluster\022\030\n\013snapshot_id\030\003 \001("
- + "\tB\003\340A\002\022&\n\003ttl\030\004 \001(\0132\031.google.protobuf.Du"
- + "ration\022\023\n\013description\030\005 \001(\t\"Q\n\022GetSnapsh"
- + "otRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtabl"
- + "eadmin.googleapis.com/Snapshot\"{\n\024ListSn"
- + "apshotsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$"
- + "bigtableadmin.googleapis.com/Cluster\022\021\n\t"
- + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"g\n\025L"
- + "istSnapshotsResponse\0225\n\tsnapshots\030\001 \003(\0132"
- + "\".google.bigtable.admin.v2.Snapshot\022\027\n\017n"
- + "ext_page_token\030\002 \001(\t\"T\n\025DeleteSnapshotRe"
- + "quest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadm"
- + "in.googleapis.com/Snapshot\"\304\001\n\025SnapshotT"
- + "ableMetadata\022H\n\020original_request\030\001 \001(\0132."
- + ".google.bigtable.admin.v2.SnapshotTableR"
- + "equest\0220\n\014request_time\030\002 \001(\0132\032.google.pr"
- + "otobuf.Timestamp\022/\n\013finish_time\030\003 \001(\0132\032."
- + "google.protobuf.Timestamp\"\330\001\n\037CreateTabl"
- + "eFromSnapshotMetadata\022R\n\020original_reques"
- + "t\030\001 \001(\01328.google.bigtable.admin.v2.Creat"
- + "eTableFromSnapshotRequest\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\"\242\001\n\023CreateBackupRequest\022<\n\006parent\030\001"
- + " \001(\tB,\340A\002\372A&\n$bigtableadmin.googleapis.c"
- + "om/Cluster\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\0225\n\006ba"
- + "ckup\030\003 \001(\0132 .google.bigtable.admin.v2.Ba"
- + "ckupB\003\340A\002\"\230\001\n\024CreateBackupMetadata\022\014\n\004na"
- + "me\030\001 \001(\t\022\024\n\014source_table\030\002 \001(\t\022.\n\nstart_"
- + "time\030\003 \001(\0132\032.google.protobuf.Timestamp\022,"
- + "\n\010end_time\030\004 \001(\0132\032.google.protobuf.Times"
- + "tamp\"\202\001\n\023UpdateBackupRequest\0225\n\006backup\030\001"
- + " \001(\0132 .google.bigtable.admin.v2.BackupB\003"
- + "\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protob"
- + "uf.FieldMaskB\003\340A\002\"M\n\020GetBackupRequest\0229\n"
- + "\004name\030\001 \001(\tB+\340A\002\372A%\n#bigtableadmin.googl"
- + "eapis.com/Backup\"P\n\023DeleteBackupRequest\022"
- + "9\n\004name\030\001 \001(\tB+\340A\002\372A%\n#bigtableadmin.goo"
- + "gleapis.com/Backup\"\233\001\n\022ListBackupsReques"
- + "t\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$bigtableadmin"
- + ".googleapis.com/Cluster\022\016\n\006filter\030\002 \001(\t\022"
- + "\020\n\010order_by\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\n"
- + "page_token\030\005 \001(\t\"a\n\023ListBackupsResponse\022"
- + "1\n\007backups\030\001 \003(\0132 .google.bigtable.admin"
- + ".v2.Backup\022\027\n\017next_page_token\030\002 \001(\t2\230%\n\022"
- + "BigtableTableAdmin\022\253\001\n\013CreateTable\022,.goo"
- + "gle.bigtable.admin.v2.CreateTableRequest"
- + "\032\037.google.bigtable.admin.v2.Table\"M\202\323\344\223\002"
- + "/\"*/v2/{parent=projects/*/instances/*}/t"
- + "ables:\001*\332A\025parent,table_id,table\022\212\002\n\027Cre"
- + "ateTableFromSnapshot\0228.google.bigtable.a"
- + "dmin.v2.CreateTableFromSnapshotRequest\032\035"
- + ".google.longrunning.Operation\"\225\001\202\323\344\223\002B\"="
- + "/v2/{parent=projects/*/instances/*}/tabl"
- + "es:createFromSnapshot:\001*\332A\037parent,table_"
- + "id,source_snapshot\312A(\n\005Table\022\037CreateTabl"
- + "eFromSnapshotMetadata\022\244\001\n\nListTables\022+.g"
- + "oogle.bigtable.admin.v2.ListTablesReques"
- + "t\032,.google.bigtable.admin.v2.ListTablesR"
- + "esponse\";\202\323\344\223\002,\022*/v2/{parent=projects/*/"
- + "instances/*}/tables\332A\006parent\022\221\001\n\010GetTabl"
- + "e\022).google.bigtable.admin.v2.GetTableReq"
- + "uest\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,.googl"
- + "e.bigtable.admin.v2.DeleteTableRequest\032\026"
- + ".google.protobuf.Empty\"9\202\323\344\223\002,**/v2/{nam"
- + "e=projects/*/instances/*/tables/*}\332A\004nam"
- + "e\022\317\001\n\024ModifyColumnFamilies\0225.google.bigt"
- + "able.admin.v2.ModifyColumnFamiliesReques"
- + "t\032\037.google.bigtable.admin.v2.Table\"_\202\323\344\223"
- + "\002D\"?/v2/{name=projects/*/instances/*/tab"
- + "les/*}:modifyColumnFamilies:\001*\332A\022name,mo"
- + "difications\022\231\001\n\014DropRowRange\022-.google.bi"
- + "gtable.admin.v2.DropRowRangeRequest\032\026.go"
- + "ogle.protobuf.Empty\"B\202\323\344\223\002<\"7/v2/{name=p"
- + "rojects/*/instances/*/tables/*}:dropRowR"
- + "ange:\001*\022\350\001\n\030GenerateConsistencyToken\0229.g"
- + "oogle.bigtable.admin.v2.GenerateConsiste"
- + "ncyTokenRequest\032:.google.bigtable.admin."
- + "v2.GenerateConsistencyTokenResponse\"U\202\323\344"
- + "\223\002H\"C/v2/{name=projects/*/instances/*/ta"
- + "bles/*}:generateConsistencyToken:\001*\332A\004na"
- + "me\022\332\001\n\020CheckConsistency\0221.google.bigtabl"
- + "e.admin.v2.CheckConsistencyRequest\0322.goo"
- + "gle.bigtable.admin.v2.CheckConsistencyRe"
- + "sponse\"_\202\323\344\223\002@\";/v2/{name=projects/*/ins"
- + "tances/*/tables/*}:checkConsistency:\001*\332A"
- + "\026name,consistency_token\022\352\001\n\rSnapshotTabl"
- + "e\022..google.bigtable.admin.v2.SnapshotTab"
- + "leRequest\032\035.google.longrunning.Operation"
- + "\"\211\001\202\323\344\223\0028\"3/v2/{name=projects/*/instance"
- + "s/*/tables/*}:snapshot:\001*\332A$name,cluster"
- + ",snapshot_id,description\312A!\n\010Snapshot\022\025S"
- + "napshotTableMetadata\022\250\001\n\013GetSnapshot\022,.g"
- + "oogle.bigtable.admin.v2.GetSnapshotReque"
- + "st\032\".google.bigtable.admin.v2.Snapshot\"G"
- + "\202\323\344\223\002:\0228/v2/{name=projects/*/instances/*"
- + "/clusters/*/snapshots/*}\332A\004name\022\273\001\n\rList"
- + "Snapshots\022..google.bigtable.admin.v2.Lis"
- + "tSnapshotsRequest\032/.google.bigtable.admi"
- + "n.v2.ListSnapshotsResponse\"I\202\323\344\223\002:\0228/v2/"
- + "{parent=projects/*/instances/*/clusters/"
- + "*}/snapshots\332A\006parent\022\242\001\n\016DeleteSnapshot"
- + "\022/.google.bigtable.admin.v2.DeleteSnapsh"
- + "otRequest\032\026.google.protobuf.Empty\"G\202\323\344\223\002"
- + ":*8/v2/{name=projects/*/instances/*/clus"
- + "ters/*/snapshots/*}\332A\004name\022\340\001\n\014CreateBac"
- + "kup\022-.google.bigtable.admin.v2.CreateBac"
- + "kupRequest\032\035.google.longrunning.Operatio"
- + "n\"\201\001\202\323\344\223\002@\"6/v2/{parent=projects/*/insta"
- + "nces/*/clusters/*}/backups:\006backup\332A\027par"
- + "ent,backup_id,backup\312A\036\n\006Backup\022\024CreateB"
- + "ackupMetadata\022\240\001\n\tGetBackup\022*.google.big"
- + "table.admin.v2.GetBackupRequest\032 .google"
- + ".bigtable.admin.v2.Backup\"E\202\323\344\223\0028\0226/v2/{"
- + "name=projects/*/instances/*/clusters/*/b"
- + "ackups/*}\332A\004name\022\303\001\n\014UpdateBackup\022-.goog"
- + "le.bigtable.admin.v2.UpdateBackupRequest"
- + "\032 .google.bigtable.admin.v2.Backup\"b\202\323\344\223"
- + "\002G2=/v2/{backup.name=projects/*/instance"
- + "s/*/clusters/*/backups/*}:\006backup\332A\022back"
- + "up,update_mask\022\234\001\n\014DeleteBackup\022-.google"
- + ".bigtable.admin.v2.DeleteBackupRequest\032\026"
- + ".google.protobuf.Empty\"E\202\323\344\223\0028*6/v2/{nam"
- + "e=projects/*/instances/*/clusters/*/back"
- + "ups/*}\332A\004name\022\263\001\n\013ListBackups\022,.google.b"
- + "igtable.admin.v2.ListBackupsRequest\032-.go"
- + "ogle.bigtable.admin.v2.ListBackupsRespon"
- + "se\"G\202\323\344\223\0028\0226/v2/{parent=projects/*/insta"
- + "nces/*/clusters/*}/backups\332A\006parent\022\273\001\n\014"
- + "RestoreTable\022-.google.bigtable.admin.v2."
- + "RestoreTableRequest\032\035.google.longrunning"
- + ".Operation\"]\202\323\344\223\0027\"2/v2/{parent=projects"
- + "/*/instances/*}/tables:restore:\001*\312A\035\n\005Ta"
- + "ble\022\024RestoreTableMetadata\022\354\001\n\014GetIamPoli"
- + "cy\022\".google.iam.v1.GetIamPolicyRequest\032\025"
- + ".google.iam.v1.Policy\"\240\001\202\323\344\223\002\216\001\";/v2/{re"
- + "source=projects/*/instances/*/tables/*}:"
- + "getIamPolicy:\001*ZL\"G/v2/{resource=project"
- + "s/*/instances/*/clusters/*/backups/*}:ge"
- + "tIamPolicy:\001*\332A\010resource\022\363\001\n\014SetIamPolic"
- + "y\022\".google.iam.v1.SetIamPolicyRequest\032\025."
- + "google.iam.v1.Policy\"\247\001\202\323\344\223\002\216\001\";/v2/{res"
- + "ource=projects/*/instances/*/tables/*}:s"
- + "etIamPolicy:\001*ZL\"G/v2/{resource=projects"
- + "/*/instances/*/clusters/*/backups/*}:set"
- + "IamPolicy:\001*\332A\017resource,policy\022\244\002\n\022TestI"
- + "amPermissions\022(.google.iam.v1.TestIamPer"
- + "missionsRequest\032).google.iam.v1.TestIamP"
- + "ermissionsResponse\"\270\001\202\323\344\223\002\232\001\"A/v2/{resou"
- + "rce=projects/*/instances/*/tables/*}:tes"
- + "tIamPermissions:\001*ZR\"M/v2/{resource=proj"
- + "ects/*/instances/*/clusters/*/backups/*}"
- + ":testIamPermissions:\001*\332A\024resource,permis"
- + "sions\032\336\002\312A\034bigtableadmin.googleapis.com\322"
- + "A\273\002https://www.googleapis.com/auth/bigta"
- + "ble.admin,https://www.googleapis.com/aut"
- + "h/bigtable.admin.table,https://www.googl"
- + "eapis.com/auth/cloud-bigtable.admin,http"
- + "s://www.googleapis.com/auth/cloud-bigtab"
- + "le.admin.table,https://www.googleapis.co"
- + "m/auth/cloud-platform,https://www.google"
- + "apis.com/auth/cloud-platform.read-onlyB\337"
- + "\001\n\034com.google.bigtable.admin.v2B\027Bigtabl"
- + "eTableAdminProtoP\001Z=google.golang.org/ge"
- + "nproto/googleapis/bigtable/admin/v2;admi"
- + "n\252\002\036Google.Cloud.Bigtable.Admin.V2\312\002\036Goo"
- + "gle\\Cloud\\Bigtable\\Admin\\V2\352\002\"Google::Cl"
- + "oud::Bigtable::Admin::V2b\006proto3"
+ + "P\n\024UndeleteTableRequest\0228\n\004name\030\001 \001(\tB*\340"
+ + "A\002\372A$\n\"bigtableadmin.googleapis.com/Tabl"
+ + "e\"\203\001\n\025UndeleteTableMetadata\022\014\n\004name\030\001 \001("
+ + "\t\022.\n\nstart_time\030\002 \001(\0132\032.google.protobuf."
+ + "Timestamp\022,\n\010end_time\030\003 \001(\0132\032.google.pro"
+ + "tobuf.Timestamp\"\337\002\n\033ModifyColumnFamilies"
+ + "Request\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtablea"
+ + "dmin.googleapis.com/Table\022^\n\rmodificatio"
+ + "ns\030\002 \003(\0132B.google.bigtable.admin.v2.Modi"
+ + "fyColumnFamiliesRequest.ModificationB\003\340A"
+ + "\002\032\245\001\n\014Modification\022\n\n\002id\030\001 \001(\t\0228\n\006create"
+ + "\030\002 \001(\0132&.google.bigtable.admin.v2.Column"
+ + "FamilyH\000\0228\n\006update\030\003 \001(\0132&.google.bigtab"
+ + "le.admin.v2.ColumnFamilyH\000\022\016\n\004drop\030\004 \001(\010"
+ + "H\000B\005\n\003mod\"[\n\037GenerateConsistencyTokenReq"
+ + "uest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmi"
+ + "n.googleapis.com/Table\"=\n GenerateConsis"
+ + "tencyTokenResponse\022\031\n\021consistency_token\030"
+ + "\001 \001(\t\"s\n\027CheckConsistencyRequest\0228\n\004name"
+ + "\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin.googleapis"
+ + ".com/Table\022\036\n\021consistency_token\030\002 \001(\tB\003\340"
+ + "A\002\".\n\030CheckConsistencyResponse\022\022\n\nconsis"
+ + "tent\030\001 \001(\010\"\346\001\n\024SnapshotTableRequest\0228\n\004n"
+ + "ame\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin.googlea"
+ + "pis.com/Table\022=\n\007cluster\030\002 \001(\tB,\340A\002\372A&\n$"
+ + "bigtableadmin.googleapis.com/Cluster\022\030\n\013"
+ + "snapshot_id\030\003 \001(\tB\003\340A\002\022&\n\003ttl\030\004 \001(\0132\031.go"
+ + "ogle.protobuf.Duration\022\023\n\013description\030\005 "
+ + "\001(\t\"Q\n\022GetSnapshotRequest\022;\n\004name\030\001 \001(\tB"
+ + "-\340A\002\372A\'\n%bigtableadmin.googleapis.com/Sn"
+ + "apshot\"{\n\024ListSnapshotsRequest\022<\n\006parent"
+ + "\030\001 \001(\tB,\340A\002\372A&\n$bigtableadmin.googleapis"
+ + ".com/Cluster\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_"
+ + "token\030\003 \001(\t\"g\n\025ListSnapshotsResponse\0225\n\t"
+ + "snapshots\030\001 \003(\0132\".google.bigtable.admin."
+ + "v2.Snapshot\022\027\n\017next_page_token\030\002 \001(\t\"T\n\025"
+ + "DeleteSnapshotRequest\022;\n\004name\030\001 \001(\tB-\340A\002"
+ + "\372A\'\n%bigtableadmin.googleapis.com/Snapsh"
+ + "ot\"\304\001\n\025SnapshotTableMetadata\022H\n\020original"
+ + "_request\030\001 \001(\0132..google.bigtable.admin.v"
+ + "2.SnapshotTableRequest\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\"\330\001\n\037CreateTableFromSnapshotMetadata\022R\n"
+ + "\020original_request\030\001 \001(\01328.google.bigtabl"
+ + "e.admin.v2.CreateTableFromSnapshotReques"
+ + "t\0220\n\014request_time\030\002 \001(\0132\032.google.protobu"
+ + "f.Timestamp\022/\n\013finish_time\030\003 \001(\0132\032.googl"
+ + "e.protobuf.Timestamp\"\242\001\n\023CreateBackupReq"
+ + "uest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$bigtablead"
+ + "min.googleapis.com/Cluster\022\026\n\tbackup_id\030"
+ + "\002 \001(\tB\003\340A\002\0225\n\006backup\030\003 \001(\0132 .google.bigt"
+ + "able.admin.v2.BackupB\003\340A\002\"\230\001\n\024CreateBack"
+ + "upMetadata\022\014\n\004name\030\001 \001(\t\022\024\n\014source_table"
+ + "\030\002 \001(\t\022.\n\nstart_time\030\003 \001(\0132\032.google.prot"
+ + "obuf.Timestamp\022,\n\010end_time\030\004 \001(\0132\032.googl"
+ + "e.protobuf.Timestamp\"\202\001\n\023UpdateBackupReq"
+ + "uest\0225\n\006backup\030\001 \001(\0132 .google.bigtable.a"
+ + "dmin.v2.BackupB\003\340A\002\0224\n\013update_mask\030\002 \001(\013"
+ + "2\032.google.protobuf.FieldMaskB\003\340A\002\"M\n\020Get"
+ + "BackupRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#big"
+ + "tableadmin.googleapis.com/Backup\"P\n\023Dele"
+ + "teBackupRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#b"
+ + "igtableadmin.googleapis.com/Backup\"\233\001\n\022L"
+ + "istBackupsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A"
+ + "&\n$bigtableadmin.googleapis.com/Cluster\022"
+ + "\016\n\006filter\030\002 \001(\t\022\020\n\010order_by\030\003 \001(\t\022\021\n\tpag"
+ + "e_size\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\"a\n\023List"
+ + "BackupsResponse\0221\n\007backups\030\001 \003(\0132 .googl"
+ + "e.bigtable.admin.v2.Backup\022\027\n\017next_page_"
+ + "token\030\002 \001(\t2\341&\n\022BigtableTableAdmin\022\253\001\n\013C"
+ + "reateTable\022,.google.bigtable.admin.v2.Cr"
+ + "eateTableRequest\032\037.google.bigtable.admin"
+ + ".v2.Table\"M\202\323\344\223\002/\"*/v2/{parent=projects/"
+ + "*/instances/*}/tables:\001*\332A\025parent,table_"
+ + "id,table\022\212\002\n\027CreateTableFromSnapshot\0228.g"
+ + "oogle.bigtable.admin.v2.CreateTableFromS"
+ + "napshotRequest\032\035.google.longrunning.Oper"
+ + "ation\"\225\001\202\323\344\223\002B\"=/v2/{parent=projects/*/i"
+ + "nstances/*}/tables:createFromSnapshot:\001*"
+ + "\332A\037parent,table_id,source_snapshot\312A(\n\005T"
+ + "able\022\037CreateTableFromSnapshotMetadata\022\244\001"
+ + "\n\nListTables\022+.google.bigtable.admin.v2."
+ + "ListTablesRequest\032,.google.bigtable.admi"
+ + "n.v2.ListTablesResponse\";\202\323\344\223\002,\022*/v2/{pa"
+ + "rent=projects/*/instances/*}/tables\332A\006pa"
+ + "rent\022\221\001\n\010GetTable\022).google.bigtable.admi"
+ + "n.v2.GetTableRequest\032\037.google.bigtable.a"
+ + "dmin.v2.Table\"9\202\323\344\223\002,\022*/v2/{name=project"
+ + "s/*/instances/*/tables/*}\332A\004name\022\216\001\n\013Del"
+ + "eteTable\022,.google.bigtable.admin.v2.Dele"
+ + "teTableRequest\032\026.google.protobuf.Empty\"9"
+ + "\202\323\344\223\002,**/v2/{name=projects/*/instances/*"
+ + "/tables/*}\332A\004name\022\306\001\n\rUndeleteTable\022..go"
+ + "ogle.bigtable.admin.v2.UndeleteTableRequ"
+ + "est\032\035.google.longrunning.Operation\"f\202\323\344\223"
+ + "\0028\"3/v2/{name=projects/*/instances/*/tab"
+ + "les/*}:undelete:\001*\332A\004name\312A\036\n\005Table\022\025Und"
+ + "eleteTableMetadata\022\317\001\n\024ModifyColumnFamil"
+ + "ies\0225.google.bigtable.admin.v2.ModifyCol"
+ + "umnFamiliesRequest\032\037.google.bigtable.adm"
+ + "in.v2.Table\"_\202\323\344\223\002D\"?/v2/{name=projects/"
+ + "*/instances/*/tables/*}:modifyColumnFami"
+ + "lies:\001*\332A\022name,modifications\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\350\001\n\030GenerateCon"
+ + "sistencyToken\0229.google.bigtable.admin.v2"
+ + ".GenerateConsistencyTokenRequest\032:.googl"
+ + "e.bigtable.admin.v2.GenerateConsistencyT"
+ + "okenResponse\"U\202\323\344\223\002H\"C/v2/{name=projects"
+ + "/*/instances/*/tables/*}:generateConsist"
+ + "encyToken:\001*\332A\004name\022\332\001\n\020CheckConsistency"
+ + "\0221.google.bigtable.admin.v2.CheckConsist"
+ + "encyRequest\0322.google.bigtable.admin.v2.C"
+ + "heckConsistencyResponse\"_\202\323\344\223\002@\";/v2/{na"
+ + "me=projects/*/instances/*/tables/*}:chec"
+ + "kConsistency:\001*\332A\026name,consistency_token"
+ + "\022\352\001\n\rSnapshotTable\022..google.bigtable.adm"
+ + "in.v2.SnapshotTableRequest\032\035.google.long"
+ + "running.Operation\"\211\001\202\323\344\223\0028\"3/v2/{name=pr"
+ + "ojects/*/instances/*/tables/*}:snapshot:"
+ + "\001*\332A$name,cluster,snapshot_id,descriptio"
+ + "n\312A!\n\010Snapshot\022\025SnapshotTableMetadata\022\250\001"
+ + "\n\013GetSnapshot\022,.google.bigtable.admin.v2"
+ + ".GetSnapshotRequest\032\".google.bigtable.ad"
+ + "min.v2.Snapshot\"G\202\323\344\223\002:\0228/v2/{name=proje"
+ + "cts/*/instances/*/clusters/*/snapshots/*"
+ + "}\332A\004name\022\273\001\n\rListSnapshots\022..google.bigt"
+ + "able.admin.v2.ListSnapshotsRequest\032/.goo"
+ + "gle.bigtable.admin.v2.ListSnapshotsRespo"
+ + "nse\"I\202\323\344\223\002:\0228/v2/{parent=projects/*/inst"
+ + "ances/*/clusters/*}/snapshots\332A\006parent\022\242"
+ + "\001\n\016DeleteSnapshot\022/.google.bigtable.admi"
+ + "n.v2.DeleteSnapshotRequest\032\026.google.prot"
+ + "obuf.Empty\"G\202\323\344\223\002:*8/v2/{name=projects/*"
+ + "/instances/*/clusters/*/snapshots/*}\332A\004n"
+ + "ame\022\340\001\n\014CreateBackup\022-.google.bigtable.a"
+ + "dmin.v2.CreateBackupRequest\032\035.google.lon"
+ + "grunning.Operation\"\201\001\202\323\344\223\002@\"6/v2/{parent"
+ + "=projects/*/instances/*/clusters/*}/back"
+ + "ups:\006backup\332A\027parent,backup_id,backup\312A\036"
+ + "\n\006Backup\022\024CreateBackupMetadata\022\240\001\n\tGetBa"
+ + "ckup\022*.google.bigtable.admin.v2.GetBacku"
+ + "pRequest\032 .google.bigtable.admin.v2.Back"
+ + "up\"E\202\323\344\223\0028\0226/v2/{name=projects/*/instanc"
+ + "es/*/clusters/*/backups/*}\332A\004name\022\303\001\n\014Up"
+ + "dateBackup\022-.google.bigtable.admin.v2.Up"
+ + "dateBackupRequest\032 .google.bigtable.admi"
+ + "n.v2.Backup\"b\202\323\344\223\002G2=/v2/{backup.name=pr"
+ + "ojects/*/instances/*/clusters/*/backups/"
+ + "*}:\006backup\332A\022backup,update_mask\022\234\001\n\014Dele"
+ + "teBackup\022-.google.bigtable.admin.v2.Dele"
+ + "teBackupRequest\032\026.google.protobuf.Empty\""
+ + "E\202\323\344\223\0028*6/v2/{name=projects/*/instances/"
+ + "*/clusters/*/backups/*}\332A\004name\022\263\001\n\013ListB"
+ + "ackups\022,.google.bigtable.admin.v2.ListBa"
+ + "ckupsRequest\032-.google.bigtable.admin.v2."
+ + "ListBackupsResponse\"G\202\323\344\223\0028\0226/v2/{parent"
+ + "=projects/*/instances/*/clusters/*}/back"
+ + "ups\332A\006parent\022\273\001\n\014RestoreTable\022-.google.b"
+ + "igtable.admin.v2.RestoreTableRequest\032\035.g"
+ + "oogle.longrunning.Operation\"]\202\323\344\223\0027\"2/v2"
+ + "/{parent=projects/*/instances/*}/tables:"
+ + "restore:\001*\312A\035\n\005Table\022\024RestoreTableMetada"
+ + "ta\022\354\001\n\014GetIamPolicy\022\".google.iam.v1.GetI"
+ + "amPolicyRequest\032\025.google.iam.v1.Policy\"\240"
+ + "\001\202\323\344\223\002\216\001\";/v2/{resource=projects/*/insta"
+ + "nces/*/tables/*}:getIamPolicy:\001*ZL\"G/v2/"
+ + "{resource=projects/*/instances/*/cluster"
+ + "s/*/backups/*}:getIamPolicy:\001*\332A\010resourc"
+ + "e\022\363\001\n\014SetIamPolicy\022\".google.iam.v1.SetIa"
+ + "mPolicyRequest\032\025.google.iam.v1.Policy\"\247\001"
+ + "\202\323\344\223\002\216\001\";/v2/{resource=projects/*/instan"
+ + "ces/*/tables/*}:setIamPolicy:\001*ZL\"G/v2/{"
+ + "resource=projects/*/instances/*/clusters"
+ + "/*/backups/*}:setIamPolicy:\001*\332A\017resource"
+ + ",policy\022\244\002\n\022TestIamPermissions\022(.google."
+ + "iam.v1.TestIamPermissionsRequest\032).googl"
+ + "e.iam.v1.TestIamPermissionsResponse\"\270\001\202\323"
+ + "\344\223\002\232\001\"A/v2/{resource=projects/*/instance"
+ + "s/*/tables/*}:testIamPermissions:\001*ZR\"M/"
+ + "v2/{resource=projects/*/instances/*/clus"
+ + "ters/*/backups/*}:testIamPermissions:\001*\332"
+ + "A\024resource,permissions\032\336\002\312A\034bigtableadmi"
+ + "n.googleapis.com\322A\273\002https://www.googleap"
+ + "is.com/auth/bigtable.admin,https://www.g"
+ + "oogleapis.com/auth/bigtable.admin.table,"
+ + "https://www.googleapis.com/auth/cloud-bi"
+ + "gtable.admin,https://www.googleapis.com/"
+ + "auth/cloud-bigtable.admin.table,https://"
+ + "www.googleapis.com/auth/cloud-platform,h"
+ + "ttps://www.googleapis.com/auth/cloud-pla"
+ + "tform.read-onlyB\337\001\n\034com.google.bigtable."
+ + "admin.v2B\027BigtableTableAdminProtoP\001Z=goo"
+ + "gle.golang.org/genproto/googleapis/bigta"
+ + "ble/admin/v2;admin\252\002\036Google.Cloud.Bigtab"
+ + "le.Admin.V2\312\002\036Google\\Cloud\\Bigtable\\Admi"
+ + "n\\V2\352\002\"Google::Cloud::Bigtable::Admin::V"
+ + "2b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -518,8 +537,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Name",
});
- internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor =
+ internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor =
getDescriptor().getMessageTypes().get(10);
+ internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor,
+ new java.lang.String[] {
+ "Name",
+ });
+ internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor =
+ getDescriptor().getMessageTypes().get(11);
+ internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor,
+ new java.lang.String[] {
+ "Name", "StartTime", "EndTime",
+ });
+ internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor =
+ getDescriptor().getMessageTypes().get(12);
internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor,
@@ -537,7 +572,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Id", "Create", "Update", "Drop", "Mod",
});
internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor =
- getDescriptor().getMessageTypes().get(11);
+ getDescriptor().getMessageTypes().get(13);
internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor,
@@ -545,7 +580,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor =
- getDescriptor().getMessageTypes().get(12);
+ getDescriptor().getMessageTypes().get(14);
internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor,
@@ -553,7 +588,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ConsistencyToken",
});
internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor =
- getDescriptor().getMessageTypes().get(13);
+ getDescriptor().getMessageTypes().get(15);
internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor,
@@ -561,7 +596,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name", "ConsistencyToken",
});
internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor =
- getDescriptor().getMessageTypes().get(14);
+ getDescriptor().getMessageTypes().get(16);
internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor,
@@ -569,7 +604,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Consistent",
});
internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor =
- getDescriptor().getMessageTypes().get(15);
+ getDescriptor().getMessageTypes().get(17);
internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor,
@@ -577,7 +612,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name", "Cluster", "SnapshotId", "Ttl", "Description",
});
internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor =
- getDescriptor().getMessageTypes().get(16);
+ getDescriptor().getMessageTypes().get(18);
internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor,
@@ -585,7 +620,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor =
- getDescriptor().getMessageTypes().get(17);
+ getDescriptor().getMessageTypes().get(19);
internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor,
@@ -593,7 +628,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "PageSize", "PageToken",
});
internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor =
- getDescriptor().getMessageTypes().get(18);
+ getDescriptor().getMessageTypes().get(20);
internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor,
@@ -601,7 +636,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Snapshots", "NextPageToken",
});
internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor =
- getDescriptor().getMessageTypes().get(19);
+ getDescriptor().getMessageTypes().get(21);
internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor,
@@ -609,7 +644,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor =
- getDescriptor().getMessageTypes().get(20);
+ getDescriptor().getMessageTypes().get(22);
internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor,
@@ -617,7 +652,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"OriginalRequest", "RequestTime", "FinishTime",
});
internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor =
- getDescriptor().getMessageTypes().get(21);
+ getDescriptor().getMessageTypes().get(23);
internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor,
@@ -625,7 +660,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"OriginalRequest", "RequestTime", "FinishTime",
});
internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor =
- getDescriptor().getMessageTypes().get(22);
+ getDescriptor().getMessageTypes().get(24);
internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor,
@@ -633,7 +668,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "BackupId", "Backup",
});
internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor =
- getDescriptor().getMessageTypes().get(23);
+ getDescriptor().getMessageTypes().get(25);
internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor,
@@ -641,7 +676,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name", "SourceTable", "StartTime", "EndTime",
});
internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor =
- getDescriptor().getMessageTypes().get(24);
+ getDescriptor().getMessageTypes().get(26);
internal_static_google_bigtable_admin_v2_UpdateBackupRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor,
@@ -649,7 +684,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Backup", "UpdateMask",
});
internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor =
- getDescriptor().getMessageTypes().get(25);
+ getDescriptor().getMessageTypes().get(27);
internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor,
@@ -657,7 +692,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor =
- getDescriptor().getMessageTypes().get(26);
+ getDescriptor().getMessageTypes().get(28);
internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor,
@@ -665,7 +700,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor =
- getDescriptor().getMessageTypes().get(27);
+ getDescriptor().getMessageTypes().get(29);
internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor,
@@ -673,7 +708,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Filter", "OrderBy", "PageSize", "PageToken",
});
internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor =
- getDescriptor().getMessageTypes().get(28);
+ getDescriptor().getMessageTypes().get(30);
internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor,
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 a93744b0a988..d73caea850fa 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
@@ -102,66 +102,67 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "E_UNSPECIFIED\020\000\022\016\n\nPRODUCTION\020\001\022\017\n\013DEVEL"
+ "OPMENT\020\002:S\352AP\n%bigtableadmin.googleapis."
+ "com/Instance\022\'projects/{project}/instanc"
- + "es/{instance}\"5\n\022AutoscalingTargets\022\037\n\027c"
- + "pu_utilization_percent\030\002 \001(\005\"O\n\021Autoscal"
- + "ingLimits\022\034\n\017min_serve_nodes\030\001 \001(\005B\003\340A\002\022"
- + "\034\n\017max_serve_nodes\030\002 \001(\005B\003\340A\002\"\321\007\n\007Cluste"
- + "r\022\014\n\004name\030\001 \001(\t\022;\n\010location\030\002 \001(\tB)\340A\005\372A"
- + "#\n!locations.googleapis.com/Location\022;\n\005"
- + "state\030\003 \001(\0162\'.google.bigtable.admin.v2.C"
- + "luster.StateB\003\340A\003\022\023\n\013serve_nodes\030\004 \001(\005\022I"
- + "\n\016cluster_config\030\007 \001(\0132/.google.bigtable"
- + ".admin.v2.Cluster.ClusterConfigH\000\022H\n\024def"
- + "ault_storage_type\030\005 \001(\0162%.google.bigtabl"
- + "e.admin.v2.StorageTypeB\003\340A\005\022R\n\021encryptio"
- + "n_config\030\006 \001(\01322.google.bigtable.admin.v"
- + "2.Cluster.EncryptionConfigB\003\340A\005\032\270\001\n\030Clus"
- + "terAutoscalingConfig\022L\n\022autoscaling_limi"
- + "ts\030\001 \001(\0132+.google.bigtable.admin.v2.Auto"
- + "scalingLimitsB\003\340A\002\022N\n\023autoscaling_target"
- + "s\030\002 \001(\0132,.google.bigtable.admin.v2.Autos"
- + "calingTargetsB\003\340A\002\032o\n\rClusterConfig\022^\n\032c"
- + "luster_autoscaling_config\030\001 \001(\0132:.google"
- + ".bigtable.admin.v2.Cluster.ClusterAutosc"
- + "alingConfig\032P\n\020EncryptionConfig\022<\n\014kms_k"
- + "ey_name\030\001 \001(\tB&\372A#\n!cloudkms.googleapis."
- + "com/CryptoKey\"Q\n\005State\022\023\n\017STATE_NOT_KNOW"
- + "N\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:e\352Ab\n$bigtableadmin.goo"
- + "gleapis.com/Cluster\022:projects/{project}/"
- + "instances/{instance}/clusters/{cluster}B"
- + "\010\n\006config\"\210\004\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\035mul"
- + "ti_cluster_routing_use_any\030\005 \001(\0132>.googl"
- + "e.bigtable.admin.v2.AppProfile.MultiClus"
- + "terRoutingUseAnyH\000\022[\n\026single_cluster_rou"
- + "ting\030\006 \001(\01329.google.bigtable.admin.v2.Ap"
- + "pProfile.SingleClusterRoutingH\000\0320\n\031Multi"
- + "ClusterRoutingUseAny\022\023\n\013cluster_ids\030\001 \003("
- + "\t\032N\n\024SingleClusterRouting\022\022\n\ncluster_id\030"
- + "\001 \001(\t\022\"\n\032allow_transactional_writes\030\002 \001("
- + "\010:o\352Al\n\'bigtableadmin.googleapis.com/App"
- + "Profile\022Aprojects/{project}/instances/{i"
- + "nstance}/appProfiles/{app_profile}B\020\n\016ro"
- + "uting_policy\"\210\003\n\tHotTablet\022\014\n\004name\030\001 \001(\t"
- + "\022;\n\ntable_name\030\002 \001(\tB\'\372A$\n\"bigtableadmin"
- + ".googleapis.com/Table\0223\n\nstart_time\030\003 \001("
- + "\0132\032.google.protobuf.TimestampB\003\340A\003\0221\n\010en"
- + "d_time\030\004 \001(\0132\032.google.protobuf.Timestamp"
- + "B\003\340A\003\022\021\n\tstart_key\030\005 \001(\t\022\017\n\007end_key\030\006 \001("
- + "\t\022#\n\026node_cpu_usage_percent\030\007 \001(\002B\003\340A\003:\177"
- + "\352A|\n&bigtableadmin.googleapis.com/HotTab"
- + "let\022Rprojects/{project}/instances/{insta"
- + "nce}/clusters/{cluster}/hotTablets/{hot_"
- + "tablet}B\320\002\n\034com.google.bigtable.admin.v2"
- + "B\rInstanceProtoP\001Z=google.golang.org/gen"
- + "proto/googleapis/bigtable/admin/v2;admin"
- + "\252\002\036Google.Cloud.Bigtable.Admin.V2\312\002\036Goog"
- + "le\\Cloud\\Bigtable\\Admin\\V2\352\002\"Google::Clo"
- + "ud::Bigtable::Admin::V2\352Ax\n!cloudkms.goo"
- + "gleapis.com/CryptoKey\022Sprojects/{project"
- + "}/locations/{location}/keyRings/{key_rin"
- + "g}/cryptoKeys/{crypto_key}b\006proto3"
+ + "es/{instance}\"_\n\022AutoscalingTargets\022\037\n\027c"
+ + "pu_utilization_percent\030\002 \001(\005\022(\n storage_"
+ + "utilization_gib_per_node\030\003 \001(\005\"O\n\021Autosc"
+ + "alingLimits\022\034\n\017min_serve_nodes\030\001 \001(\005B\003\340A"
+ + "\002\022\034\n\017max_serve_nodes\030\002 \001(\005B\003\340A\002\"\321\007\n\007Clus"
+ + "ter\022\014\n\004name\030\001 \001(\t\022;\n\010location\030\002 \001(\tB)\340A\005"
+ + "\372A#\n!locations.googleapis.com/Location\022;"
+ + "\n\005state\030\003 \001(\0162\'.google.bigtable.admin.v2"
+ + ".Cluster.StateB\003\340A\003\022\023\n\013serve_nodes\030\004 \001(\005"
+ + "\022I\n\016cluster_config\030\007 \001(\0132/.google.bigtab"
+ + "le.admin.v2.Cluster.ClusterConfigH\000\022H\n\024d"
+ + "efault_storage_type\030\005 \001(\0162%.google.bigta"
+ + "ble.admin.v2.StorageTypeB\003\340A\005\022R\n\021encrypt"
+ + "ion_config\030\006 \001(\01322.google.bigtable.admin"
+ + ".v2.Cluster.EncryptionConfigB\003\340A\005\032\270\001\n\030Cl"
+ + "usterAutoscalingConfig\022L\n\022autoscaling_li"
+ + "mits\030\001 \001(\0132+.google.bigtable.admin.v2.Au"
+ + "toscalingLimitsB\003\340A\002\022N\n\023autoscaling_targ"
+ + "ets\030\002 \001(\0132,.google.bigtable.admin.v2.Aut"
+ + "oscalingTargetsB\003\340A\002\032o\n\rClusterConfig\022^\n"
+ + "\032cluster_autoscaling_config\030\001 \001(\0132:.goog"
+ + "le.bigtable.admin.v2.Cluster.ClusterAuto"
+ + "scalingConfig\032P\n\020EncryptionConfig\022<\n\014kms"
+ + "_key_name\030\001 \001(\tB&\372A#\n!cloudkms.googleapi"
+ + "s.com/CryptoKey\"Q\n\005State\022\023\n\017STATE_NOT_KN"
+ + "OWN\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002\022\014\n\010RESIZI"
+ + "NG\020\003\022\014\n\010DISABLED\020\004:e\352Ab\n$bigtableadmin.g"
+ + "oogleapis.com/Cluster\022:projects/{project"
+ + "}/instances/{instance}/clusters/{cluster"
+ + "}B\010\n\006config\"\210\004\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\035m"
+ + "ulti_cluster_routing_use_any\030\005 \001(\0132>.goo"
+ + "gle.bigtable.admin.v2.AppProfile.MultiCl"
+ + "usterRoutingUseAnyH\000\022[\n\026single_cluster_r"
+ + "outing\030\006 \001(\01329.google.bigtable.admin.v2."
+ + "AppProfile.SingleClusterRoutingH\000\0320\n\031Mul"
+ + "tiClusterRoutingUseAny\022\023\n\013cluster_ids\030\001 "
+ + "\003(\t\032N\n\024SingleClusterRouting\022\022\n\ncluster_i"
+ + "d\030\001 \001(\t\022\"\n\032allow_transactional_writes\030\002 "
+ + "\001(\010:o\352Al\n\'bigtableadmin.googleapis.com/A"
+ + "ppProfile\022Aprojects/{project}/instances/"
+ + "{instance}/appProfiles/{app_profile}B\020\n\016"
+ + "routing_policy\"\210\003\n\tHotTablet\022\014\n\004name\030\001 \001"
+ + "(\t\022;\n\ntable_name\030\002 \001(\tB\'\372A$\n\"bigtableadm"
+ + "in.googleapis.com/Table\0223\n\nstart_time\030\003 "
+ + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221\n\010"
+ + "end_time\030\004 \001(\0132\032.google.protobuf.Timesta"
+ + "mpB\003\340A\003\022\021\n\tstart_key\030\005 \001(\t\022\017\n\007end_key\030\006 "
+ + "\001(\t\022#\n\026node_cpu_usage_percent\030\007 \001(\002B\003\340A\003"
+ + ":\177\352A|\n&bigtableadmin.googleapis.com/HotT"
+ + "ablet\022Rprojects/{project}/instances/{ins"
+ + "tance}/clusters/{cluster}/hotTablets/{ho"
+ + "t_tablet}B\320\002\n\034com.google.bigtable.admin."
+ + "v2B\rInstanceProtoP\001Z=google.golang.org/g"
+ + "enproto/googleapis/bigtable/admin/v2;adm"
+ + "in\252\002\036Google.Cloud.Bigtable.Admin.V2\312\002\036Go"
+ + "ogle\\Cloud\\Bigtable\\Admin\\V2\352\002\"Google::C"
+ + "loud::Bigtable::Admin::V2\352Ax\n!cloudkms.g"
+ + "oogleapis.com/CryptoKey\022Sprojects/{proje"
+ + "ct}/locations/{location}/keyRings/{key_r"
+ + "ing}/cryptoKeys/{crypto_key}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -194,7 +195,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor,
new java.lang.String[] {
- "CpuUtilizationPercent",
+ "CpuUtilizationPercent", "StorageUtilizationGibPerNode",
});
internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor =
getDescriptor().getMessageTypes().get(2);
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java
new file mode 100644
index 000000000000..b4488d042713
--- /dev/null
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java
@@ -0,0 +1,1176 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/bigtable/admin/v2/bigtable_table_admin.proto
+
+package com.google.bigtable.admin.v2;
+
+/**
+ *
+ *
+ *
+ * Metadata type for the operation returned by
+ * [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable].
+ *
+ *
+ * Protobuf type {@code google.bigtable.admin.v2.UndeleteTableMetadata}
+ */
+public final class UndeleteTableMetadata extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UndeleteTableMetadata)
+ UndeleteTableMetadataOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use UndeleteTableMetadata.newBuilder() to construct.
+ private UndeleteTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private UndeleteTableMetadata() {
+ name_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UndeleteTableMetadata();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private UndeleteTableMetadata(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ name_ = s;
+ break;
+ }
+ case 18:
+ {
+ com.google.protobuf.Timestamp.Builder subBuilder = null;
+ if (startTime_ != null) {
+ subBuilder = startTime_.toBuilder();
+ }
+ startTime_ =
+ input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(startTime_);
+ startTime_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 26:
+ {
+ com.google.protobuf.Timestamp.Builder subBuilder = null;
+ if (endTime_ != null) {
+ subBuilder = endTime_.toBuilder();
+ }
+ endTime_ =
+ input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(endTime_);
+ endTime_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.bigtable.admin.v2.BigtableTableAdminProto
+ .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.bigtable.admin.v2.BigtableTableAdminProto
+ .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.bigtable.admin.v2.UndeleteTableMetadata.class,
+ com.google.bigtable.admin.v2.UndeleteTableMetadata.Builder.class);
+ }
+
+ public static final int NAME_FIELD_NUMBER = 1;
+ private volatile java.lang.Object name_;
+ /**
+ *
+ *
+ *
+ * The name of the table being restored.
+ *
+ *
+ * string name = 1;
+ *
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The name of the table being restored.
+ *
+ *
+ * string name = 1;
+ *
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int START_TIME_FIELD_NUMBER = 2;
+ private com.google.protobuf.Timestamp startTime_;
+ /**
+ *
+ *
+ *
+ * The time at which this operation started.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 2;
+ *
+ * @return Whether the startTime field is set.
+ */
+ @java.lang.Override
+ public boolean hasStartTime() {
+ return startTime_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The time at which this operation started.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 2;
+ *
+ * @return The startTime.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Timestamp getStartTime() {
+ return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+ }
+ /**
+ *
+ *
+ *
+ * The time at which this operation started.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 2;
+ */
+ @java.lang.Override
+ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
+ return getStartTime();
+ }
+
+ public static final int END_TIME_FIELD_NUMBER = 3;
+ private com.google.protobuf.Timestamp endTime_;
+ /**
+ *
+ *
+ *
+ * If set, the time at which this operation finished or was cancelled.
+ *
+ *
+ * .google.protobuf.Timestamp end_time = 3;
+ *
+ * @return Whether the endTime field is set.
+ */
+ @java.lang.Override
+ public boolean hasEndTime() {
+ return endTime_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * If set, the time at which this operation finished or was cancelled.
+ *
+ *
+ * .google.protobuf.Timestamp end_time = 3;
+ *
+ * @return The endTime.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Timestamp getEndTime() {
+ return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+ }
+ /**
+ *
+ *
+ *
+ * If set, the time at which this operation finished or was cancelled.
+ *
+ *
+ * .google.protobuf.Timestamp end_time = 3;
+ */
+ @java.lang.Override
+ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
+ return getEndTime();
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+ }
+ if (startTime_ != null) {
+ output.writeMessage(2, getStartTime());
+ }
+ if (endTime_ != null) {
+ output.writeMessage(3, getEndTime());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+ }
+ if (startTime_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime());
+ }
+ if (endTime_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime());
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.bigtable.admin.v2.UndeleteTableMetadata)) {
+ return super.equals(obj);
+ }
+ com.google.bigtable.admin.v2.UndeleteTableMetadata other =
+ (com.google.bigtable.admin.v2.UndeleteTableMetadata) obj;
+
+ if (!getName().equals(other.getName())) return false;
+ if (hasStartTime() != other.hasStartTime()) return false;
+ if (hasStartTime()) {
+ if (!getStartTime().equals(other.getStartTime())) return false;
+ }
+ if (hasEndTime() != other.hasEndTime()) return false;
+ if (hasEndTime()) {
+ if (!getEndTime().equals(other.getEndTime())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ if (hasStartTime()) {
+ hash = (37 * hash) + START_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + getStartTime().hashCode();
+ }
+ if (hasEndTime()) {
+ hash = (37 * hash) + END_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + getEndTime().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.bigtable.admin.v2.UndeleteTableMetadata prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * Metadata type for the operation returned by
+ * [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable].
+ *
+ *
+ * Protobuf type {@code google.bigtable.admin.v2.UndeleteTableMetadata}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UndeleteTableMetadata)
+ com.google.bigtable.admin.v2.UndeleteTableMetadataOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.bigtable.admin.v2.BigtableTableAdminProto
+ .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.bigtable.admin.v2.BigtableTableAdminProto
+ .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.bigtable.admin.v2.UndeleteTableMetadata.class,
+ com.google.bigtable.admin.v2.UndeleteTableMetadata.Builder.class);
+ }
+
+ // Construct using com.google.bigtable.admin.v2.UndeleteTableMetadata.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ name_ = "";
+
+ if (startTimeBuilder_ == null) {
+ startTime_ = null;
+ } else {
+ startTime_ = null;
+ startTimeBuilder_ = null;
+ }
+ if (endTimeBuilder_ == null) {
+ endTime_ = null;
+ } else {
+ endTime_ = null;
+ endTimeBuilder_ = null;
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.bigtable.admin.v2.BigtableTableAdminProto
+ .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.bigtable.admin.v2.UndeleteTableMetadata getDefaultInstanceForType() {
+ return com.google.bigtable.admin.v2.UndeleteTableMetadata.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.bigtable.admin.v2.UndeleteTableMetadata build() {
+ com.google.bigtable.admin.v2.UndeleteTableMetadata result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.bigtable.admin.v2.UndeleteTableMetadata buildPartial() {
+ com.google.bigtable.admin.v2.UndeleteTableMetadata result =
+ new com.google.bigtable.admin.v2.UndeleteTableMetadata(this);
+ result.name_ = name_;
+ if (startTimeBuilder_ == null) {
+ result.startTime_ = startTime_;
+ } else {
+ result.startTime_ = startTimeBuilder_.build();
+ }
+ if (endTimeBuilder_ == null) {
+ result.endTime_ = endTime_;
+ } else {
+ result.endTime_ = endTimeBuilder_.build();
+ }
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.bigtable.admin.v2.UndeleteTableMetadata) {
+ return mergeFrom((com.google.bigtable.admin.v2.UndeleteTableMetadata) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.bigtable.admin.v2.UndeleteTableMetadata other) {
+ if (other == com.google.bigtable.admin.v2.UndeleteTableMetadata.getDefaultInstance())
+ return this;
+ if (!other.getName().isEmpty()) {
+ name_ = other.name_;
+ onChanged();
+ }
+ if (other.hasStartTime()) {
+ mergeStartTime(other.getStartTime());
+ }
+ if (other.hasEndTime()) {
+ mergeEndTime(other.getEndTime());
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.bigtable.admin.v2.UndeleteTableMetadata parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage =
+ (com.google.bigtable.admin.v2.UndeleteTableMetadata) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private java.lang.Object name_ = "";
+ /**
+ *
+ *
+ *
+ * The name of the table being restored.
+ *
+ *
+ * string name = 1;
+ *
+ * @return The name.
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The name of the table being restored.
+ *
+ *
+ * string name = 1;
+ *
+ * @return The bytes for name.
+ */
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The name of the table being restored.
+ *
+ *
+ * string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The name of the table being restored.
+ *
+ *
+ * string name = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+
+ name_ = getDefaultInstance().getName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The name of the table being restored.
+ *
+ *
+ * string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Timestamp startTime_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ startTimeBuilder_;
+ /**
+ *
+ *
+ *
+ * The time at which this operation started.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 2;
+ *
+ * @return Whether the startTime field is set.
+ */
+ public boolean hasStartTime() {
+ return startTimeBuilder_ != null || startTime_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The time at which this operation started.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 2;
+ *
+ * @return The startTime.
+ */
+ public com.google.protobuf.Timestamp getStartTime() {
+ if (startTimeBuilder_ == null) {
+ return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+ } else {
+ return startTimeBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The time at which this operation started.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 2;
+ */
+ public Builder setStartTime(com.google.protobuf.Timestamp value) {
+ if (startTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ startTime_ = value;
+ onChanged();
+ } else {
+ startTimeBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The time at which this operation started.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 2;
+ */
+ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (startTimeBuilder_ == null) {
+ startTime_ = builderForValue.build();
+ onChanged();
+ } else {
+ startTimeBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The time at which this operation started.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 2;
+ */
+ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
+ if (startTimeBuilder_ == null) {
+ if (startTime_ != null) {
+ startTime_ =
+ com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
+ } else {
+ startTime_ = value;
+ }
+ onChanged();
+ } else {
+ startTimeBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The time at which this operation started.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 2;
+ */
+ public Builder clearStartTime() {
+ if (startTimeBuilder_ == null) {
+ startTime_ = null;
+ onChanged();
+ } else {
+ startTime_ = null;
+ startTimeBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The time at which this operation started.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 2;
+ */
+ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
+
+ onChanged();
+ return getStartTimeFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The time at which this operation started.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 2;
+ */
+ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
+ if (startTimeBuilder_ != null) {
+ return startTimeBuilder_.getMessageOrBuilder();
+ } else {
+ return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The time at which this operation started.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ getStartTimeFieldBuilder() {
+ if (startTimeBuilder_ == null) {
+ startTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ getStartTime(), getParentForChildren(), isClean());
+ startTime_ = null;
+ }
+ return startTimeBuilder_;
+ }
+
+ private com.google.protobuf.Timestamp endTime_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ endTimeBuilder_;
+ /**
+ *
+ *
+ *
+ * If set, the time at which this operation finished or was cancelled.
+ *
+ *
+ * .google.protobuf.Timestamp end_time = 3;
+ *
+ * @return Whether the endTime field is set.
+ */
+ public boolean hasEndTime() {
+ return endTimeBuilder_ != null || endTime_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * If set, the time at which this operation finished or was cancelled.
+ *
+ *
+ * .google.protobuf.Timestamp end_time = 3;
+ *
+ * @return The endTime.
+ */
+ public com.google.protobuf.Timestamp getEndTime() {
+ if (endTimeBuilder_ == null) {
+ return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+ } else {
+ return endTimeBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * If set, the time at which this operation finished or was cancelled.
+ *
+ *
+ * .google.protobuf.Timestamp end_time = 3;
+ */
+ public Builder setEndTime(com.google.protobuf.Timestamp value) {
+ if (endTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ endTime_ = value;
+ onChanged();
+ } else {
+ endTimeBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If set, the time at which this operation finished or was cancelled.
+ *
+ *
+ * .google.protobuf.Timestamp end_time = 3;
+ */
+ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (endTimeBuilder_ == null) {
+ endTime_ = builderForValue.build();
+ onChanged();
+ } else {
+ endTimeBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If set, the time at which this operation finished or was cancelled.
+ *
+ *
+ * .google.protobuf.Timestamp end_time = 3;
+ */
+ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
+ if (endTimeBuilder_ == null) {
+ if (endTime_ != null) {
+ endTime_ =
+ com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+ } else {
+ endTime_ = value;
+ }
+ onChanged();
+ } else {
+ endTimeBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If set, the time at which this operation finished or was cancelled.
+ *
+ *
+ * .google.protobuf.Timestamp end_time = 3;
+ */
+ public Builder clearEndTime() {
+ if (endTimeBuilder_ == null) {
+ endTime_ = null;
+ onChanged();
+ } else {
+ endTime_ = null;
+ endTimeBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If set, the time at which this operation finished or was cancelled.
+ *
+ *
+ * .google.protobuf.Timestamp end_time = 3;
+ */
+ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
+
+ onChanged();
+ return getEndTimeFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * If set, the time at which this operation finished or was cancelled.
+ *
+ *
+ * .google.protobuf.Timestamp end_time = 3;
+ */
+ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
+ if (endTimeBuilder_ != null) {
+ return endTimeBuilder_.getMessageOrBuilder();
+ } else {
+ return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * If set, the time at which this operation finished or was cancelled.
+ *
+ *
+ * .google.protobuf.Timestamp end_time = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ getEndTimeFieldBuilder() {
+ if (endTimeBuilder_ == null) {
+ endTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ getEndTime(), getParentForChildren(), isClean());
+ endTime_ = null;
+ }
+ return endTimeBuilder_;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UndeleteTableMetadata)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UndeleteTableMetadata)
+ private static final com.google.bigtable.admin.v2.UndeleteTableMetadata DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UndeleteTableMetadata();
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableMetadata getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public UndeleteTableMetadata parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new UndeleteTableMetadata(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.bigtable.admin.v2.UndeleteTableMetadata getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java
new file mode 100644
index 000000000000..11ec2851d4dd
--- /dev/null
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java
@@ -0,0 +1,120 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/bigtable/admin/v2/bigtable_table_admin.proto
+
+package com.google.bigtable.admin.v2;
+
+public interface UndeleteTableMetadataOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UndeleteTableMetadata)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * The name of the table being restored.
+ *
+ *
+ * string name = 1;
+ *
+ * @return The name.
+ */
+ java.lang.String getName();
+ /**
+ *
+ *
+ *
+ * The name of the table being restored.
+ *
+ *
+ * string name = 1;
+ *
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString getNameBytes();
+
+ /**
+ *
+ *
+ *
+ * The time at which this operation started.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 2;
+ *
+ * @return Whether the startTime field is set.
+ */
+ boolean hasStartTime();
+ /**
+ *
+ *
+ *
+ * The time at which this operation started.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 2;
+ *
+ * @return The startTime.
+ */
+ com.google.protobuf.Timestamp getStartTime();
+ /**
+ *
+ *
+ *
+ * The time at which this operation started.
+ *
+ *
+ * .google.protobuf.Timestamp start_time = 2;
+ */
+ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * If set, the time at which this operation finished or was cancelled.
+ *
+ *
+ * .google.protobuf.Timestamp end_time = 3;
+ *
+ * @return Whether the endTime field is set.
+ */
+ boolean hasEndTime();
+ /**
+ *
+ *
+ *
+ * If set, the time at which this operation finished or was cancelled.
+ *
+ *
+ * .google.protobuf.Timestamp end_time = 3;
+ *
+ * @return The endTime.
+ */
+ com.google.protobuf.Timestamp getEndTime();
+ /**
+ *
+ *
+ *
+ * If set, the time at which this operation finished or was cancelled.
+ *
+ *
+ * .google.protobuf.Timestamp end_time = 3;
+ */
+ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
+}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java
new file mode 100644
index 000000000000..8cecfc37af52
--- /dev/null
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java
@@ -0,0 +1,668 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/bigtable/admin/v2/bigtable_table_admin.proto
+
+package com.google.bigtable.admin.v2;
+
+/**
+ *
+ *
+ *
+ * Request message for
+ * [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable]
+ *
+ *
+ * Protobuf type {@code google.bigtable.admin.v2.UndeleteTableRequest}
+ */
+public final class UndeleteTableRequest extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UndeleteTableRequest)
+ UndeleteTableRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use UndeleteTableRequest.newBuilder() to construct.
+ private UndeleteTableRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private UndeleteTableRequest() {
+ name_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UndeleteTableRequest();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private UndeleteTableRequest(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ name_ = s;
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.bigtable.admin.v2.BigtableTableAdminProto
+ .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.bigtable.admin.v2.BigtableTableAdminProto
+ .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.bigtable.admin.v2.UndeleteTableRequest.class,
+ com.google.bigtable.admin.v2.UndeleteTableRequest.Builder.class);
+ }
+
+ public static final int NAME_FIELD_NUMBER = 1;
+ private volatile java.lang.Object name_;
+ /**
+ *
+ *
+ *
+ * Required. The unique name of the table to be restored.
+ * Values are of the form
+ * `projects/{project}/instances/{instance}/tables/{table}`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The unique name of the table to be restored.
+ * Values are of the form
+ * `projects/{project}/instances/{instance}/tables/{table}`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.bigtable.admin.v2.UndeleteTableRequest)) {
+ return super.equals(obj);
+ }
+ com.google.bigtable.admin.v2.UndeleteTableRequest other =
+ (com.google.bigtable.admin.v2.UndeleteTableRequest) obj;
+
+ if (!getName().equals(other.getName())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableRequest parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.bigtable.admin.v2.UndeleteTableRequest prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * Request message for
+ * [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable]
+ *
+ *
+ * Protobuf type {@code google.bigtable.admin.v2.UndeleteTableRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UndeleteTableRequest)
+ com.google.bigtable.admin.v2.UndeleteTableRequestOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.bigtable.admin.v2.BigtableTableAdminProto
+ .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.bigtable.admin.v2.BigtableTableAdminProto
+ .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.bigtable.admin.v2.UndeleteTableRequest.class,
+ com.google.bigtable.admin.v2.UndeleteTableRequest.Builder.class);
+ }
+
+ // Construct using com.google.bigtable.admin.v2.UndeleteTableRequest.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ name_ = "";
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.bigtable.admin.v2.BigtableTableAdminProto
+ .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.bigtable.admin.v2.UndeleteTableRequest getDefaultInstanceForType() {
+ return com.google.bigtable.admin.v2.UndeleteTableRequest.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.bigtable.admin.v2.UndeleteTableRequest build() {
+ com.google.bigtable.admin.v2.UndeleteTableRequest result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.bigtable.admin.v2.UndeleteTableRequest buildPartial() {
+ com.google.bigtable.admin.v2.UndeleteTableRequest result =
+ new com.google.bigtable.admin.v2.UndeleteTableRequest(this);
+ result.name_ = name_;
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.bigtable.admin.v2.UndeleteTableRequest) {
+ return mergeFrom((com.google.bigtable.admin.v2.UndeleteTableRequest) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.bigtable.admin.v2.UndeleteTableRequest other) {
+ if (other == com.google.bigtable.admin.v2.UndeleteTableRequest.getDefaultInstance())
+ return this;
+ if (!other.getName().isEmpty()) {
+ name_ = other.name_;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.bigtable.admin.v2.UndeleteTableRequest parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage =
+ (com.google.bigtable.admin.v2.UndeleteTableRequest) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private java.lang.Object name_ = "";
+ /**
+ *
+ *
+ *
+ * Required. The unique name of the table to be restored.
+ * Values are of the form
+ * `projects/{project}/instances/{instance}/tables/{table}`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The name.
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The unique name of the table to be restored.
+ * Values are of the form
+ * `projects/{project}/instances/{instance}/tables/{table}`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for name.
+ */
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The unique name of the table to be restored.
+ * Values are of the form
+ * `projects/{project}/instances/{instance}/tables/{table}`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The unique name of the table to be restored.
+ * Values are of the form
+ * `projects/{project}/instances/{instance}/tables/{table}`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+
+ name_ = getDefaultInstance().getName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The unique name of the table to be restored.
+ * Values are of the form
+ * `projects/{project}/instances/{instance}/tables/{table}`.
+ *
+ *
+ *
+ * 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.
+ */
+ public Builder setNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UndeleteTableRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UndeleteTableRequest)
+ private static final com.google.bigtable.admin.v2.UndeleteTableRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UndeleteTableRequest();
+ }
+
+ public static com.google.bigtable.admin.v2.UndeleteTableRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public UndeleteTableRequest parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new UndeleteTableRequest(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.bigtable.admin.v2.UndeleteTableRequest getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java
new file mode 100644
index 000000000000..15fe8edcae60
--- /dev/null
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java
@@ -0,0 +1,58 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/bigtable/admin/v2/bigtable_table_admin.proto
+
+package com.google.bigtable.admin.v2;
+
+public interface UndeleteTableRequestOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UndeleteTableRequest)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. The unique name of the table to be restored.
+ * Values are of the form
+ * `projects/{project}/instances/{instance}/tables/{table}`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The name.
+ */
+ java.lang.String getName();
+ /**
+ *
+ *
+ *
+ * Required. The unique name of the table to be restored.
+ * Values are of the form
+ * `projects/{project}/instances/{instance}/tables/{table}`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString getNameBytes();
+}
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 88bd870474be..92b9f690b224 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 2020 Google LLC
+// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -108,6 +108,19 @@ service BigtableTableAdmin {
option (google.api.method_signature) = "name";
}
+ // Restores a specified table which was accidentally deleted.
+ rpc UndeleteTable(UndeleteTableRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v2/{name=projects/*/instances/*/tables/*}:undelete"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "Table"
+ metadata_type: "UndeleteTableMetadata"
+ };
+ }
+
// Performs a series of column family modifications on the specified table.
// Either all or none of the modifications will occur before this method
// returns, but data requests received prior to that point may see a table
@@ -580,6 +593,33 @@ message DeleteTableRequest {
];
}
+// Request message for
+// [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable]
+message UndeleteTableRequest {
+ // Required. The unique name of the table to be restored.
+ // Values are of the form
+ // `projects/{project}/instances/{instance}/tables/{table}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "bigtableadmin.googleapis.com/Table"
+ }
+ ];
+}
+
+// Metadata type for the operation returned by
+// [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable].
+message UndeleteTableMetadata {
+ // The name of the table being restored.
+ string name = 1;
+
+ // The time at which this operation started.
+ google.protobuf.Timestamp start_time = 2;
+
+ // If set, the time at which this operation finished or was cancelled.
+ google.protobuf.Timestamp end_time = 3;
+}
+
// Request message for
// [google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies][google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies]
message ModifyColumnFamiliesRequest {
@@ -588,7 +628,7 @@ message ModifyColumnFamiliesRequest {
// The ID of the column family to be modified.
string id = 1;
- // Column familiy modifications.
+ // Column family modifications.
oneof mod {
// Create a new column family with the specified schema, or fail if
// one already exists with the given ID.
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 bbbc5bfaa610..4dbbbbbfc40a 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
@@ -115,6 +115,14 @@ message AutoscalingTargets {
// 100 (total utilization), and is limited between 10 and 80, otherwise it
// will return INVALID_ARGUMENT error.
int32 cpu_utilization_percent = 2;
+
+ // The storage utilization that the Autoscaler should be trying to achieve.
+ // This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
+ // cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster;
+ // otherwise it will return INVALID_ARGUMENT error. If this value is set to 0,
+ // it will be treated as if it were set to the default value: 2560 for SSD,
+ // 8192 for HDD.
+ int32 storage_utilization_gib_per_node = 3;
}
// Limits for the number of nodes a Cluster can autoscale up/down to.
diff --git a/proto-google-cloud-bigtable-v2/pom.xml b/proto-google-cloud-bigtable-v2/pom.xml
index 362a6e89ff9e..2d1e82fed675 100644
--- a/proto-google-cloud-bigtable-v2/pom.xml
+++ b/proto-google-cloud-bigtable-v2/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-bigtable-v2
- 2.8.1-SNAPSHOT
+ 2.9.1-SNAPSHOT
proto-google-cloud-bigtable-v2
PROTO library for proto-google-cloud-bigtable-v2
com.google.cloud
google-cloud-bigtable-parent
- 2.8.1-SNAPSHOT
+ 2.9.1-SNAPSHOT
@@ -18,14 +18,14 @@
com.google.cloud
google-cloud-bigtable-deps-bom
- 2.8.1-SNAPSHOT
+ 2.9.1-SNAPSHOT
pom
import
com.google.cloud
google-cloud-bigtable-bom
- 2.8.1-SNAPSHOT
+ 2.9.1-SNAPSHOT
pom
import
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
new file mode 100644
index 000000000000..c64592a2b422
--- /dev/null
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
@@ -0,0 +1,911 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/bigtable/v2/response_params.proto
+
+package com.google.bigtable.v2;
+
+/**
+ *
+ *
+ *
+ * Response metadata proto
+ * This is an experimental feature that will be used to get zone_id and
+ * cluster_id from response trailers to tag the metrics. This should not be
+ * used by customers directly
+ *
+ *
+ * Protobuf type {@code google.bigtable.v2.ResponseParams}
+ */
+public final class ResponseParams extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.bigtable.v2.ResponseParams)
+ ResponseParamsOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ResponseParams.newBuilder() to construct.
+ private ResponseParams(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private ResponseParams() {
+ zoneId_ = "";
+ clusterId_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ResponseParams();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private ResponseParams(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000001;
+ zoneId_ = s;
+ break;
+ }
+ case 18:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000002;
+ clusterId_ = s;
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.bigtable.v2.ResponseParamsProto
+ .internal_static_google_bigtable_v2_ResponseParams_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.bigtable.v2.ResponseParamsProto
+ .internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.bigtable.v2.ResponseParams.class,
+ com.google.bigtable.v2.ResponseParams.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int ZONE_ID_FIELD_NUMBER = 1;
+ private volatile java.lang.Object zoneId_;
+ /**
+ *
+ *
+ *
+ * The cloud bigtable zone associated with the cluster.
+ *
+ *
+ * optional string zone_id = 1;
+ *
+ * @return Whether the zoneId field is set.
+ */
+ @java.lang.Override
+ public boolean hasZoneId() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * The cloud bigtable zone associated with the cluster.
+ *
+ *
+ * optional string zone_id = 1;
+ *
+ * @return The zoneId.
+ */
+ @java.lang.Override
+ public java.lang.String getZoneId() {
+ java.lang.Object ref = zoneId_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ zoneId_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The cloud bigtable zone associated with the cluster.
+ *
+ *
+ * optional string zone_id = 1;
+ *
+ * @return The bytes for zoneId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getZoneIdBytes() {
+ java.lang.Object ref = zoneId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ zoneId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int CLUSTER_ID_FIELD_NUMBER = 2;
+ private volatile java.lang.Object clusterId_;
+ /**
+ *
+ *
+ *
+ * Identifier for a cluster that represents set of
+ * bigtable resources.
+ *
+ *
+ * optional string cluster_id = 2;
+ *
+ * @return Whether the clusterId field is set.
+ */
+ @java.lang.Override
+ public boolean hasClusterId() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Identifier for a cluster that represents set of
+ * bigtable resources.
+ *
+ *
+ * optional string cluster_id = 2;
+ *
+ * @return The clusterId.
+ */
+ @java.lang.Override
+ public java.lang.String getClusterId() {
+ java.lang.Object ref = clusterId_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ clusterId_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Identifier for a cluster that represents set of
+ * bigtable resources.
+ *
+ *
+ * optional string cluster_id = 2;
+ *
+ * @return The bytes for clusterId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getClusterIdBytes() {
+ java.lang.Object ref = clusterId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ clusterId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, zoneId_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, clusterId_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, zoneId_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.bigtable.v2.ResponseParams)) {
+ return super.equals(obj);
+ }
+ com.google.bigtable.v2.ResponseParams other = (com.google.bigtable.v2.ResponseParams) obj;
+
+ if (hasZoneId() != other.hasZoneId()) return false;
+ if (hasZoneId()) {
+ if (!getZoneId().equals(other.getZoneId())) return false;
+ }
+ if (hasClusterId() != other.hasClusterId()) return false;
+ if (hasClusterId()) {
+ if (!getClusterId().equals(other.getClusterId())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasZoneId()) {
+ hash = (37 * hash) + ZONE_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getZoneId().hashCode();
+ }
+ if (hasClusterId()) {
+ hash = (37 * hash) + CLUSTER_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getClusterId().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.bigtable.v2.ResponseParams parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.bigtable.v2.ResponseParams parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.bigtable.v2.ResponseParams parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.bigtable.v2.ResponseParams parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.bigtable.v2.ResponseParams parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.bigtable.v2.ResponseParams parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.bigtable.v2.ResponseParams parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.bigtable.v2.ResponseParams parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.bigtable.v2.ResponseParams parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.bigtable.v2.ResponseParams parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.bigtable.v2.ResponseParams parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.bigtable.v2.ResponseParams parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.bigtable.v2.ResponseParams prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * Response metadata proto
+ * This is an experimental feature that will be used to get zone_id and
+ * cluster_id from response trailers to tag the metrics. This should not be
+ * used by customers directly
+ *
+ *
+ * Protobuf type {@code google.bigtable.v2.ResponseParams}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ResponseParams)
+ com.google.bigtable.v2.ResponseParamsOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.bigtable.v2.ResponseParamsProto
+ .internal_static_google_bigtable_v2_ResponseParams_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.bigtable.v2.ResponseParamsProto
+ .internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.bigtable.v2.ResponseParams.class,
+ com.google.bigtable.v2.ResponseParams.Builder.class);
+ }
+
+ // Construct using com.google.bigtable.v2.ResponseParams.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ zoneId_ = "";
+ bitField0_ = (bitField0_ & ~0x00000001);
+ clusterId_ = "";
+ bitField0_ = (bitField0_ & ~0x00000002);
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.bigtable.v2.ResponseParamsProto
+ .internal_static_google_bigtable_v2_ResponseParams_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.bigtable.v2.ResponseParams getDefaultInstanceForType() {
+ return com.google.bigtable.v2.ResponseParams.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.bigtable.v2.ResponseParams build() {
+ com.google.bigtable.v2.ResponseParams result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.bigtable.v2.ResponseParams buildPartial() {
+ com.google.bigtable.v2.ResponseParams result =
+ new com.google.bigtable.v2.ResponseParams(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ result.zoneId_ = zoneId_;
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.clusterId_ = clusterId_;
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.bigtable.v2.ResponseParams) {
+ return mergeFrom((com.google.bigtable.v2.ResponseParams) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.bigtable.v2.ResponseParams other) {
+ if (other == com.google.bigtable.v2.ResponseParams.getDefaultInstance()) return this;
+ if (other.hasZoneId()) {
+ bitField0_ |= 0x00000001;
+ zoneId_ = other.zoneId_;
+ onChanged();
+ }
+ if (other.hasClusterId()) {
+ bitField0_ |= 0x00000002;
+ clusterId_ = other.clusterId_;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.bigtable.v2.ResponseParams parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (com.google.bigtable.v2.ResponseParams) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private int bitField0_;
+
+ private java.lang.Object zoneId_ = "";
+ /**
+ *
+ *
+ *
+ * The cloud bigtable zone associated with the cluster.
+ *
+ *
+ * optional string zone_id = 1;
+ *
+ * @return Whether the zoneId field is set.
+ */
+ public boolean hasZoneId() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * The cloud bigtable zone associated with the cluster.
+ *
+ *
+ * optional string zone_id = 1;
+ *
+ * @return The zoneId.
+ */
+ public java.lang.String getZoneId() {
+ java.lang.Object ref = zoneId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ zoneId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The cloud bigtable zone associated with the cluster.
+ *
+ *
+ * optional string zone_id = 1;
+ *
+ * @return The bytes for zoneId.
+ */
+ public com.google.protobuf.ByteString getZoneIdBytes() {
+ java.lang.Object ref = zoneId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ zoneId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The cloud bigtable zone associated with the cluster.
+ *
+ *
+ * optional string zone_id = 1;
+ *
+ * @param value The zoneId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setZoneId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ zoneId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The cloud bigtable zone associated with the cluster.
+ *
+ *
+ * optional string zone_id = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearZoneId() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ zoneId_ = getDefaultInstance().getZoneId();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The cloud bigtable zone associated with the cluster.
+ *
+ *
+ * optional string zone_id = 1;
+ *
+ * @param value The bytes for zoneId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setZoneIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ bitField0_ |= 0x00000001;
+ zoneId_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object clusterId_ = "";
+ /**
+ *
+ *
+ *
+ * Identifier for a cluster that represents set of
+ * bigtable resources.
+ *
+ *
+ * optional string cluster_id = 2;
+ *
+ * @return Whether the clusterId field is set.
+ */
+ public boolean hasClusterId() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Identifier for a cluster that represents set of
+ * bigtable resources.
+ *
+ *
+ * optional string cluster_id = 2;
+ *
+ * @return The clusterId.
+ */
+ public java.lang.String getClusterId() {
+ java.lang.Object ref = clusterId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ clusterId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Identifier for a cluster that represents set of
+ * bigtable resources.
+ *
+ *
+ * optional string cluster_id = 2;
+ *
+ * @return The bytes for clusterId.
+ */
+ public com.google.protobuf.ByteString getClusterIdBytes() {
+ java.lang.Object ref = clusterId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ clusterId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Identifier for a cluster that represents set of
+ * bigtable resources.
+ *
+ *
+ * optional string cluster_id = 2;
+ *
+ * @param value The clusterId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setClusterId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ clusterId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Identifier for a cluster that represents set of
+ * bigtable resources.
+ *
+ *
+ * optional string cluster_id = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearClusterId() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ clusterId_ = getDefaultInstance().getClusterId();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Identifier for a cluster that represents set of
+ * bigtable resources.
+ *
+ *
+ * optional string cluster_id = 2;
+ *
+ * @param value The bytes for clusterId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ bitField0_ |= 0x00000002;
+ clusterId_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ResponseParams)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.bigtable.v2.ResponseParams)
+ private static final com.google.bigtable.v2.ResponseParams DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.bigtable.v2.ResponseParams();
+ }
+
+ public static com.google.bigtable.v2.ResponseParams getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public ResponseParams parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new ResponseParams(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.bigtable.v2.ResponseParams getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java
new file mode 100644
index 000000000000..118eef7410d8
--- /dev/null
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java
@@ -0,0 +1,102 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/bigtable/v2/response_params.proto
+
+package com.google.bigtable.v2;
+
+public interface ResponseParamsOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ResponseParams)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * The cloud bigtable zone associated with the cluster.
+ *
+ *
+ * optional string zone_id = 1;
+ *
+ * @return Whether the zoneId field is set.
+ */
+ boolean hasZoneId();
+ /**
+ *
+ *
+ *
+ * The cloud bigtable zone associated with the cluster.
+ *
+ *
+ * optional string zone_id = 1;
+ *
+ * @return The zoneId.
+ */
+ java.lang.String getZoneId();
+ /**
+ *
+ *
+ *
+ * The cloud bigtable zone associated with the cluster.
+ *
+ *
+ * optional string zone_id = 1;
+ *
+ * @return The bytes for zoneId.
+ */
+ com.google.protobuf.ByteString getZoneIdBytes();
+
+ /**
+ *
+ *
+ *
+ * Identifier for a cluster that represents set of
+ * bigtable resources.
+ *
+ *
+ * optional string cluster_id = 2;
+ *
+ * @return Whether the clusterId field is set.
+ */
+ boolean hasClusterId();
+ /**
+ *
+ *
+ *
+ * Identifier for a cluster that represents set of
+ * bigtable resources.
+ *
+ *
+ * optional string cluster_id = 2;
+ *
+ * @return The clusterId.
+ */
+ java.lang.String getClusterId();
+ /**
+ *
+ *
+ *
+ * Identifier for a cluster that represents set of
+ * bigtable resources.
+ *
+ *
+ * optional string cluster_id = 2;
+ *
+ * @return The bytes for clusterId.
+ */
+ com.google.protobuf.ByteString getClusterIdBytes();
+}
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java
new file mode 100644
index 000000000000..9bfba6440505
--- /dev/null
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java
@@ -0,0 +1,67 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/bigtable/v2/response_params.proto
+
+package com.google.bigtable.v2;
+
+public final class ResponseParamsProto {
+ private ResponseParamsProto() {}
+
+ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_bigtable_v2_ResponseParams_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ return descriptor;
+ }
+
+ private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+ static {
+ java.lang.String[] descriptorData = {
+ "\n(google/bigtable/v2/response_params.pro"
+ + "to\022\022google.bigtable.v2\"Z\n\016ResponseParams"
+ + "\022\024\n\007zone_id\030\001 \001(\tH\000\210\001\001\022\027\n\ncluster_id\030\002 \001"
+ + "(\tH\001\210\001\001B\n\n\010_zone_idB\r\n\013_cluster_idB\277\001\n\026c"
+ + "om.google.bigtable.v2B\023ResponseParamsPro"
+ + "toP\001Z:google.golang.org/genproto/googlea"
+ + "pis/bigtable/v2;bigtable\252\002\030Google.Cloud."
+ + "Bigtable.V2\312\002\030Google\\Cloud\\Bigtable\\V2\352\002"
+ + "\033Google::Cloud::Bigtable::V2b\006proto3"
+ };
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
+ internal_static_google_bigtable_v2_ResponseParams_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_bigtable_v2_ResponseParams_descriptor,
+ new java.lang.String[] {
+ "ZoneId", "ClusterId", "ZoneId", "ClusterId",
+ });
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/response_params.proto b/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/response_params.proto
new file mode 100644
index 000000000000..a8105911cab0
--- /dev/null
+++ b/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/response_params.proto
@@ -0,0 +1,38 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.bigtable.v2;
+
+option csharp_namespace = "Google.Cloud.Bigtable.V2";
+option go_package = "google.golang.org/genproto/googleapis/bigtable/v2;bigtable";
+option java_multiple_files = true;
+option java_outer_classname = "ResponseParamsProto";
+option java_package = "com.google.bigtable.v2";
+option php_namespace = "Google\\Cloud\\Bigtable\\V2";
+option ruby_package = "Google::Cloud::Bigtable::V2";
+
+// Response metadata proto
+// This is an experimental feature that will be used to get zone_id and
+// cluster_id from response trailers to tag the metrics. This should not be
+// used by customers directly
+message ResponseParams {
+ // The cloud bigtable zone associated with the cluster.
+ optional string zone_id = 1;
+
+ // Identifier for a cluster that represents set of
+ // bigtable resources.
+ optional string cluster_id = 2;
+}
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index bd8d9619a21e..088afd3126df 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
google-cloud-bigtable
- 2.8.0
+ 2.9.0
diff --git a/samples/native-image-sample/pom.xml b/samples/native-image-sample/pom.xml
index 861190f0787d..40c88571a5a5 100644
--- a/samples/native-image-sample/pom.xml
+++ b/samples/native-image-sample/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
libraries-bom
- 25.4.0
+ 26.0.0
pom
import
@@ -89,7 +89,7 @@
org.graalvm.buildtools
junit-platform-native
- 0.9.12
+ 0.9.13
test
@@ -99,7 +99,7 @@
org.graalvm.buildtools
native-maven-plugin
- 0.9.12
+ 0.9.13
true
com.example.bigtable.NativeImageBigtableSample
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 6ef2c48ae778..ee6a0e9bfb16 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-bigtable
- 2.8.1-SNAPSHOT
+ 2.9.1-SNAPSHOT
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 9b5e24c2e73a..23bf19454d64 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -30,7 +30,7 @@
com.google.cloud
libraries-bom
- 25.4.0
+ 26.0.0
pom
import
diff --git a/versions.txt b/versions.txt
index 2bcd3fb41def..8aa7370dcd79 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,10 +1,10 @@
# Format:
# module:released-version:current-version
-google-cloud-bigtable:2.8.0:2.8.1-SNAPSHOT
-grpc-google-cloud-bigtable-admin-v2:2.8.0:2.8.1-SNAPSHOT
-grpc-google-cloud-bigtable-v2:2.8.0:2.8.1-SNAPSHOT
-proto-google-cloud-bigtable-admin-v2:2.8.0:2.8.1-SNAPSHOT
-proto-google-cloud-bigtable-v2:2.8.0:2.8.1-SNAPSHOT
-google-cloud-bigtable-emulator:0.145.0:0.145.1-SNAPSHOT
-google-cloud-bigtable-emulator-core:2.8.0:2.8.1-SNAPSHOT
+google-cloud-bigtable:2.9.0:2.9.1-SNAPSHOT
+grpc-google-cloud-bigtable-admin-v2:2.9.0:2.9.1-SNAPSHOT
+grpc-google-cloud-bigtable-v2:2.9.0:2.9.1-SNAPSHOT
+proto-google-cloud-bigtable-admin-v2:2.9.0:2.9.1-SNAPSHOT
+proto-google-cloud-bigtable-v2:2.9.0:2.9.1-SNAPSHOT
+google-cloud-bigtable-emulator:0.146.0:0.146.1-SNAPSHOT
+google-cloud-bigtable-emulator-core:2.9.0:2.9.1-SNAPSHOT