va
return this;
}
+ private com.google.protobuf.Timestamp createTime_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ createTimeBuilder_;
+ /**
+ *
+ *
+ *
+ * Output only. A server-assigned timestamp representing when this Instance was created.
+ * For instances created before this field was added (August 2021), this value
+ * is `seconds: 0, nanos: 1`.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the createTime field is set.
+ */
+ public boolean hasCreateTime() {
+ return createTimeBuilder_ != null || createTime_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. A server-assigned timestamp representing when this Instance was created.
+ * For instances created before this field was added (August 2021), this value
+ * is `seconds: 0, nanos: 1`.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The createTime.
+ */
+ public com.google.protobuf.Timestamp getCreateTime() {
+ if (createTimeBuilder_ == null) {
+ return createTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : createTime_;
+ } else {
+ return createTimeBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. A server-assigned timestamp representing when this Instance was created.
+ * For instances created before this field was added (August 2021), this value
+ * is `seconds: 0, nanos: 1`.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
+ if (createTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ createTime_ = value;
+ onChanged();
+ } else {
+ createTimeBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. A server-assigned timestamp representing when this Instance was created.
+ * For instances created before this field was added (August 2021), this value
+ * is `seconds: 0, nanos: 1`.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (createTimeBuilder_ == null) {
+ createTime_ = builderForValue.build();
+ onChanged();
+ } else {
+ createTimeBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. A server-assigned timestamp representing when this Instance was created.
+ * For instances created before this field was added (August 2021), this value
+ * is `seconds: 0, nanos: 1`.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
+ if (createTimeBuilder_ == null) {
+ if (createTime_ != null) {
+ createTime_ =
+ com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+ } else {
+ createTime_ = value;
+ }
+ onChanged();
+ } else {
+ createTimeBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. A server-assigned timestamp representing when this Instance was created.
+ * For instances created before this field was added (August 2021), this value
+ * is `seconds: 0, nanos: 1`.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearCreateTime() {
+ if (createTimeBuilder_ == null) {
+ createTime_ = null;
+ onChanged();
+ } else {
+ createTime_ = null;
+ createTimeBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. A server-assigned timestamp representing when this Instance was created.
+ * For instances created before this field was added (August 2021), this value
+ * is `seconds: 0, nanos: 1`.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
+
+ onChanged();
+ return getCreateTimeFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Output only. A server-assigned timestamp representing when this Instance was created.
+ * For instances created before this field was added (August 2021), this value
+ * is `seconds: 0, nanos: 1`.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
+ if (createTimeBuilder_ != null) {
+ return createTimeBuilder_.getMessageOrBuilder();
+ } else {
+ return createTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : createTime_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. A server-assigned timestamp representing when this Instance was created.
+ * For instances created before this field was added (August 2021), this value
+ * is `seconds: 0, nanos: 1`.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ getCreateTimeFieldBuilder() {
+ if (createTimeBuilder_ == null) {
+ createTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ getCreateTime(), getParentForChildren(), isClean());
+ createTime_ = null;
+ }
+ return createTimeBuilder_;
+ }
+
@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/InstanceOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java
index fd555df3fa..6de580202b 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java
@@ -229,4 +229,48 @@ public interface InstanceOrBuilder
* map<string, string> labels = 5;
*/
java.lang.String getLabelsOrThrow(java.lang.String key);
+
+ /**
+ *
+ *
+ *
+ * Output only. A server-assigned timestamp representing when this Instance was created.
+ * For instances created before this field was added (August 2021), this value
+ * is `seconds: 0, nanos: 1`.
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the createTime field is set.
+ */
+ boolean hasCreateTime();
+ /**
+ *
+ *
+ *
+ * Output only. A server-assigned timestamp representing when this Instance was created.
+ * For instances created before this field was added (August 2021), this value
+ * is `seconds: 0, nanos: 1`.
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The createTime.
+ */
+ com.google.protobuf.Timestamp getCreateTime();
+ /**
+ *
+ *
+ *
+ * Output only. A server-assigned timestamp representing when this Instance was created.
+ * For instances created before this field was added (August 2021), this value
+ * is `seconds: 0, nanos: 1`.
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
}
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 85f87a8ec8..2495621269 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
@@ -68,55 +68,58 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "o\022\030google.bigtable.admin.v2\032\037google/api/"
+ "field_behavior.proto\032\031google/api/resourc"
+ "e.proto\032%google/bigtable/admin/v2/common"
- + ".proto\"\335\003\n\010Instance\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031"
- + "\n\014display_name\030\002 \001(\tB\003\340A\002\0227\n\005state\030\003 \001(\016"
- + "2(.google.bigtable.admin.v2.Instance.Sta"
- + "te\0225\n\004type\030\004 \001(\0162\'.google.bigtable.admin"
- + ".v2.Instance.Type\022>\n\006labels\030\005 \003(\0132..goog"
- + "le.bigtable.admin.v2.Instance.LabelsEntr"
- + "y\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002"
- + " \001(\t:\0028\001\"5\n\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t"
- + "\n\005READY\020\001\022\014\n\010CREATING\020\002\"=\n\004Type\022\024\n\020TYPE_"
- + "UNSPECIFIED\020\000\022\016\n\nPRODUCTION\020\001\022\017\n\013DEVELOP"
- + "MENT\020\002:N\352AK\n bigtable.googleapis.com/Ins"
- + "tance\022\'projects/{project}/instances/{ins"
- + "tance}\"\315\004\n\007Cluster\022\021\n\004name\030\001 \001(\tB\003\340A\003\0228\n"
- + "\010location\030\002 \001(\tB&\372A#\n!locations.googleap"
- + "is.com/Location\022;\n\005state\030\003 \001(\0162\'.google."
- + "bigtable.admin.v2.Cluster.StateB\003\340A\003\022\030\n\013"
- + "serve_nodes\030\004 \001(\005B\003\340A\002\022C\n\024default_storag"
- + "e_type\030\005 \001(\0162%.google.bigtable.admin.v2."
- + "StorageType\022R\n\021encryption_config\030\006 \001(\01322"
- + ".google.bigtable.admin.v2.Cluster.Encryp"
- + "tionConfigB\003\340A\005\032P\n\020EncryptionConfig\022<\n\014k"
- + "ms_key_name\030\001 \001(\tB&\372A#\n!cloudkms.googlea"
- + "pis.com/CryptoKey\"Q\n\005State\022\023\n\017STATE_NOT_"
- + "KNOWN\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002\022\014\n\010RESI"
- + "ZING\020\003\022\014\n\010DISABLED\020\004:`\352A]\n\037bigtable.goog"
- + "leapis.com/Cluster\022:projects/{project}/i"
- + "nstances/{instance}/clusters/{cluster}\"\203"
- + "\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\035multi_cluster_"
- + "routing_use_any\030\005 \001(\0132>.google.bigtable."
- + "admin.v2.AppProfile.MultiClusterRoutingU"
- + "seAnyH\000\022[\n\026single_cluster_routing\030\006 \001(\0132"
- + "9.google.bigtable.admin.v2.AppProfile.Si"
- + "ngleClusterRoutingH\000\0320\n\031MultiClusterRout"
- + "ingUseAny\022\023\n\013cluster_ids\030\001 \003(\t\032N\n\024Single"
- + "ClusterRouting\022\022\n\ncluster_id\030\001 \001(\t\022\"\n\032al"
- + "low_transactional_writes\030\002 \001(\010:j\352Ag\n\"big"
- + "table.googleapis.com/AppProfile\022Aproject"
- + "s/{project}/instances/{instance}/appProf"
- + "iles/{app_profile}B\020\n\016routing_policyB\320\002\n"
- + "\034com.google.bigtable.admin.v2B\rInstanceP"
- + "rotoP\001Z=google.golang.org/genproto/googl"
- + "eapis/bigtable/admin/v2;admin\252\002\036Google.C"
- + "loud.Bigtable.Admin.V2\312\002\036Google\\Cloud\\Bi"
- + "gtable\\Admin\\V2\352\002\"Google::Cloud::Bigtabl"
- + "e::Admin::V2\352Ax\n!cloudkms.googleapis.com"
- + "/CryptoKey\022Sprojects/{project}/locations"
- + "/{location}/keyRings/{key_ring}/cryptoKe"
- + "ys/{crypto_key}b\006proto3"
+ + ".proto\032\037google/protobuf/timestamp.proto\032"
+ + "\034google/api/annotations.proto\"\230\004\n\010Instan"
+ + "ce\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 "
+ + "\001(\tB\003\340A\002\0227\n\005state\030\003 \001(\0162(.google.bigtabl"
+ + "e.admin.v2.Instance.State\0225\n\004type\030\004 \001(\0162"
+ + "\'.google.bigtable.admin.v2.Instance.Type"
+ + "\022>\n\006labels\030\005 \003(\0132..google.bigtable.admin"
+ + ".v2.Instance.LabelsEntry\0224\n\013create_time\030"
+ + "\007 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\032-"
+ + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001("
+ + "\t:\0028\001\"5\n\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005R"
+ + "EADY\020\001\022\014\n\010CREATING\020\002\"=\n\004Type\022\024\n\020TYPE_UNS"
+ + "PECIFIED\020\000\022\016\n\nPRODUCTION\020\001\022\017\n\013DEVELOPMEN"
+ + "T\020\002:S\352AP\n%bigtableadmin.googleapis.com/I"
+ + "nstance\022\'projects/{project}/instances/{i"
+ + "nstance}\"\322\004\n\007Cluster\022\021\n\004name\030\001 \001(\tB\003\340A\003\022"
+ + "8\n\010location\030\002 \001(\tB&\372A#\n!locations.google"
+ + "apis.com/Location\022;\n\005state\030\003 \001(\0162\'.googl"
+ + "e.bigtable.admin.v2.Cluster.StateB\003\340A\003\022\030"
+ + "\n\013serve_nodes\030\004 \001(\005B\003\340A\002\022C\n\024default_stor"
+ + "age_type\030\005 \001(\0162%.google.bigtable.admin.v"
+ + "2.StorageType\022R\n\021encryption_config\030\006 \001(\013"
+ + "22.google.bigtable.admin.v2.Cluster.Encr"
+ + "yptionConfigB\003\340A\005\032P\n\020EncryptionConfig\022<\n"
+ + "\014kms_key_name\030\001 \001(\tB&\372A#\n!cloudkms.googl"
+ + "eapis.com/CryptoKey\"Q\n\005State\022\023\n\017STATE_NO"
+ + "T_KNOWN\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002\022\014\n\010RE"
+ + "SIZING\020\003\022\014\n\010DISABLED\020\004:e\352Ab\n$bigtableadm"
+ + "in.googleapis.com/Cluster\022:projects/{pro"
+ + "ject}/instances/{instance}/clusters/{clu"
+ + "ster}\"\210\004\n\nAppProfile\022\014\n\004name\030\001 \001(\t\022\014\n\004et"
+ + "ag\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022g\n\035multi_c"
+ + "luster_routing_use_any\030\005 \001(\0132>.google.bi"
+ + "gtable.admin.v2.AppProfile.MultiClusterR"
+ + "outingUseAnyH\000\022[\n\026single_cluster_routing"
+ + "\030\006 \001(\01329.google.bigtable.admin.v2.AppPro"
+ + "file.SingleClusterRoutingH\000\0320\n\031MultiClus"
+ + "terRoutingUseAny\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\352"
+ + "Al\n\'bigtableadmin.googleapis.com/AppProf"
+ + "ile\022Aprojects/{project}/instances/{insta"
+ + "nce}/appProfiles/{app_profile}B\020\n\016routin"
+ + "g_policyB\320\002\n\034com.google.bigtable.admin.v"
+ + "2B\rInstanceProtoP\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::V2\352Ax\n!cloudkms.go"
+ + "ogleapis.com/CryptoKey\022Sprojects/{projec"
+ + "t}/locations/{location}/keyRings/{key_ri"
+ + "ng}/cryptoKeys/{crypto_key}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -125,6 +128,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.bigtable.admin.v2.CommonProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ com.google.api.AnnotationsProto.getDescriptor(),
});
internal_static_google_bigtable_admin_v2_Instance_descriptor =
getDescriptor().getMessageTypes().get(0);
@@ -132,7 +137,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_bigtable_admin_v2_Instance_descriptor,
new java.lang.String[] {
- "Name", "DisplayName", "State", "Type", "Labels",
+ "Name", "DisplayName", "State", "Type", "Labels", "CreateTime",
});
internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor =
internal_static_google_bigtable_admin_v2_Instance_descriptor.getNestedTypes().get(0);
@@ -198,6 +203,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.bigtable.admin.v2.CommonProto.getDescriptor();
+ com.google.protobuf.TimestampProto.getDescriptor();
+ com.google.api.AnnotationsProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java
index 4ccbcdc420..ce53228609 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java
@@ -272,10 +272,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_);
}
if (pageSize_ != 0) {
@@ -290,10 +290,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_);
}
if (pageSize_ != 0) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java
index ba93c0705e..4533e82726 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java
@@ -353,7 +353,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < appProfiles_.size(); i++) {
output.writeMessage(1, appProfiles_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
}
for (int i = 0; i < failedLocations_.size(); i++) {
@@ -371,7 +371,7 @@ public int getSerializedSize() {
for (int i = 0; i < appProfiles_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, appProfiles_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
}
{
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java
index 8b46d73189..5972dcbb63 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java
@@ -471,19 +471,19 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
- if (!getFilterBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_);
}
- if (!getOrderByBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, orderBy_);
}
if (pageSize_ != 0) {
output.writeInt32(4, pageSize_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, pageToken_);
}
unknownFields.writeTo(output);
@@ -495,19 +495,19 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
- if (!getFilterBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_);
}
- if (!getOrderByBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, orderBy_);
}
if (pageSize_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java
index 8c9138a8ff..1b331ac6f5 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java
@@ -266,7 +266,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < backups_.size(); i++) {
output.writeMessage(1, backups_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
}
unknownFields.writeTo(output);
@@ -281,7 +281,7 @@ public int getSerializedSize() {
for (int i = 0; i < backups_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, backups_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java
index 2d1a2cf256..2913acd14d 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java
@@ -241,10 +241,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_);
}
unknownFields.writeTo(output);
@@ -256,10 +256,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java
index b3a4623430..07f9a5a4c7 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java
@@ -356,7 +356,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < failedLocations_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, failedLocations_.getRaw(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nextPageToken_);
}
unknownFields.writeTo(output);
@@ -379,7 +379,7 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getFailedLocationsList().size();
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java
index 020341106c..1f5fa29dbb 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java
@@ -237,10 +237,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_);
}
unknownFields.writeTo(output);
@@ -252,10 +252,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java
index df97139dc7..eb1410fc9e 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java
@@ -360,7 +360,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < failedLocations_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, failedLocations_.getRaw(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nextPageToken_);
}
unknownFields.writeTo(output);
@@ -383,7 +383,7 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getFailedLocationsList().size();
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java
index 9a34175110..9b3da4debc 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java
@@ -272,13 +272,13 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
if (pageSize_ != 0) {
output.writeInt32(2, pageSize_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
}
unknownFields.writeTo(output);
@@ -290,13 +290,13 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
if (pageSize_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java
index 555fc82bdb..0242d97ce6 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java
@@ -271,7 +271,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < snapshots_.size(); i++) {
output.writeMessage(1, snapshots_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
}
unknownFields.writeTo(output);
@@ -286,7 +286,7 @@ public int getSerializedSize() {
for (int i = 0; i < snapshots_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, snapshots_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java
index c3681d5a0c..59e4a03792 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java
@@ -313,13 +313,13 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
if (view_ != com.google.bigtable.admin.v2.Table.View.VIEW_UNSPECIFIED.getNumber()) {
output.writeEnum(2, view_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
}
if (pageSize_ != 0) {
@@ -334,13 +334,13 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
if (view_ != com.google.bigtable.admin.v2.Table.View.VIEW_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_);
}
- if (!getPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
}
if (pageSize_ != 0) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java
index 4391d17e08..fc0ec3f662 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java
@@ -267,7 +267,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < tables_.size(); i++) {
output.writeMessage(1, tables_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
}
unknownFields.writeTo(output);
@@ -282,7 +282,7 @@ public int getSerializedSize() {
for (int i = 0; i < tables_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tables_.get(i));
}
- if (!getNextPageTokenBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java
index 7210f68aca..a8afbabf6b 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java
@@ -657,7 +657,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
if (modCase_ == 2) {
@@ -678,7 +678,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
if (modCase_ == 2) {
@@ -1925,7 +1925,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
for (int i = 0; i < modifications_.size(); i++) {
@@ -1940,7 +1940,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
for (int i = 0; i < modifications_.size(); i++) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
index 54dbf0b734..e0d2cccfab 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
@@ -241,7 +241,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (progress_ != null) {
@@ -256,7 +256,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (progress_ != null) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java
index 61980e5447..42c7fcd1fd 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java
@@ -450,7 +450,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (sourceType_
@@ -461,7 +461,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (sourceInfoCase_ == 3) {
output.writeMessage(3, (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_);
}
- if (!getOptimizeTableOperationNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(optimizeTableOperationName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, optimizeTableOperationName_);
}
if (progress_ != null) {
@@ -476,7 +476,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (sourceType_
@@ -489,7 +489,7 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
3, (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_);
}
- if (!getOptimizeTableOperationNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(optimizeTableOperationName_)) {
size +=
com.google.protobuf.GeneratedMessageV3.computeStringSize(4, optimizeTableOperationName_);
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
index 60162d220f..794d623b03 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
@@ -370,10 +370,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
- if (!getTableIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tableId_);
}
if (sourceCase_ == 3) {
@@ -388,10 +388,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getParentBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
- if (!getTableIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tableId_);
}
if (sourceCase_ == 3) {
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java
index 4d6db1d7a0..cabb53546b 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java
@@ -662,7 +662,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (sourceTable_ != null) {
@@ -680,7 +680,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (state_ != com.google.bigtable.admin.v2.Snapshot.State.STATE_NOT_KNOWN.getNumber()) {
output.writeEnum(6, state_);
}
- if (!getDescriptionBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, description_);
}
unknownFields.writeTo(output);
@@ -692,7 +692,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (sourceTable_ != null) {
@@ -710,7 +710,7 @@ public int getSerializedSize() {
if (state_ != com.google.bigtable.admin.v2.Snapshot.State.STATE_NOT_KNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_);
}
- if (!getDescriptionBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, description_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java
index f031f08158..643d5522d7 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java
@@ -441,19 +441,19 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
- if (!getClusterBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cluster_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cluster_);
}
- if (!getSnapshotIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(snapshotId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, snapshotId_);
}
if (ttl_ != null) {
output.writeMessage(4, getTtl());
}
- if (!getDescriptionBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_);
}
unknownFields.writeTo(output);
@@ -465,19 +465,19 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
- if (!getClusterBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cluster_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cluster_);
}
- if (!getSnapshotIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(snapshotId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, snapshotId_);
}
if (ttl_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTtl());
}
- if (!getDescriptionBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java
index c319d8b89f..9ed5da936d 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java
@@ -2580,7 +2580,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
@@ -2604,7 +2604,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
for (java.util.Map.Entry
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java
index eafc54bad8..f82367733f 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java
@@ -97,7 +97,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "_type\030\001 \001(\0162+.google.bigtable.admin.v2.R"
+ "estoreSourceType\022;\n\013backup_info\030\002 \001(\0132$."
+ "google.bigtable.admin.v2.BackupInfoH\000B\r\n"
- + "\013source_info\"\330\010\n\005Table\022\014\n\004name\030\001 \001(\t\022J\n\016"
+ + "\013source_info\"\335\010\n\005Table\022\014\n\004name\030\001 \001(\t\022J\n\016"
+ "cluster_states\030\002 \003(\01322.google.bigtable.a"
+ "dmin.v2.Table.ClusterStatesEntry\022L\n\017colu"
+ "mn_families\030\003 \003(\01323.google.bigtable.admi"
@@ -122,69 +122,70 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "MP_GRANULARITY_UNSPECIFIED\020\000\022\n\n\006MILLIS\020\001"
+ "\"q\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\r\n\tNAME_O"
+ "NLY\020\001\022\017\n\013SCHEMA_VIEW\020\002\022\024\n\020REPLICATION_VI"
- + "EW\020\003\022\023\n\017ENCRYPTION_VIEW\020\005\022\010\n\004FULL\020\004:Z\352AW"
- + "\n\035bigtable.googleapis.com/Table\0226project"
- + "s/{project}/instances/{instance}/tables/"
- + "{table}\"A\n\014ColumnFamily\0221\n\007gc_rule\030\001 \001(\013"
- + "2 .google.bigtable.admin.v2.GcRule\"\325\002\n\006G"
- + "cRule\022\032\n\020max_num_versions\030\001 \001(\005H\000\022,\n\007max"
- + "_age\030\002 \001(\0132\031.google.protobuf.DurationH\000\022"
- + "E\n\014intersection\030\003 \001(\0132-.google.bigtable."
- + "admin.v2.GcRule.IntersectionH\000\0227\n\005union\030"
- + "\004 \001(\0132&.google.bigtable.admin.v2.GcRule."
- + "UnionH\000\032?\n\014Intersection\022/\n\005rules\030\001 \003(\0132 "
- + ".google.bigtable.admin.v2.GcRule\0328\n\005Unio"
- + "n\022/\n\005rules\030\001 \003(\0132 .google.bigtable.admin"
- + ".v2.GcRuleB\006\n\004rule\"\331\002\n\016EncryptionInfo\022U\n"
- + "\017encryption_type\030\003 \001(\01627.google.bigtable"
- + ".admin.v2.EncryptionInfo.EncryptionTypeB"
- + "\003\340A\003\0222\n\021encryption_status\030\004 \001(\0132\022.google"
- + ".rpc.StatusB\003\340A\003\022I\n\017kms_key_version\030\002 \001("
- + "\tB0\340A\003\372A*\n(cloudkms.googleapis.com/Crypt"
- + "oKeyVersion\"q\n\016EncryptionType\022\037\n\033ENCRYPT"
- + "ION_TYPE_UNSPECIFIED\020\000\022\035\n\031GOOGLE_DEFAULT"
- + "_ENCRYPTION\020\001\022\037\n\033CUSTOMER_MANAGED_ENCRYP"
- + "TION\020\002\"\307\003\n\010Snapshot\022\014\n\004name\030\001 \001(\t\0225\n\014sou"
- + "rce_table\030\002 \001(\0132\037.google.bigtable.admin."
- + "v2.Table\022\027\n\017data_size_bytes\030\003 \001(\003\022/\n\013cre"
- + "ate_time\030\004 \001(\0132\032.google.protobuf.Timesta"
- + "mp\022/\n\013delete_time\030\005 \001(\0132\032.google.protobu"
- + "f.Timestamp\0227\n\005state\030\006 \001(\0162(.google.bigt"
- + "able.admin.v2.Snapshot.State\022\023\n\013descript"
- + "ion\030\007 \001(\t\"5\n\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022"
- + "\t\n\005READY\020\001\022\014\n\010CREATING\020\002:v\352As\n bigtable."
- + "googleapis.com/Snapshot\022Oprojects/{proje"
- + "ct}/instances/{instance}/clusters/{clust"
- + "er}/snapshots/{snapshot}\"\237\004\n\006Backup\022\021\n\004n"
- + "ame\030\001 \001(\tB\003\340A\003\022\034\n\014source_table\030\002 \001(\tB\006\340A"
- + "\005\340A\002\0224\n\013expire_time\030\003 \001(\0132\032.google.proto"
- + "buf.TimestampB\003\340A\002\0223\n\nstart_time\030\004 \001(\0132\032"
- + ".google.protobuf.TimestampB\003\340A\003\0221\n\010end_t"
- + "ime\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340"
- + "A\003\022\027\n\nsize_bytes\030\006 \001(\003B\003\340A\003\022:\n\005state\030\007 \001"
- + "(\0162&.google.bigtable.admin.v2.Backup.Sta"
- + "teB\003\340A\003\022F\n\017encryption_info\030\t \001(\0132(.googl"
- + "e.bigtable.admin.v2.EncryptionInfoB\003\340A\003\""
- + "7\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREAT"
- + "ING\020\001\022\t\n\005READY\020\002:p\352Am\n\036bigtable.googleap"
- + "is.com/Backup\022Kprojects/{project}/instan"
- + "ces/{instance}/clusters/{cluster}/backup"
- + "s/{backup}\"\244\001\n\nBackupInfo\022\023\n\006backup\030\001 \001("
- + "\tB\003\340A\003\0223\n\nstart_time\030\002 \001(\0132\032.google.prot"
- + "obuf.TimestampB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032."
- + "google.protobuf.TimestampB\003\340A\003\022\031\n\014source"
- + "_table\030\004 \001(\tB\003\340A\003*D\n\021RestoreSourceType\022#"
- + "\n\037RESTORE_SOURCE_TYPE_UNSPECIFIED\020\000\022\n\n\006B"
- + "ACKUP\020\001B\374\002\n\034com.google.bigtable.admin.v2"
- + "B\nTableProtoP\001Z=google.golang.org/genpro"
- + "to/googleapis/bigtable/admin/v2;admin\252\002\036"
- + "Google.Cloud.Bigtable.Admin.V2\312\002\036Google\\"
- + "Cloud\\Bigtable\\Admin\\V2\352\002\"Google::Cloud:"
- + ":Bigtable::Admin::V2\352A\246\001\n(cloudkms.googl"
- + "eapis.com/CryptoKeyVersion\022zprojects/{pr"
- + "oject}/locations/{location}/keyRings/{ke"
- + "y_ring}/cryptoKeys/{crypto_key}/cryptoKe"
- + "yVersions/{crypto_key_version}b\006proto3"
+ + "EW\020\003\022\023\n\017ENCRYPTION_VIEW\020\005\022\010\n\004FULL\020\004:_\352A\\"
+ + "\n\"bigtableadmin.googleapis.com/Table\0226pr"
+ + "ojects/{project}/instances/{instance}/ta"
+ + "bles/{table}\"A\n\014ColumnFamily\0221\n\007gc_rule\030"
+ + "\001 \001(\0132 .google.bigtable.admin.v2.GcRule\""
+ + "\325\002\n\006GcRule\022\032\n\020max_num_versions\030\001 \001(\005H\000\022,"
+ + "\n\007max_age\030\002 \001(\0132\031.google.protobuf.Durati"
+ + "onH\000\022E\n\014intersection\030\003 \001(\0132-.google.bigt"
+ + "able.admin.v2.GcRule.IntersectionH\000\0227\n\005u"
+ + "nion\030\004 \001(\0132&.google.bigtable.admin.v2.Gc"
+ + "Rule.UnionH\000\032?\n\014Intersection\022/\n\005rules\030\001 "
+ + "\003(\0132 .google.bigtable.admin.v2.GcRule\0328\n"
+ + "\005Union\022/\n\005rules\030\001 \003(\0132 .google.bigtable."
+ + "admin.v2.GcRuleB\006\n\004rule\"\331\002\n\016EncryptionIn"
+ + "fo\022U\n\017encryption_type\030\003 \001(\01627.google.big"
+ + "table.admin.v2.EncryptionInfo.Encryption"
+ + "TypeB\003\340A\003\0222\n\021encryption_status\030\004 \001(\0132\022.g"
+ + "oogle.rpc.StatusB\003\340A\003\022I\n\017kms_key_version"
+ + "\030\002 \001(\tB0\340A\003\372A*\n(cloudkms.googleapis.com/"
+ + "CryptoKeyVersion\"q\n\016EncryptionType\022\037\n\033EN"
+ + "CRYPTION_TYPE_UNSPECIFIED\020\000\022\035\n\031GOOGLE_DE"
+ + "FAULT_ENCRYPTION\020\001\022\037\n\033CUSTOMER_MANAGED_E"
+ + "NCRYPTION\020\002\"\314\003\n\010Snapshot\022\014\n\004name\030\001 \001(\t\0225"
+ + "\n\014source_table\030\002 \001(\0132\037.google.bigtable.a"
+ + "dmin.v2.Table\022\027\n\017data_size_bytes\030\003 \001(\003\022/"
+ + "\n\013create_time\030\004 \001(\0132\032.google.protobuf.Ti"
+ + "mestamp\022/\n\013delete_time\030\005 \001(\0132\032.google.pr"
+ + "otobuf.Timestamp\0227\n\005state\030\006 \001(\0162(.google"
+ + ".bigtable.admin.v2.Snapshot.State\022\023\n\013des"
+ + "cription\030\007 \001(\t\"5\n\005State\022\023\n\017STATE_NOT_KNO"
+ + "WN\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002:{\352Ax\n%bigt"
+ + "ableadmin.googleapis.com/Snapshot\022Oproje"
+ + "cts/{project}/instances/{instance}/clust"
+ + "ers/{cluster}/snapshots/{snapshot}\"\244\004\n\006B"
+ + "ackup\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\034\n\014source_table"
+ + "\030\002 \001(\tB\006\340A\005\340A\002\0224\n\013expire_time\030\003 \001(\0132\032.go"
+ + "ogle.protobuf.TimestampB\003\340A\002\0223\n\nstart_ti"
+ + "me\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A"
+ + "\003\0221\n\010end_time\030\005 \001(\0132\032.google.protobuf.Ti"
+ + "mestampB\003\340A\003\022\027\n\nsize_bytes\030\006 \001(\003B\003\340A\003\022:\n"
+ + "\005state\030\007 \001(\0162&.google.bigtable.admin.v2."
+ + "Backup.StateB\003\340A\003\022F\n\017encryption_info\030\t \001"
+ + "(\0132(.google.bigtable.admin.v2.Encryption"
+ + "InfoB\003\340A\003\"7\n\005State\022\025\n\021STATE_UNSPECIFIED\020"
+ + "\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:u\352Ar\n#bigtabl"
+ + "eadmin.googleapis.com/Backup\022Kprojects/{"
+ + "project}/instances/{instance}/clusters/{"
+ + "cluster}/backups/{backup}\"\244\001\n\nBackupInfo"
+ + "\022\023\n\006backup\030\001 \001(\tB\003\340A\003\0223\n\nstart_time\030\002 \001("
+ + "\0132\032.google.protobuf.TimestampB\003\340A\003\0221\n\010en"
+ + "d_time\030\003 \001(\0132\032.google.protobuf.Timestamp"
+ + "B\003\340A\003\022\031\n\014source_table\030\004 \001(\tB\003\340A\003*D\n\021Rest"
+ + "oreSourceType\022#\n\037RESTORE_SOURCE_TYPE_UNS"
+ + "PECIFIED\020\000\022\n\n\006BACKUP\020\001B\374\002\n\034com.google.bi"
+ + "gtable.admin.v2B\nTableProtoP\001Z=google.go"
+ + "lang.org/genproto/googleapis/bigtable/ad"
+ + "min/v2;admin\252\002\036Google.Cloud.Bigtable.Adm"
+ + "in.V2\312\002\036Google\\Cloud\\Bigtable\\Admin\\V2\352\002"
+ + "\"Google::Cloud::Bigtable::Admin::V2\352A\246\001\n"
+ + "(cloudkms.googleapis.com/CryptoKeyVersio"
+ + "n\022zprojects/{project}/locations/{locatio"
+ + "n}/keyRings/{key_ring}/cryptoKeys/{crypt"
+ + "o_key}/cryptoKeyVersions/{crypto_key_ver"
+ + "sion}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto
index ca3aaed7a1..63fdd8ea4f 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto
@@ -271,7 +271,7 @@ message GetInstanceRequest {
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Instance"
+ type: "bigtableadmin.googleapis.com/Instance"
}
];
}
@@ -325,7 +325,7 @@ message DeleteInstanceRequest {
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Instance"
+ type: "bigtableadmin.googleapis.com/Instance"
}
];
}
@@ -338,7 +338,7 @@ message CreateClusterRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Instance"
+ type: "bigtableadmin.googleapis.com/Instance"
}
];
@@ -359,7 +359,7 @@ message GetClusterRequest {
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Cluster"
+ type: "bigtableadmin.googleapis.com/Cluster"
}
];
}
@@ -373,7 +373,7 @@ message ListClustersRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Instance"
+ type: "bigtableadmin.googleapis.com/Instance"
}
];
@@ -404,7 +404,7 @@ message DeleteClusterRequest {
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Cluster"
+ type: "bigtableadmin.googleapis.com/Cluster"
}
];
}
@@ -465,7 +465,7 @@ message CreateAppProfileRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Instance"
+ type: "bigtableadmin.googleapis.com/Instance"
}
];
@@ -489,7 +489,7 @@ message GetAppProfileRequest {
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/AppProfile"
+ type: "bigtableadmin.googleapis.com/AppProfile"
}
];
}
@@ -504,7 +504,7 @@ message ListAppProfilesRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Instance"
+ type: "bigtableadmin.googleapis.com/Instance"
}
];
@@ -560,7 +560,7 @@ message DeleteAppProfileRequest {
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/AppProfile"
+ type: "bigtableadmin.googleapis.com/AppProfile"
}
];
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 ff2076c50e..88bd870474 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
@@ -340,7 +340,7 @@ message RestoreTableRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Instance"
+ type: "bigtableadmin.googleapis.com/Instance"
}
];
@@ -355,7 +355,7 @@ message RestoreTableRequest {
// Name of the backup from which to restore. Values are of the form
// `projects//instances//clusters//backups/`.
string backup = 3 [(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Backup"
+ type: "bigtableadmin.googleapis.com/Backup"
}];
}
}
@@ -417,7 +417,7 @@ message CreateTableRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Instance"
+ type: "bigtableadmin.googleapis.com/Instance"
}
];
@@ -461,7 +461,7 @@ message CreateTableFromSnapshotRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Instance"
+ type: "bigtableadmin.googleapis.com/Instance"
}
];
@@ -476,7 +476,7 @@ message CreateTableFromSnapshotRequest {
string source_snapshot = 3 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Snapshot"
+ type: "bigtableadmin.googleapis.com/Snapshot"
}
];
}
@@ -490,7 +490,7 @@ message DropRowRangeRequest {
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Table"
+ type: "bigtableadmin.googleapis.com/Table"
}
];
@@ -513,7 +513,7 @@ message ListTablesRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Instance"
+ type: "bigtableadmin.googleapis.com/Instance"
}
];
@@ -557,7 +557,7 @@ message GetTableRequest {
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Table"
+ type: "bigtableadmin.googleapis.com/Table"
}
];
@@ -575,7 +575,7 @@ message DeleteTableRequest {
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Table"
+ type: "bigtableadmin.googleapis.com/Table"
}
];
}
@@ -610,7 +610,7 @@ message ModifyColumnFamiliesRequest {
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Table"
+ type: "bigtableadmin.googleapis.com/Table"
}
];
@@ -630,7 +630,7 @@ message GenerateConsistencyTokenRequest {
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Table"
+ type: "bigtableadmin.googleapis.com/Table"
}
];
}
@@ -651,7 +651,7 @@ message CheckConsistencyRequest {
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Table"
+ type: "bigtableadmin.googleapis.com/Table"
}
];
@@ -681,7 +681,7 @@ message SnapshotTableRequest {
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Table"
+ type: "bigtableadmin.googleapis.com/Table"
}
];
@@ -691,7 +691,7 @@ message SnapshotTableRequest {
string cluster = 2 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Cluster"
+ type: "bigtableadmin.googleapis.com/Cluster"
}
];
@@ -725,7 +725,7 @@ message GetSnapshotRequest {
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Snapshot"
+ type: "bigtableadmin.googleapis.com/Snapshot"
}
];
}
@@ -746,7 +746,7 @@ message ListSnapshotsRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Cluster"
+ type: "bigtableadmin.googleapis.com/Cluster"
}
];
@@ -789,7 +789,7 @@ message DeleteSnapshotRequest {
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Snapshot"
+ type: "bigtableadmin.googleapis.com/Snapshot"
}
];
}
@@ -837,7 +837,7 @@ message CreateBackupRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Cluster"
+ type: "bigtableadmin.googleapis.com/Cluster"
}
];
@@ -893,7 +893,7 @@ message GetBackupRequest {
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Backup"
+ type: "bigtableadmin.googleapis.com/Backup"
}
];
}
@@ -906,7 +906,7 @@ message DeleteBackupRequest {
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Backup"
+ type: "bigtableadmin.googleapis.com/Backup"
}
];
}
@@ -920,7 +920,7 @@ message ListBackupsRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Cluster"
+ type: "bigtableadmin.googleapis.com/Cluster"
}
];
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 aecf7ee53c..d946b5c686 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
@@ -19,6 +19,8 @@ package google.bigtable.admin.v2;
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/bigtable/admin/v2/common.proto";
+import "google/protobuf/timestamp.proto";
+import "google/api/annotations.proto";
option csharp_namespace = "Google.Cloud.Bigtable.Admin.V2";
option go_package = "google.golang.org/genproto/googleapis/bigtable/admin/v2;admin";
@@ -38,7 +40,7 @@ option (google.api.resource_definition) = {
// [Clusters][google.bigtable.admin.v2.Cluster] in the instance.
message Instance {
option (google.api.resource) = {
- type: "bigtable.googleapis.com/Instance"
+ type: "bigtableadmin.googleapis.com/Instance"
pattern: "projects/{project}/instances/{instance}"
};
@@ -105,6 +107,11 @@ message Instance {
// * No more than 64 labels can be associated with a given resource.
// * Keys and values must both be under 128 bytes.
map labels = 5;
+
+ // Output only. A server-assigned timestamp representing when this Instance was created.
+ // For instances created before this field was added (August 2021), this value
+ // is `seconds: 0, nanos: 1`.
+ google.protobuf.Timestamp create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
}
// A resizable group of nodes in a particular cloud location, capable
@@ -112,7 +119,7 @@ message Instance {
// [Instance][google.bigtable.admin.v2.Instance].
message Cluster {
option (google.api.resource) = {
- type: "bigtable.googleapis.com/Cluster"
+ type: "bigtableadmin.googleapis.com/Cluster"
pattern: "projects/{project}/instances/{instance}/clusters/{cluster}"
};
@@ -191,7 +198,7 @@ message Cluster {
// from a particular end user application.
message AppProfile {
option (google.api.resource) = {
- type: "bigtable.googleapis.com/AppProfile"
+ type: "bigtableadmin.googleapis.com/AppProfile"
pattern: "projects/{project}/instances/{instance}/appProfiles/{app_profile}"
};
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto
index a5578225ea..4e2d709abf 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto
@@ -60,7 +60,7 @@ message RestoreInfo {
// Each table is served using the resources of its parent cluster.
message Table {
option (google.api.resource) = {
- type: "bigtable.googleapis.com/Table"
+ type: "bigtableadmin.googleapis.com/Table"
pattern: "projects/{project}/instances/{instance}/tables/{table}"
};
@@ -266,7 +266,7 @@ message EncryptionInfo {
// for production use. It is not subject to any SLA or deprecation policy.
message Snapshot {
option (google.api.resource) = {
- type: "bigtable.googleapis.com/Snapshot"
+ type: "bigtableadmin.googleapis.com/Snapshot"
pattern: "projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}"
};
@@ -316,7 +316,7 @@ message Snapshot {
// A backup of a Cloud Bigtable table.
message Backup {
option (google.api.resource) = {
- type: "bigtable.googleapis.com/Backup"
+ type: "bigtableadmin.googleapis.com/Backup"
pattern: "projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}"
};
diff --git a/proto-google-cloud-bigtable-v2/pom.xml b/proto-google-cloud-bigtable-v2/pom.xml
index 14737cd644..74c0aef67c 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.2.0
+ 2.3.0
proto-google-cloud-bigtable-v2
PROTO library for proto-google-cloud-bigtable-v2
com.google.cloud
google-cloud-bigtable-parent
- 2.2.0
+ 2.3.0
@@ -18,14 +18,14 @@
com.google.cloud
google-cloud-bigtable-deps-bom
- 2.2.0
+ 2.3.0
pom
import
com.google.cloud
google-cloud-bigtable-bom
- 2.2.0
+ 2.3.0
pom
import
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java
index 774b16d0a3..2faa963ae0 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java
@@ -102,110 +102,111 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "pi/field_behavior.proto\032\031google/api/reso"
+ "urce.proto\032\035google/bigtable/v2/data.prot"
+ "o\032\036google/protobuf/wrappers.proto\032\027googl"
- + "e/rpc/status.proto\"\321\001\n\017ReadRowsRequest\0229"
- + "\n\ntable_name\030\001 \001(\tB%\340A\002\372A\037\n\035bigtable.goo"
- + "gleapis.com/Table\022\026\n\016app_profile_id\030\005 \001("
- + "\t\022(\n\004rows\030\002 \001(\0132\032.google.bigtable.v2.Row"
- + "Set\022-\n\006filter\030\003 \001(\0132\035.google.bigtable.v2"
- + ".RowFilter\022\022\n\nrows_limit\030\004 \001(\003\"\370\002\n\020ReadR"
- + "owsResponse\022>\n\006chunks\030\001 \003(\0132..google.big"
- + "table.v2.ReadRowsResponse.CellChunk\022\034\n\024l"
- + "ast_scanned_row_key\030\002 \001(\014\032\205\002\n\tCellChunk\022"
- + "\017\n\007row_key\030\001 \001(\014\0221\n\013family_name\030\002 \001(\0132\034."
- + "google.protobuf.StringValue\022.\n\tqualifier"
- + "\030\003 \001(\0132\033.google.protobuf.BytesValue\022\030\n\020t"
- + "imestamp_micros\030\004 \001(\003\022\016\n\006labels\030\005 \003(\t\022\r\n"
- + "\005value\030\006 \001(\014\022\022\n\nvalue_size\030\007 \001(\005\022\023\n\trese"
- + "t_row\030\010 \001(\010H\000\022\024\n\ncommit_row\030\t \001(\010H\000B\014\n\nr"
- + "ow_status\"i\n\024SampleRowKeysRequest\0229\n\ntab"
- + "le_name\030\001 \001(\tB%\340A\002\372A\037\n\035bigtable.googleap"
- + "is.com/Table\022\026\n\016app_profile_id\030\002 \001(\t\">\n\025"
- + "SampleRowKeysResponse\022\017\n\007row_key\030\001 \001(\014\022\024"
- + "\n\014offset_bytes\030\002 \001(\003\"\261\001\n\020MutateRowReques"
- + "t\0229\n\ntable_name\030\001 \001(\tB%\340A\002\372A\037\n\035bigtable."
- + "googleapis.com/Table\022\026\n\016app_profile_id\030\004"
- + " \001(\t\022\024\n\007row_key\030\002 \001(\014B\003\340A\002\0224\n\tmutations\030"
- + "\003 \003(\0132\034.google.bigtable.v2.MutationB\003\340A\002"
- + "\"\023\n\021MutateRowResponse\"\371\001\n\021MutateRowsRequ"
- + "est\0229\n\ntable_name\030\001 \001(\tB%\340A\002\372A\037\n\035bigtabl"
- + "e.googleapis.com/Table\022\026\n\016app_profile_id"
- + "\030\003 \001(\t\022A\n\007entries\030\002 \003(\0132+.google.bigtabl"
- + "e.v2.MutateRowsRequest.EntryB\003\340A\002\032N\n\005Ent"
- + "ry\022\017\n\007row_key\030\001 \001(\014\0224\n\tmutations\030\002 \003(\0132\034"
- + ".google.bigtable.v2.MutationB\003\340A\002\"\217\001\n\022Mu"
- + "tateRowsResponse\022=\n\007entries\030\001 \003(\0132,.goog"
- + "le.bigtable.v2.MutateRowsResponse.Entry\032"
- + ":\n\005Entry\022\r\n\005index\030\001 \001(\003\022\"\n\006status\030\002 \001(\0132"
- + "\022.google.rpc.Status\"\251\002\n\030CheckAndMutateRo"
- + "wRequest\0229\n\ntable_name\030\001 \001(\tB%\340A\002\372A\037\n\035bi"
- + "gtable.googleapis.com/Table\022\026\n\016app_profi"
- + "le_id\030\007 \001(\t\022\024\n\007row_key\030\002 \001(\014B\003\340A\002\0227\n\020pre"
- + "dicate_filter\030\006 \001(\0132\035.google.bigtable.v2"
- + ".RowFilter\0224\n\016true_mutations\030\004 \003(\0132\034.goo"
- + "gle.bigtable.v2.Mutation\0225\n\017false_mutati"
- + "ons\030\005 \003(\0132\034.google.bigtable.v2.Mutation\""
- + "6\n\031CheckAndMutateRowResponse\022\031\n\021predicat"
- + "e_matched\030\001 \001(\010\"\301\001\n\031ReadModifyWriteRowRe"
- + "quest\0229\n\ntable_name\030\001 \001(\tB%\340A\002\372A\037\n\035bigta"
- + "ble.googleapis.com/Table\022\026\n\016app_profile_"
- + "id\030\004 \001(\t\022\024\n\007row_key\030\002 \001(\014B\003\340A\002\022;\n\005rules\030"
- + "\003 \003(\0132\'.google.bigtable.v2.ReadModifyWri"
- + "teRuleB\003\340A\002\"B\n\032ReadModifyWriteRowRespons"
- + "e\022$\n\003row\030\001 \001(\0132\027.google.bigtable.v2.Row2"
- + "\304\016\n\010Bigtable\022\306\001\n\010ReadRows\022#.google.bigta"
- + "ble.v2.ReadRowsRequest\032$.google.bigtable"
- + ".v2.ReadRowsResponse\"m\202\323\344\223\002>\"9/v2/{table"
- + "_name=projects/*/instances/*/tables/*}:r"
- + "eadRows:\001*\332A\ntable_name\332A\031table_name,app"
- + "_profile_id0\001\022\327\001\n\rSampleRowKeys\022(.google"
- + ".bigtable.v2.SampleRowKeysRequest\032).goog"
- + "le.bigtable.v2.SampleRowKeysResponse\"o\202\323"
- + "\344\223\002@\022>/v2/{table_name=projects/*/instanc"
- + "es/*/tables/*}:sampleRowKeys\332A\ntable_nam"
- + "e\332A\031table_name,app_profile_id0\001\022\355\001\n\tMuta"
- + "teRow\022$.google.bigtable.v2.MutateRowRequ"
- + "est\032%.google.bigtable.v2.MutateRowRespon"
- + "se\"\222\001\202\323\344\223\002?\":/v2/{table_name=projects/*/"
- + "instances/*/tables/*}:mutateRow:\001*\332A\034tab"
- + "le_name,row_key,mutations\332A+table_name,r"
- + "ow_key,mutations,app_profile_id\022\336\001\n\nMuta"
- + "teRows\022%.google.bigtable.v2.MutateRowsRe"
- + "quest\032&.google.bigtable.v2.MutateRowsRes"
- + "ponse\"\177\202\323\344\223\002@\";/v2/{table_name=projects/"
- + "*/instances/*/tables/*}:mutateRows:\001*\332A\022"
- + "table_name,entries\332A!table_name,entries,"
- + "app_profile_id0\001\022\331\002\n\021CheckAndMutateRow\022,"
- + ".google.bigtable.v2.CheckAndMutateRowReq"
- + "uest\032-.google.bigtable.v2.CheckAndMutate"
- + "RowResponse\"\346\001\202\323\344\223\002G\"B/v2/{table_name=pr"
- + "ojects/*/instances/*/tables/*}:checkAndM"
- + "utateRow:\001*\332ABtable_name,row_key,predica"
- + "te_filter,true_mutations,false_mutations"
- + "\332AQtable_name,row_key,predicate_filter,t"
- + "rue_mutations,false_mutations,app_profil"
- + "e_id\022\211\002\n\022ReadModifyWriteRow\022-.google.big"
- + "table.v2.ReadModifyWriteRowRequest\032..goo"
- + "gle.bigtable.v2.ReadModifyWriteRowRespon"
- + "se\"\223\001\202\323\344\223\002H\"C/v2/{table_name=projects/*/"
- + "instances/*/tables/*}:readModifyWriteRow"
- + ":\001*\332A\030table_name,row_key,rules\332A\'table_n"
- + "ame,row_key,rules,app_profile_id\032\333\002\312A\027bi"
- + "gtable.googleapis.com\322A\275\002https://www.goo"
- + "gleapis.com/auth/bigtable.data,https://w"
- + "ww.googleapis.com/auth/bigtable.data.rea"
- + "donly,https://www.googleapis.com/auth/cl"
- + "oud-bigtable.data,https://www.googleapis"
- + ".com/auth/cloud-bigtable.data.readonly,h"
- + "ttps://www.googleapis.com/auth/cloud-pla"
- + "tform,https://www.googleapis.com/auth/cl"
- + "oud-platform.read-onlyB\223\002\n\026com.google.bi"
- + "gtable.v2B\rBigtableProtoP\001Z:google.golan"
- + "g.org/genproto/googleapis/bigtable/v2;bi"
- + "gtable\252\002\030Google.Cloud.Bigtable.V2\312\002\030Goog"
- + "le\\Cloud\\Bigtable\\V2\352\002\033Google::Cloud::Bi"
- + "gtable::V2\352AW\n\035bigtable.googleapis.com/T"
- + "able\0226projects/{project}/instances/{inst"
- + "ance}/tables/{table}b\006proto3"
+ + "e/rpc/status.proto\"\326\001\n\017ReadRowsRequest\022>"
+ + "\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmi"
+ + "n.googleapis.com/Table\022\026\n\016app_profile_id"
+ + "\030\005 \001(\t\022(\n\004rows\030\002 \001(\0132\032.google.bigtable.v"
+ + "2.RowSet\022-\n\006filter\030\003 \001(\0132\035.google.bigtab"
+ + "le.v2.RowFilter\022\022\n\nrows_limit\030\004 \001(\003\"\370\002\n\020"
+ + "ReadRowsResponse\022>\n\006chunks\030\001 \003(\0132..googl"
+ + "e.bigtable.v2.ReadRowsResponse.CellChunk"
+ + "\022\034\n\024last_scanned_row_key\030\002 \001(\014\032\205\002\n\tCellC"
+ + "hunk\022\017\n\007row_key\030\001 \001(\014\0221\n\013family_name\030\002 \001"
+ + "(\0132\034.google.protobuf.StringValue\022.\n\tqual"
+ + "ifier\030\003 \001(\0132\033.google.protobuf.BytesValue"
+ + "\022\030\n\020timestamp_micros\030\004 \001(\003\022\016\n\006labels\030\005 \003"
+ + "(\t\022\r\n\005value\030\006 \001(\014\022\022\n\nvalue_size\030\007 \001(\005\022\023\n"
+ + "\treset_row\030\010 \001(\010H\000\022\024\n\ncommit_row\030\t \001(\010H\000"
+ + "B\014\n\nrow_status\"n\n\024SampleRowKeysRequest\022>"
+ + "\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmi"
+ + "n.googleapis.com/Table\022\026\n\016app_profile_id"
+ + "\030\002 \001(\t\">\n\025SampleRowKeysResponse\022\017\n\007row_k"
+ + "ey\030\001 \001(\014\022\024\n\014offset_bytes\030\002 \001(\003\"\266\001\n\020Mutat"
+ + "eRowRequest\022>\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n"
+ + "\"bigtableadmin.googleapis.com/Table\022\026\n\016a"
+ + "pp_profile_id\030\004 \001(\t\022\024\n\007row_key\030\002 \001(\014B\003\340A"
+ + "\002\0224\n\tmutations\030\003 \003(\0132\034.google.bigtable.v"
+ + "2.MutationB\003\340A\002\"\023\n\021MutateRowResponse\"\376\001\n"
+ + "\021MutateRowsRequest\022>\n\ntable_name\030\001 \001(\tB*"
+ + "\340A\002\372A$\n\"bigtableadmin.googleapis.com/Tab"
+ + "le\022\026\n\016app_profile_id\030\003 \001(\t\022A\n\007entries\030\002 "
+ + "\003(\0132+.google.bigtable.v2.MutateRowsReque"
+ + "st.EntryB\003\340A\002\032N\n\005Entry\022\017\n\007row_key\030\001 \001(\014\022"
+ + "4\n\tmutations\030\002 \003(\0132\034.google.bigtable.v2."
+ + "MutationB\003\340A\002\"\217\001\n\022MutateRowsResponse\022=\n\007"
+ + "entries\030\001 \003(\0132,.google.bigtable.v2.Mutat"
+ + "eRowsResponse.Entry\032:\n\005Entry\022\r\n\005index\030\001 "
+ + "\001(\003\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Status\""
+ + "\256\002\n\030CheckAndMutateRowRequest\022>\n\ntable_na"
+ + "me\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin.googleap"
+ + "is.com/Table\022\026\n\016app_profile_id\030\007 \001(\t\022\024\n\007"
+ + "row_key\030\002 \001(\014B\003\340A\002\0227\n\020predicate_filter\030\006"
+ + " \001(\0132\035.google.bigtable.v2.RowFilter\0224\n\016t"
+ + "rue_mutations\030\004 \003(\0132\034.google.bigtable.v2"
+ + ".Mutation\0225\n\017false_mutations\030\005 \003(\0132\034.goo"
+ + "gle.bigtable.v2.Mutation\"6\n\031CheckAndMuta"
+ + "teRowResponse\022\031\n\021predicate_matched\030\001 \001(\010"
+ + "\"\306\001\n\031ReadModifyWriteRowRequest\022>\n\ntable_"
+ + "name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin.google"
+ + "apis.com/Table\022\026\n\016app_profile_id\030\004 \001(\t\022\024"
+ + "\n\007row_key\030\002 \001(\014B\003\340A\002\022;\n\005rules\030\003 \003(\0132\'.go"
+ + "ogle.bigtable.v2.ReadModifyWriteRuleB\003\340A"
+ + "\002\"B\n\032ReadModifyWriteRowResponse\022$\n\003row\030\001"
+ + " \001(\0132\027.google.bigtable.v2.Row2\304\016\n\010Bigtab"
+ + "le\022\306\001\n\010ReadRows\022#.google.bigtable.v2.Rea"
+ + "dRowsRequest\032$.google.bigtable.v2.ReadRo"
+ + "wsResponse\"m\202\323\344\223\002>\"9/v2/{table_name=proj"
+ + "ects/*/instances/*/tables/*}:readRows:\001*"
+ + "\332A\ntable_name\332A\031table_name,app_profile_i"
+ + "d0\001\022\327\001\n\rSampleRowKeys\022(.google.bigtable."
+ + "v2.SampleRowKeysRequest\032).google.bigtabl"
+ + "e.v2.SampleRowKeysResponse\"o\202\323\344\223\002@\022>/v2/"
+ + "{table_name=projects/*/instances/*/table"
+ + "s/*}:sampleRowKeys\332A\ntable_name\332A\031table_"
+ + "name,app_profile_id0\001\022\355\001\n\tMutateRow\022$.go"
+ + "ogle.bigtable.v2.MutateRowRequest\032%.goog"
+ + "le.bigtable.v2.MutateRowResponse\"\222\001\202\323\344\223\002"
+ + "?\":/v2/{table_name=projects/*/instances/"
+ + "*/tables/*}:mutateRow:\001*\332A\034table_name,ro"
+ + "w_key,mutations\332A+table_name,row_key,mut"
+ + "ations,app_profile_id\022\336\001\n\nMutateRows\022%.g"
+ + "oogle.bigtable.v2.MutateRowsRequest\032&.go"
+ + "ogle.bigtable.v2.MutateRowsResponse\"\177\202\323\344"
+ + "\223\002@\";/v2/{table_name=projects/*/instance"
+ + "s/*/tables/*}:mutateRows:\001*\332A\022table_name"
+ + ",entries\332A!table_name,entries,app_profil"
+ + "e_id0\001\022\331\002\n\021CheckAndMutateRow\022,.google.bi"
+ + "gtable.v2.CheckAndMutateRowRequest\032-.goo"
+ + "gle.bigtable.v2.CheckAndMutateRowRespons"
+ + "e\"\346\001\202\323\344\223\002G\"B/v2/{table_name=projects/*/i"
+ + "nstances/*/tables/*}:checkAndMutateRow:\001"
+ + "*\332ABtable_name,row_key,predicate_filter,"
+ + "true_mutations,false_mutations\332AQtable_n"
+ + "ame,row_key,predicate_filter,true_mutati"
+ + "ons,false_mutations,app_profile_id\022\211\002\n\022R"
+ + "eadModifyWriteRow\022-.google.bigtable.v2.R"
+ + "eadModifyWriteRowRequest\032..google.bigtab"
+ + "le.v2.ReadModifyWriteRowResponse\"\223\001\202\323\344\223\002"
+ + "H\"C/v2/{table_name=projects/*/instances/"
+ + "*/tables/*}:readModifyWriteRow:\001*\332A\030tabl"
+ + "e_name,row_key,rules\332A\'table_name,row_ke"
+ + "y,rules,app_profile_id\032\333\002\312A\027bigtable.goo"
+ + "gleapis.com\322A\275\002https://www.googleapis.co"
+ + "m/auth/bigtable.data,https://www.googlea"
+ + "pis.com/auth/bigtable.data.readonly,http"
+ + "s://www.googleapis.com/auth/cloud-bigtab"
+ + "le.data,https://www.googleapis.com/auth/"
+ + "cloud-bigtable.data.readonly,https://www"
+ + ".googleapis.com/auth/cloud-platform,http"
+ + "s://www.googleapis.com/auth/cloud-platfo"
+ + "rm.read-onlyB\230\002\n\026com.google.bigtable.v2B"
+ + "\rBigtableProtoP\001Z:google.golang.org/genp"
+ + "roto/googleapis/bigtable/v2;bigtable\252\002\030G"
+ + "oogle.Cloud.Bigtable.V2\312\002\030Google\\Cloud\\B"
+ + "igtable\\V2\352\002\033Google::Cloud::Bigtable::V2"
+ + "\352A\\\n\"bigtableadmin.googleapis.com/Table\022"
+ + "6projects/{project}/instances/{instance}"
+ + "/tables/{table}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java
index efa13e99a8..412b8551d6 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java
@@ -546,7 +546,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getTableNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_);
}
if (!rowKey_.isEmpty()) {
@@ -561,7 +561,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (predicateFilter_ != null) {
output.writeMessage(6, getPredicateFilter());
}
- if (!getAppProfileIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, appProfileId_);
}
unknownFields.writeTo(output);
@@ -573,7 +573,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getTableNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_);
}
if (!rowKey_.isEmpty()) {
@@ -588,7 +588,7 @@ public int getSerializedSize() {
if (predicateFilter_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPredicateFilter());
}
- if (!getAppProfileIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, appProfileId_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java
index 66a55fe241..e859f2472d 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java
@@ -435,7 +435,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getFamilyNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_);
}
if (startQualifierCase_ == 2) {
@@ -459,7 +459,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getFamilyNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, familyName_);
}
if (startQualifierCase_ == 2) {
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java
index 611af92f83..d39f7e5ae0 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java
@@ -267,7 +267,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
for (int i = 0; i < columns_.size(); i++) {
@@ -282,7 +282,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
for (int i = 0; i < columns_.size(); i++) {
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java
index 2187ce7a6c..dbf266c82c 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java
@@ -369,7 +369,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getTableNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_);
}
if (!rowKey_.isEmpty()) {
@@ -378,7 +378,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < mutations_.size(); i++) {
output.writeMessage(3, mutations_.get(i));
}
- if (!getAppProfileIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, appProfileId_);
}
unknownFields.writeTo(output);
@@ -390,7 +390,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getTableNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_);
}
if (!rowKey_.isEmpty()) {
@@ -399,7 +399,7 @@ public int getSerializedSize() {
for (int i = 0; i < mutations_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, mutations_.get(i));
}
- if (!getAppProfileIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, appProfileId_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java
index 49650dcd89..b6c3554b35 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java
@@ -1588,13 +1588,13 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getTableNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_);
}
for (int i = 0; i < entries_.size(); i++) {
output.writeMessage(2, entries_.get(i));
}
- if (!getAppProfileIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, appProfileId_);
}
unknownFields.writeTo(output);
@@ -1606,13 +1606,13 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getTableNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_);
}
for (int i = 0; i < entries_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, entries_.get(i));
}
- if (!getAppProfileIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, appProfileId_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
index 14123e4975..8ddf803098 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
@@ -477,7 +477,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getFamilyNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_);
}
if (!columnQualifier_.isEmpty()) {
@@ -498,7 +498,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getFamilyNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, familyName_);
}
if (!columnQualifier_.isEmpty()) {
@@ -1497,7 +1497,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getFamilyNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_);
}
if (!columnQualifier_.isEmpty()) {
@@ -1515,7 +1515,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getFamilyNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, familyName_);
}
if (!columnQualifier_.isEmpty()) {
@@ -2446,7 +2446,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getFamilyNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_);
}
unknownFields.writeTo(output);
@@ -2458,7 +2458,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getFamilyNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, familyName_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java
index 27745ee9f9..896d3c9f4b 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java
@@ -372,7 +372,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getTableNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_);
}
if (!rowKey_.isEmpty()) {
@@ -381,7 +381,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < rules_.size(); i++) {
output.writeMessage(3, rules_.get(i));
}
- if (!getAppProfileIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, appProfileId_);
}
unknownFields.writeTo(output);
@@ -393,7 +393,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getTableNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_);
}
if (!rowKey_.isEmpty()) {
@@ -402,7 +402,7 @@ public int getSerializedSize() {
for (int i = 0; i < rules_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, rules_.get(i));
}
- if (!getAppProfileIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, appProfileId_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java
index 347eda1b58..35fe453ea1 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java
@@ -342,7 +342,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getFamilyNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_);
}
if (!columnQualifier_.isEmpty()) {
@@ -363,7 +363,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getFamilyNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, familyName_);
}
if (!columnQualifier_.isEmpty()) {
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java
index 0f14e8994c..5b1b58b6a0 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java
@@ -389,7 +389,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getTableNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_);
}
if (rows_ != null) {
@@ -401,7 +401,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (rowsLimit_ != 0L) {
output.writeInt64(4, rowsLimit_);
}
- if (!getAppProfileIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, appProfileId_);
}
unknownFields.writeTo(output);
@@ -413,7 +413,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getTableNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_);
}
if (rows_ != null) {
@@ -425,7 +425,7 @@ public int getSerializedSize() {
if (rowsLimit_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, rowsLimit_);
}
- if (!getAppProfileIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, appProfileId_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java
index b6d2ab9cb5..5b56fccad4 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java
@@ -241,10 +241,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getTableNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_);
}
- if (!getAppProfileIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, appProfileId_);
}
unknownFields.writeTo(output);
@@ -256,10 +256,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getTableNameBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_);
}
- if (!getAppProfileIdBytes().isEmpty()) {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, appProfileId_);
}
size += unknownFields.getSerializedSize();
diff --git a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto b/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto
index 32aaba21d0..94a8428429 100644
--- a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto
+++ b/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto
@@ -32,7 +32,7 @@ option java_package = "com.google.bigtable.v2";
option php_namespace = "Google\\Cloud\\Bigtable\\V2";
option ruby_package = "Google::Cloud::Bigtable::V2";
option (google.api.resource_definition) = {
- type: "bigtable.googleapis.com/Table"
+ type: "bigtableadmin.googleapis.com/Table"
pattern: "projects/{project}/instances/{instance}/tables/{table}"
};
@@ -129,7 +129,7 @@ message ReadRowsRequest {
string table_name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Table"
+ type: "bigtableadmin.googleapis.com/Table"
}
];
@@ -236,7 +236,7 @@ message SampleRowKeysRequest {
string table_name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Table"
+ type: "bigtableadmin.googleapis.com/Table"
}
];
@@ -271,7 +271,7 @@ message MutateRowRequest {
string table_name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Table"
+ type: "bigtableadmin.googleapis.com/Table"
}
];
@@ -311,7 +311,7 @@ message MutateRowsRequest {
string table_name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Table"
+ type: "bigtableadmin.googleapis.com/Table"
}
];
@@ -355,7 +355,7 @@ message CheckAndMutateRowRequest {
string table_name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Table"
+ type: "bigtableadmin.googleapis.com/Table"
}
];
@@ -403,7 +403,7 @@ message ReadModifyWriteRowRequest {
string table_name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
- type: "bigtable.googleapis.com/Table"
+ type: "bigtableadmin.googleapis.com/Table"
}
];
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 845457558e..8cdaaf738e 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.1.4
+ 2.2.0
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index da5a41ed7c..b3e2ae2a19 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-bigtable
- 2.2.0
+ 2.3.0
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index ae4d830860..45cbc5e59a 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -30,7 +30,7 @@
com.google.cloud
libraries-bom
- 23.1.0
+ 24.0.0
pom
import
diff --git a/synth.metadata b/synth.metadata
index e097c133f8..3c8ea6b612 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,22 +4,22 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-bigtable.git",
- "sha": "8b120de58f0dfba3573ab696fb0e5375e917a00e"
+ "sha": "8e70884dca734934f5ed2cf004fce7c3a42357fd"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "5f761138c64054797b7e25164798d573ff4c1c62",
- "internalRef": "391576441"
+ "sha": "2921f9fb3bfbd16f6b2da0104373e2b47a80a65e",
+ "internalRef": "408420890"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "a4be3384ccb92364795d981f2863f6986fcee620"
+ "sha": "42a3786737c17ece39924d7025f3be481812da53"
}
}
],
@@ -77,6 +77,7 @@
".kokoro/presubmit/clirr.cfg",
".kokoro/presubmit/common.cfg",
".kokoro/presubmit/dependencies.cfg",
+ ".kokoro/presubmit/graalvm-native.cfg",
".kokoro/presubmit/java11.cfg",
".kokoro/presubmit/java7.cfg",
".kokoro/presubmit/java8-osx.cfg",
diff --git a/versions.txt b/versions.txt
index 929c2bd424..86b369a82e 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,9 +1,9 @@
# Format:
# module:released-version:current-version
-google-cloud-bigtable:2.2.0:2.2.0
-grpc-google-cloud-bigtable-admin-v2:2.2.0:2.2.0
-grpc-google-cloud-bigtable-v2:2.2.0:2.2.0
-proto-google-cloud-bigtable-admin-v2:2.2.0:2.2.0
-proto-google-cloud-bigtable-v2:2.2.0:2.2.0
-google-cloud-bigtable-emulator:0.139.0:0.139.0
+google-cloud-bigtable:2.3.0:2.3.0
+grpc-google-cloud-bigtable-admin-v2:2.3.0:2.3.0
+grpc-google-cloud-bigtable-v2:2.3.0:2.3.0
+proto-google-cloud-bigtable-admin-v2:2.3.0:2.3.0
+proto-google-cloud-bigtable-v2:2.3.0:2.3.0
+google-cloud-bigtable-emulator:0.140.0:0.140.0