diff --git a/google-cloud-bigtable/src/main/resources/META-INF/native-image/com.google.cloud.bigtable.admin.v2/reflect-config.json b/google-cloud-bigtable/src/main/resources/META-INF/native-image/com.google.cloud.bigtable.admin.v2/reflect-config.json index c4e7d8a86e..327b42fe84 100644 --- a/google-cloud-bigtable/src/main/resources/META-INF/native-image/com.google.cloud.bigtable.admin.v2/reflect-config.json +++ b/google-cloud-bigtable/src/main/resources/META-INF/native-image/com.google.cloud.bigtable.admin.v2/reflect-config.json @@ -413,6 +413,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.bigtable.admin.v2.AppProfile$Priority", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.bigtable.admin.v2.AppProfile$SingleClusterRouting", "queryAllDeclaredConstructors": true, @@ -431,6 +440,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.bigtable.admin.v2.AppProfile$StandardIsolation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AppProfile$StandardIsolation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.bigtable.admin.v2.AutoscalingLimits", "queryAllDeclaredConstructors": true, diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java index 10e44f3f9e..8c4b1e9cb0 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java @@ -65,6 +65,139 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.bigtable.admin.v2.AppProfile.Builder.class); } + /** + * + * + *
+ * Possible priorities for an app profile. Note that higher priority writes + * can sometimes queue behind lower priority writes to the same tablet, as + * writes must be strictly sequenced in the durability log. + *+ * + * Protobuf enum {@code google.bigtable.admin.v2.AppProfile.Priority} + */ + public enum Priority implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+ * Default value. Mapped to PRIORITY_HIGH (the legacy behavior) on creation. + *+ * + *
PRIORITY_UNSPECIFIED = 0;
+ */
+ PRIORITY_UNSPECIFIED(0),
+ /** PRIORITY_LOW = 1;
*/
+ PRIORITY_LOW(1),
+ /** PRIORITY_MEDIUM = 2;
*/
+ PRIORITY_MEDIUM(2),
+ /** PRIORITY_HIGH = 3;
*/
+ PRIORITY_HIGH(3),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ * + * Default value. Mapped to PRIORITY_HIGH (the legacy behavior) on creation. + *+ * + *
PRIORITY_UNSPECIFIED = 0;
+ */
+ public static final int PRIORITY_UNSPECIFIED_VALUE = 0;
+ /** PRIORITY_LOW = 1;
*/
+ public static final int PRIORITY_LOW_VALUE = 1;
+ /** PRIORITY_MEDIUM = 2;
*/
+ public static final int PRIORITY_MEDIUM_VALUE = 2;
+ /** PRIORITY_HIGH = 3;
*/
+ public static final int PRIORITY_HIGH_VALUE = 3;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static Priority valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static Priority forNumber(int value) {
+ switch (value) {
+ case 0:
+ return PRIORITY_UNSPECIFIED;
+ case 1:
+ return PRIORITY_LOW;
+ case 2:
+ return PRIORITY_MEDIUM;
+ case 3:
+ return PRIORITY_HIGH;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 1;
+ *
+ * @return The enum numeric value on the wire for priority.
*/
- @java.lang.Deprecated
- public static RoutingPolicyCase valueOf(int value) {
- return forNumber(value);
- }
-
- public static RoutingPolicyCase forNumber(int value) {
- switch (value) {
- case 5:
- return MULTI_CLUSTER_ROUTING_USE_ANY;
- case 6:
- return SINGLE_CLUSTER_ROUTING;
- case 0:
- return ROUTINGPOLICY_NOT_SET;
- default:
- return null;
- }
- }
-
- public int getNumber() {
- return this.value;
- }
- };
-
- public RoutingPolicyCase getRoutingPolicyCase() {
- return RoutingPolicyCase.forNumber(routingPolicyCase_);
- }
-
- public static final int NAME_FIELD_NUMBER = 1;
-
- @SuppressWarnings("serial")
- private volatile java.lang.Object name_ = "";
- /**
- *
- *
- * - * The unique name of the app profile. Values are of the form - * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. - *- * - *
string name = 1;
- *
- * @return The name.
- */
- @java.lang.Override
- public java.lang.String getName() {
- java.lang.Object ref = name_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- name_ = s;
- return s;
- }
+ int getPriorityValue();
+ /**
+ *
+ *
+ * + * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 1;
+ *
+ * @return The priority.
+ */
+ com.google.bigtable.admin.v2.AppProfile.Priority getPriority();
}
/**
*
*
* - * The unique name of the app profile. Values are of the form - * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. + * Standard options for isolating this app profile's traffic from other use + * cases. ** - *
string name = 1;
- *
- * @return The bytes for name.
+ * Protobuf type {@code google.bigtable.admin.v2.AppProfile.StandardIsolation}
*/
- @java.lang.Override
- public com.google.protobuf.ByteString getNameBytes() {
- java.lang.Object ref = name_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- name_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
+ public static final class StandardIsolation extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.AppProfile.StandardIsolation)
+ StandardIsolationOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use StandardIsolation.newBuilder() to construct.
+ private StandardIsolation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
}
- }
- public static final int ETAG_FIELD_NUMBER = 2;
+ private StandardIsolation() {
+ priority_ = 0;
+ }
- @SuppressWarnings("serial")
- private volatile java.lang.Object etag_ = "";
- /**
- *
- *
- * - * Strongly validated etag for optimistic concurrency control. Preserve the - * value returned from `GetAppProfile` when calling `UpdateAppProfile` to - * fail the request if there has been a modification in the mean time. The - * `update_mask` of the request need not include `etag` for this protection - * to apply. - * See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and - * [RFC 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more - * details. - *- * - *
string etag = 2;
- *
- * @return The etag.
- */
- @java.lang.Override
- public java.lang.String getEtag() {
- java.lang.Object ref = etag_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- etag_ = s;
- return s;
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new StandardIsolation();
}
- }
- /**
- *
- *
- * - * Strongly validated etag for optimistic concurrency control. Preserve the - * value returned from `GetAppProfile` when calling `UpdateAppProfile` to - * fail the request if there has been a modification in the mean time. The - * `update_mask` of the request need not include `etag` for this protection - * to apply. - * See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and - * [RFC 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more - * details. - *- * - *
string etag = 2;
- *
- * @return The bytes for etag.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getEtagBytes() {
- java.lang.Object ref = etag_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- etag_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.bigtable.admin.v2.InstanceProto
+ .internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_descriptor;
}
- }
- public static final int DESCRIPTION_FIELD_NUMBER = 3;
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.bigtable.admin.v2.InstanceProto
+ .internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolation.class,
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolation.Builder.class);
+ }
- @SuppressWarnings("serial")
- private volatile java.lang.Object description_ = "";
- /**
- *
- *
- * - * Long form description of the use case for this AppProfile. - *+ public static final int PRIORITY_FIELD_NUMBER = 1; + private int priority_ = 0; + /** + * + * + *
+ * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 1;
+ *
+ * @return The enum numeric value on the wire for priority.
+ */
+ @java.lang.Override
+ public int getPriorityValue() {
+ return priority_;
+ }
+ /**
+ *
+ *
+ * + * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 1;
+ *
+ * @return The priority.
+ */
+ @java.lang.Override
+ public com.google.bigtable.admin.v2.AppProfile.Priority getPriority() {
+ com.google.bigtable.admin.v2.AppProfile.Priority result =
+ com.google.bigtable.admin.v2.AppProfile.Priority.forNumber(priority_);
+ return result == null
+ ? com.google.bigtable.admin.v2.AppProfile.Priority.UNRECOGNIZED
+ : result;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (priority_
+ != com.google.bigtable.admin.v2.AppProfile.Priority.PRIORITY_UNSPECIFIED.getNumber()) {
+ output.writeEnum(1, priority_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (priority_
+ != com.google.bigtable.admin.v2.AppProfile.Priority.PRIORITY_UNSPECIFIED.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, priority_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.bigtable.admin.v2.AppProfile.StandardIsolation)) {
+ return super.equals(obj);
+ }
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolation other =
+ (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) obj;
+
+ if (priority_ != other.priority_) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + PRIORITY_FIELD_NUMBER;
+ hash = (53 * hash) + priority_;
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolation prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Standard options for isolating this app profile's traffic from other use + * cases. + *+ * + * Protobuf type {@code google.bigtable.admin.v2.AppProfile.StandardIsolation} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 1;
+ *
+ * @return The enum numeric value on the wire for priority.
+ */
+ @java.lang.Override
+ public int getPriorityValue() {
+ return priority_;
+ }
+ /**
+ *
+ *
+ * + * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 1;
+ *
+ * @param value The enum numeric value on the wire for priority to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPriorityValue(int value) {
+ priority_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 1;
+ *
+ * @return The priority.
+ */
+ @java.lang.Override
+ public com.google.bigtable.admin.v2.AppProfile.Priority getPriority() {
+ com.google.bigtable.admin.v2.AppProfile.Priority result =
+ com.google.bigtable.admin.v2.AppProfile.Priority.forNumber(priority_);
+ return result == null
+ ? com.google.bigtable.admin.v2.AppProfile.Priority.UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ * + * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 1;
+ *
+ * @param value The priority to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPriority(com.google.bigtable.admin.v2.AppProfile.Priority value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ priority_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPriority() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ priority_ = 0;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.AppProfile.StandardIsolation)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.AppProfile.StandardIsolation)
+ private static final com.google.bigtable.admin.v2.AppProfile.StandardIsolation DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.AppProfile.StandardIsolation();
+ }
+
+ public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * The unique name of the app profile. Values are of the form + * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. + *+ * + *
string name = 1;
+ *
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * The unique name of the app profile. Values are of the form + * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. + *+ * + *
string name = 1;
+ *
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int ETAG_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object etag_ = "";
+ /**
+ *
+ *
+ * + * Strongly validated etag for optimistic concurrency control. Preserve the + * value returned from `GetAppProfile` when calling `UpdateAppProfile` to + * fail the request if there has been a modification in the mean time. The + * `update_mask` of the request need not include `etag` for this protection + * to apply. + * See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and + * [RFC 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more + * details. + *+ * + *
string etag = 2;
+ *
+ * @return The etag.
+ */
+ @java.lang.Override
+ public java.lang.String getEtag() {
+ java.lang.Object ref = etag_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ etag_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Strongly validated etag for optimistic concurrency control. Preserve the + * value returned from `GetAppProfile` when calling `UpdateAppProfile` to + * fail the request if there has been a modification in the mean time. The + * `update_mask` of the request need not include `etag` for this protection + * to apply. + * See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and + * [RFC 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more + * details. + *+ * + *
string etag = 2;
+ *
+ * @return The bytes for etag.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getEtagBytes() {
+ java.lang.Object ref = etag_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ etag_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DESCRIPTION_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object description_ = "";
+ /**
+ *
+ *
+ * + * Long form description of the use case for this AppProfile. + ** *
string description = 3;
*
@@ -1943,25 +2742,153 @@ public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getSingleClu
if (routingPolicyCase_ == 6) {
return (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_;
}
- return com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance();
+ return com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Use a single-cluster routing policy. + *+ * + *
.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
+ *
+ */
+ @java.lang.Override
+ public com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder
+ getSingleClusterRoutingOrBuilder() {
+ if (routingPolicyCase_ == 6) {
+ return (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_;
+ }
+ return com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance();
+ }
+
+ public static final int PRIORITY_FIELD_NUMBER = 7;
+ /**
+ *
+ *
+ * + * This field has been deprecated in favor of `standard_isolation.priority`. + * If you set this field, `standard_isolation.priority` will be set instead. + * + * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];
+ *
+ * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
+ * google/bigtable/admin/v2/instance.proto;l=332
+ * @return Whether the priority field is set.
+ */
+ @java.lang.Deprecated
+ public boolean hasPriority() {
+ return isolationCase_ == 7;
+ }
+ /**
+ *
+ *
+ * + * This field has been deprecated in favor of `standard_isolation.priority`. + * If you set this field, `standard_isolation.priority` will be set instead. + * + * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];
+ *
+ * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
+ * google/bigtable/admin/v2/instance.proto;l=332
+ * @return The enum numeric value on the wire for priority.
+ */
+ @java.lang.Deprecated
+ public int getPriorityValue() {
+ if (isolationCase_ == 7) {
+ return (java.lang.Integer) isolation_;
+ }
+ return 0;
+ }
+ /**
+ *
+ *
+ * + * This field has been deprecated in favor of `standard_isolation.priority`. + * If you set this field, `standard_isolation.priority` will be set instead. + * + * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];
+ *
+ * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
+ * google/bigtable/admin/v2/instance.proto;l=332
+ * @return The priority.
+ */
+ @java.lang.Deprecated
+ public com.google.bigtable.admin.v2.AppProfile.Priority getPriority() {
+ if (isolationCase_ == 7) {
+ com.google.bigtable.admin.v2.AppProfile.Priority result =
+ com.google.bigtable.admin.v2.AppProfile.Priority.forNumber(
+ (java.lang.Integer) isolation_);
+ return result == null
+ ? com.google.bigtable.admin.v2.AppProfile.Priority.UNRECOGNIZED
+ : result;
+ }
+ return com.google.bigtable.admin.v2.AppProfile.Priority.PRIORITY_UNSPECIFIED;
+ }
+
+ public static final int STANDARD_ISOLATION_FIELD_NUMBER = 11;
+ /**
+ *
+ *
+ * + * The standard options used for isolating this app profile's traffic from + * other use cases. + *+ * + *
.google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
+ *
+ * @return Whether the standardIsolation field is set.
+ */
+ @java.lang.Override
+ public boolean hasStandardIsolation() {
+ return isolationCase_ == 11;
+ }
+ /**
+ *
+ *
+ * + * The standard options used for isolating this app profile's traffic from + * other use cases. + *+ * + *
.google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
+ *
+ * @return The standardIsolation.
+ */
+ @java.lang.Override
+ public com.google.bigtable.admin.v2.AppProfile.StandardIsolation getStandardIsolation() {
+ if (isolationCase_ == 11) {
+ return (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) isolation_;
+ }
+ return com.google.bigtable.admin.v2.AppProfile.StandardIsolation.getDefaultInstance();
}
/**
*
*
* - * Use a single-cluster routing policy. + * The standard options used for isolating this app profile's traffic from + * other use cases. ** - *
.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
- *
+ * .google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
*/
@java.lang.Override
- public com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder
- getSingleClusterRoutingOrBuilder() {
- if (routingPolicyCase_ == 6) {
- return (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_;
+ public com.google.bigtable.admin.v2.AppProfile.StandardIsolationOrBuilder
+ getStandardIsolationOrBuilder() {
+ if (isolationCase_ == 11) {
+ return (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) isolation_;
}
- return com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance();
+ return com.google.bigtable.admin.v2.AppProfile.StandardIsolation.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
@@ -1995,6 +2922,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
output.writeMessage(
6, (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_);
}
+ if (isolationCase_ == 7) {
+ output.writeEnum(7, ((java.lang.Integer) isolation_));
+ }
+ if (isolationCase_ == 11) {
+ output.writeMessage(
+ 11, (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) isolation_);
+ }
getUnknownFields().writeTo(output);
}
@@ -2024,6 +2958,16 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
6, (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_);
}
+ if (isolationCase_ == 7) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeEnumSize(
+ 7, ((java.lang.Integer) isolation_));
+ }
+ if (isolationCase_ == 11) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 11, (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) isolation_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -2054,6 +2998,17 @@ public boolean equals(final java.lang.Object obj) {
case 0:
default:
}
+ if (!getIsolationCase().equals(other.getIsolationCase())) return false;
+ switch (isolationCase_) {
+ case 7:
+ if (getPriorityValue() != other.getPriorityValue()) return false;
+ break;
+ case 11:
+ if (!getStandardIsolation().equals(other.getStandardIsolation())) return false;
+ break;
+ case 0:
+ default:
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -2083,6 +3038,18 @@ public int hashCode() {
case 0:
default:
}
+ switch (isolationCase_) {
+ case 7:
+ hash = (37 * hash) + PRIORITY_FIELD_NUMBER;
+ hash = (53 * hash) + getPriorityValue();
+ break;
+ case 11:
+ hash = (37 * hash) + STANDARD_ISOLATION_FIELD_NUMBER;
+ hash = (53 * hash) + getStandardIsolation().hashCode();
+ break;
+ case 0:
+ default:
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -2232,8 +3199,13 @@ public Builder clear() {
if (singleClusterRoutingBuilder_ != null) {
singleClusterRoutingBuilder_.clear();
}
+ if (standardIsolationBuilder_ != null) {
+ standardIsolationBuilder_.clear();
+ }
routingPolicyCase_ = 0;
routingPolicy_ = null;
+ isolationCase_ = 0;
+ isolation_ = null;
return this;
}
@@ -2291,6 +3263,11 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.AppProfile result)
if (routingPolicyCase_ == 6 && singleClusterRoutingBuilder_ != null) {
result.routingPolicy_ = singleClusterRoutingBuilder_.build();
}
+ result.isolationCase_ = isolationCase_;
+ result.isolation_ = this.isolation_;
+ if (isolationCase_ == 11 && standardIsolationBuilder_ != null) {
+ result.isolation_ = standardIsolationBuilder_.build();
+ }
}
@java.lang.Override
@@ -2369,6 +3346,22 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.AppProfile other) {
break;
}
}
+ switch (other.getIsolationCase()) {
+ case PRIORITY:
+ {
+ setPriorityValue(other.getPriorityValue());
+ break;
+ }
+ case STANDARD_ISOLATION:
+ {
+ mergeStandardIsolation(other.getStandardIsolation());
+ break;
+ }
+ case ISOLATION_NOT_SET:
+ {
+ break;
+ }
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -2427,6 +3420,20 @@ public Builder mergeFrom(
routingPolicyCase_ = 6;
break;
} // case 50
+ case 56:
+ {
+ int rawValue = input.readEnum();
+ isolationCase_ = 7;
+ isolation_ = rawValue;
+ break;
+ } // case 56
+ case 90:
+ {
+ input.readMessage(
+ getStandardIsolationFieldBuilder().getBuilder(), extensionRegistry);
+ isolationCase_ = 11;
+ break;
+ } // case 90
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -2458,6 +3465,20 @@ public Builder clearRoutingPolicy() {
return this;
}
+ private int isolationCase_ = 0;
+ private java.lang.Object isolation_;
+
+ public IsolationCase getIsolationCase() {
+ return IsolationCase.forNumber(isolationCase_);
+ }
+
+ public Builder clearIsolation() {
+ isolationCase_ = 0;
+ isolation_ = null;
+ onChanged();
+ return this;
+ }
+
private int bitField0_;
private java.lang.Object name_ = "";
@@ -3283,6 +4304,381 @@ public Builder clearSingleClusterRouting() {
return singleClusterRoutingBuilder_;
}
+ /**
+ *
+ *
+ * + * This field has been deprecated in favor of `standard_isolation.priority`. + * If you set this field, `standard_isolation.priority` will be set instead. + * + * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];
+ *
+ * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
+ * google/bigtable/admin/v2/instance.proto;l=332
+ * @return Whether the priority field is set.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public boolean hasPriority() {
+ return isolationCase_ == 7;
+ }
+ /**
+ *
+ *
+ * + * This field has been deprecated in favor of `standard_isolation.priority`. + * If you set this field, `standard_isolation.priority` will be set instead. + * + * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];
+ *
+ * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
+ * google/bigtable/admin/v2/instance.proto;l=332
+ * @return The enum numeric value on the wire for priority.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public int getPriorityValue() {
+ if (isolationCase_ == 7) {
+ return ((java.lang.Integer) isolation_).intValue();
+ }
+ return 0;
+ }
+ /**
+ *
+ *
+ * + * This field has been deprecated in favor of `standard_isolation.priority`. + * If you set this field, `standard_isolation.priority` will be set instead. + * + * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];
+ *
+ * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
+ * google/bigtable/admin/v2/instance.proto;l=332
+ * @param value The enum numeric value on the wire for priority to set.
+ * @return This builder for chaining.
+ */
+ @java.lang.Deprecated
+ public Builder setPriorityValue(int value) {
+ isolationCase_ = 7;
+ isolation_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * This field has been deprecated in favor of `standard_isolation.priority`. + * If you set this field, `standard_isolation.priority` will be set instead. + * + * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];
+ *
+ * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
+ * google/bigtable/admin/v2/instance.proto;l=332
+ * @return The priority.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public com.google.bigtable.admin.v2.AppProfile.Priority getPriority() {
+ if (isolationCase_ == 7) {
+ com.google.bigtable.admin.v2.AppProfile.Priority result =
+ com.google.bigtable.admin.v2.AppProfile.Priority.forNumber(
+ (java.lang.Integer) isolation_);
+ return result == null
+ ? com.google.bigtable.admin.v2.AppProfile.Priority.UNRECOGNIZED
+ : result;
+ }
+ return com.google.bigtable.admin.v2.AppProfile.Priority.PRIORITY_UNSPECIFIED;
+ }
+ /**
+ *
+ *
+ * + * This field has been deprecated in favor of `standard_isolation.priority`. + * If you set this field, `standard_isolation.priority` will be set instead. + * + * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];
+ *
+ * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
+ * google/bigtable/admin/v2/instance.proto;l=332
+ * @param value The priority to set.
+ * @return This builder for chaining.
+ */
+ @java.lang.Deprecated
+ public Builder setPriority(com.google.bigtable.admin.v2.AppProfile.Priority value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ isolationCase_ = 7;
+ isolation_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * This field has been deprecated in favor of `standard_isolation.priority`. + * If you set this field, `standard_isolation.priority` will be set instead. + * + * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];
+ *
+ * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
+ * google/bigtable/admin/v2/instance.proto;l=332
+ * @return This builder for chaining.
+ */
+ @java.lang.Deprecated
+ public Builder clearPriority() {
+ if (isolationCase_ == 7) {
+ isolationCase_ = 0;
+ isolation_ = null;
+ onChanged();
+ }
+ return this;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolation,
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolation.Builder,
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolationOrBuilder>
+ standardIsolationBuilder_;
+ /**
+ *
+ *
+ * + * The standard options used for isolating this app profile's traffic from + * other use cases. + *+ * + *
.google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
+ *
+ * @return Whether the standardIsolation field is set.
+ */
+ @java.lang.Override
+ public boolean hasStandardIsolation() {
+ return isolationCase_ == 11;
+ }
+ /**
+ *
+ *
+ * + * The standard options used for isolating this app profile's traffic from + * other use cases. + *+ * + *
.google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
+ *
+ * @return The standardIsolation.
+ */
+ @java.lang.Override
+ public com.google.bigtable.admin.v2.AppProfile.StandardIsolation getStandardIsolation() {
+ if (standardIsolationBuilder_ == null) {
+ if (isolationCase_ == 11) {
+ return (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) isolation_;
+ }
+ return com.google.bigtable.admin.v2.AppProfile.StandardIsolation.getDefaultInstance();
+ } else {
+ if (isolationCase_ == 11) {
+ return standardIsolationBuilder_.getMessage();
+ }
+ return com.google.bigtable.admin.v2.AppProfile.StandardIsolation.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * The standard options used for isolating this app profile's traffic from + * other use cases. + *+ * + *
.google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
+ */
+ public Builder setStandardIsolation(
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolation value) {
+ if (standardIsolationBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ isolation_ = value;
+ onChanged();
+ } else {
+ standardIsolationBuilder_.setMessage(value);
+ }
+ isolationCase_ = 11;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The standard options used for isolating this app profile's traffic from + * other use cases. + *+ * + *
.google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
+ */
+ public Builder setStandardIsolation(
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolation.Builder builderForValue) {
+ if (standardIsolationBuilder_ == null) {
+ isolation_ = builderForValue.build();
+ onChanged();
+ } else {
+ standardIsolationBuilder_.setMessage(builderForValue.build());
+ }
+ isolationCase_ = 11;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The standard options used for isolating this app profile's traffic from + * other use cases. + *+ * + *
.google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
+ */
+ public Builder mergeStandardIsolation(
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolation value) {
+ if (standardIsolationBuilder_ == null) {
+ if (isolationCase_ == 11
+ && isolation_
+ != com.google.bigtable.admin.v2.AppProfile.StandardIsolation.getDefaultInstance()) {
+ isolation_ =
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolation.newBuilder(
+ (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) isolation_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ isolation_ = value;
+ }
+ onChanged();
+ } else {
+ if (isolationCase_ == 11) {
+ standardIsolationBuilder_.mergeFrom(value);
+ } else {
+ standardIsolationBuilder_.setMessage(value);
+ }
+ }
+ isolationCase_ = 11;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The standard options used for isolating this app profile's traffic from + * other use cases. + *+ * + *
.google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
+ */
+ public Builder clearStandardIsolation() {
+ if (standardIsolationBuilder_ == null) {
+ if (isolationCase_ == 11) {
+ isolationCase_ = 0;
+ isolation_ = null;
+ onChanged();
+ }
+ } else {
+ if (isolationCase_ == 11) {
+ isolationCase_ = 0;
+ isolation_ = null;
+ }
+ standardIsolationBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The standard options used for isolating this app profile's traffic from + * other use cases. + *+ * + *
.google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
+ */
+ public com.google.bigtable.admin.v2.AppProfile.StandardIsolation.Builder
+ getStandardIsolationBuilder() {
+ return getStandardIsolationFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * The standard options used for isolating this app profile's traffic from + * other use cases. + *+ * + *
.google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
+ */
+ @java.lang.Override
+ public com.google.bigtable.admin.v2.AppProfile.StandardIsolationOrBuilder
+ getStandardIsolationOrBuilder() {
+ if ((isolationCase_ == 11) && (standardIsolationBuilder_ != null)) {
+ return standardIsolationBuilder_.getMessageOrBuilder();
+ } else {
+ if (isolationCase_ == 11) {
+ return (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) isolation_;
+ }
+ return com.google.bigtable.admin.v2.AppProfile.StandardIsolation.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * The standard options used for isolating this app profile's traffic from + * other use cases. + *+ * + *
.google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolation,
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolation.Builder,
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolationOrBuilder>
+ getStandardIsolationFieldBuilder() {
+ if (standardIsolationBuilder_ == null) {
+ if (!(isolationCase_ == 11)) {
+ isolation_ =
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolation.getDefaultInstance();
+ }
+ standardIsolationBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolation,
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolation.Builder,
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolationOrBuilder>(
+ (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) isolation_,
+ getParentForChildren(),
+ isClean());
+ isolation_ = null;
+ }
+ isolationCase_ = 11;
+ onChanged();
+ return standardIsolationBuilder_;
+ }
+
@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/AppProfileOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java
index cca7ffaed4..0734add654 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java
@@ -195,5 +195,101 @@ public interface AppProfileOrBuilder
com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder
getSingleClusterRoutingOrBuilder();
+ /**
+ *
+ *
+ * + * This field has been deprecated in favor of `standard_isolation.priority`. + * If you set this field, `standard_isolation.priority` will be set instead. + * + * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];
+ *
+ * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
+ * google/bigtable/admin/v2/instance.proto;l=332
+ * @return Whether the priority field is set.
+ */
+ @java.lang.Deprecated
+ boolean hasPriority();
+ /**
+ *
+ *
+ * + * This field has been deprecated in favor of `standard_isolation.priority`. + * If you set this field, `standard_isolation.priority` will be set instead. + * + * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];
+ *
+ * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
+ * google/bigtable/admin/v2/instance.proto;l=332
+ * @return The enum numeric value on the wire for priority.
+ */
+ @java.lang.Deprecated
+ int getPriorityValue();
+ /**
+ *
+ *
+ * + * This field has been deprecated in favor of `standard_isolation.priority`. + * If you set this field, `standard_isolation.priority` will be set instead. + * + * The priority of requests sent using this app profile. + *+ * + *
.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];
+ *
+ * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See
+ * google/bigtable/admin/v2/instance.proto;l=332
+ * @return The priority.
+ */
+ @java.lang.Deprecated
+ com.google.bigtable.admin.v2.AppProfile.Priority getPriority();
+
+ /**
+ *
+ *
+ * + * The standard options used for isolating this app profile's traffic from + * other use cases. + *+ * + *
.google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
+ *
+ * @return Whether the standardIsolation field is set.
+ */
+ boolean hasStandardIsolation();
+ /**
+ *
+ *
+ * + * The standard options used for isolating this app profile's traffic from + * other use cases. + *+ * + *
.google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
+ *
+ * @return The standardIsolation.
+ */
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolation getStandardIsolation();
+ /**
+ *
+ *
+ * + * The standard options used for isolating this app profile's traffic from + * other use cases. + *+ * + *
.google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
+ */
+ com.google.bigtable.admin.v2.AppProfile.StandardIsolationOrBuilder
+ getStandardIsolationOrBuilder();
+
com.google.bigtable.admin.v2.AppProfile.RoutingPolicyCase getRoutingPolicyCase();
+
+ com.google.bigtable.admin.v2.AppProfile.IsolationCase getIsolationCase();
}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java
index 286b4bb42c..b7a854b9f0 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java
@@ -89,7 +89,7 @@ public int getCpuUtilizationPercent() {
* * The storage utilization that the Autoscaler should be trying to achieve. * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD - * cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster; + * cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster, * otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, * it will be treated as if it were set to the default value: 2560 for SSD, * 8192 for HDD. @@ -536,7 +536,7 @@ public Builder clearCpuUtilizationPercent() { ** The storage utilization that the Autoscaler should be trying to achieve. * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD - * cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster; + * cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster, * otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, * it will be treated as if it were set to the default value: 2560 for SSD, * 8192 for HDD. @@ -556,7 +556,7 @@ public int getStorageUtilizationGibPerNode() { ** The storage utilization that the Autoscaler should be trying to achieve. * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD - * cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster; + * cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster, * otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, * it will be treated as if it were set to the default value: 2560 for SSD, * 8192 for HDD. @@ -580,7 +580,7 @@ public Builder setStorageUtilizationGibPerNode(int value) { ** The storage utilization that the Autoscaler should be trying to achieve. * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD - * cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster; + * cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster, * otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, * it will be treated as if it were set to the default value: 2560 for SSD, * 8192 for HDD. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java index ad3f6342ef..47b42cb86d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java @@ -45,7 +45,7 @@ public interface AutoscalingTargetsOrBuilder ** The storage utilization that the Autoscaler should be trying to achieve. * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD - * cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster; + * cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster, * otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, * it will be treated as if it were set to the default value: 2560 for SSD, * 8192 for HDD. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java index a33bffee5e..58de2ce4de 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java @@ -3012,8 +3012,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *- * Immutable. The location where this cluster's nodes and storage reside. For best - * performance, clients should be located as close as possible to this + * Immutable. The location where this cluster's nodes and storage reside. For + * best performance, clients should be located as close as possible to this * cluster. Currently only zones are supported, so values should be of the * form `projects/{project}/locations/{zone}`. *@@ -3040,8 +3040,8 @@ public java.lang.String getLocation() { * * *- * Immutable. The location where this cluster's nodes and storage reside. For best - * performance, clients should be located as close as possible to this + * Immutable. The location where this cluster's nodes and storage reside. For + * best performance, clients should be located as close as possible to this * cluster. Currently only zones are supported, so values should be of the * form `projects/{project}/locations/{zone}`. *@@ -3922,8 +3922,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *- * Immutable. The location where this cluster's nodes and storage reside. For best - * performance, clients should be located as close as possible to this + * Immutable. The location where this cluster's nodes and storage reside. For + * best performance, clients should be located as close as possible to this * cluster. Currently only zones are supported, so values should be of the * form `projects/{project}/locations/{zone}`. *@@ -3949,8 +3949,8 @@ public java.lang.String getLocation() { * * *- * Immutable. The location where this cluster's nodes and storage reside. For best - * performance, clients should be located as close as possible to this + * Immutable. The location where this cluster's nodes and storage reside. For + * best performance, clients should be located as close as possible to this * cluster. Currently only zones are supported, so values should be of the * form `projects/{project}/locations/{zone}`. *@@ -3976,8 +3976,8 @@ public com.google.protobuf.ByteString getLocationBytes() { * * *- * Immutable. The location where this cluster's nodes and storage reside. For best - * performance, clients should be located as close as possible to this + * Immutable. The location where this cluster's nodes and storage reside. For + * best performance, clients should be located as close as possible to this * cluster. Currently only zones are supported, so values should be of the * form `projects/{project}/locations/{zone}`. *@@ -4002,8 +4002,8 @@ public Builder setLocation(java.lang.String value) { * * *- * Immutable. The location where this cluster's nodes and storage reside. For best - * performance, clients should be located as close as possible to this + * Immutable. The location where this cluster's nodes and storage reside. For + * best performance, clients should be located as close as possible to this * cluster. Currently only zones are supported, so values should be of the * form `projects/{project}/locations/{zone}`. *@@ -4024,8 +4024,8 @@ public Builder clearLocation() { * * *- * Immutable. The location where this cluster's nodes and storage reside. For best - * performance, clients should be located as close as possible to this + * Immutable. The location where this cluster's nodes and storage reside. For + * best performance, clients should be located as close as possible to this * cluster. Currently only zones are supported, so values should be of the * form `projects/{project}/locations/{zone}`. *diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java index 409f06a149..d85142ac76 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java @@ -54,8 +54,8 @@ public interface ClusterOrBuilder * * *- * Immutable. The location where this cluster's nodes and storage reside. For best - * performance, clients should be located as close as possible to this + * Immutable. The location where this cluster's nodes and storage reside. For + * best performance, clients should be located as close as possible to this * cluster. Currently only zones are supported, so values should be of the * form `projects/{project}/locations/{zone}`. *@@ -71,8 +71,8 @@ public interface ClusterOrBuilder * * *- * Immutable. The location where this cluster's nodes and storage reside. For best - * performance, clients should be located as close as possible to this + * Immutable. The location where this cluster's nodes and storage reside. For + * best performance, clients should be located as close as possible to this * cluster. Currently only zones are supported, so values should be of the * form `projects/{project}/locations/{zone}`. *diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java index 07fb8ea84b..75ecf5368f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java @@ -71,9 +71,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *- * Required. The unique name of the instance in which to create the new app profile. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new app + * profile. Values are of the form `projects/{project}/instances/{instance}`. ** *@@ -98,9 +97,8 @@ public java.lang.String getParent() { * * *
- * Required. The unique name of the instance in which to create the new app profile. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new app + * profile. Values are of the form `projects/{project}/instances/{instance}`. ** *@@ -130,8 +128,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
- * Required. The ID to be used when referring to the new app profile within its - * instance, e.g., just `myprofile` rather than + * Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. ** @@ -155,8 +153,8 @@ public java.lang.String getAppProfileId() { * * *- * Required. The ID to be used when referring to the new app profile within its - * instance, e.g., just `myprofile` rather than + * Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. ** @@ -678,9 +676,8 @@ public Builder mergeFrom( * * *- * Required. The unique name of the instance in which to create the new app profile. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new app + * profile. Values are of the form `projects/{project}/instances/{instance}`. ** *@@ -704,9 +701,8 @@ public java.lang.String getParent() { * * *
- * Required. The unique name of the instance in which to create the new app profile. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new app + * profile. Values are of the form `projects/{project}/instances/{instance}`. ** *@@ -730,9 +726,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
- * Required. The unique name of the instance in which to create the new app profile. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new app + * profile. Values are of the form `projects/{project}/instances/{instance}`. ** *@@ -755,9 +750,8 @@ public Builder setParent(java.lang.String value) { * * *
- * Required. The unique name of the instance in which to create the new app profile. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new app + * profile. Values are of the form `projects/{project}/instances/{instance}`. ** *@@ -776,9 +770,8 @@ public Builder clearParent() { * * *
- * Required. The unique name of the instance in which to create the new app profile. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new app + * profile. Values are of the form `projects/{project}/instances/{instance}`. ** *@@ -804,8 +797,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
- * Required. The ID to be used when referring to the new app profile within its - * instance, e.g., just `myprofile` rather than + * Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. ** @@ -828,8 +821,8 @@ public java.lang.String getAppProfileId() { * * *- * Required. The ID to be used when referring to the new app profile within its - * instance, e.g., just `myprofile` rather than + * Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. ** @@ -852,8 +845,8 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { * * *- * Required. The ID to be used when referring to the new app profile within its - * instance, e.g., just `myprofile` rather than + * Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. ** @@ -875,8 +868,8 @@ public Builder setAppProfileId(java.lang.String value) { * * *- * Required. The ID to be used when referring to the new app profile within its - * instance, e.g., just `myprofile` rather than + * Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. ** @@ -894,8 +887,8 @@ public Builder clearAppProfileId() { * * *- * Required. The ID to be used when referring to the new app profile within its - * instance, e.g., just `myprofile` rather than + * Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. ** diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java index 7136d83eed..dbb63c357f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java @@ -27,9 +27,8 @@ public interface CreateAppProfileRequestOrBuilder * * *- * Required. The unique name of the instance in which to create the new app profile. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new app + * profile. Values are of the form `projects/{project}/instances/{instance}`. ** *@@ -43,9 +42,8 @@ public interface CreateAppProfileRequestOrBuilder * * *
- * Required. The unique name of the instance in which to create the new app profile. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new app + * profile. Values are of the form `projects/{project}/instances/{instance}`. ** *@@ -60,8 +58,8 @@ public interface CreateAppProfileRequestOrBuilder * * *
- * Required. The ID to be used when referring to the new app profile within its - * instance, e.g., just `myprofile` rather than + * Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. ** @@ -74,8 +72,8 @@ public interface CreateAppProfileRequestOrBuilder * * *- * Required. The ID to be used when referring to the new app profile within its - * instance, e.g., just `myprofile` rather than + * Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. ** diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java index 500fed6ab7..4671cb1564 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java @@ -71,9 +71,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *- * Required. The unique name of the instance in which to create the new cluster. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new + * cluster. Values are of the form `projects/{project}/instances/{instance}`. ** *@@ -98,9 +97,8 @@ public java.lang.String getParent() { * * *
- * Required. The unique name of the instance in which to create the new cluster. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new + * cluster. Values are of the form `projects/{project}/instances/{instance}`. ** *@@ -130,8 +128,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
- * Required. The ID to be used when referring to the new cluster within its instance, - * e.g., just `mycluster` rather than + * Required. The ID to be used when referring to the new cluster within its + * instance, e.g., just `mycluster` rather than * `projects/myproject/instances/myinstance/clusters/mycluster`. ** @@ -155,8 +153,8 @@ public java.lang.String getClusterId() { * * *- * Required. The ID to be used when referring to the new cluster within its instance, - * e.g., just `mycluster` rather than + * Required. The ID to be used when referring to the new cluster within its + * instance, e.g., just `mycluster` rather than * `projects/myproject/instances/myinstance/clusters/mycluster`. ** @@ -631,9 +629,8 @@ public Builder mergeFrom( * * *- * Required. The unique name of the instance in which to create the new cluster. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new + * cluster. Values are of the form `projects/{project}/instances/{instance}`. ** *@@ -657,9 +654,8 @@ public java.lang.String getParent() { * * *
- * Required. The unique name of the instance in which to create the new cluster. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new + * cluster. Values are of the form `projects/{project}/instances/{instance}`. ** *@@ -683,9 +679,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
- * Required. The unique name of the instance in which to create the new cluster. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new + * cluster. Values are of the form `projects/{project}/instances/{instance}`. ** *@@ -708,9 +703,8 @@ public Builder setParent(java.lang.String value) { * * *
- * Required. The unique name of the instance in which to create the new cluster. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new + * cluster. Values are of the form `projects/{project}/instances/{instance}`. ** *@@ -729,9 +723,8 @@ public Builder clearParent() { * * *
- * Required. The unique name of the instance in which to create the new cluster. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new + * cluster. Values are of the form `projects/{project}/instances/{instance}`. ** *@@ -757,8 +750,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
- * Required. The ID to be used when referring to the new cluster within its instance, - * e.g., just `mycluster` rather than + * Required. The ID to be used when referring to the new cluster within its + * instance, e.g., just `mycluster` rather than * `projects/myproject/instances/myinstance/clusters/mycluster`. ** @@ -781,8 +774,8 @@ public java.lang.String getClusterId() { * * *- * Required. The ID to be used when referring to the new cluster within its instance, - * e.g., just `mycluster` rather than + * Required. The ID to be used when referring to the new cluster within its + * instance, e.g., just `mycluster` rather than * `projects/myproject/instances/myinstance/clusters/mycluster`. ** @@ -805,8 +798,8 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *- * Required. The ID to be used when referring to the new cluster within its instance, - * e.g., just `mycluster` rather than + * Required. The ID to be used when referring to the new cluster within its + * instance, e.g., just `mycluster` rather than * `projects/myproject/instances/myinstance/clusters/mycluster`. ** @@ -828,8 +821,8 @@ public Builder setClusterId(java.lang.String value) { * * *- * Required. The ID to be used when referring to the new cluster within its instance, - * e.g., just `mycluster` rather than + * Required. The ID to be used when referring to the new cluster within its + * instance, e.g., just `mycluster` rather than * `projects/myproject/instances/myinstance/clusters/mycluster`. ** @@ -847,8 +840,8 @@ public Builder clearClusterId() { * * *- * Required. The ID to be used when referring to the new cluster within its instance, - * e.g., just `mycluster` rather than + * Required. The ID to be used when referring to the new cluster within its + * instance, e.g., just `mycluster` rather than * `projects/myproject/instances/myinstance/clusters/mycluster`. ** diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java index f5cc680bf0..2423d7da8d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java @@ -27,9 +27,8 @@ public interface CreateClusterRequestOrBuilder * * *- * Required. The unique name of the instance in which to create the new cluster. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new + * cluster. Values are of the form `projects/{project}/instances/{instance}`. ** *@@ -43,9 +42,8 @@ public interface CreateClusterRequestOrBuilder * * *
- * Required. The unique name of the instance in which to create the new cluster. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new + * cluster. Values are of the form `projects/{project}/instances/{instance}`. ** *@@ -60,8 +58,8 @@ public interface CreateClusterRequestOrBuilder * * *
- * Required. The ID to be used when referring to the new cluster within its instance, - * e.g., just `mycluster` rather than + * Required. The ID to be used when referring to the new cluster within its + * instance, e.g., just `mycluster` rather than * `projects/myproject/instances/myinstance/clusters/mycluster`. ** @@ -74,8 +72,8 @@ public interface CreateClusterRequestOrBuilder * * *- * Required. The ID to be used when referring to the new cluster within its instance, - * e.g., just `mycluster` rather than + * Required. The ID to be used when referring to the new cluster within its + * instance, e.g., just `mycluster` rather than * `projects/myproject/instances/myinstance/clusters/mycluster`. ** diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java index 78d905eda9..658160eb2c 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java @@ -82,8 +82,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * *- * Required. The unique name of the project in which to create the new instance. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project in which to create the new + * instance. Values are of the form `projects/{project}`. ** *@@ -108,8 +108,8 @@ public java.lang.String getParent() { * * *
- * Required. The unique name of the project in which to create the new instance. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project in which to create the new + * instance. Values are of the form `projects/{project}`. ** *@@ -139,8 +139,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
- * Required. The ID to be used when referring to the new instance within its project, - * e.g., just `myinstance` rather than + * Required. The ID to be used when referring to the new instance within its + * project, e.g., just `myinstance` rather than * `projects/myproject/instances/myinstance`. ** @@ -164,8 +164,8 @@ public java.lang.String getInstanceId() { * * *- * Required. The ID to be used when referring to the new instance within its project, - * e.g., just `myinstance` rather than + * Required. The ID to be used when referring to the new instance within its + * project, e.g., just `myinstance` rather than * `projects/myproject/instances/myinstance`. ** @@ -838,8 +838,8 @@ public Builder mergeFrom( * * *- * Required. The unique name of the project in which to create the new instance. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project in which to create the new + * instance. Values are of the form `projects/{project}`. ** *@@ -863,8 +863,8 @@ public java.lang.String getParent() { * * *
- * Required. The unique name of the project in which to create the new instance. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project in which to create the new + * instance. Values are of the form `projects/{project}`. ** *@@ -888,8 +888,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
- * Required. The unique name of the project in which to create the new instance. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project in which to create the new + * instance. Values are of the form `projects/{project}`. ** *@@ -912,8 +912,8 @@ public Builder setParent(java.lang.String value) { * * *
- * Required. The unique name of the project in which to create the new instance. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project in which to create the new + * instance. Values are of the form `projects/{project}`. ** *@@ -932,8 +932,8 @@ public Builder clearParent() { * * *
- * Required. The unique name of the project in which to create the new instance. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project in which to create the new + * instance. Values are of the form `projects/{project}`. ** *@@ -959,8 +959,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
- * Required. The ID to be used when referring to the new instance within its project, - * e.g., just `myinstance` rather than + * Required. The ID to be used when referring to the new instance within its + * project, e.g., just `myinstance` rather than * `projects/myproject/instances/myinstance`. ** @@ -983,8 +983,8 @@ public java.lang.String getInstanceId() { * * *- * Required. The ID to be used when referring to the new instance within its project, - * e.g., just `myinstance` rather than + * Required. The ID to be used when referring to the new instance within its + * project, e.g., just `myinstance` rather than * `projects/myproject/instances/myinstance`. ** @@ -1007,8 +1007,8 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { * * *- * Required. The ID to be used when referring to the new instance within its project, - * e.g., just `myinstance` rather than + * Required. The ID to be used when referring to the new instance within its + * project, e.g., just `myinstance` rather than * `projects/myproject/instances/myinstance`. ** @@ -1030,8 +1030,8 @@ public Builder setInstanceId(java.lang.String value) { * * *- * Required. The ID to be used when referring to the new instance within its project, - * e.g., just `myinstance` rather than + * Required. The ID to be used when referring to the new instance within its + * project, e.g., just `myinstance` rather than * `projects/myproject/instances/myinstance`. ** @@ -1049,8 +1049,8 @@ public Builder clearInstanceId() { * * *- * Required. The ID to be used when referring to the new instance within its project, - * e.g., just `myinstance` rather than + * Required. The ID to be used when referring to the new instance within its + * project, e.g., just `myinstance` rather than * `projects/myproject/instances/myinstance`. ** diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java index bb363f5f50..a0ed6a141a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface CreateInstanceRequestOrBuilder * * *- * Required. The unique name of the project in which to create the new instance. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project in which to create the new + * instance. Values are of the form `projects/{project}`. ** *@@ -42,8 +42,8 @@ public interface CreateInstanceRequestOrBuilder * * *
- * Required. The unique name of the project in which to create the new instance. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project in which to create the new + * instance. Values are of the form `projects/{project}`. ** *@@ -58,8 +58,8 @@ public interface CreateInstanceRequestOrBuilder * * *
- * Required. The ID to be used when referring to the new instance within its project, - * e.g., just `myinstance` rather than + * Required. The ID to be used when referring to the new instance within its + * project, e.g., just `myinstance` rather than * `projects/myproject/instances/myinstance`. ** @@ -72,8 +72,8 @@ public interface CreateInstanceRequestOrBuilder * * *- * Required. The ID to be used when referring to the new instance within its project, - * e.g., just `myinstance` rather than + * Required. The ID to be used when referring to the new instance within its + * project, e.g., just `myinstance` rather than * `projects/myproject/instances/myinstance`. ** diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java index 99ca75309c..6c1ba64f72 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java @@ -70,7 +70,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *- * Required. The unique name of the app profile to be deleted. Values are of the form + * Required. The unique name of the app profile to be deleted. Values are of + * the form * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. ** @@ -96,7 +97,8 @@ public java.lang.String getName() { * * *- * Required. The unique name of the app profile to be deleted. Values are of the form + * Required. The unique name of the app profile to be deleted. Values are of + * the form * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. ** @@ -506,7 +508,8 @@ public Builder mergeFrom( * * *- * Required. The unique name of the app profile to be deleted. Values are of the form + * Required. The unique name of the app profile to be deleted. Values are of + * the form * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. ** @@ -531,7 +534,8 @@ public java.lang.String getName() { * * *- * Required. The unique name of the app profile to be deleted. Values are of the form + * Required. The unique name of the app profile to be deleted. Values are of + * the form * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. ** @@ -556,7 +560,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *- * Required. The unique name of the app profile to be deleted. Values are of the form + * Required. The unique name of the app profile to be deleted. Values are of + * the form * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. ** @@ -580,7 +585,8 @@ public Builder setName(java.lang.String value) { * * *- * Required. The unique name of the app profile to be deleted. Values are of the form + * Required. The unique name of the app profile to be deleted. Values are of + * the form * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. ** @@ -600,7 +606,8 @@ public Builder clearName() { * * *- * Required. The unique name of the app profile to be deleted. Values are of the form + * Required. The unique name of the app profile to be deleted. Values are of + * the form * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. ** diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java index 3a098ba3f5..978ebfd8d5 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java @@ -27,7 +27,8 @@ public interface DeleteAppProfileRequestOrBuilder * * *- * Required. The unique name of the app profile to be deleted. Values are of the form + * Required. The unique name of the app profile to be deleted. Values are of + * the form * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. ** @@ -42,7 +43,8 @@ public interface DeleteAppProfileRequestOrBuilder * * *- * Required. The unique name of the app profile to be deleted. Values are of the form + * Required. The unique name of the app profile to be deleted. Values are of + * the form * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. ** diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java index f537f96f47..1f8d8f263d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java @@ -70,8 +70,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *- * Required. The unique name of the cluster to be deleted. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * Required. The unique name of the cluster to be deleted. Values are of the + * form `projects/{project}/instances/{instance}/clusters/{cluster}`. ** *@@ -96,8 +96,8 @@ public java.lang.String getName() { * * *
- * Required. The unique name of the cluster to be deleted. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * Required. The unique name of the cluster to be deleted. Values are of the + * form `projects/{project}/instances/{instance}/clusters/{cluster}`. ** *@@ -466,8 +466,8 @@ public Builder mergeFrom( * * *
- * Required. The unique name of the cluster to be deleted. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * Required. The unique name of the cluster to be deleted. Values are of the + * form `projects/{project}/instances/{instance}/clusters/{cluster}`. ** *@@ -491,8 +491,8 @@ public java.lang.String getName() { * * *
- * Required. The unique name of the cluster to be deleted. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * Required. The unique name of the cluster to be deleted. Values are of the + * form `projects/{project}/instances/{instance}/clusters/{cluster}`. ** *@@ -516,8 +516,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
- * Required. The unique name of the cluster to be deleted. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * Required. The unique name of the cluster to be deleted. Values are of the + * form `projects/{project}/instances/{instance}/clusters/{cluster}`. ** *@@ -540,8 +540,8 @@ public Builder setName(java.lang.String value) { * * *
- * Required. The unique name of the cluster to be deleted. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * Required. The unique name of the cluster to be deleted. Values are of the + * form `projects/{project}/instances/{instance}/clusters/{cluster}`. ** *@@ -560,8 +560,8 @@ public Builder clearName() { * * *
- * Required. The unique name of the cluster to be deleted. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * Required. The unique name of the cluster to be deleted. Values are of the + * form `projects/{project}/instances/{instance}/clusters/{cluster}`. ** *diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java index 73b88667fa..a38ee3cc81 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface DeleteClusterRequestOrBuilder * * *
- * Required. The unique name of the cluster to be deleted. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * Required. The unique name of the cluster to be deleted. Values are of the + * form `projects/{project}/instances/{instance}/clusters/{cluster}`. ** *@@ -42,8 +42,8 @@ public interface DeleteClusterRequestOrBuilder * * *
- * Required. The unique name of the cluster to be deleted. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * Required. The unique name of the cluster to be deleted. Values are of the + * form `projects/{project}/instances/{instance}/clusters/{cluster}`. ** *diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java index 7e2d9e2c82..8598f0aa86 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java @@ -70,8 +70,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
- * Required. The unique name of the requested app profile. Values are of the form - * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * Required. The unique name of the requested app profile. Values are of the + * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. ** *@@ -96,8 +96,8 @@ public java.lang.String getName() { * * *
- * Required. The unique name of the requested app profile. Values are of the form - * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * Required. The unique name of the requested app profile. Values are of the + * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. ** *@@ -466,8 +466,8 @@ public Builder mergeFrom( * * *
- * Required. The unique name of the requested app profile. Values are of the form - * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * Required. The unique name of the requested app profile. Values are of the + * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. ** *@@ -491,8 +491,8 @@ public java.lang.String getName() { * * *
- * Required. The unique name of the requested app profile. Values are of the form - * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * Required. The unique name of the requested app profile. Values are of the + * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. ** *@@ -516,8 +516,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
- * Required. The unique name of the requested app profile. Values are of the form - * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * Required. The unique name of the requested app profile. Values are of the + * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. ** *@@ -540,8 +540,8 @@ public Builder setName(java.lang.String value) { * * *
- * Required. The unique name of the requested app profile. Values are of the form - * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * Required. The unique name of the requested app profile. Values are of the + * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. ** *@@ -560,8 +560,8 @@ public Builder clearName() { * * *
- * Required. The unique name of the requested app profile. Values are of the form - * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * Required. The unique name of the requested app profile. Values are of the + * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. ** *diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java index c625183c81..71c5fb9cc4 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface GetAppProfileRequestOrBuilder * * *
- * Required. The unique name of the requested app profile. Values are of the form - * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * Required. The unique name of the requested app profile. Values are of the + * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. ** *@@ -42,8 +42,8 @@ public interface GetAppProfileRequestOrBuilder * * *
- * Required. The unique name of the requested app profile. Values are of the form - * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * Required. The unique name of the requested app profile. Values are of the + * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. ** *diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java index 72cb91540b..c70e99ba1b 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java @@ -381,10 +381,10 @@ public com.google.protobuf.ByteString getEndKeyBytes() { * * *
- * Output only. The average CPU usage spent by a node on this tablet over the start_time to - * end_time time range. The percentage is the amount of CPU used by the node - * to serve the tablet, from 0% (tablet was not interacted with) to 100% (the - * node spent all cycles serving the hot tablet). + * Output only. The average CPU usage spent by a node on this tablet over the + * start_time to end_time time range. The percentage is the amount of CPU used + * by the node to serve the tablet, from 0% (tablet was not interacted with) + * to 100% (the node spent all cycles serving the hot tablet). ** *float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -1712,10 +1712,10 @@ public Builder setEndKeyBytes(com.google.protobuf.ByteString value) { * * *- * Output only. The average CPU usage spent by a node on this tablet over the start_time to - * end_time time range. The percentage is the amount of CPU used by the node - * to serve the tablet, from 0% (tablet was not interacted with) to 100% (the - * node spent all cycles serving the hot tablet). + * Output only. The average CPU usage spent by a node on this tablet over the + * start_time to end_time time range. The percentage is the amount of CPU used + * by the node to serve the tablet, from 0% (tablet was not interacted with) + * to 100% (the node spent all cycles serving the hot tablet). ** *float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -1730,10 +1730,10 @@ public float getNodeCpuUsagePercent() { * * *- * Output only. The average CPU usage spent by a node on this tablet over the start_time to - * end_time time range. The percentage is the amount of CPU used by the node - * to serve the tablet, from 0% (tablet was not interacted with) to 100% (the - * node spent all cycles serving the hot tablet). + * Output only. The average CPU usage spent by a node on this tablet over the + * start_time to end_time time range. The percentage is the amount of CPU used + * by the node to serve the tablet, from 0% (tablet was not interacted with) + * to 100% (the node spent all cycles serving the hot tablet). ** *float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -1752,10 +1752,10 @@ public Builder setNodeCpuUsagePercent(float value) { * * *- * Output only. The average CPU usage spent by a node on this tablet over the start_time to - * end_time time range. The percentage is the amount of CPU used by the node - * to serve the tablet, from 0% (tablet was not interacted with) to 100% (the - * node spent all cycles serving the hot tablet). + * Output only. The average CPU usage spent by a node on this tablet over the + * start_time to end_time time range. The percentage is the amount of CPU used + * by the node to serve the tablet, from 0% (tablet was not interacted with) + * to 100% (the node spent all cycles serving the hot tablet). ** *float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java index 54a2486d44..355a46bb3b 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java @@ -207,10 +207,10 @@ public interface HotTabletOrBuilder * * *- * Output only. The average CPU usage spent by a node on this tablet over the start_time to - * end_time time range. The percentage is the amount of CPU used by the node - * to serve the tablet, from 0% (tablet was not interacted with) to 100% (the - * node spent all cycles serving the hot tablet). + * Output only. The average CPU usage spent by a node on this tablet over the + * start_time to end_time time range. The percentage is the amount of CPU used + * by the node to serve the tablet, from 0% (tablet was not interacted with) + * to 100% (the node spent all cycles serving the hot tablet). ** *float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java index 3d2c67a33a..3935a80b1a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java @@ -734,9 +734,9 @@ public 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`. + * 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]; @@ -752,9 +752,9 @@ public 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`. + * 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]; @@ -770,9 +770,9 @@ public 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`. + * 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]; @@ -1998,9 +1998,9 @@ public Builder putAllLabels(java.util.Map
va * * * - * 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`. + * 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`. ** *@@ -2016,9 +2016,9 @@ public 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`. + * 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`. ** *@@ -2040,9 +2040,9 @@ public 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`. + * 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`. ** *@@ -2066,9 +2066,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * * *
- * 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`. + * 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`. ** *@@ -2089,9 +2089,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
- * 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`. + * 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`. ** *@@ -2118,9 +2118,9 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * * *
- * 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`. + * 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`. ** *@@ -2141,9 +2141,9 @@ public Builder clearCreateTime() { * * *
- * 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`. + * 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`. ** *@@ -2159,9 +2159,9 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { * * *
- * 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`. + * 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`. ** *@@ -2181,9 +2181,9 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
- * 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`. + * 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`. ** *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 6a3b2c8e5c..b2cb17ac6f 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 @@ -243,9 +243,9 @@ java.lang.String getLabelsOrDefault( * * *
- * 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`. + * 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]; @@ -258,9 +258,9 @@ java.lang.String getLabelsOrDefault( * * *
- * 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`. + * 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]; @@ -273,9 +273,9 @@ java.lang.String getLabelsOrDefault( * * *
- * 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`. + * 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]; 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 67a601d639..71cdf45363 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 @@ -71,6 +71,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_HotTablet_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -132,39 +136,48 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\010CREATING\020\002\022\014\n\010RESIZING\020\003\022\014\n\010DISABLED\020\004" + ":e\352Ab\n$bigtableadmin.googleapis.com/Clus" + "ter\022:projects/{project}/instances/{insta" - + "nce}/clusters/{cluster}B\010\n\006config\"\210\004\n\nAp" + + "nce}/clusters/{cluster}B\010\n\006config\"\350\006\n\nAp" + "pProfile\022\014\n\004name\030\001 \001(\t\022\014\n\004etag\030\002 \001(\t\022\023\n\013" + "description\030\003 \001(\t\022g\n\035multi_cluster_routi" + "ng_use_any\030\005 \001(\0132>.google.bigtable.admin" + ".v2.AppProfile.MultiClusterRoutingUseAny" + "H\000\022[\n\026single_cluster_routing\030\006 \001(\01329.goo" + "gle.bigtable.admin.v2.AppProfile.SingleC" - + "lusterRoutingH\000\0320\n\031MultiClusterRoutingUs" - + "eAny\022\023\n\013cluster_ids\030\001 \003(\t\032N\n\024SingleClust" - + "erRouting\022\022\n\ncluster_id\030\001 \001(\t\022\"\n\032allow_t" - + "ransactional_writes\030\002 \001(\010:o\352Al\n\'bigtable" - + "admin.googleapis.com/AppProfile\022Aproject" - + "s/{project}/instances/{instance}/appProf" - + "iles/{app_profile}B\020\n\016routing_policy\"\213\003\n" - + "\tHotTablet\022\014\n\004name\030\001 \001(\t\022;\n\ntable_name\030\002" - + " \001(\tB\'\372A$\n\"bigtableadmin.googleapis.com/" - + "Table\0224\n\nstart_time\030\003 \001(\0132\032.google.proto" - + "buf.TimestampB\004\342A\001\003\0222\n\010end_time\030\004 \001(\0132\032." - + "google.protobuf.TimestampB\004\342A\001\003\022\021\n\tstart" - + "_key\030\005 \001(\t\022\017\n\007end_key\030\006 \001(\t\022$\n\026node_cpu_" - + "usage_percent\030\007 \001(\002B\004\342A\001\003:\177\352A|\n&bigtable" - + "admin.googleapis.com/HotTablet\022Rprojects" - + "/{project}/instances/{instance}/clusters" - + "/{cluster}/hotTablets/{hot_tablet}B\320\002\n\034c" - + "om.google.bigtable.admin.v2B\rInstancePro" - + "toP\001Z=google.golang.org/genproto/googlea" - + "pis/bigtable/admin/v2;admin\252\002\036Google.Clo" - + "ud.Bigtable.Admin.V2\312\002\036Google\\Cloud\\Bigt" - + "able\\Admin\\V2\352\002\"Google::Cloud::Bigtable:" - + ":Admin::V2\352Ax\n!cloudkms.googleapis.com/C" - + "ryptoKey\022Sprojects/{project}/locations/{" - + "location}/keyRings/{key_ring}/cryptoKeys" - + "/{crypto_key}b\006proto3" + + "lusterRoutingH\000\022E\n\010priority\030\007 \001(\0162-.goog" + + "le.bigtable.admin.v2.AppProfile.Priority" + + "B\002\030\001H\001\022T\n\022standard_isolation\030\013 \001(\01326.goo" + + "gle.bigtable.admin.v2.AppProfile.Standar" + + "dIsolationH\001\0320\n\031MultiClusterRoutingUseAn" + + "y\022\023\n\013cluster_ids\030\001 \003(\t\032N\n\024SingleClusterR" + + "outing\022\022\n\ncluster_id\030\001 \001(\t\022\"\n\032allow_tran" + + "sactional_writes\030\002 \001(\010\032T\n\021StandardIsolat" + + "ion\022?\n\010priority\030\001 \001(\0162-.google.bigtable." + + "admin.v2.AppProfile.Priority\"^\n\010Priority" + + "\022\030\n\024PRIORITY_UNSPECIFIED\020\000\022\020\n\014PRIORITY_L" + + "OW\020\001\022\023\n\017PRIORITY_MEDIUM\020\002\022\021\n\rPRIORITY_HI" + + "GH\020\003:o\352Al\n\'bigtableadmin.googleapis.com/" + + "AppProfile\022Aprojects/{project}/instances" + + "/{instance}/appProfiles/{app_profile}B\020\n" + + "\016routing_policyB\013\n\tisolation\"\213\003\n\tHotTabl" + + "et\022\014\n\004name\030\001 \001(\t\022;\n\ntable_name\030\002 \001(\tB\'\372A" + + "$\n\"bigtableadmin.googleapis.com/Table\0224\n" + + "\nstart_time\030\003 \001(\0132\032.google.protobuf.Time" + + "stampB\004\342A\001\003\0222\n\010end_time\030\004 \001(\0132\032.google.p" + + "rotobuf.TimestampB\004\342A\001\003\022\021\n\tstart_key\030\005 \001" + + "(\t\022\017\n\007end_key\030\006 \001(\t\022$\n\026node_cpu_usage_pe" + + "rcent\030\007 \001(\002B\004\342A\001\003:\177\352A|\n&bigtableadmin.go" + + "ogleapis.com/HotTablet\022Rprojects/{projec" + + "t}/instances/{instance}/clusters/{cluste" + + "r}/hotTablets/{hot_tablet}B\320\002\n\034com.googl" + + "e.bigtable.admin.v2B\rInstanceProtoP\001Z=go" + + "ogle.golang.org/genproto/googleapis/bigt" + + "able/admin/v2;admin\252\002\036Google.Cloud.Bigta" + + "ble.Admin.V2\312\002\036Google\\Cloud\\Bigtable\\Adm" + + "in\\V2\352\002\"Google::Cloud::Bigtable::Admin::" + + "V2\352Ax\n!cloudkms.googleapis.com/CryptoKey" + + "\022Sprojects/{project}/locations/{location" + + "}/keyRings/{key_ring}/cryptoKeys/{crypto" + + "_key}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -264,7 +277,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Description", "MultiClusterRoutingUseAny", "SingleClusterRouting", + "Priority", + "StandardIsolation", "RoutingPolicy", + "Isolation", }); internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor = internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(0); @@ -282,6 +298,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ClusterId", "AllowTransactionalWrites", }); + internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_descriptor = + internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_descriptor, + new java.lang.String[] { + "Priority", + }); internal_static_google_bigtable_admin_v2_HotTablet_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable = 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 16bb8acbb9..404486dba9 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 @@ -71,8 +71,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
- * Required. The unique name of the instance for which a list of app profiles is - * requested. Values are of the form + * Required. The unique name of the instance for which a list of app profiles + * is requested. Values are of the form * `projects/{project}/instances/{instance}`. * Use `{instance} = '-'` to list AppProfiles for all Instances in a project, * e.g., `projects/myproject/instances/-`. @@ -100,8 +100,8 @@ public java.lang.String getParent() { * * *- * Required. The unique name of the instance for which a list of app profiles is - * requested. Values are of the form + * Required. The unique name of the instance for which a list of app profiles + * is requested. Values are of the form * `projects/{project}/instances/{instance}`. * Use `{instance} = '-'` to list AppProfiles for all Instances in a project, * e.g., `projects/myproject/instances/-`. @@ -596,8 +596,8 @@ public Builder mergeFrom( * * *- * Required. The unique name of the instance for which a list of app profiles is - * requested. Values are of the form + * Required. The unique name of the instance for which a list of app profiles + * is requested. Values are of the form * `projects/{project}/instances/{instance}`. * Use `{instance} = '-'` to list AppProfiles for all Instances in a project, * e.g., `projects/myproject/instances/-`. @@ -624,8 +624,8 @@ public java.lang.String getParent() { * * *- * Required. The unique name of the instance for which a list of app profiles is - * requested. Values are of the form + * Required. The unique name of the instance for which a list of app profiles + * is requested. Values are of the form * `projects/{project}/instances/{instance}`. * Use `{instance} = '-'` to list AppProfiles for all Instances in a project, * e.g., `projects/myproject/instances/-`. @@ -652,8 +652,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *- * Required. The unique name of the instance for which a list of app profiles is - * requested. Values are of the form + * Required. The unique name of the instance for which a list of app profiles + * is requested. Values are of the form * `projects/{project}/instances/{instance}`. * Use `{instance} = '-'` to list AppProfiles for all Instances in a project, * e.g., `projects/myproject/instances/-`. @@ -679,8 +679,8 @@ public Builder setParent(java.lang.String value) { * * *- * Required. The unique name of the instance for which a list of app profiles is - * requested. Values are of the form + * Required. The unique name of the instance for which a list of app profiles + * is requested. Values are of the form * `projects/{project}/instances/{instance}`. * Use `{instance} = '-'` to list AppProfiles for all Instances in a project, * e.g., `projects/myproject/instances/-`. @@ -702,8 +702,8 @@ public Builder clearParent() { * * *- * Required. The unique name of the instance for which a list of app profiles is - * requested. Values are of the form + * Required. The unique name of the instance for which a list of app profiles + * is requested. Values are of the form * `projects/{project}/instances/{instance}`. * Use `{instance} = '-'` to list AppProfiles for all Instances in a project, * e.g., `projects/myproject/instances/-`. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java index 5391070f6f..8eeff7340e 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface ListAppProfilesRequestOrBuilder * * *- * Required. The unique name of the instance for which a list of app profiles is - * requested. Values are of the form + * Required. The unique name of the instance for which a list of app profiles + * is requested. Values are of the form * `projects/{project}/instances/{instance}`. * Use `{instance} = '-'` to list AppProfiles for all Instances in a project, * e.g., `projects/myproject/instances/-`. @@ -45,8 +45,8 @@ public interface ListAppProfilesRequestOrBuilder * * *- * Required. The unique name of the instance for which a list of app profiles is - * requested. Values are of the form + * Required. The unique name of the instance for which a list of app profiles + * is requested. Values are of the form * `projects/{project}/instances/{instance}`. * Use `{instance} = '-'` to list AppProfiles for all Instances in a project, * e.g., `projects/myproject/instances/-`. 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 fd06a07389..ff693f1f9e 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 @@ -71,10 +71,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *- * Required. The unique name of the instance for which a list of clusters is requested. - * Values are of the form `projects/{project}/instances/{instance}`. - * Use `{instance} = '-'` to list Clusters for all Instances in a project, - * e.g., `projects/myproject/instances/-`. + * Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form + * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list + * Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. ** *@@ -99,10 +100,11 @@ public java.lang.String getParent() { * * *
- * Required. The unique name of the instance for which a list of clusters is requested. - * Values are of the form `projects/{project}/instances/{instance}`. - * Use `{instance} = '-'` to list Clusters for all Instances in a project, - * e.g., `projects/myproject/instances/-`. + * Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form + * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list + * Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. ** *@@ -546,10 +548,11 @@ public Builder mergeFrom( * * *
- * Required. The unique name of the instance for which a list of clusters is requested. - * Values are of the form `projects/{project}/instances/{instance}`. - * Use `{instance} = '-'` to list Clusters for all Instances in a project, - * e.g., `projects/myproject/instances/-`. + * Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form + * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list + * Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. ** *@@ -573,10 +576,11 @@ public java.lang.String getParent() { * * *
- * Required. The unique name of the instance for which a list of clusters is requested. - * Values are of the form `projects/{project}/instances/{instance}`. - * Use `{instance} = '-'` to list Clusters for all Instances in a project, - * e.g., `projects/myproject/instances/-`. + * Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form + * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list + * Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. ** *@@ -600,10 +604,11 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
- * Required. The unique name of the instance for which a list of clusters is requested. - * Values are of the form `projects/{project}/instances/{instance}`. - * Use `{instance} = '-'` to list Clusters for all Instances in a project, - * e.g., `projects/myproject/instances/-`. + * Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form + * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list + * Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. ** *@@ -626,10 +631,11 @@ public Builder setParent(java.lang.String value) { * * *
- * Required. The unique name of the instance for which a list of clusters is requested. - * Values are of the form `projects/{project}/instances/{instance}`. - * Use `{instance} = '-'` to list Clusters for all Instances in a project, - * e.g., `projects/myproject/instances/-`. + * Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form + * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list + * Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. ** *@@ -648,10 +654,11 @@ public Builder clearParent() { * * *
- * Required. The unique name of the instance for which a list of clusters is requested. - * Values are of the form `projects/{project}/instances/{instance}`. - * Use `{instance} = '-'` to list Clusters for all Instances in a project, - * e.g., `projects/myproject/instances/-`. + * Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form + * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list + * Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. ** *diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java index 1825a33c50..8b3507944c 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java @@ -27,10 +27,11 @@ public interface ListClustersRequestOrBuilder * * *
- * Required. The unique name of the instance for which a list of clusters is requested. - * Values are of the form `projects/{project}/instances/{instance}`. - * Use `{instance} = '-'` to list Clusters for all Instances in a project, - * e.g., `projects/myproject/instances/-`. + * Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form + * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list + * Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. ** *@@ -44,10 +45,11 @@ public interface ListClustersRequestOrBuilder * * *
- * Required. The unique name of the instance for which a list of clusters is requested. - * Values are of the form `projects/{project}/instances/{instance}`. - * Use `{instance} = '-'` to list Clusters for all Instances in a project, - * e.g., `projects/myproject/instances/-`. + * Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form + * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list + * Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. ** *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 f0d296bf1f..56ef49750a 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 @@ -71,8 +71,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
- * Required. The unique name of the project for which a list of instances is requested. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. ** *@@ -97,8 +97,8 @@ public java.lang.String getParent() { * * *
- * Required. The unique name of the project for which a list of instances is requested. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. ** *@@ -542,8 +542,8 @@ public Builder mergeFrom( * * *
- * Required. The unique name of the project for which a list of instances is requested. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. ** *@@ -567,8 +567,8 @@ public java.lang.String getParent() { * * *
- * Required. The unique name of the project for which a list of instances is requested. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. ** *@@ -592,8 +592,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
- * Required. The unique name of the project for which a list of instances is requested. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. ** *@@ -616,8 +616,8 @@ public Builder setParent(java.lang.String value) { * * *
- * Required. The unique name of the project for which a list of instances is requested. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. ** *@@ -636,8 +636,8 @@ public Builder clearParent() { * * *
- * Required. The unique name of the project for which a list of instances is requested. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. ** *diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java index b53d806b65..1650f0a0a3 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface ListInstancesRequestOrBuilder * * *
- * Required. The unique name of the project for which a list of instances is requested. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. ** *@@ -42,8 +42,8 @@ public interface ListInstancesRequestOrBuilder * * *
- * Required. The unique name of the project for which a list of instances is requested. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. ** *diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java index d80378d946..f469e51193 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java @@ -66,8 +66,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
- * Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. ** *.google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -83,8 +83,8 @@ public boolean hasCluster() { * * *
- * Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. ** *.google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -100,8 +100,8 @@ public com.google.bigtable.admin.v2.Cluster getCluster() { * * *
- * Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. ** *.google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -552,8 +552,8 @@ public Builder mergeFrom( * * *
- * Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. ** *@@ -569,8 +569,8 @@ public boolean hasCluster() { * * *
- * Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. ** *@@ -592,8 +592,8 @@ public com.google.bigtable.admin.v2.Cluster getCluster() { * * *
- * Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. ** *@@ -617,8 +617,8 @@ public Builder setCluster(com.google.bigtable.admin.v2.Cluster value) { * * *
- * Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. ** *@@ -639,8 +639,8 @@ public Builder setCluster(com.google.bigtable.admin.v2.Cluster.Builder builderFo * * *
- * Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. ** *@@ -667,8 +667,8 @@ public Builder mergeCluster(com.google.bigtable.admin.v2.Cluster value) { * * *
- * Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. ** *@@ -689,8 +689,8 @@ public Builder clearCluster() { * * *
- * Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. ** *@@ -706,8 +706,8 @@ public com.google.bigtable.admin.v2.Cluster.Builder getClusterBuilder() { * * *
- * Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. ** *@@ -727,8 +727,8 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { * * *
- * Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. ** *diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java index 24a9eb0a86..2015bf072c 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface PartialUpdateClusterRequestOrBuilder * * *
- * Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. ** *.google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -41,8 +41,8 @@ public interface PartialUpdateClusterRequestOrBuilder * * *
- * Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. ** *.google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -55,8 +55,8 @@ public interface PartialUpdateClusterRequestOrBuilder * * *
- * Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. ** *.google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; 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 d7b2ead1c8..3d1877a493 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto +++ b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -57,12 +57,14 @@ service BigtableInstanceAdmin { // serve_nodes is set to non-zero, then the cluster is manually scaled. If // cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is // enabled. - rpc CreateInstance(CreateInstanceRequest) returns (google.longrunning.Operation) { + rpc CreateInstance(CreateInstanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{parent=projects/*}/instances" body: "*" }; - option (google.api.method_signature) = "parent,instance_id,instance,clusters"; + option (google.api.method_signature) = + "parent,instance_id,instance,clusters"; option (google.longrunning.operation_info) = { response_type: "Instance" metadata_type: "CreateInstanceMetadata" @@ -97,7 +99,8 @@ service BigtableInstanceAdmin { // Partially updates an instance within a project. This method can modify all // fields of an Instance and is the preferred way to update an Instance. - rpc PartialUpdateInstance(PartialUpdateInstanceRequest) returns (google.longrunning.Operation) { + rpc PartialUpdateInstance(PartialUpdateInstanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v2/{instance.name=projects/*/instances/*}" body: "instance" @@ -124,7 +127,8 @@ service BigtableInstanceAdmin { // serve_nodes is set to non-zero, then the cluster is manually scaled. If // cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is // enabled. - rpc CreateCluster(CreateClusterRequest) returns (google.longrunning.Operation) { + rpc CreateCluster(CreateClusterRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{parent=projects/*/instances/*}/clusters" body: "cluster" @@ -180,7 +184,8 @@ service BigtableInstanceAdmin { // // To disable autoscaling, clear cluster_config.cluster_autoscaling_config, // and explicitly set a serve_node count via the update_mask. - rpc PartialUpdateCluster(PartialUpdateClusterRequest) returns (google.longrunning.Operation) { + rpc PartialUpdateCluster(PartialUpdateClusterRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v2/{cluster.name=projects/*/instances/*/clusters/*}" body: "cluster" @@ -218,7 +223,8 @@ service BigtableInstanceAdmin { } // Lists information about app profiles in an instance. - rpc ListAppProfiles(ListAppProfilesRequest) returns (ListAppProfilesResponse) { + rpc ListAppProfiles(ListAppProfilesRequest) + returns (ListAppProfilesResponse) { option (google.api.http) = { get: "/v2/{parent=projects/*/instances/*}/appProfiles" }; @@ -226,7 +232,8 @@ service BigtableInstanceAdmin { } // Updates an app profile within an instance. - rpc UpdateAppProfile(UpdateAppProfileRequest) returns (google.longrunning.Operation) { + rpc UpdateAppProfile(UpdateAppProfileRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v2/{app_profile.name=projects/*/instances/*/appProfiles/*}" body: "app_profile" @@ -239,7 +246,8 @@ service BigtableInstanceAdmin { } // Deletes an app profile from an instance. - rpc DeleteAppProfile(DeleteAppProfileRequest) returns (google.protobuf.Empty) { + rpc DeleteAppProfile(DeleteAppProfileRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=projects/*/instances/*/appProfiles/*}" }; @@ -248,7 +256,8 @@ service BigtableInstanceAdmin { // Gets the access control policy for an instance resource. Returns an empty // policy if an instance exists but does not have a policy set. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v2/{resource=projects/*/instances/*}:getIamPolicy" body: "*" @@ -258,7 +267,8 @@ service BigtableInstanceAdmin { // Sets the access control policy on an instance resource. Replaces any // existing policy. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v2/{resource=projects/*/instances/*}:setIamPolicy" body: "*" @@ -267,7 +277,8 @@ service BigtableInstanceAdmin { } // Returns permissions that the caller has on the specified instance resource. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v2/{resource=projects/*/instances/*}:testIamPermissions" body: "*" @@ -287,8 +298,8 @@ service BigtableInstanceAdmin { // Request message for BigtableInstanceAdmin.CreateInstance. message CreateInstanceRequest { - // Required. The unique name of the project in which to create the new instance. - // Values are of the form `projects/{project}`. + // Required. The unique name of the project in which to create the new + // instance. Values are of the form `projects/{project}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -296,8 +307,8 @@ message CreateInstanceRequest { } ]; - // Required. The ID to be used when referring to the new instance within its project, - // e.g., just `myinstance` rather than + // Required. The ID to be used when referring to the new instance within its + // project, e.g., just `myinstance` rather than // `projects/myproject/instances/myinstance`. string instance_id = 2 [(google.api.field_behavior) = REQUIRED]; @@ -327,8 +338,8 @@ message GetInstanceRequest { // Request message for BigtableInstanceAdmin.ListInstances. message ListInstancesRequest { - // Required. The unique name of the project for which a list of instances is requested. - // Values are of the form `projects/{project}`. + // Required. The unique name of the project for which a list of instances is + // requested. Values are of the form `projects/{project}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -364,7 +375,8 @@ message PartialUpdateInstanceRequest { // Required. The subset of Instance fields which should be replaced. // Must be explicitly set. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for BigtableInstanceAdmin.DeleteInstance. @@ -381,9 +393,8 @@ message DeleteInstanceRequest { // Request message for BigtableInstanceAdmin.CreateCluster. message CreateClusterRequest { - // Required. The unique name of the instance in which to create the new cluster. - // Values are of the form - // `projects/{project}/instances/{instance}`. + // Required. The unique name of the instance in which to create the new + // cluster. Values are of the form `projects/{project}/instances/{instance}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -391,8 +402,8 @@ message CreateClusterRequest { } ]; - // Required. The ID to be used when referring to the new cluster within its instance, - // e.g., just `mycluster` rather than + // Required. The ID to be used when referring to the new cluster within its + // instance, e.g., just `mycluster` rather than // `projects/myproject/instances/myinstance/clusters/mycluster`. string cluster_id = 2 [(google.api.field_behavior) = REQUIRED]; @@ -415,10 +426,11 @@ message GetClusterRequest { // Request message for BigtableInstanceAdmin.ListClusters. message ListClustersRequest { - // Required. The unique name of the instance for which a list of clusters is requested. - // Values are of the form `projects/{project}/instances/{instance}`. - // Use `{instance} = '-'` to list Clusters for all Instances in a project, - // e.g., `projects/myproject/instances/-`. + // Required. The unique name of the instance for which a list of clusters is + // requested. Values are of the form + // `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list + // Clusters for all Instances in a project, e.g., + // `projects/myproject/instances/-`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -448,8 +460,8 @@ message ListClustersResponse { // Request message for BigtableInstanceAdmin.DeleteCluster. message DeleteClusterRequest { - // Required. The unique name of the cluster to be deleted. Values are of the form - // `projects/{project}/instances/{instance}/clusters/{cluster}`. + // Required. The unique name of the cluster to be deleted. Values are of the + // form `projects/{project}/instances/{instance}/clusters/{cluster}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -561,19 +573,19 @@ message PartialUpdateClusterMetadata { // Request message for BigtableInstanceAdmin.PartialUpdateCluster. message PartialUpdateClusterRequest { - // Required. The Cluster which contains the partial updates to be applied, subject to - // the update_mask. + // Required. The Cluster which contains the partial updates to be applied, + // subject to the update_mask. Cluster cluster = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The subset of Cluster fields which should be replaced. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for BigtableInstanceAdmin.CreateAppProfile. message CreateAppProfileRequest { - // Required. The unique name of the instance in which to create the new app profile. - // Values are of the form - // `projects/{project}/instances/{instance}`. + // Required. The unique name of the instance in which to create the new app + // profile. Values are of the form `projects/{project}/instances/{instance}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -581,8 +593,8 @@ message CreateAppProfileRequest { } ]; - // Required. The ID to be used when referring to the new app profile within its - // instance, e.g., just `myprofile` rather than + // Required. The ID to be used when referring to the new app profile within + // its instance, e.g., just `myprofile` rather than // `projects/myproject/instances/myinstance/appProfiles/myprofile`. string app_profile_id = 2 [(google.api.field_behavior) = REQUIRED]; @@ -596,8 +608,8 @@ message CreateAppProfileRequest { // Request message for BigtableInstanceAdmin.GetAppProfile. message GetAppProfileRequest { - // Required. The unique name of the requested app profile. Values are of the form - // `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + // Required. The unique name of the requested app profile. Values are of the + // form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -608,8 +620,8 @@ message GetAppProfileRequest { // Request message for BigtableInstanceAdmin.ListAppProfiles. message ListAppProfilesRequest { - // Required. The unique name of the instance for which a list of app profiles is - // requested. Values are of the form + // Required. The unique name of the instance for which a list of app profiles + // is requested. Values are of the form // `projects/{project}/instances/{instance}`. // Use `{instance} = '-'` to list AppProfiles for all Instances in a project, // e.g., `projects/myproject/instances/-`. @@ -659,7 +671,8 @@ message UpdateAppProfileRequest { // Required. The subset of app profile fields which should be replaced. // If unset, all fields will be replaced. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; // If true, ignore safety checks when updating the app profile. bool ignore_warnings = 3; @@ -667,7 +680,8 @@ message UpdateAppProfileRequest { // Request message for BigtableInstanceAdmin.DeleteAppProfile. message DeleteAppProfileRequest { - // Required. The unique name of the app profile to be deleted. Values are of the form + // Required. The unique name of the app profile to be deleted. Values are of + // the form // `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -681,9 +695,7 @@ message DeleteAppProfileRequest { } // The metadata for the Operation returned by UpdateAppProfile. -message UpdateAppProfileMetadata { - -} +message UpdateAppProfileMetadata {} // Request message for BigtableInstanceAdmin.ListHotTablets. message ListHotTabletsRequest { diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto index 0d337e6b52..9d8f06549d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto +++ b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto index e7e73e00f2..950d9f4880 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto +++ b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -102,10 +102,11 @@ message Instance { // * 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]; + // 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]; // Output only. Reserved for future use. optional bool satisfies_pzs = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -121,7 +122,7 @@ message AutoscalingTargets { // The storage utilization that the Autoscaler should be trying to achieve. // This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD - // cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster; + // cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster, // otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, // it will be treated as if it were set to the default value: 2560 for SSD, // 8192 for HDD. @@ -174,10 +175,12 @@ message Cluster { // Autoscaling config for a cluster. message ClusterAutoscalingConfig { // Required. Autoscaling limits for this cluster. - AutoscalingLimits autoscaling_limits = 1 [(google.api.field_behavior) = REQUIRED]; + AutoscalingLimits autoscaling_limits = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. Autoscaling targets for this cluster. - AutoscalingTargets autoscaling_targets = 2 [(google.api.field_behavior) = REQUIRED]; + AutoscalingTargets autoscaling_targets = 2 + [(google.api.field_behavior) = REQUIRED]; } // Configuration for a cluster. @@ -200,16 +203,16 @@ message Cluster { // Values are of the form // `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}` string kms_key_name = 1 [(google.api.resource_reference) = { - type: "cloudkms.googleapis.com/CryptoKey" - }]; + type: "cloudkms.googleapis.com/CryptoKey" + }]; } // The unique name of the cluster. Values are of the form // `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`. string name = 1; - // Immutable. The location where this cluster's nodes and storage reside. For best - // performance, clients should be located as close as possible to this + // Immutable. The location where this cluster's nodes and storage reside. For + // best performance, clients should be located as close as possible to this // cluster. Currently only zones are supported, so values should be of the // form `projects/{project}/locations/{zone}`. string location = 2 [ @@ -233,10 +236,12 @@ message Cluster { // Immutable. The type of storage used by this cluster to serve its // parent instance's tables, unless explicitly overridden. - StorageType default_storage_type = 5 [(google.api.field_behavior) = IMMUTABLE]; + StorageType default_storage_type = 5 + [(google.api.field_behavior) = IMMUTABLE]; // Immutable. The encryption configuration for CMEK-protected clusters. - EncryptionConfig encryption_config = 6 [(google.api.field_behavior) = IMMUTABLE]; + EncryptionConfig encryption_config = 6 + [(google.api.field_behavior) = IMMUTABLE]; } // A configuration object describing how Cloud Bigtable should treat traffic @@ -271,6 +276,27 @@ message AppProfile { bool allow_transactional_writes = 2; } + // Possible priorities for an app profile. Note that higher priority writes + // can sometimes queue behind lower priority writes to the same tablet, as + // writes must be strictly sequenced in the durability log. + enum Priority { + // Default value. Mapped to PRIORITY_HIGH (the legacy behavior) on creation. + PRIORITY_UNSPECIFIED = 0; + + PRIORITY_LOW = 1; + + PRIORITY_MEDIUM = 2; + + PRIORITY_HIGH = 3; + } + + // Standard options for isolating this app profile's traffic from other use + // cases. + message StandardIsolation { + // The priority of requests sent using this app profile. + Priority priority = 1; + } + // The unique name of the app profile. Values are of the form // `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. string name = 1; @@ -297,6 +323,19 @@ message AppProfile { // Use a single-cluster routing policy. SingleClusterRouting single_cluster_routing = 6; } + + // Options for isolating this app profile's traffic from other use cases. + oneof isolation { + // This field has been deprecated in favor of `standard_isolation.priority`. + // If you set this field, `standard_isolation.priority` will be set instead. + // + // The priority of requests sent using this app profile. + Priority priority = 7 [deprecated = true]; + + // The standard options used for isolating this app profile's traffic from + // other use cases. + StandardIsolation standard_isolation = 11; + } } // A tablet is a defined by a start and end key and is explained in @@ -317,14 +356,16 @@ message HotTablet { // Name of the table that contains the tablet. Values are of the form // `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. string table_name = 2 [(google.api.resource_reference) = { - type: "bigtableadmin.googleapis.com/Table" - }]; + type: "bigtableadmin.googleapis.com/Table" + }]; // Output only. The start time of the hot tablet. - google.protobuf.Timestamp start_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp start_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The end time of the hot tablet. - google.protobuf.Timestamp end_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Tablet Start Key (inclusive). string start_key = 5; @@ -332,9 +373,9 @@ message HotTablet { // Tablet End Key (inclusive). string end_key = 6; - // Output only. The average CPU usage spent by a node on this tablet over the start_time to - // end_time time range. The percentage is the amount of CPU used by the node - // to serve the tablet, from 0% (tablet was not interacted with) to 100% (the - // node spent all cycles serving the hot tablet). + // Output only. The average CPU usage spent by a node on this tablet over the + // start_time to end_time time range. The percentage is the amount of CPU used + // by the node to serve the tablet, from 0% (tablet was not interacted with) + // to 100% (the node spent all cycles serving the hot tablet). float node_cpu_usage_percent = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; }