+ * Sets the RagManagedDb to the Scaled tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 1;
+ *
+ * @return Whether the scaled field is set.
+ */
+ boolean hasScaled();
- public enum TierCase
- implements
- com.google.protobuf.Internal.EnumLite,
- com.google.protobuf.AbstractMessage.InternalOneOfEnum {
- @java.lang.Deprecated
- ENTERPRISE(1),
- SCALED(4),
- BASIC(2),
- UNPROVISIONED(3),
- TIER_NOT_SET(0);
- private final int value;
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 1;
+ *
+ * @return The scaled.
+ */
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled getScaled();
- private TierCase(int value) {
- this.value = value;
- }
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 1;
+ */
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ScaledOrBuilder getScaledOrBuilder();
/**
- * @param value The number of the enum to look for.
- * @return The enum associated with the given number.
- * @deprecated Use {@link #forNumber(int)} instead.
+ *
+ *
+ * + * Sets the RagManagedDb to the Basic tier. This is the default tier for + * Spanner mode if not explicitly chosen. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ *
+ * @return Whether the basic field is set.
*/
- @java.lang.Deprecated
- public static TierCase valueOf(int value) {
- return forNumber(value);
- }
+ boolean hasBasic();
- public static TierCase forNumber(int value) {
- switch (value) {
- case 1:
- return ENTERPRISE;
- case 4:
- return SCALED;
- case 2:
- return BASIC;
- case 3:
- return UNPROVISIONED;
- case 0:
- return TIER_NOT_SET;
- default:
- return null;
- }
- }
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Basic tier. This is the default tier for + * Spanner mode if not explicitly chosen. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ *
+ * @return The basic.
+ */
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic getBasic();
- public int getNumber() {
- return this.value;
- }
- };
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Basic tier. This is the default tier for + * Spanner mode if not explicitly chosen. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ */
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.BasicOrBuilder getBasicOrBuilder();
- public TierCase getTierCase() {
- return TierCase.forNumber(tierCase_);
- }
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Unprovisioned tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
+ *
+ *
+ * @return Whether the unprovisioned field is set.
+ */
+ boolean hasUnprovisioned();
- public static final int ENTERPRISE_FIELD_NUMBER = 1;
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Unprovisioned tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
+ *
+ *
+ * @return The unprovisioned.
+ */
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned getUnprovisioned();
- /**
- *
- *
- * - * Sets the RagManagedDb to the Enterprise tier. - *- * - *
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
- *
- *
- * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.enterprise is deprecated. See
- * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=814
- * @return Whether the enterprise field is set.
- */
- @java.lang.Override
- @java.lang.Deprecated
- public boolean hasEnterprise() {
- return tierCase_ == 1;
- }
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Unprovisioned tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.UnprovisionedOrBuilder
+ getUnprovisionedOrBuilder();
- /**
- *
- *
- * - * Sets the RagManagedDb to the Enterprise tier. - *- * - *
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
- *
- *
- * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.enterprise is deprecated. See
- * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=814
- * @return The enterprise.
- */
- @java.lang.Override
- @java.lang.Deprecated
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise getEnterprise() {
- if (tierCase_ == 1) {
- return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise) tier_;
- }
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise.getDefaultInstance();
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner.TierCase getTierCase();
}
/**
*
*
*
- * Sets the RagManagedDb to the Enterprise tier.
+ * Message to configure the Spanner database used by RagManagedDb.
*
*
- *
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
- *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner}
*/
- @java.lang.Override
- @java.lang.Deprecated
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.EnterpriseOrBuilder
- getEnterpriseOrBuilder() {
- if (tierCase_ == 1) {
- return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise) tier_;
+ public static final class Spanner extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner)
+ SpannerOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ // Use Spanner.newBuilder() to construct.
+ private Spanner(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
}
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise.getDefaultInstance();
- }
- public static final int SCALED_FIELD_NUMBER = 4;
+ private Spanner() {}
- /**
- *
- *
- * - * Sets the RagManagedDb to the Scaled tier. This is the default tier - * if not explicitly chosen. - *- * - *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4;
- *
- * @return Whether the scaled field is set.
- */
- @java.lang.Override
- public boolean hasScaled() {
- return tierCase_ == 4;
- }
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Spanner();
+ }
- /**
- *
- *
- * - * Sets the RagManagedDb to the Scaled tier. This is the default tier - * if not explicitly chosen. - *- * - *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4;
- *
- * @return The scaled.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled getScaled() {
- if (tierCase_ == 4) {
- return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_;
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.VertexRagDataProto
+ .internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_Spanner_descriptor;
}
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.getDefaultInstance();
- }
- /**
- *
- *
- * - * Sets the RagManagedDb to the Scaled tier. This is the default tier - * if not explicitly chosen. - *- * - *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4;
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ScaledOrBuilder
- getScaledOrBuilder() {
- if (tierCase_ == 4) {
- return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_;
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.VertexRagDataProto
+ .internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_Spanner_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner.class,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner.Builder.class);
}
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.getDefaultInstance();
- }
- public static final int BASIC_FIELD_NUMBER = 2;
+ private int tierCase_ = 0;
- /**
- *
- *
- * - * Sets the RagManagedDb to the Basic tier. - *- * - *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
- *
- * @return Whether the basic field is set.
- */
- @java.lang.Override
- public boolean hasBasic() {
- return tierCase_ == 2;
- }
+ @SuppressWarnings("serial")
+ private java.lang.Object tier_;
- /**
- *
- *
- * - * Sets the RagManagedDb to the Basic tier. - *- * - *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
- *
- * @return The basic.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic getBasic() {
- if (tierCase_ == 2) {
- return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_;
- }
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.getDefaultInstance();
- }
+ public enum TierCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
+ SCALED(1),
+ BASIC(2),
+ UNPROVISIONED(3),
+ TIER_NOT_SET(0);
+ private final int value;
+
+ private TierCase(int value) {
+ this.value = value;
+ }
+
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static TierCase valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static TierCase forNumber(int value) {
+ switch (value) {
+ case 1:
+ return SCALED;
+ case 2:
+ return BASIC;
+ case 3:
+ return UNPROVISIONED;
+ case 0:
+ return TIER_NOT_SET;
+ default:
+ return null;
+ }
+ }
- /**
- *
- *
- * - * Sets the RagManagedDb to the Basic tier. - *- * - *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.BasicOrBuilder getBasicOrBuilder() {
- if (tierCase_ == 2) {
- return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_;
- }
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.getDefaultInstance();
- }
+ public int getNumber() {
+ return this.value;
+ }
+ };
- public static final int UNPROVISIONED_FIELD_NUMBER = 3;
+ public TierCase getTierCase() {
+ return TierCase.forNumber(tierCase_);
+ }
- /**
- *
- *
- * - * Sets the RagManagedDb to the Unprovisioned tier. - *- * - *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
- *
- *
- * @return Whether the unprovisioned field is set.
- */
- @java.lang.Override
- public boolean hasUnprovisioned() {
- return tierCase_ == 3;
- }
+ public static final int SCALED_FIELD_NUMBER = 1;
- /**
- *
- *
- * - * Sets the RagManagedDb to the Unprovisioned tier. - *- * - *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
- *
- *
- * @return The unprovisioned.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned getUnprovisioned() {
- if (tierCase_ == 3) {
- return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_;
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 1;
+ *
+ * @return Whether the scaled field is set.
+ */
+ @java.lang.Override
+ public boolean hasScaled() {
+ return tierCase_ == 1;
}
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
- .getDefaultInstance();
- }
- /**
- *
- *
- * - * Sets the RagManagedDb to the Unprovisioned tier. - *- * - *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
- *
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.UnprovisionedOrBuilder
- getUnprovisionedOrBuilder() {
- if (tierCase_ == 3) {
- return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_;
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 1;
+ *
+ * @return The scaled.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled getScaled() {
+ if (tierCase_ == 1) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.getDefaultInstance();
}
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
- .getDefaultInstance();
- }
-
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 1;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ScaledOrBuilder
+ getScaledOrBuilder() {
+ if (tierCase_ == 1) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.getDefaultInstance();
+ }
- memoizedIsInitialized = 1;
- return true;
- }
+ public static final int BASIC_FIELD_NUMBER = 2;
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (tierCase_ == 1) {
- output.writeMessage(
- 1, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise) tier_);
- }
- if (tierCase_ == 2) {
- output.writeMessage(2, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_);
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Basic tier. This is the default tier for + * Spanner mode if not explicitly chosen. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ *
+ * @return Whether the basic field is set.
+ */
+ @java.lang.Override
+ public boolean hasBasic() {
+ return tierCase_ == 2;
}
- if (tierCase_ == 3) {
- output.writeMessage(
- 3, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_);
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Basic tier. This is the default tier for + * Spanner mode if not explicitly chosen. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ *
+ * @return The basic.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic getBasic() {
+ if (tierCase_ == 2) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.getDefaultInstance();
}
- if (tierCase_ == 4) {
- output.writeMessage(4, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_);
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Basic tier. This is the default tier for + * Spanner mode if not explicitly chosen. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.BasicOrBuilder
+ getBasicOrBuilder() {
+ if (tierCase_ == 2) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.getDefaultInstance();
}
- getUnknownFields().writeTo(output);
- }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
+ public static final int UNPROVISIONED_FIELD_NUMBER = 3;
- size = 0;
- if (tierCase_ == 1) {
- size +=
- com.google.protobuf.CodedOutputStream.computeMessageSize(
- 1, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise) tier_);
- }
- if (tierCase_ == 2) {
- size +=
- com.google.protobuf.CodedOutputStream.computeMessageSize(
- 2, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_);
- }
- if (tierCase_ == 3) {
- size +=
- com.google.protobuf.CodedOutputStream.computeMessageSize(
- 3, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_);
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Unprovisioned tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
+ *
+ *
+ * @return Whether the unprovisioned field is set.
+ */
+ @java.lang.Override
+ public boolean hasUnprovisioned() {
+ return tierCase_ == 3;
}
- if (tierCase_ == 4) {
- size +=
- com.google.protobuf.CodedOutputStream.computeMessageSize(
- 4, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_);
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Unprovisioned tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
+ *
+ *
+ * @return The unprovisioned.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned getUnprovisioned() {
+ if (tierCase_ == 3) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
+ .getDefaultInstance();
}
- size += getUnknownFields().getSerializedSize();
- memoizedSize = size;
- return size;
- }
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Unprovisioned tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.UnprovisionedOrBuilder
+ getUnprovisionedOrBuilder() {
+ if (tierCase_ == 3) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
+ .getDefaultInstance();
+ }
+
+ 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;
}
- if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig)) {
- return super.equals(obj);
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (tierCase_ == 1) {
+ output.writeMessage(
+ 1, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_);
+ }
+ if (tierCase_ == 2) {
+ output.writeMessage(
+ 2, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_);
+ }
+ if (tierCase_ == 3) {
+ output.writeMessage(
+ 3, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_);
+ }
+ getUnknownFields().writeTo(output);
}
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig other =
- (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig) obj;
- if (!getTierCase().equals(other.getTierCase())) return false;
- switch (tierCase_) {
- case 1:
- if (!getEnterprise().equals(other.getEnterprise())) return false;
- break;
- case 4:
- if (!getScaled().equals(other.getScaled())) return false;
- break;
- case 2:
- if (!getBasic().equals(other.getBasic())) return false;
- break;
- case 3:
- if (!getUnprovisioned().equals(other.getUnprovisioned())) return false;
- break;
- case 0:
- default:
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (tierCase_ == 1) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 1, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_);
+ }
+ if (tierCase_ == 2) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 2, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_);
+ }
+ if (tierCase_ == 3) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 3, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
- }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner other =
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner) obj;
+
+ if (!getTierCase().equals(other.getTierCase())) return false;
+ switch (tierCase_) {
+ case 1:
+ if (!getScaled().equals(other.getScaled())) return false;
+ break;
+ case 2:
+ if (!getBasic().equals(other.getBasic())) return false;
+ break;
+ case 3:
+ if (!getUnprovisioned().equals(other.getUnprovisioned())) return false;
+ break;
+ case 0:
+ default:
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
}
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- switch (tierCase_) {
- case 1:
- hash = (37 * hash) + ENTERPRISE_FIELD_NUMBER;
- hash = (53 * hash) + getEnterprise().hashCode();
- break;
- case 4:
- hash = (37 * hash) + SCALED_FIELD_NUMBER;
- hash = (53 * hash) + getScaled().hashCode();
- break;
- case 2:
- hash = (37 * hash) + BASIC_FIELD_NUMBER;
- hash = (53 * hash) + getBasic().hashCode();
- break;
- case 3:
- hash = (37 * hash) + UNPROVISIONED_FIELD_NUMBER;
- hash = (53 * hash) + getUnprovisioned().hashCode();
- break;
- case 0:
- default:
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ switch (tierCase_) {
+ case 1:
+ hash = (37 * hash) + SCALED_FIELD_NUMBER;
+ hash = (53 * hash) + getScaled().hashCode();
+ break;
+ case 2:
+ hash = (37 * hash) + BASIC_FIELD_NUMBER;
+ hash = (53 * hash) + getBasic().hashCode();
+ break;
+ case 3:
+ hash = (37 * hash) + UNPROVISIONED_FIELD_NUMBER;
+ hash = (53 * hash) + getUnprovisioned().hashCode();
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
}
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
- public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig parseFrom(
- java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
+ public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
+ public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
- public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
+ public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig 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.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner 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.cloud.aiplatform.v1beta1.RagManagedDbConfig parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
+ public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig parseFrom(
- byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
+ public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
- public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig parseFrom(
- java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
+ public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
- public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig 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.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner 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.cloud.aiplatform.v1beta1.RagManagedDbConfig parseDelimitedFrom(
- java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
- }
+ public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
- public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig 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.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner 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.cloud.aiplatform.v1beta1.RagManagedDbConfig parseFrom(
- com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
+ public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
- public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
+ public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner 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();
- }
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
- public static Builder newBuilder(
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
+ public static Builder newBuilder(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner 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;
+ }
+
+ /**
+ *
+ *
+ * + * Message to configure the Spanner database used by RagManagedDb. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Sets the RagManagedDb to the Scaled tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 1;
+ *
+ * @return Whether the scaled field is set.
+ */
+ @java.lang.Override
+ public boolean hasScaled() {
+ return tierCase_ == 1;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 1;
+ *
+ * @return The scaled.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled getScaled() {
+ if (scaledBuilder_ == null) {
+ if (tierCase_ == 1) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.getDefaultInstance();
+ } else {
+ if (tierCase_ == 1) {
+ return scaledBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 1;
+ */
+ public Builder setScaled(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled value) {
+ if (scaledBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ tier_ = value;
+ onChanged();
+ } else {
+ scaledBuilder_.setMessage(value);
+ }
+ tierCase_ = 1;
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 1;
+ */
+ public Builder setScaled(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.Builder builderForValue) {
+ if (scaledBuilder_ == null) {
+ tier_ = builderForValue.build();
+ onChanged();
+ } else {
+ scaledBuilder_.setMessage(builderForValue.build());
+ }
+ tierCase_ = 1;
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 1;
+ */
+ public Builder mergeScaled(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled value) {
+ if (scaledBuilder_ == null) {
+ if (tierCase_ == 1
+ && tier_
+ != com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled
+ .getDefaultInstance()) {
+ tier_ =
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ tier_ = value;
+ }
+ onChanged();
+ } else {
+ if (tierCase_ == 1) {
+ scaledBuilder_.mergeFrom(value);
+ } else {
+ scaledBuilder_.setMessage(value);
+ }
+ }
+ tierCase_ = 1;
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 1;
+ */
+ public Builder clearScaled() {
+ if (scaledBuilder_ == null) {
+ if (tierCase_ == 1) {
+ tierCase_ = 0;
+ tier_ = null;
+ onChanged();
+ }
+ } else {
+ if (tierCase_ == 1) {
+ tierCase_ = 0;
+ tier_ = null;
+ }
+ scaledBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 1;
+ */
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.Builder
+ getScaledBuilder() {
+ return getScaledFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 1;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ScaledOrBuilder
+ getScaledOrBuilder() {
+ if ((tierCase_ == 1) && (scaledBuilder_ != null)) {
+ return scaledBuilder_.getMessageOrBuilder();
+ } else {
+ if (tierCase_ == 1) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ScaledOrBuilder>
+ getScaledFieldBuilder() {
+ if (scaledBuilder_ == null) {
+ if (!(tierCase_ == 1)) {
+ tier_ =
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.getDefaultInstance();
+ }
+ scaledBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ScaledOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_,
+ getParentForChildren(),
+ isClean());
+ tier_ = null;
+ }
+ tierCase_ = 1;
+ onChanged();
+ return scaledBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.BasicOrBuilder>
+ basicBuilder_;
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Basic tier. This is the default tier for + * Spanner mode if not explicitly chosen. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ *
+ * @return Whether the basic field is set.
+ */
+ @java.lang.Override
+ public boolean hasBasic() {
+ return tierCase_ == 2;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Basic tier. This is the default tier for + * Spanner mode if not explicitly chosen. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ *
+ * @return The basic.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic getBasic() {
+ if (basicBuilder_ == null) {
+ if (tierCase_ == 2) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.getDefaultInstance();
+ } else {
+ if (tierCase_ == 2) {
+ return basicBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Basic tier. This is the default tier for + * Spanner mode if not explicitly chosen. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ */
+ public Builder setBasic(com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic value) {
+ if (basicBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ tier_ = value;
+ onChanged();
+ } else {
+ basicBuilder_.setMessage(value);
+ }
+ tierCase_ = 2;
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Basic tier. This is the default tier for + * Spanner mode if not explicitly chosen. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ */
+ public Builder setBasic(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.Builder builderForValue) {
+ if (basicBuilder_ == null) {
+ tier_ = builderForValue.build();
+ onChanged();
+ } else {
+ basicBuilder_.setMessage(builderForValue.build());
+ }
+ tierCase_ = 2;
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Basic tier. This is the default tier for + * Spanner mode if not explicitly chosen. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ */
+ public Builder mergeBasic(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic value) {
+ if (basicBuilder_ == null) {
+ if (tierCase_ == 2
+ && tier_
+ != com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic
+ .getDefaultInstance()) {
+ tier_ =
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ tier_ = value;
+ }
+ onChanged();
+ } else {
+ if (tierCase_ == 2) {
+ basicBuilder_.mergeFrom(value);
+ } else {
+ basicBuilder_.setMessage(value);
+ }
+ }
+ tierCase_ = 2;
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Basic tier. This is the default tier for + * Spanner mode if not explicitly chosen. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ */
+ public Builder clearBasic() {
+ if (basicBuilder_ == null) {
+ if (tierCase_ == 2) {
+ tierCase_ = 0;
+ tier_ = null;
+ onChanged();
+ }
+ } else {
+ if (tierCase_ == 2) {
+ tierCase_ = 0;
+ tier_ = null;
+ }
+ basicBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Basic tier. This is the default tier for + * Spanner mode if not explicitly chosen. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ */
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.Builder
+ getBasicBuilder() {
+ return getBasicFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Basic tier. This is the default tier for + * Spanner mode if not explicitly chosen. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.BasicOrBuilder
+ getBasicOrBuilder() {
+ if ((tierCase_ == 2) && (basicBuilder_ != null)) {
+ return basicBuilder_.getMessageOrBuilder();
+ } else {
+ if (tierCase_ == 2) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Basic tier. This is the default tier for + * Spanner mode if not explicitly chosen. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.BasicOrBuilder>
+ getBasicFieldBuilder() {
+ if (basicBuilder_ == null) {
+ if (!(tierCase_ == 2)) {
+ tier_ =
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.getDefaultInstance();
+ }
+ basicBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.BasicOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_,
+ getParentForChildren(),
+ isClean());
+ tier_ = null;
+ }
+ tierCase_ = 2;
+ onChanged();
+ return basicBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.UnprovisionedOrBuilder>
+ unprovisionedBuilder_;
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Unprovisioned tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
+ *
+ *
+ * @return Whether the unprovisioned field is set.
+ */
+ @java.lang.Override
+ public boolean hasUnprovisioned() {
+ return tierCase_ == 3;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Unprovisioned tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
+ *
+ *
+ * @return The unprovisioned.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
+ getUnprovisioned() {
+ if (unprovisionedBuilder_ == null) {
+ if (tierCase_ == 3) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
+ .getDefaultInstance();
+ } else {
+ if (tierCase_ == 3) {
+ return unprovisionedBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
+ .getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Unprovisioned tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
+ *
+ */
+ public Builder setUnprovisioned(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned value) {
+ if (unprovisionedBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ tier_ = value;
+ onChanged();
+ } else {
+ unprovisionedBuilder_.setMessage(value);
+ }
+ tierCase_ = 3;
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Unprovisioned tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
+ *
+ */
+ public Builder setUnprovisioned(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned.Builder
+ builderForValue) {
+ if (unprovisionedBuilder_ == null) {
+ tier_ = builderForValue.build();
+ onChanged();
+ } else {
+ unprovisionedBuilder_.setMessage(builderForValue.build());
+ }
+ tierCase_ = 3;
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Unprovisioned tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
+ *
+ */
+ public Builder mergeUnprovisioned(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned value) {
+ if (unprovisionedBuilder_ == null) {
+ if (tierCase_ == 3
+ && tier_
+ != com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
+ .getDefaultInstance()) {
+ tier_ =
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned)
+ tier_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ tier_ = value;
+ }
+ onChanged();
+ } else {
+ if (tierCase_ == 3) {
+ unprovisionedBuilder_.mergeFrom(value);
+ } else {
+ unprovisionedBuilder_.setMessage(value);
+ }
+ }
+ tierCase_ = 3;
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Unprovisioned tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
+ *
+ */
+ public Builder clearUnprovisioned() {
+ if (unprovisionedBuilder_ == null) {
+ if (tierCase_ == 3) {
+ tierCase_ = 0;
+ tier_ = null;
+ onChanged();
+ }
+ } else {
+ if (tierCase_ == 3) {
+ tierCase_ = 0;
+ tier_ = null;
+ }
+ unprovisionedBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Unprovisioned tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned.Builder
+ getUnprovisionedBuilder() {
+ return getUnprovisionedFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Unprovisioned tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.UnprovisionedOrBuilder
+ getUnprovisionedOrBuilder() {
+ if ((tierCase_ == 3) && (unprovisionedBuilder_ != null)) {
+ return unprovisionedBuilder_.getMessageOrBuilder();
+ } else {
+ if (tierCase_ == 3) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
+ .getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Unprovisioned tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.UnprovisionedOrBuilder>
+ getUnprovisionedFieldBuilder() {
+ if (unprovisionedBuilder_ == null) {
+ if (!(tierCase_ == 3)) {
+ tier_ =
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
+ .getDefaultInstance();
+ }
+ unprovisionedBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.UnprovisionedOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_,
+ getParentForChildren(),
+ isClean());
+ tier_ = null;
+ }
+ tierCase_ = 3;
+ onChanged();
+ return unprovisionedBuilder_;
+ }
+
+ @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.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner)
+ private static final com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Message to configure the serverless mode offered by RAG Engine. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless} + */ + public static final class Serverless extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless) + ServerlessOrBuilder { + private static final long serialVersionUID = 0L; + + // Use Serverless.newBuilder() to construct. + private Serverless(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private Serverless() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Serverless(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.VertexRagDataProto + .internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_Serverless_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.VertexRagDataProto + .internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_Serverless_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless.class, + com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless.Builder.class); + } + + 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 { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + 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.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless other = + (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless) obj; + + 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 = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless 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.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless 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.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless + 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.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless 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.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless 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; + } + + /** + * + * + *
+ * Message to configure the serverless mode offered by RAG Engine. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Sets the RagManagedDb to the Enterprise tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ *
+ *
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.enterprise is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=833
+ * @return Whether the enterprise field is set.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public boolean hasEnterprise() {
+ return tierCase_ == 1;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Enterprise tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ *
+ *
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.enterprise is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=833
+ * @return The enterprise.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise getEnterprise() {
+ if (tierCase_ == 1) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise.getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Enterprise tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ *
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.EnterpriseOrBuilder
+ getEnterpriseOrBuilder() {
+ if (tierCase_ == 1) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise.getDefaultInstance();
+ }
+
+ public static final int SCALED_FIELD_NUMBER = 4;
+
+ /**
+ *
+ *
+ * + * Deprecated: Use `mode` instead to set the tier under Spanner. + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4 [deprecated = true];
+ *
+ *
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.scaled is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=837
+ * @return Whether the scaled field is set.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public boolean hasScaled() {
+ return tierCase_ == 4;
+ }
+
+ /**
+ *
+ *
+ * + * Deprecated: Use `mode` instead to set the tier under Spanner. + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4 [deprecated = true];
+ *
+ *
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.scaled is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=837
+ * @return The scaled.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled getScaled() {
+ if (tierCase_ == 4) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ * + * Deprecated: Use `mode` instead to set the tier under Spanner. + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4 [deprecated = true];
+ *
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ScaledOrBuilder
+ getScaledOrBuilder() {
+ if (tierCase_ == 4) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.getDefaultInstance();
+ }
+
+ public static final int BASIC_FIELD_NUMBER = 2;
+
+ /**
+ *
+ *
+ * + * Deprecated: Use `mode` instead to set the tier under Spanner. + * Sets the RagManagedDb to the Basic tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2 [deprecated = true];
+ *
+ *
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.basic is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=841
+ * @return Whether the basic field is set.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public boolean hasBasic() {
+ return tierCase_ == 2;
+ }
+
+ /**
+ *
+ *
+ * + * Deprecated: Use `mode` instead to set the tier under Spanner. + * Sets the RagManagedDb to the Basic tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2 [deprecated = true];
+ *
+ *
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.basic is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=841
+ * @return The basic.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic getBasic() {
+ if (tierCase_ == 2) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ * + * Deprecated: Use `mode` instead to set the tier under Spanner. + * Sets the RagManagedDb to the Basic tier. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2 [deprecated = true];
+ *
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.BasicOrBuilder getBasicOrBuilder() {
+ if (tierCase_ == 2) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.getDefaultInstance();
+ }
+
+ public static final int UNPROVISIONED_FIELD_NUMBER = 3;
+
+ /**
+ *
+ *
+ * + * Deprecated: Use `mode` instead to set the tier under Spanner. + * Sets the RagManagedDb to the Unprovisioned tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3 [deprecated = true];
+ *
+ *
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.unprovisioned is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=845
+ * @return Whether the unprovisioned field is set.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public boolean hasUnprovisioned() {
+ return tierCase_ == 3;
+ }
+
+ /**
+ *
+ *
+ * + * Deprecated: Use `mode` instead to set the tier under Spanner. + * Sets the RagManagedDb to the Unprovisioned tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3 [deprecated = true];
+ *
+ *
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.unprovisioned is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=845
+ * @return The unprovisioned.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned getUnprovisioned() {
+ if (tierCase_ == 3) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
+ .getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ * + * Deprecated: Use `mode` instead to set the tier under Spanner. + * Sets the RagManagedDb to the Unprovisioned tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3 [deprecated = true];
+ *
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.UnprovisionedOrBuilder
+ getUnprovisionedOrBuilder() {
+ if (tierCase_ == 3) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
+ .getDefaultInstance();
+ }
+
+ public static final int SERVERLESS_FIELD_NUMBER = 5;
+
+ /**
+ *
+ *
+ * + * Sets the backend to be the serverless mode offered by RAG Engine. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless serverless = 5;
+ *
+ * @return Whether the serverless field is set.
+ */
+ @java.lang.Override
+ public boolean hasServerless() {
+ return modeCase_ == 5;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the backend to be the serverless mode offered by RAG Engine. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless serverless = 5;
+ *
+ * @return The serverless.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless getServerless() {
+ if (modeCase_ == 5) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless) mode_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless.getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ * + * Sets the backend to be the serverless mode offered by RAG Engine. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless serverless = 5;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ServerlessOrBuilder
+ getServerlessOrBuilder() {
+ if (modeCase_ == 5) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless) mode_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless.getDefaultInstance();
+ }
+
+ public static final int SPANNER_FIELD_NUMBER = 6;
+
+ /**
+ *
+ *
+ * + * Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner. + * + * NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner spanner = 6;
+ *
+ * @return Whether the spanner field is set.
+ */
+ @java.lang.Override
+ public boolean hasSpanner() {
+ return modeCase_ == 6;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner. + * + * NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner spanner = 6;
+ *
+ * @return The spanner.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner getSpanner() {
+ if (modeCase_ == 6) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner) mode_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner.getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner. + * + * NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen. + *+ * + *
.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner spanner = 6;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.SpannerOrBuilder
+ getSpannerOrBuilder() {
+ if (modeCase_ == 6) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner) mode_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner.getDefaultInstance();
+ }
+
+ 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 (tierCase_ == 1) {
+ output.writeMessage(
+ 1, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise) tier_);
+ }
+ if (tierCase_ == 2) {
+ output.writeMessage(2, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_);
+ }
+ if (tierCase_ == 3) {
+ output.writeMessage(
+ 3, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_);
+ }
+ if (tierCase_ == 4) {
+ output.writeMessage(4, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_);
+ }
+ if (modeCase_ == 5) {
+ output.writeMessage(
+ 5, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless) mode_);
+ }
+ if (modeCase_ == 6) {
+ output.writeMessage(
+ 6, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner) mode_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (tierCase_ == 1) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 1, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise) tier_);
+ }
+ if (tierCase_ == 2) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 2, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_);
+ }
+ if (tierCase_ == 3) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 3, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_);
+ }
+ if (tierCase_ == 4) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 4, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_);
+ }
+ if (modeCase_ == 5) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 5, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless) mode_);
+ }
+ if (modeCase_ == 6) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 6, (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner) mode_);
+ }
+ 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.cloud.aiplatform.v1beta1.RagManagedDbConfig)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig other =
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig) obj;
+
+ if (!getTierCase().equals(other.getTierCase())) return false;
+ switch (tierCase_) {
+ case 1:
+ if (!getEnterprise().equals(other.getEnterprise())) return false;
+ break;
+ case 4:
+ if (!getScaled().equals(other.getScaled())) return false;
+ break;
+ case 2:
+ if (!getBasic().equals(other.getBasic())) return false;
+ break;
+ case 3:
+ if (!getUnprovisioned().equals(other.getUnprovisioned())) return false;
+ break;
+ case 0:
+ default:
+ }
+ if (!getModeCase().equals(other.getModeCase())) return false;
+ switch (modeCase_) {
+ case 5:
+ if (!getServerless().equals(other.getServerless())) return false;
+ break;
+ case 6:
+ if (!getSpanner().equals(other.getSpanner())) return false;
+ break;
+ case 0:
+ default:
+ }
+ 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();
+ switch (tierCase_) {
+ case 1:
+ hash = (37 * hash) + ENTERPRISE_FIELD_NUMBER;
+ hash = (53 * hash) + getEnterprise().hashCode();
+ break;
+ case 4:
+ hash = (37 * hash) + SCALED_FIELD_NUMBER;
+ hash = (53 * hash) + getScaled().hashCode();
+ break;
+ case 2:
+ hash = (37 * hash) + BASIC_FIELD_NUMBER;
+ hash = (53 * hash) + getBasic().hashCode();
+ break;
+ case 3:
+ hash = (37 * hash) + UNPROVISIONED_FIELD_NUMBER;
+ hash = (53 * hash) + getUnprovisioned().hashCode();
+ break;
+ case 0:
+ default:
+ }
+ switch (modeCase_) {
+ case 5:
+ hash = (37 * hash) + SERVERLESS_FIELD_NUMBER;
+ hash = (53 * hash) + getServerless().hashCode();
+ break;
+ case 6:
+ hash = (37 * hash) + SPANNER_FIELD_NUMBER;
+ hash = (53 * hash) + getSpanner().hashCode();
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig 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.cloud.aiplatform.v1beta1.RagManagedDbConfig parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig 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.cloud.aiplatform.v1beta1.RagManagedDbConfig parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig 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.cloud.aiplatform.v1beta1.RagManagedDbConfig parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig 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.cloud.aiplatform.v1beta1.RagManagedDbConfig 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;
+ }
+
+ /**
+ *
+ *
+ * + * Configuration message for RagManagedDb used by RagEngine. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.RagManagedDbConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
- * Configuration message for RagManagedDb used by RagEngine. - *- * - * Protobuf type {@code google.cloud.aiplatform.v1beta1.RagManagedDbConfig} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Sets the RagManagedDb to the Enterprise tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ *
+ *
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.enterprise is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=833
+ * @return Whether the enterprise field is set.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public boolean hasEnterprise() {
+ return tierCase_ == 1;
}
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Enterprise tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ *
+ *
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.enterprise is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=833
+ * @return The enterprise.
+ */
@java.lang.Override
- public Builder clear() {
- super.clear();
- bitField0_ = 0;
- if (enterpriseBuilder_ != null) {
- enterpriseBuilder_.clear();
+ @java.lang.Deprecated
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise getEnterprise() {
+ if (enterpriseBuilder_ == null) {
+ if (tierCase_ == 1) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise
+ .getDefaultInstance();
+ } else {
+ if (tierCase_ == 1) {
+ return enterpriseBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise
+ .getDefaultInstance();
}
- if (scaledBuilder_ != null) {
- scaledBuilder_.clear();
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Enterprise tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ *
+ */
+ @java.lang.Deprecated
+ public Builder setEnterprise(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise value) {
+ if (enterpriseBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ tier_ = value;
+ onChanged();
+ } else {
+ enterpriseBuilder_.setMessage(value);
}
- if (basicBuilder_ != null) {
- basicBuilder_.clear();
+ tierCase_ = 1;
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Enterprise tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ *
+ */
+ @java.lang.Deprecated
+ public Builder setEnterprise(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise.Builder builderForValue) {
+ if (enterpriseBuilder_ == null) {
+ tier_ = builderForValue.build();
+ onChanged();
+ } else {
+ enterpriseBuilder_.setMessage(builderForValue.build());
}
- if (unprovisionedBuilder_ != null) {
- unprovisionedBuilder_.clear();
+ tierCase_ = 1;
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Enterprise tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ *
+ */
+ @java.lang.Deprecated
+ public Builder mergeEnterprise(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise value) {
+ if (enterpriseBuilder_ == null) {
+ if (tierCase_ == 1
+ && tier_
+ != com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise
+ .getDefaultInstance()) {
+ tier_ =
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise) tier_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ tier_ = value;
+ }
+ onChanged();
+ } else {
+ if (tierCase_ == 1) {
+ enterpriseBuilder_.mergeFrom(value);
+ } else {
+ enterpriseBuilder_.setMessage(value);
+ }
}
- tierCase_ = 0;
- tier_ = null;
+ tierCase_ = 1;
return this;
}
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.aiplatform.v1beta1.VertexRagDataProto
- .internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_descriptor;
- }
-
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig getDefaultInstanceForType() {
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.getDefaultInstance();
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Enterprise tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ *
+ */
+ @java.lang.Deprecated
+ public Builder clearEnterprise() {
+ if (enterpriseBuilder_ == null) {
+ if (tierCase_ == 1) {
+ tierCase_ = 0;
+ tier_ = null;
+ onChanged();
+ }
+ } else {
+ if (tierCase_ == 1) {
+ tierCase_ = 0;
+ tier_ = null;
+ }
+ enterpriseBuilder_.clear();
+ }
+ return this;
}
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig build() {
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Enterprise tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ *
+ */
+ @java.lang.Deprecated
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise.Builder
+ getEnterpriseBuilder() {
+ return getEnterpriseFieldBuilder().getBuilder();
}
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Enterprise tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ *
+ */
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig buildPartial() {
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig result =
- new com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig(this);
- if (bitField0_ != 0) {
- buildPartial0(result);
+ @java.lang.Deprecated
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.EnterpriseOrBuilder
+ getEnterpriseOrBuilder() {
+ if ((tierCase_ == 1) && (enterpriseBuilder_ != null)) {
+ return enterpriseBuilder_.getMessageOrBuilder();
+ } else {
+ if (tierCase_ == 1) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise
+ .getDefaultInstance();
}
- buildPartialOneofs(result);
- onBuilt();
- return result;
- }
-
- private void buildPartial0(com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig result) {
- int from_bitField0_ = bitField0_;
}
- private void buildPartialOneofs(com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig result) {
- result.tierCase_ = tierCase_;
- result.tier_ = this.tier_;
- if (tierCase_ == 1 && enterpriseBuilder_ != null) {
- result.tier_ = enterpriseBuilder_.build();
- }
- if (tierCase_ == 4 && scaledBuilder_ != null) {
- result.tier_ = scaledBuilder_.build();
- }
- if (tierCase_ == 2 && basicBuilder_ != null) {
- result.tier_ = basicBuilder_.build();
- }
- if (tierCase_ == 3 && unprovisionedBuilder_ != null) {
- result.tier_ = unprovisionedBuilder_.build();
+ /**
+ *
+ *
+ * + * Sets the RagManagedDb to the Enterprise tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.EnterpriseOrBuilder>
+ getEnterpriseFieldBuilder() {
+ if (enterpriseBuilder_ == null) {
+ if (!(tierCase_ == 1)) {
+ tier_ =
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise
+ .getDefaultInstance();
+ }
+ enterpriseBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.EnterpriseOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise) tier_,
+ getParentForChildren(),
+ isClean());
+ tier_ = null;
}
+ tierCase_ = 1;
+ onChanged();
+ return enterpriseBuilder_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ScaledOrBuilder>
+ scaledBuilder_;
+ /**
+ *
+ *
+ * + * Deprecated: Use `mode` instead to set the tier under Spanner. + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4 [deprecated = true];
+ *
+ *
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.scaled is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=837
+ * @return Whether the scaled field is set.
+ */
@java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
+ @java.lang.Deprecated
+ public boolean hasScaled() {
+ return tierCase_ == 4;
}
+ /**
+ *
+ *
+ * + * Deprecated: Use `mode` instead to set the tier under Spanner. + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4 [deprecated = true];
+ *
+ *
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.scaled is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=837
+ * @return The scaled.
+ */
@java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
+ @java.lang.Deprecated
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled getScaled() {
+ if (scaledBuilder_ == null) {
+ if (tierCase_ == 4) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.getDefaultInstance();
+ } else {
+ if (tierCase_ == 4) {
+ return scaledBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.getDefaultInstance();
+ }
}
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
+ /**
+ *
+ *
+ * + * Deprecated: Use `mode` instead to set the tier under Spanner. + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4 [deprecated = true];
+ *
+ */
+ @java.lang.Deprecated
+ public Builder setScaled(com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled value) {
+ if (scaledBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ tier_ = value;
+ onChanged();
+ } else {
+ scaledBuilder_.setMessage(value);
+ }
+ tierCase_ = 4;
+ return this;
}
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
+ /**
+ *
+ *
+ * + * Deprecated: Use `mode` instead to set the tier under Spanner. + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4 [deprecated = true];
+ *
+ */
+ @java.lang.Deprecated
+ public Builder setScaled(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.Builder builderForValue) {
+ if (scaledBuilder_ == null) {
+ tier_ = builderForValue.build();
+ onChanged();
+ } else {
+ scaledBuilder_.setMessage(builderForValue.build());
+ }
+ tierCase_ = 4;
+ return this;
}
-
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig) {
- return mergeFrom((com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig) other);
+
+ /**
+ *
+ *
+ * + * Deprecated: Use `mode` instead to set the tier under Spanner. + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4 [deprecated = true];
+ *
+ */
+ @java.lang.Deprecated
+ public Builder mergeScaled(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled value) {
+ if (scaledBuilder_ == null) {
+ if (tierCase_ == 4
+ && tier_
+ != com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled
+ .getDefaultInstance()) {
+ tier_ =
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ tier_ = value;
+ }
+ onChanged();
} else {
- super.mergeFrom(other);
- return this;
+ if (tierCase_ == 4) {
+ scaledBuilder_.mergeFrom(value);
+ } else {
+ scaledBuilder_.setMessage(value);
+ }
}
+ tierCase_ = 4;
+ return this;
}
- public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig other) {
- if (other == com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.getDefaultInstance())
- return this;
- switch (other.getTierCase()) {
- case ENTERPRISE:
- {
- mergeEnterprise(other.getEnterprise());
- break;
- }
- case SCALED:
- {
- mergeScaled(other.getScaled());
- break;
- }
- case BASIC:
- {
- mergeBasic(other.getBasic());
- break;
- }
- case UNPROVISIONED:
- {
- mergeUnprovisioned(other.getUnprovisioned());
- break;
- }
- case TIER_NOT_SET:
- {
- break;
- }
+ /**
+ *
+ *
+ * + * Deprecated: Use `mode` instead to set the tier under Spanner. + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4 [deprecated = true];
+ *
+ */
+ @java.lang.Deprecated
+ public Builder clearScaled() {
+ if (scaledBuilder_ == null) {
+ if (tierCase_ == 4) {
+ tierCase_ = 0;
+ tier_ = null;
+ onChanged();
+ }
+ } else {
+ if (tierCase_ == 4) {
+ tierCase_ = 0;
+ tier_ = null;
+ }
+ scaledBuilder_.clear();
}
- this.mergeUnknownFields(other.getUnknownFields());
- onChanged();
return this;
}
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
+ /**
+ *
+ *
+ * + * Deprecated: Use `mode` instead to set the tier under Spanner. + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4 [deprecated = true];
+ *
+ */
+ @java.lang.Deprecated
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.Builder
+ getScaledBuilder() {
+ return getScaledFieldBuilder().getBuilder();
}
+ /**
+ *
+ *
+ * + * Deprecated: Use `mode` instead to set the tier under Spanner. + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4 [deprecated = true];
+ *
+ */
@java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
+ @java.lang.Deprecated
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ScaledOrBuilder
+ getScaledOrBuilder() {
+ if ((tierCase_ == 4) && (scaledBuilder_ != null)) {
+ return scaledBuilder_.getMessageOrBuilder();
+ } else {
+ if (tierCase_ == 4) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.getDefaultInstance();
}
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10:
- {
- input.readMessage(getEnterpriseFieldBuilder().getBuilder(), extensionRegistry);
- tierCase_ = 1;
- break;
- } // case 10
- case 18:
- {
- input.readMessage(getBasicFieldBuilder().getBuilder(), extensionRegistry);
- tierCase_ = 2;
- break;
- } // case 18
- case 26:
- {
- input.readMessage(getUnprovisionedFieldBuilder().getBuilder(), extensionRegistry);
- tierCase_ = 3;
- break;
- } // case 26
- case 34:
- {
- input.readMessage(getScaledFieldBuilder().getBuilder(), extensionRegistry);
- tierCase_ = 4;
- break;
- } // case 34
- default:
- {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.unwrapIOException();
- } finally {
- onChanged();
- } // finally
- return this;
- }
-
- private int tierCase_ = 0;
- private java.lang.Object tier_;
-
- public TierCase getTierCase() {
- return TierCase.forNumber(tierCase_);
}
- public Builder clearTier() {
- tierCase_ = 0;
- tier_ = null;
+ /**
+ *
+ *
+ * + * Deprecated: Use `mode` instead to set the tier under Spanner. + * Sets the RagManagedDb to the Scaled tier. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4 [deprecated = true];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ScaledOrBuilder>
+ getScaledFieldBuilder() {
+ if (scaledBuilder_ == null) {
+ if (!(tierCase_ == 4)) {
+ tier_ =
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.getDefaultInstance();
+ }
+ scaledBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ScaledOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_,
+ getParentForChildren(),
+ isClean());
+ tier_ = null;
+ }
+ tierCase_ = 4;
onChanged();
- return this;
+ return scaledBuilder_;
}
- private int bitField0_;
-
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise.Builder,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.EnterpriseOrBuilder>
- enterpriseBuilder_;
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.BasicOrBuilder>
+ basicBuilder_;
/**
*
*
*
- * Sets the RagManagedDb to the Enterprise tier.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Basic tier.
*
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2 [deprecated = true];
*
*
- * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.enterprise is deprecated. See
- * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=814
- * @return Whether the enterprise field is set.
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.basic is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=841
+ * @return Whether the basic field is set.
*/
@java.lang.Override
@java.lang.Deprecated
- public boolean hasEnterprise() {
- return tierCase_ == 1;
+ public boolean hasBasic() {
+ return tierCase_ == 2;
}
/**
*
*
*
- * Sets the RagManagedDb to the Enterprise tier.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Basic tier.
*
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2 [deprecated = true];
*
*
- * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.enterprise is deprecated. See
- * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=814
- * @return The enterprise.
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.basic is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=841
+ * @return The basic.
*/
@java.lang.Override
@java.lang.Deprecated
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise getEnterprise() {
- if (enterpriseBuilder_ == null) {
- if (tierCase_ == 1) {
- return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise) tier_;
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic getBasic() {
+ if (basicBuilder_ == null) {
+ if (tierCase_ == 2) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_;
}
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise
- .getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.getDefaultInstance();
} else {
- if (tierCase_ == 1) {
- return enterpriseBuilder_.getMessage();
+ if (tierCase_ == 2) {
+ return basicBuilder_.getMessage();
}
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise
- .getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.getDefaultInstance();
}
}
@@ -2680,26 +5571,26 @@ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise getEnte
*
*
*
- * Sets the RagManagedDb to the Enterprise tier.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Basic tier.
*
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2 [deprecated = true];
*
*/
@java.lang.Deprecated
- public Builder setEnterprise(
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise value) {
- if (enterpriseBuilder_ == null) {
+ public Builder setBasic(com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic value) {
+ if (basicBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
tier_ = value;
onChanged();
} else {
- enterpriseBuilder_.setMessage(value);
+ basicBuilder_.setMessage(value);
}
- tierCase_ = 1;
+ tierCase_ = 2;
return this;
}
@@ -2707,23 +5598,24 @@ public Builder setEnterprise(
*
*
*
- * Sets the RagManagedDb to the Enterprise tier.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Basic tier.
*
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2 [deprecated = true];
*
*/
@java.lang.Deprecated
- public Builder setEnterprise(
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise.Builder builderForValue) {
- if (enterpriseBuilder_ == null) {
+ public Builder setBasic(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.Builder builderForValue) {
+ if (basicBuilder_ == null) {
tier_ = builderForValue.build();
onChanged();
} else {
- enterpriseBuilder_.setMessage(builderForValue.build());
+ basicBuilder_.setMessage(builderForValue.build());
}
- tierCase_ = 1;
+ tierCase_ = 2;
return this;
}
@@ -2731,24 +5623,24 @@ public Builder setEnterprise(
*
*
*
- * Sets the RagManagedDb to the Enterprise tier.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Basic tier.
*
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2 [deprecated = true];
*
*/
@java.lang.Deprecated
- public Builder mergeEnterprise(
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise value) {
- if (enterpriseBuilder_ == null) {
- if (tierCase_ == 1
+ public Builder mergeBasic(com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic value) {
+ if (basicBuilder_ == null) {
+ if (tierCase_ == 2
&& tier_
- != com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise
+ != com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic
.getDefaultInstance()) {
tier_ =
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise.newBuilder(
- (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise) tier_)
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_)
.mergeFrom(value)
.buildPartial();
} else {
@@ -2756,13 +5648,13 @@ public Builder mergeEnterprise(
}
onChanged();
} else {
- if (tierCase_ == 1) {
- enterpriseBuilder_.mergeFrom(value);
+ if (tierCase_ == 2) {
+ basicBuilder_.mergeFrom(value);
} else {
- enterpriseBuilder_.setMessage(value);
+ basicBuilder_.setMessage(value);
}
}
- tierCase_ = 1;
+ tierCase_ = 2;
return this;
}
@@ -2770,27 +5662,28 @@ public Builder mergeEnterprise(
*
*
*
- * Sets the RagManagedDb to the Enterprise tier.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Basic tier.
*
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2 [deprecated = true];
*
*/
@java.lang.Deprecated
- public Builder clearEnterprise() {
- if (enterpriseBuilder_ == null) {
- if (tierCase_ == 1) {
+ public Builder clearBasic() {
+ if (basicBuilder_ == null) {
+ if (tierCase_ == 2) {
tierCase_ = 0;
tier_ = null;
onChanged();
}
} else {
- if (tierCase_ == 1) {
+ if (tierCase_ == 2) {
tierCase_ = 0;
tier_ = null;
}
- enterpriseBuilder_.clear();
+ basicBuilder_.clear();
}
return this;
}
@@ -2799,42 +5692,42 @@ public Builder clearEnterprise() {
*
*
*
- * Sets the RagManagedDb to the Enterprise tier.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Basic tier.
*
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2 [deprecated = true];
*
*/
@java.lang.Deprecated
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise.Builder
- getEnterpriseBuilder() {
- return getEnterpriseFieldBuilder().getBuilder();
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.Builder getBasicBuilder() {
+ return getBasicFieldBuilder().getBuilder();
}
/**
*
*
*
- * Sets the RagManagedDb to the Enterprise tier.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Basic tier.
*
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2 [deprecated = true];
*
*/
@java.lang.Override
@java.lang.Deprecated
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.EnterpriseOrBuilder
- getEnterpriseOrBuilder() {
- if ((tierCase_ == 1) && (enterpriseBuilder_ != null)) {
- return enterpriseBuilder_.getMessageOrBuilder();
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.BasicOrBuilder
+ getBasicOrBuilder() {
+ if ((tierCase_ == 2) && (basicBuilder_ != null)) {
+ return basicBuilder_.getMessageOrBuilder();
} else {
- if (tierCase_ == 1) {
- return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise) tier_;
+ if (tierCase_ == 2) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_;
}
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise
- .getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.getDefaultInstance();
}
}
@@ -2842,86 +5735,97 @@ public Builder clearEnterprise() {
*
*
*
- * Sets the RagManagedDb to the Enterprise tier.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Basic tier.
*
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2 [deprecated = true];
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise.Builder,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.EnterpriseOrBuilder>
- getEnterpriseFieldBuilder() {
- if (enterpriseBuilder_ == null) {
- if (!(tierCase_ == 1)) {
- tier_ =
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise
- .getDefaultInstance();
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.BasicOrBuilder>
+ getBasicFieldBuilder() {
+ if (basicBuilder_ == null) {
+ if (!(tierCase_ == 2)) {
+ tier_ = com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.getDefaultInstance();
}
- enterpriseBuilder_ =
+ basicBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise.Builder,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.EnterpriseOrBuilder>(
- (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise) tier_,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.BasicOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_,
getParentForChildren(),
isClean());
tier_ = null;
}
- tierCase_ = 1;
+ tierCase_ = 2;
onChanged();
- return enterpriseBuilder_;
+ return basicBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.Builder,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ScaledOrBuilder>
- scaledBuilder_;
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.UnprovisionedOrBuilder>
+ unprovisionedBuilder_;
/**
*
*
*
- * Sets the RagManagedDb to the Scaled tier. This is the default tier
- * if not explicitly chosen.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Unprovisioned tier.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4;
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3 [deprecated = true];
+ *
*
- * @return Whether the scaled field is set.
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.unprovisioned is deprecated.
+ * See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=845
+ * @return Whether the unprovisioned field is set.
*/
@java.lang.Override
- public boolean hasScaled() {
- return tierCase_ == 4;
+ @java.lang.Deprecated
+ public boolean hasUnprovisioned() {
+ return tierCase_ == 3;
}
/**
*
*
*
- * Sets the RagManagedDb to the Scaled tier. This is the default tier
- * if not explicitly chosen.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Unprovisioned tier.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4;
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3 [deprecated = true];
+ *
*
- * @return The scaled.
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.unprovisioned is deprecated.
+ * See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=845
+ * @return The unprovisioned.
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled getScaled() {
- if (scaledBuilder_ == null) {
- if (tierCase_ == 4) {
- return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_;
+ @java.lang.Deprecated
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned getUnprovisioned() {
+ if (unprovisionedBuilder_ == null) {
+ if (tierCase_ == 3) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_;
}
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
+ .getDefaultInstance();
} else {
- if (tierCase_ == 4) {
- return scaledBuilder_.getMessage();
+ if (tierCase_ == 3) {
+ return unprovisionedBuilder_.getMessage();
}
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
+ .getDefaultInstance();
}
}
@@ -2929,23 +5833,27 @@ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled getScaled()
*
*
*
- * Sets the RagManagedDb to the Scaled tier. This is the default tier
- * if not explicitly chosen.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Unprovisioned tier.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4;
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3 [deprecated = true];
+ *
*/
- public Builder setScaled(com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled value) {
- if (scaledBuilder_ == null) {
+ @java.lang.Deprecated
+ public Builder setUnprovisioned(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned value) {
+ if (unprovisionedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
tier_ = value;
onChanged();
} else {
- scaledBuilder_.setMessage(value);
+ unprovisionedBuilder_.setMessage(value);
}
- tierCase_ = 4;
+ tierCase_ = 3;
return this;
}
@@ -2953,21 +5861,25 @@ public Builder setScaled(com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.
*
*
*
- * Sets the RagManagedDb to the Scaled tier. This is the default tier
- * if not explicitly chosen.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Unprovisioned tier.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4;
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3 [deprecated = true];
+ *
*/
- public Builder setScaled(
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.Builder builderForValue) {
- if (scaledBuilder_ == null) {
+ @java.lang.Deprecated
+ public Builder setUnprovisioned(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned.Builder
+ builderForValue) {
+ if (unprovisionedBuilder_ == null) {
tier_ = builderForValue.build();
onChanged();
} else {
- scaledBuilder_.setMessage(builderForValue.build());
+ unprovisionedBuilder_.setMessage(builderForValue.build());
}
- tierCase_ = 4;
+ tierCase_ = 3;
return this;
}
@@ -2975,22 +5887,25 @@ public Builder setScaled(
*
*
*
- * Sets the RagManagedDb to the Scaled tier. This is the default tier
- * if not explicitly chosen.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Unprovisioned tier.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4;
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3 [deprecated = true];
+ *
*/
- public Builder mergeScaled(
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled value) {
- if (scaledBuilder_ == null) {
- if (tierCase_ == 4
+ @java.lang.Deprecated
+ public Builder mergeUnprovisioned(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned value) {
+ if (unprovisionedBuilder_ == null) {
+ if (tierCase_ == 3
&& tier_
- != com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled
+ != com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
.getDefaultInstance()) {
tier_ =
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.newBuilder(
- (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_)
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_)
.mergeFrom(value)
.buildPartial();
} else {
@@ -2998,13 +5913,13 @@ public Builder mergeScaled(
}
onChanged();
} else {
- if (tierCase_ == 4) {
- scaledBuilder_.mergeFrom(value);
+ if (tierCase_ == 3) {
+ unprovisionedBuilder_.mergeFrom(value);
} else {
- scaledBuilder_.setMessage(value);
+ unprovisionedBuilder_.setMessage(value);
}
}
- tierCase_ = 4;
+ tierCase_ = 3;
return this;
}
@@ -3012,25 +5927,28 @@ public Builder mergeScaled(
*
*
*
- * Sets the RagManagedDb to the Scaled tier. This is the default tier
- * if not explicitly chosen.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Unprovisioned tier.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4;
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3 [deprecated = true];
+ *
*/
- public Builder clearScaled() {
- if (scaledBuilder_ == null) {
- if (tierCase_ == 4) {
+ @java.lang.Deprecated
+ public Builder clearUnprovisioned() {
+ if (unprovisionedBuilder_ == null) {
+ if (tierCase_ == 3) {
tierCase_ = 0;
tier_ = null;
onChanged();
}
} else {
- if (tierCase_ == 4) {
+ if (tierCase_ == 3) {
tierCase_ = 0;
tier_ = null;
}
- scaledBuilder_.clear();
+ unprovisionedBuilder_.clear();
}
return this;
}
@@ -3039,37 +5957,44 @@ public Builder clearScaled() {
*
*
*
- * Sets the RagManagedDb to the Scaled tier. This is the default tier
- * if not explicitly chosen.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Unprovisioned tier.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4;
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3 [deprecated = true];
+ *
*/
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.Builder
- getScaledBuilder() {
- return getScaledFieldBuilder().getBuilder();
+ @java.lang.Deprecated
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned.Builder
+ getUnprovisionedBuilder() {
+ return getUnprovisionedFieldBuilder().getBuilder();
}
/**
*
*
*
- * Sets the RagManagedDb to the Scaled tier. This is the default tier
- * if not explicitly chosen.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Unprovisioned tier.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4;
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3 [deprecated = true];
+ *
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ScaledOrBuilder
- getScaledOrBuilder() {
- if ((tierCase_ == 4) && (scaledBuilder_ != null)) {
- return scaledBuilder_.getMessageOrBuilder();
+ @java.lang.Deprecated
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.UnprovisionedOrBuilder
+ getUnprovisionedOrBuilder() {
+ if ((tierCase_ == 3) && (unprovisionedBuilder_ != null)) {
+ return unprovisionedBuilder_.getMessageOrBuilder();
} else {
- if (tierCase_ == 4) {
- return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_;
+ if (tierCase_ == 3) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_;
}
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
+ .getDefaultInstance();
}
}
@@ -3077,82 +6002,87 @@ public Builder clearScaled() {
*
*
*
- * Sets the RagManagedDb to the Scaled tier. This is the default tier
- * if not explicitly chosen.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Unprovisioned tier.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4;
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3 [deprecated = true];
+ *
*/
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.Builder,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ScaledOrBuilder>
- getScaledFieldBuilder() {
- if (scaledBuilder_ == null) {
- if (!(tierCase_ == 4)) {
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.UnprovisionedOrBuilder>
+ getUnprovisionedFieldBuilder() {
+ if (unprovisionedBuilder_ == null) {
+ if (!(tierCase_ == 3)) {
tier_ =
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.getDefaultInstance();
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
+ .getDefaultInstance();
}
- scaledBuilder_ =
+ unprovisionedBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled.Builder,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ScaledOrBuilder>(
- (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled) tier_,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.UnprovisionedOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_,
getParentForChildren(),
isClean());
tier_ = null;
}
- tierCase_ = 4;
+ tierCase_ = 3;
onChanged();
- return scaledBuilder_;
+ return unprovisionedBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.Builder,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.BasicOrBuilder>
- basicBuilder_;
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ServerlessOrBuilder>
+ serverlessBuilder_;
/**
*
*
*
- * Sets the RagManagedDb to the Basic tier.
+ * Sets the backend to be the serverless mode offered by RAG Engine.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless serverless = 5;
*
- * @return Whether the basic field is set.
+ * @return Whether the serverless field is set.
*/
@java.lang.Override
- public boolean hasBasic() {
- return tierCase_ == 2;
+ public boolean hasServerless() {
+ return modeCase_ == 5;
}
/**
*
*
*
- * Sets the RagManagedDb to the Basic tier.
+ * Sets the backend to be the serverless mode offered by RAG Engine.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless serverless = 5;
*
- * @return The basic.
+ * @return The serverless.
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic getBasic() {
- if (basicBuilder_ == null) {
- if (tierCase_ == 2) {
- return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_;
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless getServerless() {
+ if (serverlessBuilder_ == null) {
+ if (modeCase_ == 5) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless) mode_;
}
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless
+ .getDefaultInstance();
} else {
- if (tierCase_ == 2) {
- return basicBuilder_.getMessage();
+ if (modeCase_ == 5) {
+ return serverlessBuilder_.getMessage();
}
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless
+ .getDefaultInstance();
}
}
@@ -3160,22 +6090,23 @@ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic getBasic() {
*
*
*
- * Sets the RagManagedDb to the Basic tier.
+ * Sets the backend to be the serverless mode offered by RAG Engine.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless serverless = 5;
*/
- public Builder setBasic(com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic value) {
- if (basicBuilder_ == null) {
+ public Builder setServerless(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless value) {
+ if (serverlessBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- tier_ = value;
+ mode_ = value;
onChanged();
} else {
- basicBuilder_.setMessage(value);
+ serverlessBuilder_.setMessage(value);
}
- tierCase_ = 2;
+ modeCase_ = 5;
return this;
}
@@ -3183,20 +6114,20 @@ public Builder setBasic(com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.B
*
*
*
- * Sets the RagManagedDb to the Basic tier.
+ * Sets the backend to be the serverless mode offered by RAG Engine.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless serverless = 5;
*/
- public Builder setBasic(
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.Builder builderForValue) {
- if (basicBuilder_ == null) {
- tier_ = builderForValue.build();
+ public Builder setServerless(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless.Builder builderForValue) {
+ if (serverlessBuilder_ == null) {
+ mode_ = builderForValue.build();
onChanged();
} else {
- basicBuilder_.setMessage(builderForValue.build());
+ serverlessBuilder_.setMessage(builderForValue.build());
}
- tierCase_ = 2;
+ modeCase_ = 5;
return this;
}
@@ -3204,34 +6135,35 @@ public Builder setBasic(
*
*
*
- * Sets the RagManagedDb to the Basic tier.
+ * Sets the backend to be the serverless mode offered by RAG Engine.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless serverless = 5;
*/
- public Builder mergeBasic(com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic value) {
- if (basicBuilder_ == null) {
- if (tierCase_ == 2
- && tier_
- != com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic
+ public Builder mergeServerless(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless value) {
+ if (serverlessBuilder_ == null) {
+ if (modeCase_ == 5
+ && mode_
+ != com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless
.getDefaultInstance()) {
- tier_ =
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.newBuilder(
- (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_)
+ mode_ =
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless) mode_)
.mergeFrom(value)
.buildPartial();
} else {
- tier_ = value;
+ mode_ = value;
}
onChanged();
} else {
- if (tierCase_ == 2) {
- basicBuilder_.mergeFrom(value);
+ if (modeCase_ == 5) {
+ serverlessBuilder_.mergeFrom(value);
} else {
- basicBuilder_.setMessage(value);
+ serverlessBuilder_.setMessage(value);
}
}
- tierCase_ = 2;
+ modeCase_ = 5;
return this;
}
@@ -3239,24 +6171,24 @@ public Builder mergeBasic(com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig
*
*
*
- * Sets the RagManagedDb to the Basic tier.
+ * Sets the backend to be the serverless mode offered by RAG Engine.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless serverless = 5;
*/
- public Builder clearBasic() {
- if (basicBuilder_ == null) {
- if (tierCase_ == 2) {
- tierCase_ = 0;
- tier_ = null;
+ public Builder clearServerless() {
+ if (serverlessBuilder_ == null) {
+ if (modeCase_ == 5) {
+ modeCase_ = 0;
+ mode_ = null;
onChanged();
}
} else {
- if (tierCase_ == 2) {
- tierCase_ = 0;
- tier_ = null;
+ if (modeCase_ == 5) {
+ modeCase_ = 0;
+ mode_ = null;
}
- basicBuilder_.clear();
+ serverlessBuilder_.clear();
}
return this;
}
@@ -3265,34 +6197,36 @@ public Builder clearBasic() {
*
*
*
- * Sets the RagManagedDb to the Basic tier.
+ * Sets the backend to be the serverless mode offered by RAG Engine.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless serverless = 5;
*/
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.Builder getBasicBuilder() {
- return getBasicFieldBuilder().getBuilder();
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless.Builder
+ getServerlessBuilder() {
+ return getServerlessFieldBuilder().getBuilder();
}
/**
*
*
*
- * Sets the RagManagedDb to the Basic tier.
+ * Sets the backend to be the serverless mode offered by RAG Engine.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless serverless = 5;
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.BasicOrBuilder
- getBasicOrBuilder() {
- if ((tierCase_ == 2) && (basicBuilder_ != null)) {
- return basicBuilder_.getMessageOrBuilder();
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ServerlessOrBuilder
+ getServerlessOrBuilder() {
+ if ((modeCase_ == 5) && (serverlessBuilder_ != null)) {
+ return serverlessBuilder_.getMessageOrBuilder();
} else {
- if (tierCase_ == 2) {
- return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_;
+ if (modeCase_ == 5) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless) mode_;
}
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless
+ .getDefaultInstance();
}
}
@@ -3300,84 +6234,86 @@ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.Builder getB
*
*
*
- * Sets the RagManagedDb to the Basic tier.
+ * Sets the backend to be the serverless mode offered by RAG Engine.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless serverless = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.Builder,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.BasicOrBuilder>
- getBasicFieldBuilder() {
- if (basicBuilder_ == null) {
- if (!(tierCase_ == 2)) {
- tier_ = com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.getDefaultInstance();
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ServerlessOrBuilder>
+ getServerlessFieldBuilder() {
+ if (serverlessBuilder_ == null) {
+ if (!(modeCase_ == 5)) {
+ mode_ =
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless
+ .getDefaultInstance();
}
- basicBuilder_ =
+ serverlessBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic.Builder,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.BasicOrBuilder>(
- (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic) tier_,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ServerlessOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless) mode_,
getParentForChildren(),
isClean());
- tier_ = null;
+ mode_ = null;
}
- tierCase_ = 2;
+ modeCase_ = 5;
onChanged();
- return basicBuilder_;
+ return serverlessBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned.Builder,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.UnprovisionedOrBuilder>
- unprovisionedBuilder_;
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.SpannerOrBuilder>
+ spannerBuilder_;
/**
*
*
*
- * Sets the RagManagedDb to the Unprovisioned tier.
+ * Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner.
+ *
+ * NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
- *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner spanner = 6;
*
- * @return Whether the unprovisioned field is set.
+ * @return Whether the spanner field is set.
*/
@java.lang.Override
- public boolean hasUnprovisioned() {
- return tierCase_ == 3;
+ public boolean hasSpanner() {
+ return modeCase_ == 6;
}
/**
*
*
*
- * Sets the RagManagedDb to the Unprovisioned tier.
+ * Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner.
+ *
+ * NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
- *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner spanner = 6;
*
- * @return The unprovisioned.
+ * @return The spanner.
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned getUnprovisioned() {
- if (unprovisionedBuilder_ == null) {
- if (tierCase_ == 3) {
- return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_;
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner getSpanner() {
+ if (spannerBuilder_ == null) {
+ if (modeCase_ == 6) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner) mode_;
}
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
- .getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner.getDefaultInstance();
} else {
- if (tierCase_ == 3) {
- return unprovisionedBuilder_.getMessage();
+ if (modeCase_ == 6) {
+ return spannerBuilder_.getMessage();
}
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
- .getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner.getDefaultInstance();
}
}
@@ -3385,24 +6321,25 @@ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned getU
*
*
*
- * Sets the RagManagedDb to the Unprovisioned tier.
+ * Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner.
+ *
+ * NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
- *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner spanner = 6;
*/
- public Builder setUnprovisioned(
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned value) {
- if (unprovisionedBuilder_ == null) {
+ public Builder setSpanner(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner value) {
+ if (spannerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- tier_ = value;
+ mode_ = value;
onChanged();
} else {
- unprovisionedBuilder_.setMessage(value);
+ spannerBuilder_.setMessage(value);
}
- tierCase_ = 3;
+ modeCase_ = 6;
return this;
}
@@ -3410,22 +6347,22 @@ public Builder setUnprovisioned(
*
*
*
- * Sets the RagManagedDb to the Unprovisioned tier.
+ * Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner.
+ *
+ * NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
- *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner spanner = 6;
*/
- public Builder setUnprovisioned(
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned.Builder
- builderForValue) {
- if (unprovisionedBuilder_ == null) {
- tier_ = builderForValue.build();
+ public Builder setSpanner(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner.Builder builderForValue) {
+ if (spannerBuilder_ == null) {
+ mode_ = builderForValue.build();
onChanged();
} else {
- unprovisionedBuilder_.setMessage(builderForValue.build());
+ spannerBuilder_.setMessage(builderForValue.build());
}
- tierCase_ = 3;
+ modeCase_ = 6;
return this;
}
@@ -3433,36 +6370,37 @@ public Builder setUnprovisioned(
*
*
*
- * Sets the RagManagedDb to the Unprovisioned tier.
+ * Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner.
+ *
+ * NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
- *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner spanner = 6;
*/
- public Builder mergeUnprovisioned(
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned value) {
- if (unprovisionedBuilder_ == null) {
- if (tierCase_ == 3
- && tier_
- != com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
+ public Builder mergeSpanner(
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner value) {
+ if (spannerBuilder_ == null) {
+ if (modeCase_ == 6
+ && mode_
+ != com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner
.getDefaultInstance()) {
- tier_ =
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned.newBuilder(
- (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_)
+ mode_ =
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner) mode_)
.mergeFrom(value)
.buildPartial();
} else {
- tier_ = value;
+ mode_ = value;
}
onChanged();
} else {
- if (tierCase_ == 3) {
- unprovisionedBuilder_.mergeFrom(value);
+ if (modeCase_ == 6) {
+ spannerBuilder_.mergeFrom(value);
} else {
- unprovisionedBuilder_.setMessage(value);
+ spannerBuilder_.setMessage(value);
}
}
- tierCase_ = 3;
+ modeCase_ = 6;
return this;
}
@@ -3470,25 +6408,26 @@ public Builder mergeUnprovisioned(
*
*
*
- * Sets the RagManagedDb to the Unprovisioned tier.
+ * Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner.
+ *
+ * NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
- *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner spanner = 6;
*/
- public Builder clearUnprovisioned() {
- if (unprovisionedBuilder_ == null) {
- if (tierCase_ == 3) {
- tierCase_ = 0;
- tier_ = null;
+ public Builder clearSpanner() {
+ if (spannerBuilder_ == null) {
+ if (modeCase_ == 6) {
+ modeCase_ = 0;
+ mode_ = null;
onChanged();
}
} else {
- if (tierCase_ == 3) {
- tierCase_ = 0;
- tier_ = null;
+ if (modeCase_ == 6) {
+ modeCase_ = 0;
+ mode_ = null;
}
- unprovisionedBuilder_.clear();
+ spannerBuilder_.clear();
}
return this;
}
@@ -3497,38 +6436,39 @@ public Builder clearUnprovisioned() {
*
*
*
- * Sets the RagManagedDb to the Unprovisioned tier.
+ * Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner.
+ *
+ * NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
- *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner spanner = 6;
*/
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned.Builder
- getUnprovisionedBuilder() {
- return getUnprovisionedFieldBuilder().getBuilder();
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner.Builder
+ getSpannerBuilder() {
+ return getSpannerFieldBuilder().getBuilder();
}
/**
*
*
*
- * Sets the RagManagedDb to the Unprovisioned tier.
+ * Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner.
+ *
+ * NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
- *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner spanner = 6;
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.UnprovisionedOrBuilder
- getUnprovisionedOrBuilder() {
- if ((tierCase_ == 3) && (unprovisionedBuilder_ != null)) {
- return unprovisionedBuilder_.getMessageOrBuilder();
+ public com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.SpannerOrBuilder
+ getSpannerOrBuilder() {
+ if ((modeCase_ == 6) && (spannerBuilder_ != null)) {
+ return spannerBuilder_.getMessageOrBuilder();
} else {
- if (tierCase_ == 3) {
- return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_;
+ if (modeCase_ == 6) {
+ return (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner) mode_;
}
- return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
- .getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner.getDefaultInstance();
}
}
@@ -3536,36 +6476,36 @@ public Builder clearUnprovisioned() {
*
*
*
- * Sets the RagManagedDb to the Unprovisioned tier.
+ * Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner.
+ *
+ * NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
- *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner spanner = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned.Builder,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.UnprovisionedOrBuilder>
- getUnprovisionedFieldBuilder() {
- if (unprovisionedBuilder_ == null) {
- if (!(tierCase_ == 3)) {
- tier_ =
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned
- .getDefaultInstance();
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.SpannerOrBuilder>
+ getSpannerFieldBuilder() {
+ if (spannerBuilder_ == null) {
+ if (!(modeCase_ == 6)) {
+ mode_ =
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner.getDefaultInstance();
}
- unprovisionedBuilder_ =
+ spannerBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned.Builder,
- com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.UnprovisionedOrBuilder>(
- (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned) tier_,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner.Builder,
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.SpannerOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner) mode_,
getParentForChildren(),
isClean());
- tier_ = null;
+ mode_ = null;
}
- tierCase_ = 3;
+ modeCase_ = 6;
onChanged();
- return unprovisionedBuilder_;
+ return spannerBuilder_;
}
@java.lang.Override
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RagManagedDbConfigOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RagManagedDbConfigOrBuilder.java
index a4bd1180fc8c..aa2922d4dd94 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RagManagedDbConfigOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RagManagedDbConfigOrBuilder.java
@@ -36,7 +36,7 @@ public interface RagManagedDbConfigOrBuilder
*
*
* @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.enterprise is deprecated. See
- * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=814
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=833
* @return Whether the enterprise field is set.
*/
@java.lang.Deprecated
@@ -54,7 +54,7 @@ public interface RagManagedDbConfigOrBuilder
*
*
* @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.enterprise is deprecated. See
- * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=814
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=833
* @return The enterprise.
*/
@java.lang.Deprecated
@@ -79,119 +79,241 @@ public interface RagManagedDbConfigOrBuilder
*
*
*
- * Sets the RagManagedDb to the Scaled tier. This is the default tier
- * if not explicitly chosen.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Scaled tier.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4;
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4 [deprecated = true];
+ *
*
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.scaled is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=837
* @return Whether the scaled field is set.
*/
+ @java.lang.Deprecated
boolean hasScaled();
/**
*
*
*
- * Sets the RagManagedDb to the Scaled tier. This is the default tier
- * if not explicitly chosen.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Scaled tier.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4;
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4 [deprecated = true];
+ *
*
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.scaled is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=837
* @return The scaled.
*/
+ @java.lang.Deprecated
com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled getScaled();
/**
*
*
*
- * Sets the RagManagedDb to the Scaled tier. This is the default tier
- * if not explicitly chosen.
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
+ * Sets the RagManagedDb to the Scaled tier.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4;
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ScaledOrBuilder getScaledOrBuilder();
/**
*
*
*
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
* Sets the RagManagedDb to the Basic tier.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2 [deprecated = true];
+ *
*
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.basic is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=841
* @return Whether the basic field is set.
*/
+ @java.lang.Deprecated
boolean hasBasic();
/**
*
*
*
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
* Sets the RagManagedDb to the Basic tier.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2 [deprecated = true];
+ *
*
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.basic is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=841
* @return The basic.
*/
+ @java.lang.Deprecated
com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic getBasic();
/**
*
*
*
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
* Sets the RagManagedDb to the Basic tier.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2;
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.BasicOrBuilder getBasicOrBuilder();
/**
*
*
*
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
* Sets the RagManagedDb to the Unprovisioned tier.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3 [deprecated = true];
*
*
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.unprovisioned is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=845
* @return Whether the unprovisioned field is set.
*/
+ @java.lang.Deprecated
boolean hasUnprovisioned();
/**
*
*
*
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
* Sets the RagManagedDb to the Unprovisioned tier.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3 [deprecated = true];
*
*
+ * @deprecated google.cloud.aiplatform.v1beta1.RagManagedDbConfig.unprovisioned is deprecated. See
+ * google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=845
* @return The unprovisioned.
*/
+ @java.lang.Deprecated
com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned getUnprovisioned();
/**
*
*
*
+ * Deprecated: Use `mode` instead to set the tier under Spanner.
* Sets the RagManagedDb to the Unprovisioned tier.
*
*
- * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3 [deprecated = true];
*
*/
+ @java.lang.Deprecated
com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.UnprovisionedOrBuilder
getUnprovisionedOrBuilder();
+ /**
+ *
+ *
+ *
+ * Sets the backend to be the serverless mode offered by RAG Engine.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless serverless = 5;
+ *
+ * @return Whether the serverless field is set.
+ */
+ boolean hasServerless();
+
+ /**
+ *
+ *
+ *
+ * Sets the backend to be the serverless mode offered by RAG Engine.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless serverless = 5;
+ *
+ * @return The serverless.
+ */
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless getServerless();
+
+ /**
+ *
+ *
+ *
+ * Sets the backend to be the serverless mode offered by RAG Engine.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless serverless = 5;
+ */
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ServerlessOrBuilder
+ getServerlessOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner.
+ *
+ * NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner spanner = 6;
+ *
+ * @return Whether the spanner field is set.
+ */
+ boolean hasSpanner();
+
+ /**
+ *
+ *
+ *
+ * Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner.
+ *
+ * NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner spanner = 6;
+ *
+ * @return The spanner.
+ */
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner getSpanner();
+
+ /**
+ *
+ *
+ *
+ * Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner.
+ *
+ * NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner spanner = 6;
+ */
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.SpannerOrBuilder getSpannerOrBuilder();
+
com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.TierCase getTierCase();
+
+ com.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ModeCase getModeCase();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VertexRagDataProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VertexRagDataProto.java
index 616d586fede5..cb8f7fb5e755 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VertexRagDataProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VertexRagDataProto.java
@@ -184,6 +184,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_Unprovisioned_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_Unprovisioned_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_Spanner_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_Spanner_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_Serverless_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_Serverless_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_aiplatform_v1beta1_RagEngineConfig_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -453,32 +461,47 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\021rebuild_ann_index\030\023 \001(\010B\017\n\r"
+ "import_sourceB\026\n"
+ "\024partial_failure_sinkB\024\n"
- + "\022import_result_sink\"\242\003\n"
+ + "\022import_result_sink\"\364\006\n"
+ "\022RagManagedDbConfig\022X\n\n"
+ "enterprise\030\001 \001(\0132>.google.cloud.aiplatfor"
- + "m.v1beta1.RagManagedDbConfig.EnterpriseB\002\030\001H\000\022L\n"
+ + "m.v1beta1.RagManagedDbConfig.EnterpriseB\002\030\001H\000\022P\n"
+ "\006scaled\030\004 \001(\0132:.google.cloud.aip"
- + "latform.v1beta1.RagManagedDbConfig.ScaledH\000\022J\n"
- + "\005basic\030\002 \001(\01329.google.cloud.aiplat"
- + "form.v1beta1.RagManagedDbConfig.BasicH\000\022Z\n\r"
- + "unprovisioned\030\003 \001(\0132A.google.cloud.ai"
- + "platform.v1beta1.RagManagedDbConfig.UnprovisionedH\000\032\020\n\n"
+ + "latform.v1beta1.RagManagedDbConfig.ScaledB\002\030\001H\000\022N\n"
+ + "\005basic\030\002 \001(\01329.google.cloud.ai"
+ + "platform.v1beta1.RagManagedDbConfig.BasicB\002\030\001H\000\022^\n\r"
+ + "unprovisioned\030\003 \001(\0132A.google."
+ + "cloud.aiplatform.v1beta1.RagManagedDbConfig.UnprovisionedB\002\030\001H\000\022T\n\n"
+ + "serverless\030\005 "
+ + "\001(\0132>.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.ServerlessH\001\022N\n"
+ + "\007spanner\030\006"
+ + " \001(\0132;.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.SpannerH\001\032\020\n\n"
+ "Enterprise:\002\030\001\032\010\n"
+ "\006Scaled\032\007\n"
+ "\005Basic\032\017\n\r"
- + "UnprovisionedB\006\n"
- + "\004tier\"\206\002\n"
+ + "Unprovisioned\032\207\002\n"
+ + "\007Spanner\022L\n"
+ + "\006scaled\030\001 \001(\0132:.google"
+ + ".cloud.aiplatform.v1beta1.RagManagedDbConfig.ScaledH\000\022J\n"
+ + "\005basic\030\002 \001(\01329.google.cl"
+ + "oud.aiplatform.v1beta1.RagManagedDbConfig.BasicH\000\022Z\n\r"
+ + "unprovisioned\030\003 \001(\0132A.googl"
+ + "e.cloud.aiplatform.v1beta1.RagManagedDbConfig.UnprovisionedH\000B\006\n"
+ + "\004tier\032\014\n\n"
+ + "ServerlessB\006\n"
+ + "\004tierB\006\n"
+ + "\004mode\"\206\002\n"
+ "\017RagEngineConfig\022\021\n"
+ "\004name\030\001 \001(\tB\003\340A\010\022R\n"
- + "\025rag_managed_db_config\030\002 \001(\01323.google.cloud.a"
- + "iplatform.v1beta1.RagManagedDbConfig:\213\001\352A\207\001\n"
- + ")aiplatform.googleapis.com/RagEngineConfig\0227projects/{project}/locations/{lo"
- + "cation}/ragEngineConfig*\020ragEngineConfigs2\017ragEngineConfigB\351\001\n"
- + "#com.google.cloud.aiplatform.v1beta1B\022VertexRagDataProtoP\001"
- + "ZCcloud.google.com/go/aiplatform/apiv1be"
- + "ta1/aiplatformpb;aiplatformpb\252\002\037Google.C"
- + "loud.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\A"
- + "IPlatform\\V1beta1\352\002\"Google::Cloud::AIPlatform::V1beta1b\006proto3"
+ + "\025rag_managed_db_config\030\002"
+ + " \001(\01323.google.cloud.aiplatform.v1beta1.RagManagedDbConfig:\213\001\352A\207\001\n"
+ + ")aiplatform.googleapis.com/RagEngineConfig\0227projec"
+ + "ts/{project}/locations/{location}/ragEng"
+ + "ineConfig*\020ragEngineConfigs2\017ragEngineConfigB\351\001\n"
+ + "#com.google.cloud.aiplatform.v1beta1B\022VertexRagDataProtoP\001ZCcloud.google"
+ + ".com/go/aiplatform/apiv1beta1/aiplatform"
+ + "pb;aiplatformpb\252\002\037Google.Cloud.AIPlatfor"
+ + "m.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1be"
+ + "ta1\352\002\"Google::Cloud::AIPlatform::V1beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -872,7 +895,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_descriptor,
new java.lang.String[] {
- "Enterprise", "Scaled", "Basic", "Unprovisioned", "Tier",
+ "Enterprise",
+ "Scaled",
+ "Basic",
+ "Unprovisioned",
+ "Serverless",
+ "Spanner",
+ "Tier",
+ "Mode",
});
internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_Enterprise_descriptor =
internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_descriptor
@@ -906,6 +936,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_Unprovisioned_descriptor,
new java.lang.String[] {});
+ internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_Spanner_descriptor =
+ internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_descriptor
+ .getNestedTypes()
+ .get(4);
+ internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_Spanner_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_Spanner_descriptor,
+ new java.lang.String[] {
+ "Scaled", "Basic", "Unprovisioned", "Tier",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_Serverless_descriptor =
+ internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_descriptor
+ .getNestedTypes()
+ .get(5);
+ internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_Serverless_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_RagManagedDbConfig_Serverless_descriptor,
+ new java.lang.String[] {});
internal_static_google_cloud_aiplatform_v1beta1_RagEngineConfig_descriptor =
getDescriptor().getMessageTypes().get(15);
internal_static_google_cloud_aiplatform_v1beta1_RagEngineConfig_fieldAccessorTable =
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vertex_rag_data.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vertex_rag_data.proto
index d434a57e5823..77bd3dc18419 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vertex_rag_data.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vertex_rag_data.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -798,7 +798,7 @@ message RagManagedDbConfig {
// * Latency insensitive workload.
// * Only using RAG Engine with external vector DBs.
//
- // NOTE: This is the default tier if not explicitly chosen.
+ // NOTE: This is the default tier under Spanner mode if not explicitly chosen.
message Basic {}
// Disables the RAG Engine service and deletes all your data held
@@ -809,20 +809,52 @@ message RagManagedDbConfig {
// UpdateRagEngineConfig API.
message Unprovisioned {}
+ // Message to configure the Spanner database used by RagManagedDb.
+ message Spanner {
+ // The tier of the RagManagedDb, built on top of Spanner.
+ oneof tier {
+ // Sets the RagManagedDb to the Scaled tier.
+ Scaled scaled = 1;
+
+ // Sets the RagManagedDb to the Basic tier. This is the default tier for
+ // Spanner mode if not explicitly chosen.
+ Basic basic = 2;
+
+ // Sets the RagManagedDb to the Unprovisioned tier.
+ Unprovisioned unprovisioned = 3;
+ }
+ }
+
+ // Message to configure the serverless mode offered by RAG Engine.
+ message Serverless {}
+
// The tier of the RagManagedDb.
oneof tier {
// Sets the RagManagedDb to the Enterprise tier.
Enterprise enterprise = 1 [deprecated = true];
- // Sets the RagManagedDb to the Scaled tier. This is the default tier
- // if not explicitly chosen.
- Scaled scaled = 4;
+ // Deprecated: Use `mode` instead to set the tier under Spanner.
+ // Sets the RagManagedDb to the Scaled tier.
+ Scaled scaled = 4 [deprecated = true];
+ // Deprecated: Use `mode` instead to set the tier under Spanner.
// Sets the RagManagedDb to the Basic tier.
- Basic basic = 2;
+ Basic basic = 2 [deprecated = true];
+ // Deprecated: Use `mode` instead to set the tier under Spanner.
// Sets the RagManagedDb to the Unprovisioned tier.
- Unprovisioned unprovisioned = 3;
+ Unprovisioned unprovisioned = 3 [deprecated = true];
+ }
+
+ // The choice of backend for your RagEngine.
+ oneof mode {
+ // Sets the backend to be the serverless mode offered by RAG Engine.
+ Serverless serverless = 5;
+
+ // Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner.
+ //
+ // NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen.
+ Spanner spanner = 6;
}
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vertex_rag_data_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vertex_rag_data_service.proto
index 50eb0c6fcacf..914e9b5108d4 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vertex_rag_data_service.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vertex_rag_data_service.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 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/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vertex_rag_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vertex_rag_service.proto
index 22fae261b0a1..7644f557e986 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vertex_rag_service.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vertex_rag_service.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 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/java-alloydb-connectors/README.md b/java-alloydb-connectors/README.md
index 6b93b85eb9c7..be297cb2e0bf 100644
--- a/java-alloydb-connectors/README.md
+++ b/java-alloydb-connectors/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-alloydb-connectors
- 0.59.0
+ 0.60.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-alloydb-connectors:0.59.0'
+implementation 'com.google.cloud:google-cloud-alloydb-connectors:0.60.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-alloydb-connectors" % "0.59.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-alloydb-connectors" % "0.60.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-alloydb-connectors/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-alloydb-connectors.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb-connectors/0.59.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb-connectors/0.60.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-alloydb/README.md b/java-alloydb/README.md
index e1b2161142a8..a6a53843fb3b 100644
--- a/java-alloydb/README.md
+++ b/java-alloydb/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-alloydb
- 0.70.0
+ 0.71.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-alloydb:0.70.0'
+implementation 'com.google.cloud:google-cloud-alloydb:0.71.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-alloydb" % "0.70.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-alloydb" % "0.71.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-alloydb/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-alloydb.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb/0.70.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb/0.71.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-analytics-admin/README.md b/java-analytics-admin/README.md
index 62a9e8a4fa10..a228731b6a72 100644
--- a/java-analytics-admin/README.md
+++ b/java-analytics-admin/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.analytics
google-analytics-admin
- 0.91.0
+ 0.92.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.analytics:google-analytics-admin:0.91.0'
+implementation 'com.google.analytics:google-analytics-admin:0.92.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.91.0"
+libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.92.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-analytics-admin/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.analytics/google-analytics-admin.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.91.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.92.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-analytics-data/README.md b/java-analytics-data/README.md
index 70f47f76e65a..21aa7a05048b 100644
--- a/java-analytics-data/README.md
+++ b/java-analytics-data/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.analytics
google-analytics-data
- 0.92.0
+ 0.93.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.analytics:google-analytics-data:0.92.0'
+implementation 'com.google.analytics:google-analytics-data:0.93.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.analytics" % "google-analytics-data" % "0.92.0"
+libraryDependencies += "com.google.analytics" % "google-analytics-data" % "0.93.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-analytics-data/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.analytics/google-analytics-data.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-data/0.92.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-data/0.93.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-analyticshub/README.md b/java-analyticshub/README.md
index a09e14ead8de..2ff341986b8c 100644
--- a/java-analyticshub/README.md
+++ b/java-analyticshub/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-analyticshub
- 0.78.0
+ 0.79.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-analyticshub:0.78.0'
+implementation 'com.google.cloud:google-cloud-analyticshub:0.79.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-analyticshub" % "0.78.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-analyticshub" % "0.79.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-analyticshub/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-analyticshub.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-analyticshub/0.78.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-analyticshub/0.79.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-api-gateway/README.md b/java-api-gateway/README.md
index e9424f87a6d2..83bca2681114 100644
--- a/java-api-gateway/README.md
+++ b/java-api-gateway/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-api-gateway
- 2.81.0
+ 2.82.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-api-gateway:2.81.0'
+implementation 'com.google.cloud:google-cloud-api-gateway:2.82.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-api-gateway" % "2.81.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-api-gateway" % "2.82.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-api-gateway/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-api-gateway.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-api-gateway/2.81.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-api-gateway/2.82.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-apigee-connect/README.md b/java-apigee-connect/README.md
index ce1a78f59e27..009cd4883470 100644
--- a/java-apigee-connect/README.md
+++ b/java-apigee-connect/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-apigee-connect
- 2.81.0
+ 2.82.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-apigee-connect:2.81.0'
+implementation 'com.google.cloud:google-cloud-apigee-connect:2.82.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-apigee-connect" % "2.81.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-apigee-connect" % "2.82.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-apigee-connect/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apigee-connect.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-connect/2.81.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-connect/2.82.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-apigee-registry/README.md b/java-apigee-registry/README.md
index 4fa13de44abd..2e4ef42436c3 100644
--- a/java-apigee-registry/README.md
+++ b/java-apigee-registry/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-apigee-registry
- 0.81.0
+ 0.82.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-apigee-registry:0.81.0'
+implementation 'com.google.cloud:google-cloud-apigee-registry:0.82.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-apigee-registry" % "0.81.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-apigee-registry" % "0.82.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-apigee-registry/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apigee-registry.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-registry/0.81.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-registry/0.82.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-apihub/README.md b/java-apihub/README.md
index 63710d86f7e8..226e33f00b9f 100644
--- a/java-apihub/README.md
+++ b/java-apihub/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-apihub
- 0.34.0
+ 0.35.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-apihub:0.34.0'
+implementation 'com.google.cloud:google-cloud-apihub:0.35.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-apihub" % "0.34.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-apihub" % "0.35.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-apihub/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apihub.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apihub/0.34.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apihub/0.35.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-apikeys/README.md b/java-apikeys/README.md
index c5a4de25b8eb..fa971b067faf 100644
--- a/java-apikeys/README.md
+++ b/java-apikeys/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-apikeys
- 0.79.0
+ 0.80.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-apikeys:0.79.0'
+implementation 'com.google.cloud:google-cloud-apikeys:0.80.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-apikeys" % "0.79.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-apikeys" % "0.80.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-apikeys/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apikeys.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apikeys/0.79.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apikeys/0.80.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-appengine-admin/README.md b/java-appengine-admin/README.md
index 4d76eb7a23a8..f73182ea5441 100644
--- a/java-appengine-admin/README.md
+++ b/java-appengine-admin/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-appengine-admin
- 2.81.0
+ 2.82.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-appengine-admin:2.81.0'
+implementation 'com.google.cloud:google-cloud-appengine-admin:2.82.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-appengine-admin" % "2.81.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-appengine-admin" % "2.82.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-appengine-admin/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-appengine-admin.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-appengine-admin/2.81.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-appengine-admin/2.82.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-apphub/README.md b/java-apphub/README.md
index 511dc4147ebf..c5315776a752 100644
--- a/java-apphub/README.md
+++ b/java-apphub/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-apphub
- 0.45.0
+ 0.46.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-apphub:0.45.0'
+implementation 'com.google.cloud:google-cloud-apphub:0.46.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-apphub" % "0.45.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-apphub" % "0.46.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-apphub/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apphub.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apphub/0.45.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apphub/0.46.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-area120-tables/README.md b/java-area120-tables/README.md
index 62c24bc0ff07..1331b34c7200 100644
--- a/java-area120-tables/README.md
+++ b/java-area120-tables/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.area120
google-area120-tables
- 0.85.0
+ 0.86.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.area120:google-area120-tables:0.85.0'
+implementation 'com.google.area120:google-area120-tables:0.86.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.area120" % "google-area120-tables" % "0.85.0"
+libraryDependencies += "com.google.area120" % "google-area120-tables" % "0.86.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-area120-tables/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.area120/google-area120-tables.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.area120/google-area120-tables/0.85.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.area120/google-area120-tables/0.86.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-artifact-registry/README.md b/java-artifact-registry/README.md
index f7b0c7438799..8337668cdd74 100644
--- a/java-artifact-registry/README.md
+++ b/java-artifact-registry/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-artifact-registry
- 1.80.0
+ 1.81.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-artifact-registry:1.80.0'
+implementation 'com.google.cloud:google-cloud-artifact-registry:1.81.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-artifact-registry" % "1.80.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-artifact-registry" % "1.81.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-artifact-registry/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-artifact-registry.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-artifact-registry/1.80.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-artifact-registry/1.81.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-asset/README.md b/java-asset/README.md
index 2e699dba25ff..59b045948cdc 100644
--- a/java-asset/README.md
+++ b/java-asset/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-asset
- 3.85.0
+ 3.86.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-asset:3.85.0'
+implementation 'com.google.cloud:google-cloud-asset:3.86.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "3.85.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "3.86.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-asset/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-asset.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-asset/3.85.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-asset/3.86.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-assured-workloads/README.md b/java-assured-workloads/README.md
index 57ed2262ebdd..a1958291edc9 100644
--- a/java-assured-workloads/README.md
+++ b/java-assured-workloads/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-assured-workloads
- 2.81.0
+ 2.82.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-assured-workloads:2.81.0'
+implementation 'com.google.cloud:google-cloud-assured-workloads:2.82.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-assured-workloads" % "2.81.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-assured-workloads" % "2.82.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-assured-workloads/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-assured-workloads.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-assured-workloads/2.81.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-assured-workloads/2.82.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-automl/README.md b/java-automl/README.md
index 5cb0fce072ea..37d0ea100b47 100644
--- a/java-automl/README.md
+++ b/java-automl/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-automl
- 2.81.0
+ 2.82.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-automl:2.81.0'
+implementation 'com.google.cloud:google-cloud-automl:2.82.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "2.81.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "2.82.0"
```
## Authentication
@@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-automl/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-automl.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-automl/2.81.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-automl/2.82.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-backupdr/README.md b/java-backupdr/README.md
index 318afb920640..01e4a389117e 100644
--- a/java-backupdr/README.md
+++ b/java-backupdr/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-backupdr
- 0.40.0
+ 0.41.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-backupdr:0.40.0'
+implementation 'com.google.cloud:google-cloud-backupdr:0.41.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-backupdr" % "0.40.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-backupdr" % "0.41.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-backupdr/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-backupdr.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-backupdr/0.40.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-backupdr/0.41.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-bare-metal-solution/README.md b/java-bare-metal-solution/README.md
index f1b0415acd30..9e7030d0e962 100644
--- a/java-bare-metal-solution/README.md
+++ b/java-bare-metal-solution/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-bare-metal-solution
- 0.81.0
+ 0.82.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-bare-metal-solution:0.81.0'
+implementation 'com.google.cloud:google-cloud-bare-metal-solution:0.82.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-bare-metal-solution" % "0.81.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-bare-metal-solution" % "0.82.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bare-metal-solution/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bare-metal-solution.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bare-metal-solution/0.81.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bare-metal-solution/0.82.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-batch/README.md b/java-batch/README.md
index 374c7e5facaf..b9df0ca805f0 100644
--- a/java-batch/README.md
+++ b/java-batch/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-batch
- 0.81.0
+ 0.82.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-batch:0.81.0'
+implementation 'com.google.cloud:google-cloud-batch:0.82.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-batch" % "0.81.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-batch" % "0.82.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-batch/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-batch.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-batch/0.81.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-batch/0.82.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-beyondcorp-appconnections/README.md b/java-beyondcorp-appconnections/README.md
index 2700e6a20452..fd83b8bfa4b8 100644
--- a/java-beyondcorp-appconnections/README.md
+++ b/java-beyondcorp-appconnections/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-beyondcorp-appconnections
- 0.79.0
+ 0.80.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-beyondcorp-appconnections:0.79.0'
+implementation 'com.google.cloud:google-cloud-beyondcorp-appconnections:0.80.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnections" % "0.79.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnections" % "0.80.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-beyondcorp-appconnections/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-appconnections.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnections/0.79.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnections/0.80.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-beyondcorp-appconnectors/README.md b/java-beyondcorp-appconnectors/README.md
index 06ed56864be3..1696363a99b4 100644
--- a/java-beyondcorp-appconnectors/README.md
+++ b/java-beyondcorp-appconnectors/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-beyondcorp-appconnectors
- 0.79.0
+ 0.80.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-beyondcorp-appconnectors:0.79.0'
+implementation 'com.google.cloud:google-cloud-beyondcorp-appconnectors:0.80.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnectors" % "0.79.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnectors" % "0.80.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-beyondcorp-appconnectors/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-appconnectors.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnectors/0.79.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnectors/0.80.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-beyondcorp-appgateways/README.md b/java-beyondcorp-appgateways/README.md
index f552e5b13fc2..ad1e2cf4f082 100644
--- a/java-beyondcorp-appgateways/README.md
+++ b/java-beyondcorp-appgateways/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-beyondcorp-appgateways
- 0.79.0
+ 0.80.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-beyondcorp-appgateways:0.79.0'
+implementation 'com.google.cloud:google-cloud-beyondcorp-appgateways:0.80.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appgateways" % "0.79.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appgateways" % "0.80.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-beyondcorp-appgateways/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-appgateways.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appgateways/0.79.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appgateways/0.80.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-beyondcorp-clientconnectorservices/README.md b/java-beyondcorp-clientconnectorservices/README.md
index 11a0d8bee34e..9ab8d8c19e1a 100644
--- a/java-beyondcorp-clientconnectorservices/README.md
+++ b/java-beyondcorp-clientconnectorservices/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-beyondcorp-clientconnectorservices
- 0.79.0
+ 0.80.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-beyondcorp-clientconnectorservices:0.79.0'
+implementation 'com.google.cloud:google-cloud-beyondcorp-clientconnectorservices:0.80.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientconnectorservices" % "0.79.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientconnectorservices" % "0.80.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-beyondcorp-clientconnectorservices/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-clientconnectorservices.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientconnectorservices/0.79.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientconnectorservices/0.80.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-beyondcorp-clientgateways/README.md b/java-beyondcorp-clientgateways/README.md
index 56f86d45f432..211d0c3a175c 100644
--- a/java-beyondcorp-clientgateways/README.md
+++ b/java-beyondcorp-clientgateways/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-beyondcorp-clientgateways
- 0.79.0
+ 0.80.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-beyondcorp-clientgateways:0.79.0'
+implementation 'com.google.cloud:google-cloud-beyondcorp-clientgateways:0.80.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientgateways" % "0.79.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientgateways" % "0.80.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-beyondcorp-clientgateways/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-clientgateways.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientgateways/0.79.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientgateways/0.80.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-biglake/README.md b/java-biglake/README.md
index aae7e6a6bf14..3bfe137f03b3 100644
--- a/java-biglake/README.md
+++ b/java-biglake/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-biglake
- 0.69.0
+ 0.70.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-biglake:0.69.0'
+implementation 'com.google.cloud:google-cloud-biglake:0.70.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-biglake" % "0.69.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-biglake" % "0.70.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-biglake/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-biglake.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-biglake/0.69.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-biglake/0.70.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-bigquery-data-exchange/README.md b/java-bigquery-data-exchange/README.md
index 6c7c088dd801..cc3aa8bdf8b4 100644
--- a/java-bigquery-data-exchange/README.md
+++ b/java-bigquery-data-exchange/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-bigquery-data-exchange
- 2.76.0
+ 2.77.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-bigquery-data-exchange:2.76.0'
+implementation 'com.google.cloud:google-cloud-bigquery-data-exchange:2.77.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-bigquery-data-exchange" % "2.76.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-bigquery-data-exchange" % "2.77.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigquery-data-exchange/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquery-data-exchange.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquery-data-exchange/2.76.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquery-data-exchange/2.77.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-bigqueryconnection/README.md b/java-bigqueryconnection/README.md
index 7bd9ea539722..1b267a999002 100644
--- a/java-bigqueryconnection/README.md
+++ b/java-bigqueryconnection/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-bigqueryconnection
- 2.83.0
+ 2.84.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-bigqueryconnection:2.83.0'
+implementation 'com.google.cloud:google-cloud-bigqueryconnection:2.84.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "2.83.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "2.84.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1beta1
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigqueryconnection.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryconnection/2.83.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryconnection/2.84.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-bigquerydatapolicy/README.md b/java-bigquerydatapolicy/README.md
index 5b835791c9a3..b091f269d646 100644
--- a/java-bigquerydatapolicy/README.md
+++ b/java-bigquerydatapolicy/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-bigquerydatapolicy
- 0.78.0
+ 0.79.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-bigquerydatapolicy:0.78.0'
+implementation 'com.google.cloud:google-cloud-bigquerydatapolicy:0.79.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatapolicy" % "0.78.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatapolicy" % "0.79.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigquerydatapolicy/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquerydatapolicy.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatapolicy/0.78.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatapolicy/0.79.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-bigquerydatatransfer/README.md b/java-bigquerydatatransfer/README.md
index 7ce16b0710b5..e56e51d3e1c0 100644
--- a/java-bigquerydatatransfer/README.md
+++ b/java-bigquerydatatransfer/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-bigquerydatatransfer
- 2.81.0
+ 2.82.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-bigquerydatatransfer:2.81.0'
+implementation 'com.google.cloud:google-cloud-bigquerydatatransfer:2.82.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "2.81.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "2.82.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigquerydatatransfer/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquerydatatransfer.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatatransfer/2.81.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatatransfer/2.82.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-bigquerymigration/README.md b/java-bigquerymigration/README.md
index b02ab2c9a59f..10e24f8eceb2 100644
--- a/java-bigquerymigration/README.md
+++ b/java-bigquerymigration/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-bigquerymigration
- 0.84.0
+ 0.85.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-bigquerymigration:0.84.0'
+implementation 'com.google.cloud:google-cloud-bigquerymigration:0.85.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-bigquerymigration" % "0.84.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-bigquerymigration" % "0.85.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigquerymigration/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquerymigration.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerymigration/0.84.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerymigration/0.85.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-bigqueryreservation/README.md b/java-bigqueryreservation/README.md
index fcf977f43867..b4a8c22564ef 100644
--- a/java-bigqueryreservation/README.md
+++ b/java-bigqueryreservation/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-bigqueryreservation
- 2.82.0
+ 2.83.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-bigqueryreservation:2.82.0'
+implementation 'com.google.cloud:google-cloud-bigqueryreservation:2.83.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryreservation" % "2.82.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryreservation" % "2.83.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigqueryreservation/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigqueryreservation.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryreservation/2.82.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryreservation/2.83.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-billing/README.md b/java-billing/README.md
index a4cf1f14e3ac..04281b64b09f 100644
--- a/java-billing/README.md
+++ b/java-billing/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-billing
- 2.81.0
+ 2.82.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-billing:2.81.0'
+implementation 'com.google.cloud:google-cloud-billing:2.82.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-billing" % "2.81.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-billing" % "2.82.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-billing/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-billing.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billing/2.81.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billing/2.82.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-billingbudgets/README.md b/java-billingbudgets/README.md
index d053cf497ecf..79c803d8464a 100644
--- a/java-billingbudgets/README.md
+++ b/java-billingbudgets/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-billingbudgets
- 2.81.0
+ 2.82.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-billingbudgets:2.81.0'
+implementation 'com.google.cloud:google-cloud-billingbudgets:2.82.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-billingbudgets" % "2.81.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-billingbudgets" % "2.82.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-billingbudgets/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-billingbudgets.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billingbudgets/2.81.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billingbudgets/2.82.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-binary-authorization/README.md b/java-binary-authorization/README.md
index 32a83698aa70..bd905f14b4bb 100644
--- a/java-binary-authorization/README.md
+++ b/java-binary-authorization/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-binary-authorization
- 1.80.0
+ 1.81.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-binary-authorization:1.80.0'
+implementation 'com.google.cloud:google-cloud-binary-authorization:1.81.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "1.80.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "1.81.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-binary-authorization.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-binary-authorization/1.80.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-binary-authorization/1.81.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-capacityplanner/README.md b/java-capacityplanner/README.md
index 391b606bf18c..9db8bbab95e0 100644
--- a/java-capacityplanner/README.md
+++ b/java-capacityplanner/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-capacityplanner
- 0.4.0
+ 0.5.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-capacityplanner:0.4.0'
+implementation 'com.google.cloud:google-cloud-capacityplanner:0.5.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-capacityplanner" % "0.4.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-capacityplanner" % "0.5.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-capacityplanner/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-capacityplanner.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-capacityplanner/0.4.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-capacityplanner/0.5.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-certificate-manager/README.md b/java-certificate-manager/README.md
index 29a2f9183265..2954d7a4262e 100644
--- a/java-certificate-manager/README.md
+++ b/java-certificate-manager/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-certificate-manager
- 0.84.0
+ 0.85.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-certificate-manager:0.84.0'
+implementation 'com.google.cloud:google-cloud-certificate-manager:0.85.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-certificate-manager" % "0.84.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-certificate-manager" % "0.85.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-certificate-manager.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-certificate-manager/0.84.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-certificate-manager/0.85.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-channel/README.md b/java-channel/README.md
index 2ce5a9e1fe4a..b23225bd17ae 100644
--- a/java-channel/README.md
+++ b/java-channel/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-channel
- 3.85.0
+ 3.86.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-channel:3.85.0'
+implementation 'com.google.cloud:google-cloud-channel:3.86.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-channel" % "3.85.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-channel" % "3.86.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-channel/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-channel.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-channel/3.85.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-channel/3.86.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-chat/README.md b/java-chat/README.md
index 89be0bdb31d9..c41baa886e91 100644
--- a/java-chat/README.md
+++ b/java-chat/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-chat
- 0.45.0
+ 0.46.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-chat:0.45.0'
+implementation 'com.google.cloud:google-cloud-chat:0.46.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-chat" % "0.45.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-chat" % "0.46.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-chat/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-chat.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chat/0.45.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chat/0.46.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-chronicle/README.md b/java-chronicle/README.md
index 11828cfa979c..1effacfdceea 100644
--- a/java-chronicle/README.md
+++ b/java-chronicle/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-chronicle
- 0.19.0
+ 0.20.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-chronicle:0.19.0'
+implementation 'com.google.cloud:google-cloud-chronicle:0.20.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-chronicle" % "0.19.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-chronicle" % "0.20.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-chronicle/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-chronicle.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chronicle/0.19.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chronicle/0.20.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-cloudapiregistry/README.md b/java-cloudapiregistry/README.md
index 68c106547f61..03b63a07927d 100644
--- a/java-cloudapiregistry/README.md
+++ b/java-cloudapiregistry/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
diff --git a/java-cloudbuild/README.md b/java-cloudbuild/README.md
index 97da5ba40f45..7debd16a12c8 100644
--- a/java-cloudbuild/README.md
+++ b/java-cloudbuild/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-build
- 3.83.0
+ 3.84.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-build:3.83.0'
+implementation 'com.google.cloud:google-cloud-build:3.84.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-build" % "3.83.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-build" % "3.84.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-build/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-build.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-build/3.83.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-build/3.84.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-cloudcommerceconsumerprocurement/README.md b/java-cloudcommerceconsumerprocurement/README.md
index 66d71020ce9e..a2e5e2b5dccc 100644
--- a/java-cloudcommerceconsumerprocurement/README.md
+++ b/java-cloudcommerceconsumerprocurement/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-cloudcommerceconsumerprocurement
- 0.79.0
+ 0.80.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-cloudcommerceconsumerprocurement:0.79.0'
+implementation 'com.google.cloud:google-cloud-cloudcommerceconsumerprocurement:0.80.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-cloudcommerceconsumerprocurement" % "0.79.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-cloudcommerceconsumerprocurement" % "0.80.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-cloudcommerceconsumerprocurement/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudcommerceconsumerprocurement.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcommerceconsumerprocurement/0.79.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcommerceconsumerprocurement/0.80.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-cloudcontrolspartner/README.md b/java-cloudcontrolspartner/README.md
index b9cdacc96745..1911258b5cca 100644
--- a/java-cloudcontrolspartner/README.md
+++ b/java-cloudcontrolspartner/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-cloudcontrolspartner
- 0.45.0
+ 0.46.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-cloudcontrolspartner:0.45.0'
+implementation 'com.google.cloud:google-cloud-cloudcontrolspartner:0.46.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-cloudcontrolspartner" % "0.45.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-cloudcontrolspartner" % "0.46.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-cloudcontrolspartner/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudcontrolspartner.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcontrolspartner/0.45.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcontrolspartner/0.46.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-cloudquotas/README.md b/java-cloudquotas/README.md
index f148e65f8a1a..a9787ca59177 100644
--- a/java-cloudquotas/README.md
+++ b/java-cloudquotas/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-cloudquotas
- 0.49.0
+ 0.50.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-cloudquotas:0.49.0'
+implementation 'com.google.cloud:google-cloud-cloudquotas:0.50.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-cloudquotas" % "0.49.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-cloudquotas" % "0.50.0"
```
## Authentication
@@ -177,7 +177,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-cloudquotas/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudquotas.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudquotas/0.49.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudquotas/0.50.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-cloudsecuritycompliance/README.md b/java-cloudsecuritycompliance/README.md
index 4d11993ce93d..5e33f33f520f 100644
--- a/java-cloudsecuritycompliance/README.md
+++ b/java-cloudsecuritycompliance/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-cloudsecuritycompliance
- 0.8.0
+ 0.9.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-cloudsecuritycompliance:0.8.0'
+implementation 'com.google.cloud:google-cloud-cloudsecuritycompliance:0.9.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-cloudsecuritycompliance" % "0.8.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-cloudsecuritycompliance" % "0.9.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudsecuritycompliance.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsecuritycompliance/0.8.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsecuritycompliance/0.9.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-cloudsupport/README.md b/java-cloudsupport/README.md
index 1615705d9ee4..26b4941312c7 100644
--- a/java-cloudsupport/README.md
+++ b/java-cloudsupport/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-cloudsupport
- 0.65.0
+ 0.66.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-cloudsupport:0.65.0'
+implementation 'com.google.cloud:google-cloud-cloudsupport:0.66.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-cloudsupport" % "0.65.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-cloudsupport" % "0.66.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-cloudsupport/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudsupport.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsupport/0.65.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsupport/0.66.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-compute/README.md b/java-compute/README.md
index fe7f7e8933a0..d4d4ae9ccb22 100644
--- a/java-compute/README.md
+++ b/java-compute/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-compute
- 1.91.0
+ 1.92.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-compute:1.91.0'
+implementation 'com.google.cloud:google-cloud-compute:1.92.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "1.91.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "1.92.0"
```
## Authentication
@@ -238,7 +238,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-compute/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-compute.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-compute/1.91.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-compute/1.92.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-confidentialcomputing/README.md b/java-confidentialcomputing/README.md
index 9c2369283b42..d9268ec8d993 100644
--- a/java-confidentialcomputing/README.md
+++ b/java-confidentialcomputing/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-confidentialcomputing
- 0.67.0
+ 0.68.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-confidentialcomputing:0.67.0'
+implementation 'com.google.cloud:google-cloud-confidentialcomputing:0.68.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-confidentialcomputing" % "0.67.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-confidentialcomputing" % "0.68.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-confidentialcomputing/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-confidentialcomputing.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-confidentialcomputing/0.67.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-confidentialcomputing/0.68.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-configdelivery/README.md b/java-configdelivery/README.md
index 6d15eed932a6..45d9ba387e73 100644
--- a/java-configdelivery/README.md
+++ b/java-configdelivery/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-configdelivery
- 0.15.0
+ 0.16.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-configdelivery:0.15.0'
+implementation 'com.google.cloud:google-cloud-configdelivery:0.16.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-configdelivery" % "0.15.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-configdelivery" % "0.16.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-configdelivery/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-configdelivery.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-configdelivery/0.15.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-configdelivery/0.16.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-connectgateway/README.md b/java-connectgateway/README.md
index feff556bb733..c713d1843d88 100644
--- a/java-connectgateway/README.md
+++ b/java-connectgateway/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-connectgateway
- 0.33.0
+ 0.34.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-connectgateway:0.33.0'
+implementation 'com.google.cloud:google-cloud-connectgateway:0.34.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-connectgateway" % "0.33.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-connectgateway" % "0.34.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-connectgateway/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-connectgateway.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-connectgateway/0.33.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-connectgateway/0.34.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-contact-center-insights/README.md b/java-contact-center-insights/README.md
index 32f0c5747476..c09a2231e988 100644
--- a/java-contact-center-insights/README.md
+++ b/java-contact-center-insights/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-contact-center-insights
- 2.81.0
+ 2.82.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-contact-center-insights:2.81.0'
+implementation 'com.google.cloud:google-cloud-contact-center-insights:2.82.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-contact-center-insights" % "2.81.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-contact-center-insights" % "2.82.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-contact-center-insights.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contact-center-insights/2.81.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contact-center-insights/2.82.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-container/README.md b/java-container/README.md
index 7813f7df290b..82930ea4af6c 100644
--- a/java-container/README.md
+++ b/java-container/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-container
- 2.84.0
+ 2.85.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-container:2.84.0'
+implementation 'com.google.cloud:google-cloud-container:2.85.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-container" % "2.84.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-container" % "2.85.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-container/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-container.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.84.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.85.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-containeranalysis/README.md b/java-containeranalysis/README.md
index 8d42c18dd995..812e81b5a225 100644
--- a/java-containeranalysis/README.md
+++ b/java-containeranalysis/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-containeranalysis
- 2.82.0
+ 2.83.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-containeranalysis:2.82.0'
+implementation 'com.google.cloud:google-cloud-containeranalysis:2.83.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-containeranalysis" % "2.82.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-containeranalysis" % "2.83.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-containeranalysis/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-containeranalysis.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-containeranalysis/2.82.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-containeranalysis/2.83.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-contentwarehouse/README.md b/java-contentwarehouse/README.md
index 54c63eb7f549..5a245da5f868 100644
--- a/java-contentwarehouse/README.md
+++ b/java-contentwarehouse/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-contentwarehouse
- 0.77.0
+ 0.78.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-contentwarehouse:0.77.0'
+implementation 'com.google.cloud:google-cloud-contentwarehouse:0.78.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-contentwarehouse" % "0.77.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-contentwarehouse" % "0.78.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-contentwarehouse/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-contentwarehouse.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contentwarehouse/0.77.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contentwarehouse/0.78.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-data-fusion/README.md b/java-data-fusion/README.md
index 826cd16383c5..305b1a1a6c38 100644
--- a/java-data-fusion/README.md
+++ b/java-data-fusion/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-data-fusion
- 1.81.0
+ 1.82.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-data-fusion:1.81.0'
+implementation 'com.google.cloud:google-cloud-data-fusion:1.82.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-data-fusion" % "1.81.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-data-fusion" % "1.82.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-data-fusion/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-data-fusion.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-data-fusion/1.81.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-data-fusion/1.82.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-databasecenter/README.md b/java-databasecenter/README.md
index 27c394a5e2da..9763f5e83093 100644
--- a/java-databasecenter/README.md
+++ b/java-databasecenter/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-databasecenter
- 0.2.0
+ 0.3.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-databasecenter:0.2.0'
+implementation 'com.google.cloud:google-cloud-databasecenter:0.3.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-databasecenter" % "0.2.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-databasecenter" % "0.3.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-databasecenter.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-databasecenter/0.2.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-databasecenter/0.3.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterClient.java b/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterClient.java
index e5051440323a..ff017431ebae 100644
--- a/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterClient.java
+++ b/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterClient.java
@@ -47,15 +47,14 @@
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatabaseCenterClient databaseCenterClient = DatabaseCenterClient.create()) {
- * QueryProductsRequest request =
- * QueryProductsRequest.newBuilder()
+ * AggregateIssueStatsRequest request =
+ * AggregateIssueStatsRequest.newBuilder()
* .setParent("parent-995424086")
- * .setPageSize(883849137)
- * .setPageToken("pageToken873572522")
+ * .setFilter("filter-1274492040")
+ * .addAllSignalTypeGroups(new ArrayList())
+ * .setBaselineDate(Date.newBuilder().build())
* .build();
- * for (Product element : databaseCenterClient.queryProducts(request).iterateAll()) {
- * // doThingsWith(element);
- * }
+ * AggregateIssueStatsResponse response = databaseCenterClient.aggregateIssueStats(request);
* }
* }
*
@@ -114,6 +113,20 @@
*
*
*
+ *
+ * AggregateIssueStats
+ * AggregateIssueStats provides database resource issues statistics.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * aggregateIssueStats(AggregateIssueStatsRequest request)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * aggregateIssueStatsCallable()
+ *
+ *
+ *
*
*
* See the individual methods for example code.
@@ -564,6 +577,69 @@ public final QueryDatabaseResourceGroupsPagedResponse queryDatabaseResourceGroup
return stub.queryDatabaseResourceGroupsCallable();
}
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * AggregateIssueStats provides database resource issues statistics.
+ *
+ *
Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (DatabaseCenterClient databaseCenterClient = DatabaseCenterClient.create()) {
+ * AggregateIssueStatsRequest request =
+ * AggregateIssueStatsRequest.newBuilder()
+ * .setParent("parent-995424086")
+ * .setFilter("filter-1274492040")
+ * .addAllSignalTypeGroups(new ArrayList())
+ * .setBaselineDate(Date.newBuilder().build())
+ * .build();
+ * AggregateIssueStatsResponse response = databaseCenterClient.aggregateIssueStats(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final AggregateIssueStatsResponse aggregateIssueStats(AggregateIssueStatsRequest request) {
+ return aggregateIssueStatsCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * AggregateIssueStats provides database resource issues statistics.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (DatabaseCenterClient databaseCenterClient = DatabaseCenterClient.create()) {
+ * AggregateIssueStatsRequest request =
+ * AggregateIssueStatsRequest.newBuilder()
+ * .setParent("parent-995424086")
+ * .setFilter("filter-1274492040")
+ * .addAllSignalTypeGroups(new ArrayList())
+ * .setBaselineDate(Date.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * databaseCenterClient.aggregateIssueStatsCallable().futureCall(request);
+ * // Do something.
+ * AggregateIssueStatsResponse response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ aggregateIssueStatsCallable() {
+ return stub.aggregateIssueStatsCallable();
+ }
+
@Override
public final void close() {
stub.close();
diff --git a/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterSettings.java b/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterSettings.java
index b7bec0796589..945176936a56 100644
--- a/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterSettings.java
+++ b/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterSettings.java
@@ -55,7 +55,7 @@
*
* For example, to set the
* [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings)
- * of queryProducts:
+ * of aggregateIssueStats:
*
*
{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
@@ -66,10 +66,10 @@
* DatabaseCenterSettings.Builder databaseCenterSettingsBuilder =
* DatabaseCenterSettings.newBuilder();
* databaseCenterSettingsBuilder
- * .queryProductsSettings()
+ * .aggregateIssueStatsSettings()
* .setRetrySettings(
* databaseCenterSettingsBuilder
- * .queryProductsSettings()
+ * .aggregateIssueStatsSettings()
* .getRetrySettings()
* .toBuilder()
* .setInitialRetryDelayDuration(Duration.ofSeconds(1))
@@ -114,6 +114,12 @@ public class DatabaseCenterSettings extends ClientSettings
+ aggregateIssueStatsSettings() {
+ return ((DatabaseCenterStubSettings) getStubSettings()).aggregateIssueStatsSettings();
+ }
+
public static final DatabaseCenterSettings create(DatabaseCenterStubSettings stub)
throws IOException {
return new DatabaseCenterSettings.Builder(stub.toBuilder()).build();
@@ -249,6 +255,12 @@ public Builder applyToAllUnaryMethods(
return getStubSettingsBuilder().queryDatabaseResourceGroupsSettings();
}
+ /** Returns the builder for the settings used for calls to aggregateIssueStats. */
+ public UnaryCallSettings.Builder
+ aggregateIssueStatsSettings() {
+ return getStubSettingsBuilder().aggregateIssueStatsSettings();
+ }
+
@Override
public DatabaseCenterSettings build() throws IOException {
return new DatabaseCenterSettings(this);
diff --git a/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/gapic_metadata.json b/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/gapic_metadata.json
index 2590bb182e55..c45ba2664465 100644
--- a/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/gapic_metadata.json
+++ b/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/gapic_metadata.json
@@ -13,6 +13,9 @@
"AggregateFleet": {
"methods": ["aggregateFleet", "aggregateFleetPagedCallable", "aggregateFleetCallable"]
},
+ "AggregateIssueStats": {
+ "methods": ["aggregateIssueStats", "aggregateIssueStatsCallable"]
+ },
"QueryDatabaseResourceGroups": {
"methods": ["queryDatabaseResourceGroups", "queryDatabaseResourceGroupsPagedCallable", "queryDatabaseResourceGroupsCallable"]
},
diff --git a/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/package-info.java b/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/package-info.java
index a27b731ee387..396c675d6d59 100644
--- a/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/package-info.java
+++ b/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/package-info.java
@@ -33,15 +33,14 @@
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (DatabaseCenterClient databaseCenterClient = DatabaseCenterClient.create()) {
- * QueryProductsRequest request =
- * QueryProductsRequest.newBuilder()
+ * AggregateIssueStatsRequest request =
+ * AggregateIssueStatsRequest.newBuilder()
* .setParent("parent-995424086")
- * .setPageSize(883849137)
- * .setPageToken("pageToken873572522")
+ * .setFilter("filter-1274492040")
+ * .addAllSignalTypeGroups(new ArrayList())
+ * .setBaselineDate(Date.newBuilder().build())
* .build();
- * for (Product element : databaseCenterClient.queryProducts(request).iterateAll()) {
- * // doThingsWith(element);
- * }
+ * AggregateIssueStatsResponse response = databaseCenterClient.aggregateIssueStats(request);
* }
* }
*/
diff --git a/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/DatabaseCenterStub.java b/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/DatabaseCenterStub.java
index b1a439debeff..1ac02449f7de 100644
--- a/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/DatabaseCenterStub.java
+++ b/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/DatabaseCenterStub.java
@@ -25,6 +25,8 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.databasecenter.v1beta.AggregateFleetRequest;
import com.google.cloud.databasecenter.v1beta.AggregateFleetResponse;
+import com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest;
+import com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse;
import com.google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsRequest;
import com.google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsResponse;
import com.google.cloud.databasecenter.v1beta.QueryProductsRequest;
@@ -71,6 +73,11 @@ public UnaryCallable aggregateFle
"Not implemented: queryDatabaseResourceGroupsCallable()");
}
+ public UnaryCallable
+ aggregateIssueStatsCallable() {
+ throw new UnsupportedOperationException("Not implemented: aggregateIssueStatsCallable()");
+ }
+
@Override
public abstract void close();
}
diff --git a/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/DatabaseCenterStubSettings.java b/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/DatabaseCenterStubSettings.java
index 8fe4f8d1a481..c6f6a4f56365 100644
--- a/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/DatabaseCenterStubSettings.java
+++ b/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/DatabaseCenterStubSettings.java
@@ -49,6 +49,8 @@
import com.google.cloud.databasecenter.v1beta.AggregateFleetRequest;
import com.google.cloud.databasecenter.v1beta.AggregateFleetResponse;
import com.google.cloud.databasecenter.v1beta.AggregateFleetRow;
+import com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest;
+import com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse;
import com.google.cloud.databasecenter.v1beta.DatabaseResourceGroup;
import com.google.cloud.databasecenter.v1beta.Product;
import com.google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsRequest;
@@ -81,7 +83,7 @@
*
* For example, to set the
* [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings)
- * of queryProducts:
+ * of aggregateIssueStats:
*
*
{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
@@ -92,10 +94,10 @@
* DatabaseCenterStubSettings.Builder databaseCenterSettingsBuilder =
* DatabaseCenterStubSettings.newBuilder();
* databaseCenterSettingsBuilder
- * .queryProductsSettings()
+ * .aggregateIssueStatsSettings()
* .setRetrySettings(
* databaseCenterSettingsBuilder
- * .queryProductsSettings()
+ * .aggregateIssueStatsSettings()
* .getRetrySettings()
* .toBuilder()
* .setInitialRetryDelayDuration(Duration.ofSeconds(1))
@@ -132,6 +134,8 @@ public class DatabaseCenterStubSettings extends StubSettings
queryDatabaseResourceGroupsSettings;
+ private final UnaryCallSettings
+ aggregateIssueStatsSettings;
private static final PagedListDescriptor
QUERY_PRODUCTS_PAGE_STR_DESC =
@@ -337,6 +341,12 @@ public ApiFuture getFuturePagedRespons
return queryDatabaseResourceGroupsSettings;
}
+ /** Returns the object with the settings used for calls to aggregateIssueStats. */
+ public UnaryCallSettings
+ aggregateIssueStatsSettings() {
+ return aggregateIssueStatsSettings;
+ }
+
public DatabaseCenterStub createStub() throws IOException {
if (getTransportChannelProvider()
.getTransportName()
@@ -452,6 +462,7 @@ protected DatabaseCenterStubSettings(Builder settingsBuilder) throws IOException
aggregateFleetSettings = settingsBuilder.aggregateFleetSettings().build();
queryDatabaseResourceGroupsSettings =
settingsBuilder.queryDatabaseResourceGroupsSettings().build();
+ aggregateIssueStatsSettings = settingsBuilder.aggregateIssueStatsSettings().build();
}
/** Builder for DatabaseCenterStubSettings. */
@@ -468,6 +479,8 @@ public static class Builder extends StubSettings.Builder
queryDatabaseResourceGroupsSettings;
+ private final UnaryCallSettings.Builder
+ aggregateIssueStatsSettings;
private static final ImmutableMap>
RETRYABLE_CODE_DEFINITIONS;
@@ -499,10 +512,14 @@ protected Builder(ClientContext clientContext) {
aggregateFleetSettings = PagedCallSettings.newBuilder(AGGREGATE_FLEET_PAGE_STR_FACT);
queryDatabaseResourceGroupsSettings =
PagedCallSettings.newBuilder(QUERY_DATABASE_RESOURCE_GROUPS_PAGE_STR_FACT);
+ aggregateIssueStatsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
unaryMethodSettingsBuilders =
ImmutableList.>of(
- queryProductsSettings, aggregateFleetSettings, queryDatabaseResourceGroupsSettings);
+ queryProductsSettings,
+ aggregateFleetSettings,
+ queryDatabaseResourceGroupsSettings,
+ aggregateIssueStatsSettings);
initDefaults(this);
}
@@ -513,10 +530,14 @@ protected Builder(DatabaseCenterStubSettings settings) {
aggregateFleetSettings = settings.aggregateFleetSettings.toBuilder();
queryDatabaseResourceGroupsSettings =
settings.queryDatabaseResourceGroupsSettings.toBuilder();
+ aggregateIssueStatsSettings = settings.aggregateIssueStatsSettings.toBuilder();
unaryMethodSettingsBuilders =
ImmutableList.>of(
- queryProductsSettings, aggregateFleetSettings, queryDatabaseResourceGroupsSettings);
+ queryProductsSettings,
+ aggregateFleetSettings,
+ queryDatabaseResourceGroupsSettings,
+ aggregateIssueStatsSettings);
}
private static Builder createDefault() {
@@ -559,6 +580,11 @@ private static Builder initDefaults(Builder builder) {
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
+ builder
+ .aggregateIssueStatsSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
+
return builder;
}
@@ -600,6 +626,12 @@ public Builder applyToAllUnaryMethods(
return queryDatabaseResourceGroupsSettings;
}
+ /** Returns the builder for the settings used for calls to aggregateIssueStats. */
+ public UnaryCallSettings.Builder
+ aggregateIssueStatsSettings() {
+ return aggregateIssueStatsSettings;
+ }
+
@Override
public DatabaseCenterStubSettings build() throws IOException {
return new DatabaseCenterStubSettings(this);
diff --git a/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/GrpcDatabaseCenterStub.java b/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/GrpcDatabaseCenterStub.java
index 62bd1a017efd..0d95c8cebd38 100644
--- a/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/GrpcDatabaseCenterStub.java
+++ b/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/GrpcDatabaseCenterStub.java
@@ -29,6 +29,8 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.databasecenter.v1beta.AggregateFleetRequest;
import com.google.cloud.databasecenter.v1beta.AggregateFleetResponse;
+import com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest;
+import com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse;
import com.google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsRequest;
import com.google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsResponse;
import com.google.cloud.databasecenter.v1beta.QueryProductsRequest;
@@ -88,6 +90,19 @@ public class GrpcDatabaseCenterStub extends DatabaseCenterStub {
.setSampledToLocalTracing(true)
.build();
+ private static final MethodDescriptor
+ aggregateIssueStatsMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.cloud.databasecenter.v1beta.DatabaseCenter/AggregateIssueStats")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(AggregateIssueStatsRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(AggregateIssueStatsResponse.getDefaultInstance()))
+ .setSampledToLocalTracing(true)
+ .build();
+
private final UnaryCallable queryProductsCallable;
private final UnaryCallable
queryProductsPagedCallable;
@@ -100,6 +115,8 @@ public class GrpcDatabaseCenterStub extends DatabaseCenterStub {
private final UnaryCallable<
QueryDatabaseResourceGroupsRequest, QueryDatabaseResourceGroupsPagedResponse>
queryDatabaseResourceGroupsPagedCallable;
+ private final UnaryCallable
+ aggregateIssueStatsCallable;
private final BackgroundResource backgroundResources;
private final GrpcOperationsStub operationsStub;
@@ -161,6 +178,11 @@ protected GrpcDatabaseCenterStub(
newBuilder()
.setMethodDescriptor(queryDatabaseResourceGroupsMethodDescriptor)
.build();
+ GrpcCallSettings
+ aggregateIssueStatsTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(aggregateIssueStatsMethodDescriptor)
+ .build();
this.queryProductsCallable =
callableFactory.createUnaryCallable(
@@ -184,6 +206,11 @@ protected GrpcDatabaseCenterStub(
queryDatabaseResourceGroupsTransportSettings,
settings.queryDatabaseResourceGroupsSettings(),
clientContext);
+ this.aggregateIssueStatsCallable =
+ callableFactory.createUnaryCallable(
+ aggregateIssueStatsTransportSettings,
+ settings.aggregateIssueStatsSettings(),
+ clientContext);
this.backgroundResources =
new BackgroundResourceAggregation(clientContext.getBackgroundResources());
@@ -227,6 +254,12 @@ public UnaryCallable aggregateFle
return queryDatabaseResourceGroupsPagedCallable;
}
+ @Override
+ public UnaryCallable
+ aggregateIssueStatsCallable() {
+ return aggregateIssueStatsCallable;
+ }
+
@Override
public final void close() {
try {
diff --git a/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/HttpJsonDatabaseCenterStub.java b/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/HttpJsonDatabaseCenterStub.java
index c82fdc6c50b8..aa4648a6d4f0 100644
--- a/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/HttpJsonDatabaseCenterStub.java
+++ b/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/HttpJsonDatabaseCenterStub.java
@@ -34,6 +34,8 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.databasecenter.v1beta.AggregateFleetRequest;
import com.google.cloud.databasecenter.v1beta.AggregateFleetResponse;
+import com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest;
+import com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse;
import com.google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsRequest;
import com.google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsResponse;
import com.google.cloud.databasecenter.v1beta.QueryProductsRequest;
@@ -176,6 +178,43 @@ public class HttpJsonDatabaseCenterStub extends DatabaseCenterStub {
.build())
.build();
+ private static final ApiMethodDescriptor
+ aggregateIssueStatsMethodDescriptor =
+ ApiMethodDescriptor.newBuilder()
+ .setFullMethodName(
+ "google.cloud.databasecenter.v1beta.DatabaseCenter/AggregateIssueStats")
+ .setHttpMethod("POST")
+ .setType(ApiMethodDescriptor.MethodType.UNARY)
+ .setRequestFormatter(
+ ProtoMessageRequestFormatter.newBuilder()
+ .setPath(
+ "/v1beta:aggregateIssueStats",
+ request -> {
+ Map fields = new HashMap<>();
+ ProtoRestSerializer serializer =
+ ProtoRestSerializer.create();
+ return fields;
+ })
+ .setQueryParamsExtractor(
+ request -> {
+ Map> fields = new HashMap<>();
+ ProtoRestSerializer serializer =
+ ProtoRestSerializer.create();
+ serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int");
+ return fields;
+ })
+ .setRequestBodyExtractor(
+ request ->
+ ProtoRestSerializer.create()
+ .toBody("*", request.toBuilder().build(), true))
+ .build())
+ .setResponseParser(
+ ProtoMessageResponseParser.newBuilder()
+ .setDefaultInstance(AggregateIssueStatsResponse.getDefaultInstance())
+ .setDefaultTypeRegistry(typeRegistry)
+ .build())
+ .build();
+
private final UnaryCallable queryProductsCallable;
private final UnaryCallable
queryProductsPagedCallable;
@@ -188,6 +227,8 @@ public class HttpJsonDatabaseCenterStub extends DatabaseCenterStub {
private final UnaryCallable<
QueryDatabaseResourceGroupsRequest, QueryDatabaseResourceGroupsPagedResponse>
queryDatabaseResourceGroupsPagedCallable;
+ private final UnaryCallable
+ aggregateIssueStatsCallable;
private final BackgroundResource backgroundResources;
private final HttpJsonStubCallableFactory callableFactory;
@@ -251,6 +292,13 @@ protected HttpJsonDatabaseCenterStub(
.setMethodDescriptor(queryDatabaseResourceGroupsMethodDescriptor)
.setTypeRegistry(typeRegistry)
.build();
+ HttpJsonCallSettings
+ aggregateIssueStatsTransportSettings =
+ HttpJsonCallSettings
+ .newBuilder()
+ .setMethodDescriptor(aggregateIssueStatsMethodDescriptor)
+ .setTypeRegistry(typeRegistry)
+ .build();
this.queryProductsCallable =
callableFactory.createUnaryCallable(
@@ -274,6 +322,11 @@ protected HttpJsonDatabaseCenterStub(
queryDatabaseResourceGroupsTransportSettings,
settings.queryDatabaseResourceGroupsSettings(),
clientContext);
+ this.aggregateIssueStatsCallable =
+ callableFactory.createUnaryCallable(
+ aggregateIssueStatsTransportSettings,
+ settings.aggregateIssueStatsSettings(),
+ clientContext);
this.backgroundResources =
new BackgroundResourceAggregation(clientContext.getBackgroundResources());
@@ -285,6 +338,7 @@ public static List getMethodDescriptors() {
methodDescriptors.add(queryProductsMethodDescriptor);
methodDescriptors.add(aggregateFleetMethodDescriptor);
methodDescriptors.add(queryDatabaseResourceGroupsMethodDescriptor);
+ methodDescriptors.add(aggregateIssueStatsMethodDescriptor);
return methodDescriptors;
}
@@ -322,6 +376,12 @@ public UnaryCallable aggregateFle
return queryDatabaseResourceGroupsPagedCallable;
}
+ @Override
+ public UnaryCallable
+ aggregateIssueStatsCallable() {
+ return aggregateIssueStatsCallable;
+ }
+
@Override
public final void close() {
try {
diff --git a/java-databasecenter/google-cloud-databasecenter/src/main/resources/META-INF/native-image/com.google.cloud.databasecenter.v1beta/reflect-config.json b/java-databasecenter/google-cloud-databasecenter/src/main/resources/META-INF/native-image/com.google.cloud.databasecenter.v1beta/reflect-config.json
index 4ceaa6974bf6..443ff777aec8 100644
--- a/java-databasecenter/google-cloud-databasecenter/src/main/resources/META-INF/native-image/com.google.cloud.databasecenter.v1beta/reflect-config.json
+++ b/java-databasecenter/google-cloud-databasecenter/src/main/resources/META-INF/native-image/com.google.cloud.databasecenter.v1beta/reflect-config.json
@@ -485,6 +485,42 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.databasecenter.v1beta.AutomatedBackupPolicyInfo",
"queryAllDeclaredConstructors": true,
@@ -692,6 +728,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.databasecenter.v1beta.IssueGroupStats",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.databasecenter.v1beta.IssueGroupStats$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.databasecenter.v1beta.IssueSeverity",
"queryAllDeclaredConstructors": true,
@@ -701,6 +755,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.databasecenter.v1beta.IssueStats",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.databasecenter.v1beta.IssueStats$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.databasecenter.v1beta.Label",
"queryAllDeclaredConstructors": true,
diff --git a/java-databasecenter/google-cloud-databasecenter/src/test/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterClientHttpJsonTest.java b/java-databasecenter/google-cloud-databasecenter/src/test/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterClientHttpJsonTest.java
index 0d895e8ea332..906a6e7d68b2 100644
--- a/java-databasecenter/google-cloud-databasecenter/src/test/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterClientHttpJsonTest.java
+++ b/java-databasecenter/google-cloud-databasecenter/src/test/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterClientHttpJsonTest.java
@@ -275,4 +275,63 @@ public void queryDatabaseResourceGroupsExceptionTest() throws Exception {
// Expected exception.
}
}
+
+ @Test
+ public void aggregateIssueStatsTest() throws Exception {
+ AggregateIssueStatsResponse expectedResponse =
+ AggregateIssueStatsResponse.newBuilder()
+ .addAllIssueGroupStats(new ArrayList())
+ .setTotalResourcesCount(-1148081286)
+ .setTotalResourceGroupsCount(-1586193222)
+ .addAllUnreachable(new ArrayList())
+ .build();
+ mockService.addResponse(expectedResponse);
+
+ AggregateIssueStatsRequest request =
+ AggregateIssueStatsRequest.newBuilder()
+ .setParent("parent-995424086")
+ .setFilter("filter-1274492040")
+ .addAllSignalTypeGroups(new ArrayList())
+ .setBaselineDate(Date.newBuilder().build())
+ .build();
+
+ AggregateIssueStatsResponse actualResponse = client.aggregateIssueStats(request);
+ Assert.assertEquals(expectedResponse, actualResponse);
+
+ List actualRequests = mockService.getRequestPaths();
+ Assert.assertEquals(1, actualRequests.size());
+
+ String apiClientHeaderKey =
+ mockService
+ .getRequestHeaders()
+ .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
+ .iterator()
+ .next();
+ Assert.assertTrue(
+ GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
+ .matcher(apiClientHeaderKey)
+ .matches());
+ }
+
+ @Test
+ public void aggregateIssueStatsExceptionTest() throws Exception {
+ ApiException exception =
+ ApiExceptionFactory.createException(
+ new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
+ mockService.addException(exception);
+
+ try {
+ AggregateIssueStatsRequest request =
+ AggregateIssueStatsRequest.newBuilder()
+ .setParent("parent-995424086")
+ .setFilter("filter-1274492040")
+ .addAllSignalTypeGroups(new ArrayList())
+ .setBaselineDate(Date.newBuilder().build())
+ .build();
+ client.aggregateIssueStats(request);
+ Assert.fail("No exception raised");
+ } catch (InvalidArgumentException e) {
+ // Expected exception.
+ }
+ }
}
diff --git a/java-databasecenter/google-cloud-databasecenter/src/test/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterClientTest.java b/java-databasecenter/google-cloud-databasecenter/src/test/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterClientTest.java
index 4b24b1d0f456..002d66141ae3 100644
--- a/java-databasecenter/google-cloud-databasecenter/src/test/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterClientTest.java
+++ b/java-databasecenter/google-cloud-databasecenter/src/test/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterClientTest.java
@@ -275,4 +275,60 @@ public void queryDatabaseResourceGroupsExceptionTest() throws Exception {
// Expected exception.
}
}
+
+ @Test
+ public void aggregateIssueStatsTest() throws Exception {
+ AggregateIssueStatsResponse expectedResponse =
+ AggregateIssueStatsResponse.newBuilder()
+ .addAllIssueGroupStats(new ArrayList())
+ .setTotalResourcesCount(-1148081286)
+ .setTotalResourceGroupsCount(-1586193222)
+ .addAllUnreachable(new ArrayList())
+ .build();
+ mockDatabaseCenter.addResponse(expectedResponse);
+
+ AggregateIssueStatsRequest request =
+ AggregateIssueStatsRequest.newBuilder()
+ .setParent("parent-995424086")
+ .setFilter("filter-1274492040")
+ .addAllSignalTypeGroups(new ArrayList())
+ .setBaselineDate(Date.newBuilder().build())
+ .build();
+
+ AggregateIssueStatsResponse actualResponse = client.aggregateIssueStats(request);
+ Assert.assertEquals(expectedResponse, actualResponse);
+
+ List actualRequests = mockDatabaseCenter.getRequests();
+ Assert.assertEquals(1, actualRequests.size());
+ AggregateIssueStatsRequest actualRequest = ((AggregateIssueStatsRequest) actualRequests.get(0));
+
+ Assert.assertEquals(request.getParent(), actualRequest.getParent());
+ Assert.assertEquals(request.getFilter(), actualRequest.getFilter());
+ Assert.assertEquals(request.getSignalTypeGroupsList(), actualRequest.getSignalTypeGroupsList());
+ Assert.assertEquals(request.getBaselineDate(), actualRequest.getBaselineDate());
+ Assert.assertTrue(
+ channelProvider.isHeaderSent(
+ ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+ GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+ }
+
+ @Test
+ public void aggregateIssueStatsExceptionTest() throws Exception {
+ StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
+ mockDatabaseCenter.addException(exception);
+
+ try {
+ AggregateIssueStatsRequest request =
+ AggregateIssueStatsRequest.newBuilder()
+ .setParent("parent-995424086")
+ .setFilter("filter-1274492040")
+ .addAllSignalTypeGroups(new ArrayList())
+ .setBaselineDate(Date.newBuilder().build())
+ .build();
+ client.aggregateIssueStats(request);
+ Assert.fail("No exception raised");
+ } catch (InvalidArgumentException e) {
+ // Expected exception.
+ }
+ }
}
diff --git a/java-databasecenter/google-cloud-databasecenter/src/test/java/com/google/cloud/databasecenter/v1beta/MockDatabaseCenterImpl.java b/java-databasecenter/google-cloud-databasecenter/src/test/java/com/google/cloud/databasecenter/v1beta/MockDatabaseCenterImpl.java
index 735234316598..416eee07d67e 100644
--- a/java-databasecenter/google-cloud-databasecenter/src/test/java/com/google/cloud/databasecenter/v1beta/MockDatabaseCenterImpl.java
+++ b/java-databasecenter/google-cloud-databasecenter/src/test/java/com/google/cloud/databasecenter/v1beta/MockDatabaseCenterImpl.java
@@ -122,4 +122,26 @@ public void queryDatabaseResourceGroups(
Exception.class.getName())));
}
}
+
+ @Override
+ public void aggregateIssueStats(
+ AggregateIssueStatsRequest request,
+ StreamObserver responseObserver) {
+ Object response = responses.poll();
+ if (response instanceof AggregateIssueStatsResponse) {
+ requests.add(request);
+ responseObserver.onNext(((AggregateIssueStatsResponse) response));
+ responseObserver.onCompleted();
+ } else if (response instanceof Exception) {
+ responseObserver.onError(((Exception) response));
+ } else {
+ responseObserver.onError(
+ new IllegalArgumentException(
+ String.format(
+ "Unrecognized response type %s for method AggregateIssueStats, expected %s or %s",
+ response == null ? "null" : response.getClass().getName(),
+ AggregateIssueStatsResponse.class.getName(),
+ Exception.class.getName())));
+ }
+ }
}
diff --git a/java-databasecenter/grpc-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterGrpc.java b/java-databasecenter/grpc-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterGrpc.java
index e9983acf42e3..a0c4d1b10567 100644
--- a/java-databasecenter/grpc-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterGrpc.java
+++ b/java-databasecenter/grpc-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/DatabaseCenterGrpc.java
@@ -181,6 +181,55 @@ private DatabaseCenterGrpc() {}
return getQueryDatabaseResourceGroupsMethod;
}
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest,
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse>
+ getAggregateIssueStatsMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "AggregateIssueStats",
+ requestType = com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest.class,
+ responseType = com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest,
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse>
+ getAggregateIssueStatsMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest,
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse>
+ getAggregateIssueStatsMethod;
+ if ((getAggregateIssueStatsMethod = DatabaseCenterGrpc.getAggregateIssueStatsMethod) == null) {
+ synchronized (DatabaseCenterGrpc.class) {
+ if ((getAggregateIssueStatsMethod = DatabaseCenterGrpc.getAggregateIssueStatsMethod)
+ == null) {
+ DatabaseCenterGrpc.getAggregateIssueStatsMethod =
+ getAggregateIssueStatsMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "AggregateIssueStats"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new DatabaseCenterMethodDescriptorSupplier("AggregateIssueStats"))
+ .build();
+ }
+ }
+ }
+ return getAggregateIssueStatsMethod;
+ }
+
/** Creates a new async stub that supports all call types for the service */
public static DatabaseCenterStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
@@ -291,6 +340,22 @@ default void queryDatabaseResourceGroups(
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getQueryDatabaseResourceGroupsMethod(), responseObserver);
}
+
+ /**
+ *
+ *
+ *
+ * AggregateIssueStats provides database resource issues statistics.
+ *
+ */
+ default void aggregateIssueStats(
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse>
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getAggregateIssueStatsMethod(), responseObserver);
+ }
}
/**
@@ -380,6 +445,24 @@ public void queryDatabaseResourceGroups(
request,
responseObserver);
}
+
+ /**
+ *
+ *
+ *
+ * AggregateIssueStats provides database resource issues statistics.
+ *
+ */
+ public void aggregateIssueStats(
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest request,
+ io.grpc.stub.StreamObserver<
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse>
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getAggregateIssueStatsMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
}
/**
@@ -445,6 +528,20 @@ public com.google.cloud.databasecenter.v1beta.AggregateFleetResponse aggregateFl
return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getQueryDatabaseResourceGroupsMethod(), getCallOptions(), request);
}
+
+ /**
+ *
+ *
+ *
+ * AggregateIssueStats provides database resource issues statistics.
+ *
+ */
+ public com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse aggregateIssueStats(
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
+ getChannel(), getAggregateIssueStatsMethod(), getCallOptions(), request);
+ }
}
/**
@@ -507,6 +604,19 @@ public com.google.cloud.databasecenter.v1beta.AggregateFleetResponse aggregateFl
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getQueryDatabaseResourceGroupsMethod(), getCallOptions(), request);
}
+
+ /**
+ *
+ *
+ *
+ * AggregateIssueStats provides database resource issues statistics.
+ *
+ */
+ public com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse aggregateIssueStats(
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getAggregateIssueStatsMethod(), getCallOptions(), request);
+ }
}
/**
@@ -572,11 +682,27 @@ protected DatabaseCenterFutureStub build(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getQueryDatabaseResourceGroupsMethod(), getCallOptions()), request);
}
+
+ /**
+ *
+ *
+ *
+ * AggregateIssueStats provides database resource issues statistics.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse>
+ aggregateIssueStats(
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getAggregateIssueStatsMethod(), getCallOptions()), request);
+ }
}
private static final int METHODID_QUERY_PRODUCTS = 0;
private static final int METHODID_AGGREGATE_FLEET = 1;
private static final int METHODID_QUERY_DATABASE_RESOURCE_GROUPS = 2;
+ private static final int METHODID_AGGREGATE_ISSUE_STATS = 3;
private static final class MethodHandlers
implements io.grpc.stub.ServerCalls.UnaryMethod,
@@ -616,6 +742,13 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv
com.google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsResponse>)
responseObserver);
break;
+ case METHODID_AGGREGATE_ISSUE_STATS:
+ serviceImpl.aggregateIssueStats(
+ (com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse>)
+ responseObserver);
+ break;
default:
throw new AssertionError();
}
@@ -655,6 +788,13 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser
com.google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsRequest,
com.google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsResponse>(
service, METHODID_QUERY_DATABASE_RESOURCE_GROUPS)))
+ .addMethod(
+ getAggregateIssueStatsMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest,
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse>(
+ service, METHODID_AGGREGATE_ISSUE_STATS)))
.build();
}
@@ -709,6 +849,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
.addMethod(getQueryProductsMethod())
.addMethod(getAggregateFleetMethod())
.addMethod(getQueryDatabaseResourceGroupsMethod())
+ .addMethod(getAggregateIssueStatsMethod())
.build();
}
}
diff --git a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/AggregateIssueStatsRequest.java b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/AggregateIssueStatsRequest.java
new file mode 100644
index 000000000000..eee468c3b4fa
--- /dev/null
+++ b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/AggregateIssueStatsRequest.java
@@ -0,0 +1,1891 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/databasecenter/v1beta/service.proto
+
+// Protobuf Java Version: 3.25.8
+package com.google.cloud.databasecenter.v1beta;
+
+/**
+ *
+ *
+ *
+ * AggregateIssueStatsRequest represents the input to the AggregateIssueStats
+ * method.
+ *
+ *
+ * Protobuf type {@code google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest}
+ */
+public final class AggregateIssueStatsRequest extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest)
+ AggregateIssueStatsRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ // Use AggregateIssueStatsRequest.newBuilder() to construct.
+ private AggregateIssueStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private AggregateIssueStatsRequest() {
+ parent_ = "";
+ filter_ = "";
+ signalTypeGroups_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new AggregateIssueStatsRequest();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest.class,
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int PARENT_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object parent_ = "";
+
+ /**
+ *
+ *
+ *
+ * Required. Parent can be a project, a folder, or an organization. The search
+ * is limited to the resources within the `scope`.
+ *
+ * The allowed values are:
+ *
+ * * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
+ * * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
+ * * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The parent.
+ */
+ @java.lang.Override
+ public java.lang.String getParent() {
+ java.lang.Object ref = parent_;
+ 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();
+ parent_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. Parent can be a project, a folder, or an organization. The search
+ * is limited to the resources within the `scope`.
+ *
+ * The allowed values are:
+ *
+ * * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
+ * * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
+ * * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for parent.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getParentBytes() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int FILTER_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object filter_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. The expression to filter resources.
+ *
+ * Supported fields are: `full_resource_name`, `resource_type`, `container`,
+ * `product.type`, `product.engine`, `product.version`, `location`,
+ * `labels`, `issues`, fields of availability_info,
+ * data_protection_info,'resource_name', etc.
+ *
+ * The expression is a list of zero or more restrictions combined via logical
+ * operators `AND` and `OR`. When `AND` and `OR` are both used in the
+ * expression, parentheses must be appropriately used to group the
+ * combinations.
+ *
+ * Example: location="us-east1"
+ * Example: container="projects/123" OR container="projects/456"
+ * Example: (container="projects/123" OR
+ * container="projects/456") AND location="us-east1"
+ *
+ *
+ * string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The filter.
+ */
+ @java.lang.Override
+ public java.lang.String getFilter() {
+ java.lang.Object ref = filter_;
+ 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();
+ filter_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The expression to filter resources.
+ *
+ * Supported fields are: `full_resource_name`, `resource_type`, `container`,
+ * `product.type`, `product.engine`, `product.version`, `location`,
+ * `labels`, `issues`, fields of availability_info,
+ * data_protection_info,'resource_name', etc.
+ *
+ * The expression is a list of zero or more restrictions combined via logical
+ * operators `AND` and `OR`. When `AND` and `OR` are both used in the
+ * expression, parentheses must be appropriately used to group the
+ * combinations.
+ *
+ * Example: location="us-east1"
+ * Example: container="projects/123" OR container="projects/456"
+ * Example: (container="projects/123" OR
+ * container="projects/456") AND location="us-east1"
+ *
+ *
+ * string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for filter.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getFilterBytes() {
+ java.lang.Object ref = filter_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ filter_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int SIGNAL_TYPE_GROUPS_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
+ private java.util.List signalTypeGroups_;
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ getSignalTypeGroupsList() {
+ return signalTypeGroups_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.cloud.databasecenter.v1beta.SignalTypeGroupOrBuilder>
+ getSignalTypeGroupsOrBuilderList() {
+ return signalTypeGroups_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public int getSignalTypeGroupsCount() {
+ return signalTypeGroups_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.SignalTypeGroup getSignalTypeGroups(int index) {
+ return signalTypeGroups_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.SignalTypeGroupOrBuilder
+ getSignalTypeGroupsOrBuilder(int index) {
+ return signalTypeGroups_.get(index);
+ }
+
+ public static final int BASELINE_DATE_FIELD_NUMBER = 4;
+ private com.google.type.Date baselineDate_;
+
+ /**
+ *
+ *
+ *
+ * Optional. The baseline date w.r.t. which the delta counts are calculated.
+ * If not set, delta counts are not included in the response and the response
+ * indicates the current state of the fleet.
+ *
+ *
+ * optional .google.type.Date baseline_date = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the baselineDate field is set.
+ */
+ @java.lang.Override
+ public boolean hasBaselineDate() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The baseline date w.r.t. which the delta counts are calculated.
+ * If not set, delta counts are not included in the response and the response
+ * indicates the current state of the fleet.
+ *
+ *
+ * optional .google.type.Date baseline_date = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The baselineDate.
+ */
+ @java.lang.Override
+ public com.google.type.Date getBaselineDate() {
+ return baselineDate_ == null ? com.google.type.Date.getDefaultInstance() : baselineDate_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The baseline date w.r.t. which the delta counts are calculated.
+ * If not set, delta counts are not included in the response and the response
+ * indicates the current state of the fleet.
+ *
+ *
+ * optional .google.type.Date baseline_date = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.type.DateOrBuilder getBaselineDateOrBuilder() {
+ return baselineDate_ == null ? com.google.type.Date.getDefaultInstance() : baselineDate_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_);
+ }
+ for (int i = 0; i < signalTypeGroups_.size(); i++) {
+ output.writeMessage(3, signalTypeGroups_.get(i));
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(4, getBaselineDate());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_);
+ }
+ for (int i = 0; i < signalTypeGroups_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, signalTypeGroups_.get(i));
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getBaselineDate());
+ }
+ 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.cloud.databasecenter.v1beta.AggregateIssueStatsRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest other =
+ (com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest) obj;
+
+ if (!getParent().equals(other.getParent())) return false;
+ if (!getFilter().equals(other.getFilter())) return false;
+ if (!getSignalTypeGroupsList().equals(other.getSignalTypeGroupsList())) return false;
+ if (hasBaselineDate() != other.hasBaselineDate()) return false;
+ if (hasBaselineDate()) {
+ if (!getBaselineDate().equals(other.getBaselineDate())) 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) + PARENT_FIELD_NUMBER;
+ hash = (53 * hash) + getParent().hashCode();
+ hash = (37 * hash) + FILTER_FIELD_NUMBER;
+ hash = (53 * hash) + getFilter().hashCode();
+ if (getSignalTypeGroupsCount() > 0) {
+ hash = (37 * hash) + SIGNAL_TYPE_GROUPS_FIELD_NUMBER;
+ hash = (53 * hash) + getSignalTypeGroupsList().hashCode();
+ }
+ if (hasBaselineDate()) {
+ hash = (37 * hash) + BASELINE_DATE_FIELD_NUMBER;
+ hash = (53 * hash) + getBaselineDate().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest 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.cloud.databasecenter.v1beta.AggregateIssueStatsRequest parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest 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.cloud.databasecenter.v1beta.AggregateIssueStatsRequest
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest
+ 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.cloud.databasecenter.v1beta.AggregateIssueStatsRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest 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.cloud.databasecenter.v1beta.AggregateIssueStatsRequest 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;
+ }
+
+ /**
+ *
+ *
+ *
+ * AggregateIssueStatsRequest represents the input to the AggregateIssueStats
+ * method.
+ *
+ *
+ * Protobuf type {@code google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest)
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequestOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest.class,
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest.Builder.class);
+ }
+
+ // Construct using
+ // com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getSignalTypeGroupsFieldBuilder();
+ getBaselineDateFieldBuilder();
+ }
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ parent_ = "";
+ filter_ = "";
+ if (signalTypeGroupsBuilder_ == null) {
+ signalTypeGroups_ = java.util.Collections.emptyList();
+ } else {
+ signalTypeGroups_ = null;
+ signalTypeGroupsBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000004);
+ baselineDate_ = null;
+ if (baselineDateBuilder_ != null) {
+ baselineDateBuilder_.dispose();
+ baselineDateBuilder_ = null;
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsRequest_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest
+ getDefaultInstanceForType() {
+ return com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest build() {
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest buildPartial() {
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest result =
+ new com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest result) {
+ if (signalTypeGroupsBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) != 0)) {
+ signalTypeGroups_ = java.util.Collections.unmodifiableList(signalTypeGroups_);
+ bitField0_ = (bitField0_ & ~0x00000004);
+ }
+ result.signalTypeGroups_ = signalTypeGroups_;
+ } else {
+ result.signalTypeGroups_ = signalTypeGroupsBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.parent_ = parent_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.filter_ = filter_;
+ }
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.baselineDate_ =
+ baselineDateBuilder_ == null ? baselineDate_ : baselineDateBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest) {
+ return mergeFrom((com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest other) {
+ if (other
+ == com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest.getDefaultInstance())
+ return this;
+ if (!other.getParent().isEmpty()) {
+ parent_ = other.parent_;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ if (!other.getFilter().isEmpty()) {
+ filter_ = other.filter_;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ if (signalTypeGroupsBuilder_ == null) {
+ if (!other.signalTypeGroups_.isEmpty()) {
+ if (signalTypeGroups_.isEmpty()) {
+ signalTypeGroups_ = other.signalTypeGroups_;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ } else {
+ ensureSignalTypeGroupsIsMutable();
+ signalTypeGroups_.addAll(other.signalTypeGroups_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.signalTypeGroups_.isEmpty()) {
+ if (signalTypeGroupsBuilder_.isEmpty()) {
+ signalTypeGroupsBuilder_.dispose();
+ signalTypeGroupsBuilder_ = null;
+ signalTypeGroups_ = other.signalTypeGroups_;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ signalTypeGroupsBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getSignalTypeGroupsFieldBuilder()
+ : null;
+ } else {
+ signalTypeGroupsBuilder_.addAllMessages(other.signalTypeGroups_);
+ }
+ }
+ }
+ if (other.hasBaselineDate()) {
+ mergeBaselineDate(other.getBaselineDate());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ parent_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18:
+ {
+ filter_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ case 26:
+ {
+ com.google.cloud.databasecenter.v1beta.SignalTypeGroup m =
+ input.readMessage(
+ com.google.cloud.databasecenter.v1beta.SignalTypeGroup.parser(),
+ extensionRegistry);
+ if (signalTypeGroupsBuilder_ == null) {
+ ensureSignalTypeGroupsIsMutable();
+ signalTypeGroups_.add(m);
+ } else {
+ signalTypeGroupsBuilder_.addMessage(m);
+ }
+ break;
+ } // case 26
+ case 34:
+ {
+ input.readMessage(getBaselineDateFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 34
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private java.lang.Object parent_ = "";
+
+ /**
+ *
+ *
+ *
+ * Required. Parent can be a project, a folder, or an organization. The search
+ * is limited to the resources within the `scope`.
+ *
+ * The allowed values are:
+ *
+ * * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
+ * * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
+ * * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The parent.
+ */
+ public java.lang.String getParent() {
+ java.lang.Object ref = parent_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ parent_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. Parent can be a project, a folder, or an organization. The search
+ * is limited to the resources within the `scope`.
+ *
+ * The allowed values are:
+ *
+ * * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
+ * * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
+ * * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for parent.
+ */
+ public com.google.protobuf.ByteString getParentBytes() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. Parent can be a project, a folder, or an organization. The search
+ * is limited to the resources within the `scope`.
+ *
+ * The allowed values are:
+ *
+ * * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
+ * * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
+ * * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setParent(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ parent_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. Parent can be a project, a folder, or an organization. The search
+ * is limited to the resources within the `scope`.
+ *
+ * The allowed values are:
+ *
+ * * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
+ * * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
+ * * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearParent() {
+ parent_ = getDefaultInstance().getParent();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. Parent can be a project, a folder, or an organization. The search
+ * is limited to the resources within the `scope`.
+ *
+ * The allowed values are:
+ *
+ * * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
+ * * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
+ * * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setParentBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ parent_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object filter_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. The expression to filter resources.
+ *
+ * Supported fields are: `full_resource_name`, `resource_type`, `container`,
+ * `product.type`, `product.engine`, `product.version`, `location`,
+ * `labels`, `issues`, fields of availability_info,
+ * data_protection_info,'resource_name', etc.
+ *
+ * The expression is a list of zero or more restrictions combined via logical
+ * operators `AND` and `OR`. When `AND` and `OR` are both used in the
+ * expression, parentheses must be appropriately used to group the
+ * combinations.
+ *
+ * Example: location="us-east1"
+ * Example: container="projects/123" OR container="projects/456"
+ * Example: (container="projects/123" OR
+ * container="projects/456") AND location="us-east1"
+ *
+ *
+ * string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The filter.
+ */
+ public java.lang.String getFilter() {
+ java.lang.Object ref = filter_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ filter_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The expression to filter resources.
+ *
+ * Supported fields are: `full_resource_name`, `resource_type`, `container`,
+ * `product.type`, `product.engine`, `product.version`, `location`,
+ * `labels`, `issues`, fields of availability_info,
+ * data_protection_info,'resource_name', etc.
+ *
+ * The expression is a list of zero or more restrictions combined via logical
+ * operators `AND` and `OR`. When `AND` and `OR` are both used in the
+ * expression, parentheses must be appropriately used to group the
+ * combinations.
+ *
+ * Example: location="us-east1"
+ * Example: container="projects/123" OR container="projects/456"
+ * Example: (container="projects/123" OR
+ * container="projects/456") AND location="us-east1"
+ *
+ *
+ * string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for filter.
+ */
+ public com.google.protobuf.ByteString getFilterBytes() {
+ java.lang.Object ref = filter_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ filter_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The expression to filter resources.
+ *
+ * Supported fields are: `full_resource_name`, `resource_type`, `container`,
+ * `product.type`, `product.engine`, `product.version`, `location`,
+ * `labels`, `issues`, fields of availability_info,
+ * data_protection_info,'resource_name', etc.
+ *
+ * The expression is a list of zero or more restrictions combined via logical
+ * operators `AND` and `OR`. When `AND` and `OR` are both used in the
+ * expression, parentheses must be appropriately used to group the
+ * combinations.
+ *
+ * Example: location="us-east1"
+ * Example: container="projects/123" OR container="projects/456"
+ * Example: (container="projects/123" OR
+ * container="projects/456") AND location="us-east1"
+ *
+ *
+ * string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The filter to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFilter(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ filter_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The expression to filter resources.
+ *
+ * Supported fields are: `full_resource_name`, `resource_type`, `container`,
+ * `product.type`, `product.engine`, `product.version`, `location`,
+ * `labels`, `issues`, fields of availability_info,
+ * data_protection_info,'resource_name', etc.
+ *
+ * The expression is a list of zero or more restrictions combined via logical
+ * operators `AND` and `OR`. When `AND` and `OR` are both used in the
+ * expression, parentheses must be appropriately used to group the
+ * combinations.
+ *
+ * Example: location="us-east1"
+ * Example: container="projects/123" OR container="projects/456"
+ * Example: (container="projects/123" OR
+ * container="projects/456") AND location="us-east1"
+ *
+ *
+ * string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearFilter() {
+ filter_ = getDefaultInstance().getFilter();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The expression to filter resources.
+ *
+ * Supported fields are: `full_resource_name`, `resource_type`, `container`,
+ * `product.type`, `product.engine`, `product.version`, `location`,
+ * `labels`, `issues`, fields of availability_info,
+ * data_protection_info,'resource_name', etc.
+ *
+ * The expression is a list of zero or more restrictions combined via logical
+ * operators `AND` and `OR`. When `AND` and `OR` are both used in the
+ * expression, parentheses must be appropriately used to group the
+ * combinations.
+ *
+ * Example: location="us-east1"
+ * Example: container="projects/123" OR container="projects/456"
+ * Example: (container="projects/123" OR
+ * container="projects/456") AND location="us-east1"
+ *
+ *
+ * string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for filter to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ filter_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ private java.util.List
+ signalTypeGroups_ = java.util.Collections.emptyList();
+
+ private void ensureSignalTypeGroupsIsMutable() {
+ if (!((bitField0_ & 0x00000004) != 0)) {
+ signalTypeGroups_ =
+ new java.util.ArrayList(
+ signalTypeGroups_);
+ bitField0_ |= 0x00000004;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.databasecenter.v1beta.SignalTypeGroup,
+ com.google.cloud.databasecenter.v1beta.SignalTypeGroup.Builder,
+ com.google.cloud.databasecenter.v1beta.SignalTypeGroupOrBuilder>
+ signalTypeGroupsBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List
+ getSignalTypeGroupsList() {
+ if (signalTypeGroupsBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(signalTypeGroups_);
+ } else {
+ return signalTypeGroupsBuilder_.getMessageList();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public int getSignalTypeGroupsCount() {
+ if (signalTypeGroupsBuilder_ == null) {
+ return signalTypeGroups_.size();
+ } else {
+ return signalTypeGroupsBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.databasecenter.v1beta.SignalTypeGroup getSignalTypeGroups(int index) {
+ if (signalTypeGroupsBuilder_ == null) {
+ return signalTypeGroups_.get(index);
+ } else {
+ return signalTypeGroupsBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setSignalTypeGroups(
+ int index, com.google.cloud.databasecenter.v1beta.SignalTypeGroup value) {
+ if (signalTypeGroupsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSignalTypeGroupsIsMutable();
+ signalTypeGroups_.set(index, value);
+ onChanged();
+ } else {
+ signalTypeGroupsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setSignalTypeGroups(
+ int index, com.google.cloud.databasecenter.v1beta.SignalTypeGroup.Builder builderForValue) {
+ if (signalTypeGroupsBuilder_ == null) {
+ ensureSignalTypeGroupsIsMutable();
+ signalTypeGroups_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ signalTypeGroupsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addSignalTypeGroups(
+ com.google.cloud.databasecenter.v1beta.SignalTypeGroup value) {
+ if (signalTypeGroupsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSignalTypeGroupsIsMutable();
+ signalTypeGroups_.add(value);
+ onChanged();
+ } else {
+ signalTypeGroupsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addSignalTypeGroups(
+ int index, com.google.cloud.databasecenter.v1beta.SignalTypeGroup value) {
+ if (signalTypeGroupsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSignalTypeGroupsIsMutable();
+ signalTypeGroups_.add(index, value);
+ onChanged();
+ } else {
+ signalTypeGroupsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addSignalTypeGroups(
+ com.google.cloud.databasecenter.v1beta.SignalTypeGroup.Builder builderForValue) {
+ if (signalTypeGroupsBuilder_ == null) {
+ ensureSignalTypeGroupsIsMutable();
+ signalTypeGroups_.add(builderForValue.build());
+ onChanged();
+ } else {
+ signalTypeGroupsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addSignalTypeGroups(
+ int index, com.google.cloud.databasecenter.v1beta.SignalTypeGroup.Builder builderForValue) {
+ if (signalTypeGroupsBuilder_ == null) {
+ ensureSignalTypeGroupsIsMutable();
+ signalTypeGroups_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ signalTypeGroupsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addAllSignalTypeGroups(
+ java.lang.Iterable extends com.google.cloud.databasecenter.v1beta.SignalTypeGroup>
+ values) {
+ if (signalTypeGroupsBuilder_ == null) {
+ ensureSignalTypeGroupsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, signalTypeGroups_);
+ onChanged();
+ } else {
+ signalTypeGroupsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearSignalTypeGroups() {
+ if (signalTypeGroupsBuilder_ == null) {
+ signalTypeGroups_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ } else {
+ signalTypeGroupsBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder removeSignalTypeGroups(int index) {
+ if (signalTypeGroupsBuilder_ == null) {
+ ensureSignalTypeGroupsIsMutable();
+ signalTypeGroups_.remove(index);
+ onChanged();
+ } else {
+ signalTypeGroupsBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.databasecenter.v1beta.SignalTypeGroup.Builder
+ getSignalTypeGroupsBuilder(int index) {
+ return getSignalTypeGroupsFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.databasecenter.v1beta.SignalTypeGroupOrBuilder
+ getSignalTypeGroupsOrBuilder(int index) {
+ if (signalTypeGroupsBuilder_ == null) {
+ return signalTypeGroups_.get(index);
+ } else {
+ return signalTypeGroupsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List extends com.google.cloud.databasecenter.v1beta.SignalTypeGroupOrBuilder>
+ getSignalTypeGroupsOrBuilderList() {
+ if (signalTypeGroupsBuilder_ != null) {
+ return signalTypeGroupsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(signalTypeGroups_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.databasecenter.v1beta.SignalTypeGroup.Builder
+ addSignalTypeGroupsBuilder() {
+ return getSignalTypeGroupsFieldBuilder()
+ .addBuilder(com.google.cloud.databasecenter.v1beta.SignalTypeGroup.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.databasecenter.v1beta.SignalTypeGroup.Builder
+ addSignalTypeGroupsBuilder(int index) {
+ return getSignalTypeGroupsFieldBuilder()
+ .addBuilder(
+ index, com.google.cloud.databasecenter.v1beta.SignalTypeGroup.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List
+ getSignalTypeGroupsBuilderList() {
+ return getSignalTypeGroupsFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.databasecenter.v1beta.SignalTypeGroup,
+ com.google.cloud.databasecenter.v1beta.SignalTypeGroup.Builder,
+ com.google.cloud.databasecenter.v1beta.SignalTypeGroupOrBuilder>
+ getSignalTypeGroupsFieldBuilder() {
+ if (signalTypeGroupsBuilder_ == null) {
+ signalTypeGroupsBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.databasecenter.v1beta.SignalTypeGroup,
+ com.google.cloud.databasecenter.v1beta.SignalTypeGroup.Builder,
+ com.google.cloud.databasecenter.v1beta.SignalTypeGroupOrBuilder>(
+ signalTypeGroups_,
+ ((bitField0_ & 0x00000004) != 0),
+ getParentForChildren(),
+ isClean());
+ signalTypeGroups_ = null;
+ }
+ return signalTypeGroupsBuilder_;
+ }
+
+ private com.google.type.Date baselineDate_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+ baselineDateBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Optional. The baseline date w.r.t. which the delta counts are calculated.
+ * If not set, delta counts are not included in the response and the response
+ * indicates the current state of the fleet.
+ *
+ *
+ * optional .google.type.Date baseline_date = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the baselineDate field is set.
+ */
+ public boolean hasBaselineDate() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The baseline date w.r.t. which the delta counts are calculated.
+ * If not set, delta counts are not included in the response and the response
+ * indicates the current state of the fleet.
+ *
+ *
+ * optional .google.type.Date baseline_date = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The baselineDate.
+ */
+ public com.google.type.Date getBaselineDate() {
+ if (baselineDateBuilder_ == null) {
+ return baselineDate_ == null ? com.google.type.Date.getDefaultInstance() : baselineDate_;
+ } else {
+ return baselineDateBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The baseline date w.r.t. which the delta counts are calculated.
+ * If not set, delta counts are not included in the response and the response
+ * indicates the current state of the fleet.
+ *
+ *
+ * optional .google.type.Date baseline_date = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setBaselineDate(com.google.type.Date value) {
+ if (baselineDateBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ baselineDate_ = value;
+ } else {
+ baselineDateBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The baseline date w.r.t. which the delta counts are calculated.
+ * If not set, delta counts are not included in the response and the response
+ * indicates the current state of the fleet.
+ *
+ *
+ * optional .google.type.Date baseline_date = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setBaselineDate(com.google.type.Date.Builder builderForValue) {
+ if (baselineDateBuilder_ == null) {
+ baselineDate_ = builderForValue.build();
+ } else {
+ baselineDateBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The baseline date w.r.t. which the delta counts are calculated.
+ * If not set, delta counts are not included in the response and the response
+ * indicates the current state of the fleet.
+ *
+ *
+ * optional .google.type.Date baseline_date = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeBaselineDate(com.google.type.Date value) {
+ if (baselineDateBuilder_ == null) {
+ if (((bitField0_ & 0x00000008) != 0)
+ && baselineDate_ != null
+ && baselineDate_ != com.google.type.Date.getDefaultInstance()) {
+ getBaselineDateBuilder().mergeFrom(value);
+ } else {
+ baselineDate_ = value;
+ }
+ } else {
+ baselineDateBuilder_.mergeFrom(value);
+ }
+ if (baselineDate_ != null) {
+ bitField0_ |= 0x00000008;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The baseline date w.r.t. which the delta counts are calculated.
+ * If not set, delta counts are not included in the response and the response
+ * indicates the current state of the fleet.
+ *
+ *
+ * optional .google.type.Date baseline_date = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearBaselineDate() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ baselineDate_ = null;
+ if (baselineDateBuilder_ != null) {
+ baselineDateBuilder_.dispose();
+ baselineDateBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The baseline date w.r.t. which the delta counts are calculated.
+ * If not set, delta counts are not included in the response and the response
+ * indicates the current state of the fleet.
+ *
+ *
+ * optional .google.type.Date baseline_date = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.type.Date.Builder getBaselineDateBuilder() {
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return getBaselineDateFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The baseline date w.r.t. which the delta counts are calculated.
+ * If not set, delta counts are not included in the response and the response
+ * indicates the current state of the fleet.
+ *
+ *
+ * optional .google.type.Date baseline_date = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.type.DateOrBuilder getBaselineDateOrBuilder() {
+ if (baselineDateBuilder_ != null) {
+ return baselineDateBuilder_.getMessageOrBuilder();
+ } else {
+ return baselineDate_ == null ? com.google.type.Date.getDefaultInstance() : baselineDate_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The baseline date w.r.t. which the delta counts are calculated.
+ * If not set, delta counts are not included in the response and the response
+ * indicates the current state of the fleet.
+ *
+ *
+ * optional .google.type.Date baseline_date = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+ getBaselineDateFieldBuilder() {
+ if (baselineDateBuilder_ == null) {
+ baselineDateBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+ getBaselineDate(), getParentForChildren(), isClean());
+ baselineDate_ = null;
+ }
+ return baselineDateBuilder_;
+ }
+
+ @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.cloud.databasecenter.v1beta.AggregateIssueStatsRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest)
+ private static final com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest();
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public AggregateIssueStatsRequest parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/AggregateIssueStatsRequestOrBuilder.java b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/AggregateIssueStatsRequestOrBuilder.java
new file mode 100644
index 000000000000..3d84b719573e
--- /dev/null
+++ b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/AggregateIssueStatsRequestOrBuilder.java
@@ -0,0 +1,237 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/databasecenter/v1beta/service.proto
+
+// Protobuf Java Version: 3.25.8
+package com.google.cloud.databasecenter.v1beta;
+
+public interface AggregateIssueStatsRequestOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. Parent can be a project, a folder, or an organization. The search
+ * is limited to the resources within the `scope`.
+ *
+ * The allowed values are:
+ *
+ * * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
+ * * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
+ * * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The parent.
+ */
+ java.lang.String getParent();
+
+ /**
+ *
+ *
+ *
+ * Required. Parent can be a project, a folder, or an organization. The search
+ * is limited to the resources within the `scope`.
+ *
+ * The allowed values are:
+ *
+ * * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
+ * * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
+ * * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for parent.
+ */
+ com.google.protobuf.ByteString getParentBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. The expression to filter resources.
+ *
+ * Supported fields are: `full_resource_name`, `resource_type`, `container`,
+ * `product.type`, `product.engine`, `product.version`, `location`,
+ * `labels`, `issues`, fields of availability_info,
+ * data_protection_info,'resource_name', etc.
+ *
+ * The expression is a list of zero or more restrictions combined via logical
+ * operators `AND` and `OR`. When `AND` and `OR` are both used in the
+ * expression, parentheses must be appropriately used to group the
+ * combinations.
+ *
+ * Example: location="us-east1"
+ * Example: container="projects/123" OR container="projects/456"
+ * Example: (container="projects/123" OR
+ * container="projects/456") AND location="us-east1"
+ *
+ *
+ * string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The filter.
+ */
+ java.lang.String getFilter();
+
+ /**
+ *
+ *
+ *
+ * Optional. The expression to filter resources.
+ *
+ * Supported fields are: `full_resource_name`, `resource_type`, `container`,
+ * `product.type`, `product.engine`, `product.version`, `location`,
+ * `labels`, `issues`, fields of availability_info,
+ * data_protection_info,'resource_name', etc.
+ *
+ * The expression is a list of zero or more restrictions combined via logical
+ * operators `AND` and `OR`. When `AND` and `OR` are both used in the
+ * expression, parentheses must be appropriately used to group the
+ * combinations.
+ *
+ * Example: location="us-east1"
+ * Example: container="projects/123" OR container="projects/456"
+ * Example: (container="projects/123" OR
+ * container="projects/456") AND location="us-east1"
+ *
+ *
+ * string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for filter.
+ */
+ com.google.protobuf.ByteString getFilterBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List getSignalTypeGroupsList();
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.databasecenter.v1beta.SignalTypeGroup getSignalTypeGroups(int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ int getSignalTypeGroupsCount();
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List extends com.google.cloud.databasecenter.v1beta.SignalTypeGroupOrBuilder>
+ getSignalTypeGroupsOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * Optional. Lists of signal types that are issues.
+ *
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.databasecenter.v1beta.SignalTypeGroupOrBuilder getSignalTypeGroupsOrBuilder(
+ int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. The baseline date w.r.t. which the delta counts are calculated.
+ * If not set, delta counts are not included in the response and the response
+ * indicates the current state of the fleet.
+ *
+ *
+ * optional .google.type.Date baseline_date = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the baselineDate field is set.
+ */
+ boolean hasBaselineDate();
+
+ /**
+ *
+ *
+ *
+ * Optional. The baseline date w.r.t. which the delta counts are calculated.
+ * If not set, delta counts are not included in the response and the response
+ * indicates the current state of the fleet.
+ *
+ *
+ * optional .google.type.Date baseline_date = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The baselineDate.
+ */
+ com.google.type.Date getBaselineDate();
+
+ /**
+ *
+ *
+ *
+ * Optional. The baseline date w.r.t. which the delta counts are calculated.
+ * If not set, delta counts are not included in the response and the response
+ * indicates the current state of the fleet.
+ *
+ *
+ * optional .google.type.Date baseline_date = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.type.DateOrBuilder getBaselineDateOrBuilder();
+}
diff --git a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/AggregateIssueStatsResponse.java b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/AggregateIssueStatsResponse.java
new file mode 100644
index 000000000000..0803114febd7
--- /dev/null
+++ b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/AggregateIssueStatsResponse.java
@@ -0,0 +1,1536 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/databasecenter/v1beta/service.proto
+
+// Protobuf Java Version: 3.25.8
+package com.google.cloud.databasecenter.v1beta;
+
+/**
+ *
+ *
+ *
+ * The response message containing one of more group of relevant health issues
+ * for database resources.
+ *
+ *
+ * Protobuf type {@code google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse}
+ */
+public final class AggregateIssueStatsResponse extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse)
+ AggregateIssueStatsResponseOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ // Use AggregateIssueStatsResponse.newBuilder() to construct.
+ private AggregateIssueStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private AggregateIssueStatsResponse() {
+ issueGroupStats_ = java.util.Collections.emptyList();
+ unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new AggregateIssueStatsResponse();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsResponse_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsResponse_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse.class,
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse.Builder.class);
+ }
+
+ public static final int ISSUE_GROUP_STATS_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private java.util.List issueGroupStats_;
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ getIssueGroupStatsList() {
+ return issueGroupStats_;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.cloud.databasecenter.v1beta.IssueGroupStatsOrBuilder>
+ getIssueGroupStatsOrBuilderList() {
+ return issueGroupStats_;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ @java.lang.Override
+ public int getIssueGroupStatsCount() {
+ return issueGroupStats_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.IssueGroupStats getIssueGroupStats(int index) {
+ return issueGroupStats_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.IssueGroupStatsOrBuilder
+ getIssueGroupStatsOrBuilder(int index) {
+ return issueGroupStats_.get(index);
+ }
+
+ public static final int TOTAL_RESOURCES_COUNT_FIELD_NUMBER = 2;
+ private int totalResourcesCount_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Total count of the resources filtered in based on the user given filter.
+ *
+ *
+ * int32 total_resources_count = 2;
+ *
+ * @return The totalResourcesCount.
+ */
+ @java.lang.Override
+ public int getTotalResourcesCount() {
+ return totalResourcesCount_;
+ }
+
+ public static final int TOTAL_RESOURCE_GROUPS_COUNT_FIELD_NUMBER = 3;
+ private int totalResourceGroupsCount_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Total count of the resource filtered in based on the user given filter.
+ *
+ *
+ * int32 total_resource_groups_count = 3;
+ *
+ * @return The totalResourceGroupsCount.
+ */
+ @java.lang.Override
+ public int getTotalResourceGroupsCount() {
+ return totalResourceGroupsCount_;
+ }
+
+ public static final int UNREACHABLE_FIELD_NUMBER = 4;
+
+ @SuppressWarnings("serial")
+ private com.google.protobuf.LazyStringArrayList unreachable_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
+
+ /**
+ *
+ *
+ *
+ * Unordered list. List of unreachable regions from where data could not be
+ * retrieved.
+ *
+ *
+ * repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
+ *
+ * @return A list containing the unreachable.
+ */
+ public com.google.protobuf.ProtocolStringList getUnreachableList() {
+ return unreachable_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Unordered list. List of unreachable regions from where data could not be
+ * retrieved.
+ *
+ *
+ * repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
+ *
+ * @return The count of unreachable.
+ */
+ public int getUnreachableCount() {
+ return unreachable_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Unordered list. List of unreachable regions from where data could not be
+ * retrieved.
+ *
+ *
+ * repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
+ *
+ * @param index The index of the element to return.
+ * @return The unreachable at the given index.
+ */
+ public java.lang.String getUnreachable(int index) {
+ return unreachable_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Unordered list. List of unreachable regions from where data could not be
+ * retrieved.
+ *
+ *
+ * repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the unreachable at the given index.
+ */
+ public com.google.protobuf.ByteString getUnreachableBytes(int index) {
+ return unreachable_.getByteString(index);
+ }
+
+ 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 {
+ for (int i = 0; i < issueGroupStats_.size(); i++) {
+ output.writeMessage(1, issueGroupStats_.get(i));
+ }
+ if (totalResourcesCount_ != 0) {
+ output.writeInt32(2, totalResourcesCount_);
+ }
+ if (totalResourceGroupsCount_ != 0) {
+ output.writeInt32(3, totalResourceGroupsCount_);
+ }
+ for (int i = 0; i < unreachable_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, unreachable_.getRaw(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < issueGroupStats_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, issueGroupStats_.get(i));
+ }
+ if (totalResourcesCount_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, totalResourcesCount_);
+ }
+ if (totalResourceGroupsCount_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, totalResourceGroupsCount_);
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < unreachable_.size(); i++) {
+ dataSize += computeStringSizeNoTag(unreachable_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getUnreachableList().size();
+ }
+ 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.cloud.databasecenter.v1beta.AggregateIssueStatsResponse)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse other =
+ (com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse) obj;
+
+ if (!getIssueGroupStatsList().equals(other.getIssueGroupStatsList())) return false;
+ if (getTotalResourcesCount() != other.getTotalResourcesCount()) return false;
+ if (getTotalResourceGroupsCount() != other.getTotalResourceGroupsCount()) return false;
+ if (!getUnreachableList().equals(other.getUnreachableList())) 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();
+ if (getIssueGroupStatsCount() > 0) {
+ hash = (37 * hash) + ISSUE_GROUP_STATS_FIELD_NUMBER;
+ hash = (53 * hash) + getIssueGroupStatsList().hashCode();
+ }
+ hash = (37 * hash) + TOTAL_RESOURCES_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + getTotalResourcesCount();
+ hash = (37 * hash) + TOTAL_RESOURCE_GROUPS_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + getTotalResourceGroupsCount();
+ if (getUnreachableCount() > 0) {
+ hash = (37 * hash) + UNREACHABLE_FIELD_NUMBER;
+ hash = (53 * hash) + getUnreachableList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse 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.cloud.databasecenter.v1beta.AggregateIssueStatsResponse parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse 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.cloud.databasecenter.v1beta.AggregateIssueStatsResponse
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse
+ 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.cloud.databasecenter.v1beta.AggregateIssueStatsResponse parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse 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.cloud.databasecenter.v1beta.AggregateIssueStatsResponse 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;
+ }
+
+ /**
+ *
+ *
+ *
+ * The response message containing one of more group of relevant health issues
+ * for database resources.
+ *
+ *
+ * Protobuf type {@code google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse)
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponseOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsResponse_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsResponse_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse.class,
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse.Builder.class);
+ }
+
+ // Construct using
+ // com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ if (issueGroupStatsBuilder_ == null) {
+ issueGroupStats_ = java.util.Collections.emptyList();
+ } else {
+ issueGroupStats_ = null;
+ issueGroupStatsBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000001);
+ totalResourcesCount_ = 0;
+ totalResourceGroupsCount_ = 0;
+ unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsResponse_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse
+ getDefaultInstanceForType() {
+ return com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse
+ .getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse build() {
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse buildPartial() {
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse result =
+ new com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse result) {
+ if (issueGroupStatsBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ issueGroupStats_ = java.util.Collections.unmodifiableList(issueGroupStats_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.issueGroupStats_ = issueGroupStats_;
+ } else {
+ result.issueGroupStats_ = issueGroupStatsBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.totalResourcesCount_ = totalResourcesCount_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.totalResourceGroupsCount_ = totalResourceGroupsCount_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ unreachable_.makeImmutable();
+ result.unreachable_ = unreachable_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse) {
+ return mergeFrom(
+ (com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse other) {
+ if (other
+ == com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse
+ .getDefaultInstance()) return this;
+ if (issueGroupStatsBuilder_ == null) {
+ if (!other.issueGroupStats_.isEmpty()) {
+ if (issueGroupStats_.isEmpty()) {
+ issueGroupStats_ = other.issueGroupStats_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureIssueGroupStatsIsMutable();
+ issueGroupStats_.addAll(other.issueGroupStats_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.issueGroupStats_.isEmpty()) {
+ if (issueGroupStatsBuilder_.isEmpty()) {
+ issueGroupStatsBuilder_.dispose();
+ issueGroupStatsBuilder_ = null;
+ issueGroupStats_ = other.issueGroupStats_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ issueGroupStatsBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getIssueGroupStatsFieldBuilder()
+ : null;
+ } else {
+ issueGroupStatsBuilder_.addAllMessages(other.issueGroupStats_);
+ }
+ }
+ }
+ if (other.getTotalResourcesCount() != 0) {
+ setTotalResourcesCount(other.getTotalResourcesCount());
+ }
+ if (other.getTotalResourceGroupsCount() != 0) {
+ setTotalResourceGroupsCount(other.getTotalResourceGroupsCount());
+ }
+ if (!other.unreachable_.isEmpty()) {
+ if (unreachable_.isEmpty()) {
+ unreachable_ = other.unreachable_;
+ bitField0_ |= 0x00000008;
+ } else {
+ ensureUnreachableIsMutable();
+ unreachable_.addAll(other.unreachable_);
+ }
+ onChanged();
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ com.google.cloud.databasecenter.v1beta.IssueGroupStats m =
+ input.readMessage(
+ com.google.cloud.databasecenter.v1beta.IssueGroupStats.parser(),
+ extensionRegistry);
+ if (issueGroupStatsBuilder_ == null) {
+ ensureIssueGroupStatsIsMutable();
+ issueGroupStats_.add(m);
+ } else {
+ issueGroupStatsBuilder_.addMessage(m);
+ }
+ break;
+ } // case 10
+ case 16:
+ {
+ totalResourcesCount_ = input.readInt32();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 16
+ case 24:
+ {
+ totalResourceGroupsCount_ = input.readInt32();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 24
+ case 34:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+ ensureUnreachableIsMutable();
+ unreachable_.add(s);
+ break;
+ } // case 34
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private java.util.List
+ issueGroupStats_ = java.util.Collections.emptyList();
+
+ private void ensureIssueGroupStatsIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ issueGroupStats_ =
+ new java.util.ArrayList(
+ issueGroupStats_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.databasecenter.v1beta.IssueGroupStats,
+ com.google.cloud.databasecenter.v1beta.IssueGroupStats.Builder,
+ com.google.cloud.databasecenter.v1beta.IssueGroupStatsOrBuilder>
+ issueGroupStatsBuilder_;
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ public java.util.List
+ getIssueGroupStatsList() {
+ if (issueGroupStatsBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(issueGroupStats_);
+ } else {
+ return issueGroupStatsBuilder_.getMessageList();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ public int getIssueGroupStatsCount() {
+ if (issueGroupStatsBuilder_ == null) {
+ return issueGroupStats_.size();
+ } else {
+ return issueGroupStatsBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ public com.google.cloud.databasecenter.v1beta.IssueGroupStats getIssueGroupStats(int index) {
+ if (issueGroupStatsBuilder_ == null) {
+ return issueGroupStats_.get(index);
+ } else {
+ return issueGroupStatsBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ public Builder setIssueGroupStats(
+ int index, com.google.cloud.databasecenter.v1beta.IssueGroupStats value) {
+ if (issueGroupStatsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIssueGroupStatsIsMutable();
+ issueGroupStats_.set(index, value);
+ onChanged();
+ } else {
+ issueGroupStatsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ public Builder setIssueGroupStats(
+ int index, com.google.cloud.databasecenter.v1beta.IssueGroupStats.Builder builderForValue) {
+ if (issueGroupStatsBuilder_ == null) {
+ ensureIssueGroupStatsIsMutable();
+ issueGroupStats_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ issueGroupStatsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ public Builder addIssueGroupStats(
+ com.google.cloud.databasecenter.v1beta.IssueGroupStats value) {
+ if (issueGroupStatsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIssueGroupStatsIsMutable();
+ issueGroupStats_.add(value);
+ onChanged();
+ } else {
+ issueGroupStatsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ public Builder addIssueGroupStats(
+ int index, com.google.cloud.databasecenter.v1beta.IssueGroupStats value) {
+ if (issueGroupStatsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIssueGroupStatsIsMutable();
+ issueGroupStats_.add(index, value);
+ onChanged();
+ } else {
+ issueGroupStatsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ public Builder addIssueGroupStats(
+ com.google.cloud.databasecenter.v1beta.IssueGroupStats.Builder builderForValue) {
+ if (issueGroupStatsBuilder_ == null) {
+ ensureIssueGroupStatsIsMutable();
+ issueGroupStats_.add(builderForValue.build());
+ onChanged();
+ } else {
+ issueGroupStatsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ public Builder addIssueGroupStats(
+ int index, com.google.cloud.databasecenter.v1beta.IssueGroupStats.Builder builderForValue) {
+ if (issueGroupStatsBuilder_ == null) {
+ ensureIssueGroupStatsIsMutable();
+ issueGroupStats_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ issueGroupStatsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ public Builder addAllIssueGroupStats(
+ java.lang.Iterable extends com.google.cloud.databasecenter.v1beta.IssueGroupStats>
+ values) {
+ if (issueGroupStatsBuilder_ == null) {
+ ensureIssueGroupStatsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, issueGroupStats_);
+ onChanged();
+ } else {
+ issueGroupStatsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ public Builder clearIssueGroupStats() {
+ if (issueGroupStatsBuilder_ == null) {
+ issueGroupStats_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ issueGroupStatsBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ public Builder removeIssueGroupStats(int index) {
+ if (issueGroupStatsBuilder_ == null) {
+ ensureIssueGroupStatsIsMutable();
+ issueGroupStats_.remove(index);
+ onChanged();
+ } else {
+ issueGroupStatsBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ public com.google.cloud.databasecenter.v1beta.IssueGroupStats.Builder getIssueGroupStatsBuilder(
+ int index) {
+ return getIssueGroupStatsFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ public com.google.cloud.databasecenter.v1beta.IssueGroupStatsOrBuilder
+ getIssueGroupStatsOrBuilder(int index) {
+ if (issueGroupStatsBuilder_ == null) {
+ return issueGroupStats_.get(index);
+ } else {
+ return issueGroupStatsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ public java.util.List extends com.google.cloud.databasecenter.v1beta.IssueGroupStatsOrBuilder>
+ getIssueGroupStatsOrBuilderList() {
+ if (issueGroupStatsBuilder_ != null) {
+ return issueGroupStatsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(issueGroupStats_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ public com.google.cloud.databasecenter.v1beta.IssueGroupStats.Builder
+ addIssueGroupStatsBuilder() {
+ return getIssueGroupStatsFieldBuilder()
+ .addBuilder(com.google.cloud.databasecenter.v1beta.IssueGroupStats.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ public com.google.cloud.databasecenter.v1beta.IssueGroupStats.Builder addIssueGroupStatsBuilder(
+ int index) {
+ return getIssueGroupStatsFieldBuilder()
+ .addBuilder(
+ index, com.google.cloud.databasecenter.v1beta.IssueGroupStats.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ public java.util.List
+ getIssueGroupStatsBuilderList() {
+ return getIssueGroupStatsFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.databasecenter.v1beta.IssueGroupStats,
+ com.google.cloud.databasecenter.v1beta.IssueGroupStats.Builder,
+ com.google.cloud.databasecenter.v1beta.IssueGroupStatsOrBuilder>
+ getIssueGroupStatsFieldBuilder() {
+ if (issueGroupStatsBuilder_ == null) {
+ issueGroupStatsBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.databasecenter.v1beta.IssueGroupStats,
+ com.google.cloud.databasecenter.v1beta.IssueGroupStats.Builder,
+ com.google.cloud.databasecenter.v1beta.IssueGroupStatsOrBuilder>(
+ issueGroupStats_,
+ ((bitField0_ & 0x00000001) != 0),
+ getParentForChildren(),
+ isClean());
+ issueGroupStats_ = null;
+ }
+ return issueGroupStatsBuilder_;
+ }
+
+ private int totalResourcesCount_;
+
+ /**
+ *
+ *
+ *
+ * Total count of the resources filtered in based on the user given filter.
+ *
+ *
+ * int32 total_resources_count = 2;
+ *
+ * @return The totalResourcesCount.
+ */
+ @java.lang.Override
+ public int getTotalResourcesCount() {
+ return totalResourcesCount_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Total count of the resources filtered in based on the user given filter.
+ *
+ *
+ * int32 total_resources_count = 2;
+ *
+ * @param value The totalResourcesCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTotalResourcesCount(int value) {
+
+ totalResourcesCount_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Total count of the resources filtered in based on the user given filter.
+ *
+ *
+ * int32 total_resources_count = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearTotalResourcesCount() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ totalResourcesCount_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int totalResourceGroupsCount_;
+
+ /**
+ *
+ *
+ *
+ * Total count of the resource filtered in based on the user given filter.
+ *
+ *
+ * int32 total_resource_groups_count = 3;
+ *
+ * @return The totalResourceGroupsCount.
+ */
+ @java.lang.Override
+ public int getTotalResourceGroupsCount() {
+ return totalResourceGroupsCount_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Total count of the resource filtered in based on the user given filter.
+ *
+ *
+ * int32 total_resource_groups_count = 3;
+ *
+ * @param value The totalResourceGroupsCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTotalResourceGroupsCount(int value) {
+
+ totalResourceGroupsCount_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Total count of the resource filtered in based on the user given filter.
+ *
+ *
+ * int32 total_resource_groups_count = 3;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearTotalResourceGroupsCount() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ totalResourceGroupsCount_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.LazyStringArrayList unreachable_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
+
+ private void ensureUnreachableIsMutable() {
+ if (!unreachable_.isModifiable()) {
+ unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_);
+ }
+ bitField0_ |= 0x00000008;
+ }
+
+ /**
+ *
+ *
+ *
+ * Unordered list. List of unreachable regions from where data could not be
+ * retrieved.
+ *
+ *
+ * repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
+ *
+ * @return A list containing the unreachable.
+ */
+ public com.google.protobuf.ProtocolStringList getUnreachableList() {
+ unreachable_.makeImmutable();
+ return unreachable_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Unordered list. List of unreachable regions from where data could not be
+ * retrieved.
+ *
+ *
+ * repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
+ *
+ * @return The count of unreachable.
+ */
+ public int getUnreachableCount() {
+ return unreachable_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Unordered list. List of unreachable regions from where data could not be
+ * retrieved.
+ *
+ *
+ * repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
+ *
+ * @param index The index of the element to return.
+ * @return The unreachable at the given index.
+ */
+ public java.lang.String getUnreachable(int index) {
+ return unreachable_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Unordered list. List of unreachable regions from where data could not be
+ * retrieved.
+ *
+ *
+ * repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the unreachable at the given index.
+ */
+ public com.google.protobuf.ByteString getUnreachableBytes(int index) {
+ return unreachable_.getByteString(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Unordered list. List of unreachable regions from where data could not be
+ * retrieved.
+ *
+ *
+ * repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
+ *
+ * @param index The index to set the value at.
+ * @param value The unreachable to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUnreachable(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureUnreachableIsMutable();
+ unreachable_.set(index, value);
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Unordered list. List of unreachable regions from where data could not be
+ * retrieved.
+ *
+ *
+ * repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
+ *
+ * @param value The unreachable to add.
+ * @return This builder for chaining.
+ */
+ public Builder addUnreachable(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureUnreachableIsMutable();
+ unreachable_.add(value);
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Unordered list. List of unreachable regions from where data could not be
+ * retrieved.
+ *
+ *
+ * repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
+ *
+ * @param values The unreachable to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllUnreachable(java.lang.Iterable values) {
+ ensureUnreachableIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_);
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Unordered list. List of unreachable regions from where data could not be
+ * retrieved.
+ *
+ *
+ * repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearUnreachable() {
+ unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ ;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Unordered list. List of unreachable regions from where data could not be
+ * retrieved.
+ *
+ *
+ * repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
+ *
+ * @param value The bytes of the unreachable to add.
+ * @return This builder for chaining.
+ */
+ public Builder addUnreachableBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureUnreachableIsMutable();
+ unreachable_.add(value);
+ bitField0_ |= 0x00000008;
+ 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.cloud.databasecenter.v1beta.AggregateIssueStatsResponse)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse)
+ private static final com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse();
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public AggregateIssueStatsResponse parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/AggregateIssueStatsResponseOrBuilder.java b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/AggregateIssueStatsResponseOrBuilder.java
new file mode 100644
index 000000000000..4a168826df2b
--- /dev/null
+++ b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/AggregateIssueStatsResponseOrBuilder.java
@@ -0,0 +1,177 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/databasecenter/v1beta/service.proto
+
+// Protobuf Java Version: 3.25.8
+package com.google.cloud.databasecenter.v1beta;
+
+public interface AggregateIssueStatsResponseOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ java.util.List getIssueGroupStatsList();
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ com.google.cloud.databasecenter.v1beta.IssueGroupStats getIssueGroupStats(int index);
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ int getIssueGroupStatsCount();
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ java.util.List extends com.google.cloud.databasecenter.v1beta.IssueGroupStatsOrBuilder>
+ getIssueGroupStatsOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * List of issue group stats where each group contains stats for resources
+ * having a particular combination of relevant issues.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
+ *
+ */
+ com.google.cloud.databasecenter.v1beta.IssueGroupStatsOrBuilder getIssueGroupStatsOrBuilder(
+ int index);
+
+ /**
+ *
+ *
+ *
+ * Total count of the resources filtered in based on the user given filter.
+ *
+ *
+ * int32 total_resources_count = 2;
+ *
+ * @return The totalResourcesCount.
+ */
+ int getTotalResourcesCount();
+
+ /**
+ *
+ *
+ *
+ * Total count of the resource filtered in based on the user given filter.
+ *
+ *
+ * int32 total_resource_groups_count = 3;
+ *
+ * @return The totalResourceGroupsCount.
+ */
+ int getTotalResourceGroupsCount();
+
+ /**
+ *
+ *
+ *
+ * Unordered list. List of unreachable regions from where data could not be
+ * retrieved.
+ *
+ *
+ * repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
+ *
+ * @return A list containing the unreachable.
+ */
+ java.util.List getUnreachableList();
+
+ /**
+ *
+ *
+ *
+ * Unordered list. List of unreachable regions from where data could not be
+ * retrieved.
+ *
+ *
+ * repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
+ *
+ * @return The count of unreachable.
+ */
+ int getUnreachableCount();
+
+ /**
+ *
+ *
+ *
+ * Unordered list. List of unreachable regions from where data could not be
+ * retrieved.
+ *
+ *
+ * repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
+ *
+ * @param index The index of the element to return.
+ * @return The unreachable at the given index.
+ */
+ java.lang.String getUnreachable(int index);
+
+ /**
+ *
+ *
+ *
+ * Unordered list. List of unreachable regions from where data could not be
+ * retrieved.
+ *
+ *
+ * repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the unreachable at the given index.
+ */
+ com.google.protobuf.ByteString getUnreachableBytes(int index);
+}
diff --git a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/IssueGroupStats.java b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/IssueGroupStats.java
new file mode 100644
index 000000000000..b158c745e78b
--- /dev/null
+++ b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/IssueGroupStats.java
@@ -0,0 +1,1605 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/databasecenter/v1beta/service.proto
+
+// Protobuf Java Version: 3.25.8
+package com.google.cloud.databasecenter.v1beta;
+
+/**
+ *
+ *
+ *
+ * IssueGroupStats refers to stats for a particulare combination of relevant
+ * health issues of database resources.
+ *
+ *
+ * Protobuf type {@code google.cloud.databasecenter.v1beta.IssueGroupStats}
+ */
+public final class IssueGroupStats extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.databasecenter.v1beta.IssueGroupStats)
+ IssueGroupStatsOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ // Use IssueGroupStats.newBuilder() to construct.
+ private IssueGroupStats(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private IssueGroupStats() {
+ displayName_ = "";
+ issueStats_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new IssueGroupStats();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_IssueGroupStats_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_IssueGroupStats_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.databasecenter.v1beta.IssueGroupStats.class,
+ com.google.cloud.databasecenter.v1beta.IssueGroupStats.Builder.class);
+ }
+
+ public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object displayName_ = "";
+
+ /**
+ *
+ *
+ *
+ * Database resource level health card name. This will corresponds to one of
+ * the requested input group names.
+ *
+ *
+ * string display_name = 1;
+ *
+ * @return The displayName.
+ */
+ @java.lang.Override
+ public java.lang.String getDisplayName() {
+ java.lang.Object ref = displayName_;
+ 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();
+ displayName_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Database resource level health card name. This will corresponds to one of
+ * the requested input group names.
+ *
+ *
+ * string display_name = 1;
+ *
+ * @return The bytes for displayName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDisplayNameBytes() {
+ java.lang.Object ref = displayName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ displayName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int RESOURCE_GROUPS_COUNT_FIELD_NUMBER = 2;
+ private int resourceGroupsCount_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Total count of the groups of resources returned by the filter that
+ * also have one or more resources for which any of the specified issues
+ * are applicable.
+ *
+ *
+ * int32 resource_groups_count = 2;
+ *
+ * @return The resourceGroupsCount.
+ */
+ @java.lang.Override
+ public int getResourceGroupsCount() {
+ return resourceGroupsCount_;
+ }
+
+ public static final int RESOURCES_COUNT_FIELD_NUMBER = 3;
+ private int resourcesCount_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Total count of resources returned by the filter for which any of the
+ * specified issues are applicable.
+ *
+ *
+ * int32 resources_count = 3;
+ *
+ * @return The resourcesCount.
+ */
+ @java.lang.Override
+ public int getResourcesCount() {
+ return resourcesCount_;
+ }
+
+ public static final int HEALTHY_RESOURCE_GROUPS_COUNT_FIELD_NUMBER = 4;
+ private int healthyResourceGroupsCount_ = 0;
+
+ /**
+ *
+ *
+ *
+ * The number of resource groups from the total groups as defined above
+ * that are healthy with respect to all of the specified issues.
+ *
+ *
+ * int32 healthy_resource_groups_count = 4;
+ *
+ * @return The healthyResourceGroupsCount.
+ */
+ @java.lang.Override
+ public int getHealthyResourceGroupsCount() {
+ return healthyResourceGroupsCount_;
+ }
+
+ public static final int HEALTHY_RESOURCES_COUNT_FIELD_NUMBER = 5;
+ private int healthyResourcesCount_ = 0;
+
+ /**
+ *
+ *
+ *
+ * The number of resources from the total defined above in field
+ * total_resources_count that are healthy with respect to all of the specified
+ * issues.
+ *
+ *
+ * int32 healthy_resources_count = 5;
+ *
+ * @return The healthyResourcesCount.
+ */
+ @java.lang.Override
+ public int getHealthyResourcesCount() {
+ return healthyResourcesCount_;
+ }
+
+ public static final int ISSUE_STATS_FIELD_NUMBER = 6;
+
+ @SuppressWarnings("serial")
+ private java.util.List issueStats_;
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ @java.lang.Override
+ public java.util.List getIssueStatsList() {
+ return issueStats_;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.cloud.databasecenter.v1beta.IssueStatsOrBuilder>
+ getIssueStatsOrBuilderList() {
+ return issueStats_;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ @java.lang.Override
+ public int getIssueStatsCount() {
+ return issueStats_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.IssueStats getIssueStats(int index) {
+ return issueStats_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.IssueStatsOrBuilder getIssueStatsOrBuilder(
+ int index) {
+ return issueStats_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_);
+ }
+ if (resourceGroupsCount_ != 0) {
+ output.writeInt32(2, resourceGroupsCount_);
+ }
+ if (resourcesCount_ != 0) {
+ output.writeInt32(3, resourcesCount_);
+ }
+ if (healthyResourceGroupsCount_ != 0) {
+ output.writeInt32(4, healthyResourceGroupsCount_);
+ }
+ if (healthyResourcesCount_ != 0) {
+ output.writeInt32(5, healthyResourcesCount_);
+ }
+ for (int i = 0; i < issueStats_.size(); i++) {
+ output.writeMessage(6, issueStats_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_);
+ }
+ if (resourceGroupsCount_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, resourceGroupsCount_);
+ }
+ if (resourcesCount_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, resourcesCount_);
+ }
+ if (healthyResourceGroupsCount_ != 0) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeInt32Size(4, healthyResourceGroupsCount_);
+ }
+ if (healthyResourcesCount_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, healthyResourcesCount_);
+ }
+ for (int i = 0; i < issueStats_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, issueStats_.get(i));
+ }
+ 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.cloud.databasecenter.v1beta.IssueGroupStats)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.databasecenter.v1beta.IssueGroupStats other =
+ (com.google.cloud.databasecenter.v1beta.IssueGroupStats) obj;
+
+ if (!getDisplayName().equals(other.getDisplayName())) return false;
+ if (getResourceGroupsCount() != other.getResourceGroupsCount()) return false;
+ if (getResourcesCount() != other.getResourcesCount()) return false;
+ if (getHealthyResourceGroupsCount() != other.getHealthyResourceGroupsCount()) return false;
+ if (getHealthyResourcesCount() != other.getHealthyResourcesCount()) return false;
+ if (!getIssueStatsList().equals(other.getIssueStatsList())) 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) + DISPLAY_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getDisplayName().hashCode();
+ hash = (37 * hash) + RESOURCE_GROUPS_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + getResourceGroupsCount();
+ hash = (37 * hash) + RESOURCES_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + getResourcesCount();
+ hash = (37 * hash) + HEALTHY_RESOURCE_GROUPS_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + getHealthyResourceGroupsCount();
+ hash = (37 * hash) + HEALTHY_RESOURCES_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + getHealthyResourcesCount();
+ if (getIssueStatsCount() > 0) {
+ hash = (37 * hash) + ISSUE_STATS_FIELD_NUMBER;
+ hash = (53 * hash) + getIssueStatsList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueGroupStats parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueGroupStats parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueGroupStats parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueGroupStats 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.cloud.databasecenter.v1beta.IssueGroupStats parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueGroupStats parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueGroupStats parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueGroupStats 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.cloud.databasecenter.v1beta.IssueGroupStats parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueGroupStats 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.cloud.databasecenter.v1beta.IssueGroupStats parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueGroupStats 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.cloud.databasecenter.v1beta.IssueGroupStats 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;
+ }
+
+ /**
+ *
+ *
+ *
+ * IssueGroupStats refers to stats for a particulare combination of relevant
+ * health issues of database resources.
+ *
+ *
+ * Protobuf type {@code google.cloud.databasecenter.v1beta.IssueGroupStats}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.databasecenter.v1beta.IssueGroupStats)
+ com.google.cloud.databasecenter.v1beta.IssueGroupStatsOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_IssueGroupStats_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_IssueGroupStats_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.databasecenter.v1beta.IssueGroupStats.class,
+ com.google.cloud.databasecenter.v1beta.IssueGroupStats.Builder.class);
+ }
+
+ // Construct using com.google.cloud.databasecenter.v1beta.IssueGroupStats.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ displayName_ = "";
+ resourceGroupsCount_ = 0;
+ resourcesCount_ = 0;
+ healthyResourceGroupsCount_ = 0;
+ healthyResourcesCount_ = 0;
+ if (issueStatsBuilder_ == null) {
+ issueStats_ = java.util.Collections.emptyList();
+ } else {
+ issueStats_ = null;
+ issueStatsBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000020);
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_IssueGroupStats_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.IssueGroupStats getDefaultInstanceForType() {
+ return com.google.cloud.databasecenter.v1beta.IssueGroupStats.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.IssueGroupStats build() {
+ com.google.cloud.databasecenter.v1beta.IssueGroupStats result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.IssueGroupStats buildPartial() {
+ com.google.cloud.databasecenter.v1beta.IssueGroupStats result =
+ new com.google.cloud.databasecenter.v1beta.IssueGroupStats(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.databasecenter.v1beta.IssueGroupStats result) {
+ if (issueStatsBuilder_ == null) {
+ if (((bitField0_ & 0x00000020) != 0)) {
+ issueStats_ = java.util.Collections.unmodifiableList(issueStats_);
+ bitField0_ = (bitField0_ & ~0x00000020);
+ }
+ result.issueStats_ = issueStats_;
+ } else {
+ result.issueStats_ = issueStatsBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(com.google.cloud.databasecenter.v1beta.IssueGroupStats result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.displayName_ = displayName_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.resourceGroupsCount_ = resourceGroupsCount_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.resourcesCount_ = resourcesCount_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.healthyResourceGroupsCount_ = healthyResourceGroupsCount_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.healthyResourcesCount_ = healthyResourcesCount_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.databasecenter.v1beta.IssueGroupStats) {
+ return mergeFrom((com.google.cloud.databasecenter.v1beta.IssueGroupStats) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.databasecenter.v1beta.IssueGroupStats other) {
+ if (other == com.google.cloud.databasecenter.v1beta.IssueGroupStats.getDefaultInstance())
+ return this;
+ if (!other.getDisplayName().isEmpty()) {
+ displayName_ = other.displayName_;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ if (other.getResourceGroupsCount() != 0) {
+ setResourceGroupsCount(other.getResourceGroupsCount());
+ }
+ if (other.getResourcesCount() != 0) {
+ setResourcesCount(other.getResourcesCount());
+ }
+ if (other.getHealthyResourceGroupsCount() != 0) {
+ setHealthyResourceGroupsCount(other.getHealthyResourceGroupsCount());
+ }
+ if (other.getHealthyResourcesCount() != 0) {
+ setHealthyResourcesCount(other.getHealthyResourcesCount());
+ }
+ if (issueStatsBuilder_ == null) {
+ if (!other.issueStats_.isEmpty()) {
+ if (issueStats_.isEmpty()) {
+ issueStats_ = other.issueStats_;
+ bitField0_ = (bitField0_ & ~0x00000020);
+ } else {
+ ensureIssueStatsIsMutable();
+ issueStats_.addAll(other.issueStats_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.issueStats_.isEmpty()) {
+ if (issueStatsBuilder_.isEmpty()) {
+ issueStatsBuilder_.dispose();
+ issueStatsBuilder_ = null;
+ issueStats_ = other.issueStats_;
+ bitField0_ = (bitField0_ & ~0x00000020);
+ issueStatsBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getIssueStatsFieldBuilder()
+ : null;
+ } else {
+ issueStatsBuilder_.addAllMessages(other.issueStats_);
+ }
+ }
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ displayName_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 16:
+ {
+ resourceGroupsCount_ = input.readInt32();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 16
+ case 24:
+ {
+ resourcesCount_ = input.readInt32();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 24
+ case 32:
+ {
+ healthyResourceGroupsCount_ = input.readInt32();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 32
+ case 40:
+ {
+ healthyResourcesCount_ = input.readInt32();
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 40
+ case 50:
+ {
+ com.google.cloud.databasecenter.v1beta.IssueStats m =
+ input.readMessage(
+ com.google.cloud.databasecenter.v1beta.IssueStats.parser(),
+ extensionRegistry);
+ if (issueStatsBuilder_ == null) {
+ ensureIssueStatsIsMutable();
+ issueStats_.add(m);
+ } else {
+ issueStatsBuilder_.addMessage(m);
+ }
+ break;
+ } // case 50
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private java.lang.Object displayName_ = "";
+
+ /**
+ *
+ *
+ *
+ * Database resource level health card name. This will corresponds to one of
+ * the requested input group names.
+ *
+ *
+ * string display_name = 1;
+ *
+ * @return The displayName.
+ */
+ public java.lang.String getDisplayName() {
+ java.lang.Object ref = displayName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ displayName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Database resource level health card name. This will corresponds to one of
+ * the requested input group names.
+ *
+ *
+ * string display_name = 1;
+ *
+ * @return The bytes for displayName.
+ */
+ public com.google.protobuf.ByteString getDisplayNameBytes() {
+ java.lang.Object ref = displayName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ displayName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Database resource level health card name. This will corresponds to one of
+ * the requested input group names.
+ *
+ *
+ * string display_name = 1;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ displayName_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Database resource level health card name. This will corresponds to one of
+ * the requested input group names.
+ *
+ *
+ * string display_name = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDisplayName() {
+ displayName_ = getDefaultInstance().getDisplayName();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Database resource level health card name. This will corresponds to one of
+ * the requested input group names.
+ *
+ *
+ * string display_name = 1;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ displayName_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private int resourceGroupsCount_;
+
+ /**
+ *
+ *
+ *
+ * Total count of the groups of resources returned by the filter that
+ * also have one or more resources for which any of the specified issues
+ * are applicable.
+ *
+ *
+ * int32 resource_groups_count = 2;
+ *
+ * @return The resourceGroupsCount.
+ */
+ @java.lang.Override
+ public int getResourceGroupsCount() {
+ return resourceGroupsCount_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Total count of the groups of resources returned by the filter that
+ * also have one or more resources for which any of the specified issues
+ * are applicable.
+ *
+ *
+ * int32 resource_groups_count = 2;
+ *
+ * @param value The resourceGroupsCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setResourceGroupsCount(int value) {
+
+ resourceGroupsCount_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Total count of the groups of resources returned by the filter that
+ * also have one or more resources for which any of the specified issues
+ * are applicable.
+ *
+ *
+ * int32 resource_groups_count = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearResourceGroupsCount() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ resourceGroupsCount_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int resourcesCount_;
+
+ /**
+ *
+ *
+ *
+ * Total count of resources returned by the filter for which any of the
+ * specified issues are applicable.
+ *
+ *
+ * int32 resources_count = 3;
+ *
+ * @return The resourcesCount.
+ */
+ @java.lang.Override
+ public int getResourcesCount() {
+ return resourcesCount_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Total count of resources returned by the filter for which any of the
+ * specified issues are applicable.
+ *
+ *
+ * int32 resources_count = 3;
+ *
+ * @param value The resourcesCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setResourcesCount(int value) {
+
+ resourcesCount_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Total count of resources returned by the filter for which any of the
+ * specified issues are applicable.
+ *
+ *
+ * int32 resources_count = 3;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearResourcesCount() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ resourcesCount_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int healthyResourceGroupsCount_;
+
+ /**
+ *
+ *
+ *
+ * The number of resource groups from the total groups as defined above
+ * that are healthy with respect to all of the specified issues.
+ *
+ *
+ * int32 healthy_resource_groups_count = 4;
+ *
+ * @return The healthyResourceGroupsCount.
+ */
+ @java.lang.Override
+ public int getHealthyResourceGroupsCount() {
+ return healthyResourceGroupsCount_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The number of resource groups from the total groups as defined above
+ * that are healthy with respect to all of the specified issues.
+ *
+ *
+ * int32 healthy_resource_groups_count = 4;
+ *
+ * @param value The healthyResourceGroupsCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setHealthyResourceGroupsCount(int value) {
+
+ healthyResourceGroupsCount_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The number of resource groups from the total groups as defined above
+ * that are healthy with respect to all of the specified issues.
+ *
+ *
+ * int32 healthy_resource_groups_count = 4;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearHealthyResourceGroupsCount() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ healthyResourceGroupsCount_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int healthyResourcesCount_;
+
+ /**
+ *
+ *
+ *
+ * The number of resources from the total defined above in field
+ * total_resources_count that are healthy with respect to all of the specified
+ * issues.
+ *
+ *
+ * int32 healthy_resources_count = 5;
+ *
+ * @return The healthyResourcesCount.
+ */
+ @java.lang.Override
+ public int getHealthyResourcesCount() {
+ return healthyResourcesCount_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The number of resources from the total defined above in field
+ * total_resources_count that are healthy with respect to all of the specified
+ * issues.
+ *
+ *
+ * int32 healthy_resources_count = 5;
+ *
+ * @param value The healthyResourcesCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setHealthyResourcesCount(int value) {
+
+ healthyResourcesCount_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The number of resources from the total defined above in field
+ * total_resources_count that are healthy with respect to all of the specified
+ * issues.
+ *
+ *
+ * int32 healthy_resources_count = 5;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearHealthyResourcesCount() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ healthyResourcesCount_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.util.List issueStats_ =
+ java.util.Collections.emptyList();
+
+ private void ensureIssueStatsIsMutable() {
+ if (!((bitField0_ & 0x00000020) != 0)) {
+ issueStats_ =
+ new java.util.ArrayList(issueStats_);
+ bitField0_ |= 0x00000020;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.databasecenter.v1beta.IssueStats,
+ com.google.cloud.databasecenter.v1beta.IssueStats.Builder,
+ com.google.cloud.databasecenter.v1beta.IssueStatsOrBuilder>
+ issueStatsBuilder_;
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ public java.util.List getIssueStatsList() {
+ if (issueStatsBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(issueStats_);
+ } else {
+ return issueStatsBuilder_.getMessageList();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ public int getIssueStatsCount() {
+ if (issueStatsBuilder_ == null) {
+ return issueStats_.size();
+ } else {
+ return issueStatsBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ public com.google.cloud.databasecenter.v1beta.IssueStats getIssueStats(int index) {
+ if (issueStatsBuilder_ == null) {
+ return issueStats_.get(index);
+ } else {
+ return issueStatsBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ public Builder setIssueStats(
+ int index, com.google.cloud.databasecenter.v1beta.IssueStats value) {
+ if (issueStatsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIssueStatsIsMutable();
+ issueStats_.set(index, value);
+ onChanged();
+ } else {
+ issueStatsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ public Builder setIssueStats(
+ int index, com.google.cloud.databasecenter.v1beta.IssueStats.Builder builderForValue) {
+ if (issueStatsBuilder_ == null) {
+ ensureIssueStatsIsMutable();
+ issueStats_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ issueStatsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ public Builder addIssueStats(com.google.cloud.databasecenter.v1beta.IssueStats value) {
+ if (issueStatsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIssueStatsIsMutable();
+ issueStats_.add(value);
+ onChanged();
+ } else {
+ issueStatsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ public Builder addIssueStats(
+ int index, com.google.cloud.databasecenter.v1beta.IssueStats value) {
+ if (issueStatsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIssueStatsIsMutable();
+ issueStats_.add(index, value);
+ onChanged();
+ } else {
+ issueStatsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ public Builder addIssueStats(
+ com.google.cloud.databasecenter.v1beta.IssueStats.Builder builderForValue) {
+ if (issueStatsBuilder_ == null) {
+ ensureIssueStatsIsMutable();
+ issueStats_.add(builderForValue.build());
+ onChanged();
+ } else {
+ issueStatsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ public Builder addIssueStats(
+ int index, com.google.cloud.databasecenter.v1beta.IssueStats.Builder builderForValue) {
+ if (issueStatsBuilder_ == null) {
+ ensureIssueStatsIsMutable();
+ issueStats_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ issueStatsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ public Builder addAllIssueStats(
+ java.lang.Iterable extends com.google.cloud.databasecenter.v1beta.IssueStats> values) {
+ if (issueStatsBuilder_ == null) {
+ ensureIssueStatsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, issueStats_);
+ onChanged();
+ } else {
+ issueStatsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ public Builder clearIssueStats() {
+ if (issueStatsBuilder_ == null) {
+ issueStats_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000020);
+ onChanged();
+ } else {
+ issueStatsBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ public Builder removeIssueStats(int index) {
+ if (issueStatsBuilder_ == null) {
+ ensureIssueStatsIsMutable();
+ issueStats_.remove(index);
+ onChanged();
+ } else {
+ issueStatsBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ public com.google.cloud.databasecenter.v1beta.IssueStats.Builder getIssueStatsBuilder(
+ int index) {
+ return getIssueStatsFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ public com.google.cloud.databasecenter.v1beta.IssueStatsOrBuilder getIssueStatsOrBuilder(
+ int index) {
+ if (issueStatsBuilder_ == null) {
+ return issueStats_.get(index);
+ } else {
+ return issueStatsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ public java.util.List extends com.google.cloud.databasecenter.v1beta.IssueStatsOrBuilder>
+ getIssueStatsOrBuilderList() {
+ if (issueStatsBuilder_ != null) {
+ return issueStatsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(issueStats_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ public com.google.cloud.databasecenter.v1beta.IssueStats.Builder addIssueStatsBuilder() {
+ return getIssueStatsFieldBuilder()
+ .addBuilder(com.google.cloud.databasecenter.v1beta.IssueStats.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ public com.google.cloud.databasecenter.v1beta.IssueStats.Builder addIssueStatsBuilder(
+ int index) {
+ return getIssueStatsFieldBuilder()
+ .addBuilder(
+ index, com.google.cloud.databasecenter.v1beta.IssueStats.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ public java.util.List
+ getIssueStatsBuilderList() {
+ return getIssueStatsFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.databasecenter.v1beta.IssueStats,
+ com.google.cloud.databasecenter.v1beta.IssueStats.Builder,
+ com.google.cloud.databasecenter.v1beta.IssueStatsOrBuilder>
+ getIssueStatsFieldBuilder() {
+ if (issueStatsBuilder_ == null) {
+ issueStatsBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.databasecenter.v1beta.IssueStats,
+ com.google.cloud.databasecenter.v1beta.IssueStats.Builder,
+ com.google.cloud.databasecenter.v1beta.IssueStatsOrBuilder>(
+ issueStats_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean());
+ issueStats_ = null;
+ }
+ return issueStatsBuilder_;
+ }
+
+ @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.cloud.databasecenter.v1beta.IssueGroupStats)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.databasecenter.v1beta.IssueGroupStats)
+ private static final com.google.cloud.databasecenter.v1beta.IssueGroupStats DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.databasecenter.v1beta.IssueGroupStats();
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueGroupStats getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public IssueGroupStats parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.IssueGroupStats getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/IssueGroupStatsOrBuilder.java b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/IssueGroupStatsOrBuilder.java
new file mode 100644
index 000000000000..6b8a97518afa
--- /dev/null
+++ b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/IssueGroupStatsOrBuilder.java
@@ -0,0 +1,173 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/databasecenter/v1beta/service.proto
+
+// Protobuf Java Version: 3.25.8
+package com.google.cloud.databasecenter.v1beta;
+
+public interface IssueGroupStatsOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.databasecenter.v1beta.IssueGroupStats)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Database resource level health card name. This will corresponds to one of
+ * the requested input group names.
+ *
+ *
+ * string display_name = 1;
+ *
+ * @return The displayName.
+ */
+ java.lang.String getDisplayName();
+
+ /**
+ *
+ *
+ *
+ * Database resource level health card name. This will corresponds to one of
+ * the requested input group names.
+ *
+ *
+ * string display_name = 1;
+ *
+ * @return The bytes for displayName.
+ */
+ com.google.protobuf.ByteString getDisplayNameBytes();
+
+ /**
+ *
+ *
+ *
+ * Total count of the groups of resources returned by the filter that
+ * also have one or more resources for which any of the specified issues
+ * are applicable.
+ *
+ *
+ * int32 resource_groups_count = 2;
+ *
+ * @return The resourceGroupsCount.
+ */
+ int getResourceGroupsCount();
+
+ /**
+ *
+ *
+ *
+ * Total count of resources returned by the filter for which any of the
+ * specified issues are applicable.
+ *
+ *
+ * int32 resources_count = 3;
+ *
+ * @return The resourcesCount.
+ */
+ int getResourcesCount();
+
+ /**
+ *
+ *
+ *
+ * The number of resource groups from the total groups as defined above
+ * that are healthy with respect to all of the specified issues.
+ *
+ *
+ * int32 healthy_resource_groups_count = 4;
+ *
+ * @return The healthyResourceGroupsCount.
+ */
+ int getHealthyResourceGroupsCount();
+
+ /**
+ *
+ *
+ *
+ * The number of resources from the total defined above in field
+ * total_resources_count that are healthy with respect to all of the specified
+ * issues.
+ *
+ *
+ * int32 healthy_resources_count = 5;
+ *
+ * @return The healthyResourcesCount.
+ */
+ int getHealthyResourcesCount();
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ java.util.List getIssueStatsList();
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ com.google.cloud.databasecenter.v1beta.IssueStats getIssueStats(int index);
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ int getIssueStatsCount();
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ java.util.List extends com.google.cloud.databasecenter.v1beta.IssueStatsOrBuilder>
+ getIssueStatsOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * List of issues stats containing count of resources having particular issue
+ * category.
+ *
+ *
+ * repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
+ */
+ com.google.cloud.databasecenter.v1beta.IssueStatsOrBuilder getIssueStatsOrBuilder(int index);
+}
diff --git a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/IssueStats.java b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/IssueStats.java
new file mode 100644
index 000000000000..f963631b955d
--- /dev/null
+++ b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/IssueStats.java
@@ -0,0 +1,1228 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/databasecenter/v1beta/service.proto
+
+// Protobuf Java Version: 3.25.8
+package com.google.cloud.databasecenter.v1beta;
+
+/**
+ *
+ *
+ *
+ * IssueStats holds stats for a particular signal category.
+ *
+ *
+ * Protobuf type {@code google.cloud.databasecenter.v1beta.IssueStats}
+ */
+public final class IssueStats extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.databasecenter.v1beta.IssueStats)
+ IssueStatsOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ // Use IssueStats.newBuilder() to construct.
+ private IssueStats(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private IssueStats() {
+ signalType_ = 0;
+ issueSeverity_ = 0;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new IssueStats();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_IssueStats_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_IssueStats_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.databasecenter.v1beta.IssueStats.class,
+ com.google.cloud.databasecenter.v1beta.IssueStats.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int SIGNAL_TYPE_FIELD_NUMBER = 1;
+ private int signalType_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Type of signal which is an issue.
+ *
+ *
+ * .google.cloud.databasecenter.v1beta.SignalType signal_type = 1;
+ *
+ * @return The enum numeric value on the wire for signalType.
+ */
+ @java.lang.Override
+ public int getSignalTypeValue() {
+ return signalType_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Type of signal which is an issue.
+ *
+ *
+ * .google.cloud.databasecenter.v1beta.SignalType signal_type = 1;
+ *
+ * @return The signalType.
+ */
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.SignalType getSignalType() {
+ com.google.cloud.databasecenter.v1beta.SignalType result =
+ com.google.cloud.databasecenter.v1beta.SignalType.forNumber(signalType_);
+ return result == null ? com.google.cloud.databasecenter.v1beta.SignalType.UNRECOGNIZED : result;
+ }
+
+ public static final int RESOURCE_COUNT_FIELD_NUMBER = 2;
+ private int resourceCount_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Number of resources having issues of a given type.
+ *
+ *
+ * int32 resource_count = 2;
+ *
+ * @return The resourceCount.
+ */
+ @java.lang.Override
+ public int getResourceCount() {
+ return resourceCount_;
+ }
+
+ public static final int DELTA_DETAILS_FIELD_NUMBER = 3;
+ private com.google.cloud.databasecenter.v1beta.DeltaDetails deltaDetails_;
+
+ /**
+ *
+ *
+ *
+ * Optional. Delta counts and details of resources for which issue was raised
+ * or fixed.
+ *
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the deltaDetails field is set.
+ */
+ @java.lang.Override
+ public boolean hasDeltaDetails() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Delta counts and details of resources for which issue was raised
+ * or fixed.
+ *
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The deltaDetails.
+ */
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.DeltaDetails getDeltaDetails() {
+ return deltaDetails_ == null
+ ? com.google.cloud.databasecenter.v1beta.DeltaDetails.getDefaultInstance()
+ : deltaDetails_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Delta counts and details of resources for which issue was raised
+ * or fixed.
+ *
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.DeltaDetailsOrBuilder getDeltaDetailsOrBuilder() {
+ return deltaDetails_ == null
+ ? com.google.cloud.databasecenter.v1beta.DeltaDetails.getDefaultInstance()
+ : deltaDetails_;
+ }
+
+ public static final int ISSUE_SEVERITY_FIELD_NUMBER = 4;
+ private int issueSeverity_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Severity of the issue.
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;
+ *
+ * @return Whether the issueSeverity field is set.
+ */
+ @java.lang.Override
+ public boolean hasIssueSeverity() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Severity of the issue.
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;
+ *
+ * @return The enum numeric value on the wire for issueSeverity.
+ */
+ @java.lang.Override
+ public int getIssueSeverityValue() {
+ return issueSeverity_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Severity of the issue.
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;
+ *
+ * @return The issueSeverity.
+ */
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.IssueSeverity getIssueSeverity() {
+ com.google.cloud.databasecenter.v1beta.IssueSeverity result =
+ com.google.cloud.databasecenter.v1beta.IssueSeverity.forNumber(issueSeverity_);
+ return result == null
+ ? com.google.cloud.databasecenter.v1beta.IssueSeverity.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 (signalType_
+ != com.google.cloud.databasecenter.v1beta.SignalType.SIGNAL_TYPE_UNSPECIFIED.getNumber()) {
+ output.writeEnum(1, signalType_);
+ }
+ if (resourceCount_ != 0) {
+ output.writeInt32(2, resourceCount_);
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(3, getDeltaDetails());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeEnum(4, issueSeverity_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (signalType_
+ != com.google.cloud.databasecenter.v1beta.SignalType.SIGNAL_TYPE_UNSPECIFIED.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, signalType_);
+ }
+ if (resourceCount_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, resourceCount_);
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDeltaDetails());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, issueSeverity_);
+ }
+ 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.cloud.databasecenter.v1beta.IssueStats)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.databasecenter.v1beta.IssueStats other =
+ (com.google.cloud.databasecenter.v1beta.IssueStats) obj;
+
+ if (signalType_ != other.signalType_) return false;
+ if (getResourceCount() != other.getResourceCount()) return false;
+ if (hasDeltaDetails() != other.hasDeltaDetails()) return false;
+ if (hasDeltaDetails()) {
+ if (!getDeltaDetails().equals(other.getDeltaDetails())) return false;
+ }
+ if (hasIssueSeverity() != other.hasIssueSeverity()) return false;
+ if (hasIssueSeverity()) {
+ if (issueSeverity_ != other.issueSeverity_) 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) + SIGNAL_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + signalType_;
+ hash = (37 * hash) + RESOURCE_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + getResourceCount();
+ if (hasDeltaDetails()) {
+ hash = (37 * hash) + DELTA_DETAILS_FIELD_NUMBER;
+ hash = (53 * hash) + getDeltaDetails().hashCode();
+ }
+ if (hasIssueSeverity()) {
+ hash = (37 * hash) + ISSUE_SEVERITY_FIELD_NUMBER;
+ hash = (53 * hash) + issueSeverity_;
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueStats parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueStats parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueStats parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueStats 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.cloud.databasecenter.v1beta.IssueStats parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueStats parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueStats parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueStats 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.cloud.databasecenter.v1beta.IssueStats parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueStats 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.cloud.databasecenter.v1beta.IssueStats parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueStats 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.cloud.databasecenter.v1beta.IssueStats 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;
+ }
+
+ /**
+ *
+ *
+ *
+ * IssueStats holds stats for a particular signal category.
+ *
+ *
+ * Protobuf type {@code google.cloud.databasecenter.v1beta.IssueStats}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.databasecenter.v1beta.IssueStats)
+ com.google.cloud.databasecenter.v1beta.IssueStatsOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_IssueStats_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_IssueStats_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.databasecenter.v1beta.IssueStats.class,
+ com.google.cloud.databasecenter.v1beta.IssueStats.Builder.class);
+ }
+
+ // Construct using com.google.cloud.databasecenter.v1beta.IssueStats.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getDeltaDetailsFieldBuilder();
+ }
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ signalType_ = 0;
+ resourceCount_ = 0;
+ deltaDetails_ = null;
+ if (deltaDetailsBuilder_ != null) {
+ deltaDetailsBuilder_.dispose();
+ deltaDetailsBuilder_ = null;
+ }
+ issueSeverity_ = 0;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.databasecenter.v1beta.ServiceProto
+ .internal_static_google_cloud_databasecenter_v1beta_IssueStats_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.IssueStats getDefaultInstanceForType() {
+ return com.google.cloud.databasecenter.v1beta.IssueStats.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.IssueStats build() {
+ com.google.cloud.databasecenter.v1beta.IssueStats result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.IssueStats buildPartial() {
+ com.google.cloud.databasecenter.v1beta.IssueStats result =
+ new com.google.cloud.databasecenter.v1beta.IssueStats(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.cloud.databasecenter.v1beta.IssueStats result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.signalType_ = signalType_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.resourceCount_ = resourceCount_;
+ }
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.deltaDetails_ =
+ deltaDetailsBuilder_ == null ? deltaDetails_ : deltaDetailsBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.issueSeverity_ = issueSeverity_;
+ to_bitField0_ |= 0x00000002;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.databasecenter.v1beta.IssueStats) {
+ return mergeFrom((com.google.cloud.databasecenter.v1beta.IssueStats) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.databasecenter.v1beta.IssueStats other) {
+ if (other == com.google.cloud.databasecenter.v1beta.IssueStats.getDefaultInstance())
+ return this;
+ if (other.signalType_ != 0) {
+ setSignalTypeValue(other.getSignalTypeValue());
+ }
+ if (other.getResourceCount() != 0) {
+ setResourceCount(other.getResourceCount());
+ }
+ if (other.hasDeltaDetails()) {
+ mergeDeltaDetails(other.getDeltaDetails());
+ }
+ if (other.hasIssueSeverity()) {
+ setIssueSeverity(other.getIssueSeverity());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ signalType_ = input.readEnum();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 8
+ case 16:
+ {
+ resourceCount_ = input.readInt32();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 16
+ case 26:
+ {
+ input.readMessage(getDeltaDetailsFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 26
+ case 32:
+ {
+ issueSeverity_ = input.readEnum();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 32
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private int signalType_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Type of signal which is an issue.
+ *
+ *
+ * .google.cloud.databasecenter.v1beta.SignalType signal_type = 1;
+ *
+ * @return The enum numeric value on the wire for signalType.
+ */
+ @java.lang.Override
+ public int getSignalTypeValue() {
+ return signalType_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Type of signal which is an issue.
+ *
+ *
+ * .google.cloud.databasecenter.v1beta.SignalType signal_type = 1;
+ *
+ * @param value The enum numeric value on the wire for signalType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSignalTypeValue(int value) {
+ signalType_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Type of signal which is an issue.
+ *
+ *
+ * .google.cloud.databasecenter.v1beta.SignalType signal_type = 1;
+ *
+ * @return The signalType.
+ */
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.SignalType getSignalType() {
+ com.google.cloud.databasecenter.v1beta.SignalType result =
+ com.google.cloud.databasecenter.v1beta.SignalType.forNumber(signalType_);
+ return result == null
+ ? com.google.cloud.databasecenter.v1beta.SignalType.UNRECOGNIZED
+ : result;
+ }
+
+ /**
+ *
+ *
+ *
+ * Type of signal which is an issue.
+ *
+ *
+ * .google.cloud.databasecenter.v1beta.SignalType signal_type = 1;
+ *
+ * @param value The signalType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSignalType(com.google.cloud.databasecenter.v1beta.SignalType value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ signalType_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Type of signal which is an issue.
+ *
+ *
+ * .google.cloud.databasecenter.v1beta.SignalType signal_type = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearSignalType() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ signalType_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int resourceCount_;
+
+ /**
+ *
+ *
+ *
+ * Number of resources having issues of a given type.
+ *
+ *
+ * int32 resource_count = 2;
+ *
+ * @return The resourceCount.
+ */
+ @java.lang.Override
+ public int getResourceCount() {
+ return resourceCount_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Number of resources having issues of a given type.
+ *
+ *
+ * int32 resource_count = 2;
+ *
+ * @param value The resourceCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setResourceCount(int value) {
+
+ resourceCount_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Number of resources having issues of a given type.
+ *
+ *
+ * int32 resource_count = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearResourceCount() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ resourceCount_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private com.google.cloud.databasecenter.v1beta.DeltaDetails deltaDetails_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.databasecenter.v1beta.DeltaDetails,
+ com.google.cloud.databasecenter.v1beta.DeltaDetails.Builder,
+ com.google.cloud.databasecenter.v1beta.DeltaDetailsOrBuilder>
+ deltaDetailsBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Optional. Delta counts and details of resources for which issue was raised
+ * or fixed.
+ *
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the deltaDetails field is set.
+ */
+ public boolean hasDeltaDetails() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Delta counts and details of resources for which issue was raised
+ * or fixed.
+ *
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The deltaDetails.
+ */
+ public com.google.cloud.databasecenter.v1beta.DeltaDetails getDeltaDetails() {
+ if (deltaDetailsBuilder_ == null) {
+ return deltaDetails_ == null
+ ? com.google.cloud.databasecenter.v1beta.DeltaDetails.getDefaultInstance()
+ : deltaDetails_;
+ } else {
+ return deltaDetailsBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Delta counts and details of resources for which issue was raised
+ * or fixed.
+ *
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setDeltaDetails(com.google.cloud.databasecenter.v1beta.DeltaDetails value) {
+ if (deltaDetailsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ deltaDetails_ = value;
+ } else {
+ deltaDetailsBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Delta counts and details of resources for which issue was raised
+ * or fixed.
+ *
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setDeltaDetails(
+ com.google.cloud.databasecenter.v1beta.DeltaDetails.Builder builderForValue) {
+ if (deltaDetailsBuilder_ == null) {
+ deltaDetails_ = builderForValue.build();
+ } else {
+ deltaDetailsBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Delta counts and details of resources for which issue was raised
+ * or fixed.
+ *
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeDeltaDetails(com.google.cloud.databasecenter.v1beta.DeltaDetails value) {
+ if (deltaDetailsBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) != 0)
+ && deltaDetails_ != null
+ && deltaDetails_
+ != com.google.cloud.databasecenter.v1beta.DeltaDetails.getDefaultInstance()) {
+ getDeltaDetailsBuilder().mergeFrom(value);
+ } else {
+ deltaDetails_ = value;
+ }
+ } else {
+ deltaDetailsBuilder_.mergeFrom(value);
+ }
+ if (deltaDetails_ != null) {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Delta counts and details of resources for which issue was raised
+ * or fixed.
+ *
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearDeltaDetails() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ deltaDetails_ = null;
+ if (deltaDetailsBuilder_ != null) {
+ deltaDetailsBuilder_.dispose();
+ deltaDetailsBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Delta counts and details of resources for which issue was raised
+ * or fixed.
+ *
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.databasecenter.v1beta.DeltaDetails.Builder getDeltaDetailsBuilder() {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return getDeltaDetailsFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Delta counts and details of resources for which issue was raised
+ * or fixed.
+ *
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.databasecenter.v1beta.DeltaDetailsOrBuilder getDeltaDetailsOrBuilder() {
+ if (deltaDetailsBuilder_ != null) {
+ return deltaDetailsBuilder_.getMessageOrBuilder();
+ } else {
+ return deltaDetails_ == null
+ ? com.google.cloud.databasecenter.v1beta.DeltaDetails.getDefaultInstance()
+ : deltaDetails_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Delta counts and details of resources for which issue was raised
+ * or fixed.
+ *
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.databasecenter.v1beta.DeltaDetails,
+ com.google.cloud.databasecenter.v1beta.DeltaDetails.Builder,
+ com.google.cloud.databasecenter.v1beta.DeltaDetailsOrBuilder>
+ getDeltaDetailsFieldBuilder() {
+ if (deltaDetailsBuilder_ == null) {
+ deltaDetailsBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.databasecenter.v1beta.DeltaDetails,
+ com.google.cloud.databasecenter.v1beta.DeltaDetails.Builder,
+ com.google.cloud.databasecenter.v1beta.DeltaDetailsOrBuilder>(
+ getDeltaDetails(), getParentForChildren(), isClean());
+ deltaDetails_ = null;
+ }
+ return deltaDetailsBuilder_;
+ }
+
+ private int issueSeverity_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Severity of the issue.
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;
+ *
+ * @return Whether the issueSeverity field is set.
+ */
+ @java.lang.Override
+ public boolean hasIssueSeverity() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Severity of the issue.
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;
+ *
+ * @return The enum numeric value on the wire for issueSeverity.
+ */
+ @java.lang.Override
+ public int getIssueSeverityValue() {
+ return issueSeverity_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Severity of the issue.
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;
+ *
+ * @param value The enum numeric value on the wire for issueSeverity to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIssueSeverityValue(int value) {
+ issueSeverity_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Severity of the issue.
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;
+ *
+ * @return The issueSeverity.
+ */
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.IssueSeverity getIssueSeverity() {
+ com.google.cloud.databasecenter.v1beta.IssueSeverity result =
+ com.google.cloud.databasecenter.v1beta.IssueSeverity.forNumber(issueSeverity_);
+ return result == null
+ ? com.google.cloud.databasecenter.v1beta.IssueSeverity.UNRECOGNIZED
+ : result;
+ }
+
+ /**
+ *
+ *
+ *
+ * Severity of the issue.
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;
+ *
+ * @param value The issueSeverity to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIssueSeverity(com.google.cloud.databasecenter.v1beta.IssueSeverity value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
+ issueSeverity_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Severity of the issue.
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearIssueSeverity() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ issueSeverity_ = 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.cloud.databasecenter.v1beta.IssueStats)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.databasecenter.v1beta.IssueStats)
+ private static final com.google.cloud.databasecenter.v1beta.IssueStats DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.databasecenter.v1beta.IssueStats();
+ }
+
+ public static com.google.cloud.databasecenter.v1beta.IssueStats getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public IssueStats parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.databasecenter.v1beta.IssueStats getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/IssueStatsOrBuilder.java b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/IssueStatsOrBuilder.java
new file mode 100644
index 000000000000..c095591eec9e
--- /dev/null
+++ b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/IssueStatsOrBuilder.java
@@ -0,0 +1,150 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/databasecenter/v1beta/service.proto
+
+// Protobuf Java Version: 3.25.8
+package com.google.cloud.databasecenter.v1beta;
+
+public interface IssueStatsOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.databasecenter.v1beta.IssueStats)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Type of signal which is an issue.
+ *
+ *
+ * .google.cloud.databasecenter.v1beta.SignalType signal_type = 1;
+ *
+ * @return The enum numeric value on the wire for signalType.
+ */
+ int getSignalTypeValue();
+
+ /**
+ *
+ *
+ *
+ * Type of signal which is an issue.
+ *
+ *
+ * .google.cloud.databasecenter.v1beta.SignalType signal_type = 1;
+ *
+ * @return The signalType.
+ */
+ com.google.cloud.databasecenter.v1beta.SignalType getSignalType();
+
+ /**
+ *
+ *
+ *
+ * Number of resources having issues of a given type.
+ *
+ *
+ * int32 resource_count = 2;
+ *
+ * @return The resourceCount.
+ */
+ int getResourceCount();
+
+ /**
+ *
+ *
+ *
+ * Optional. Delta counts and details of resources for which issue was raised
+ * or fixed.
+ *
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the deltaDetails field is set.
+ */
+ boolean hasDeltaDetails();
+
+ /**
+ *
+ *
+ *
+ * Optional. Delta counts and details of resources for which issue was raised
+ * or fixed.
+ *
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The deltaDetails.
+ */
+ com.google.cloud.databasecenter.v1beta.DeltaDetails getDeltaDetails();
+
+ /**
+ *
+ *
+ *
+ * Optional. Delta counts and details of resources for which issue was raised
+ * or fixed.
+ *
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.databasecenter.v1beta.DeltaDetailsOrBuilder getDeltaDetailsOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Severity of the issue.
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;
+ *
+ * @return Whether the issueSeverity field is set.
+ */
+ boolean hasIssueSeverity();
+
+ /**
+ *
+ *
+ *
+ * Severity of the issue.
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;
+ *
+ * @return The enum numeric value on the wire for issueSeverity.
+ */
+ int getIssueSeverityValue();
+
+ /**
+ *
+ *
+ *
+ * Severity of the issue.
+ *
+ *
+ * optional .google.cloud.databasecenter.v1beta.IssueSeverity issue_severity = 4;
+ *
+ * @return The issueSeverity.
+ */
+ com.google.cloud.databasecenter.v1beta.IssueSeverity getIssueSeverity();
+}
diff --git a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/MachineConfig.java b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/MachineConfig.java
index 31944b8102de..082e94a01194 100644
--- a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/MachineConfig.java
+++ b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/MachineConfig.java
@@ -25,7 +25,6 @@
*
* MachineConfig describes the configuration of a machine specific to a Database
* Resource.
- * NextID: 5
*
*
* Protobuf type {@code google.cloud.databasecenter.v1beta.MachineConfig}
@@ -352,7 +351,6 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* MachineConfig describes the configuration of a machine specific to a Database
* Resource.
- * NextID: 5
*
*
* Protobuf type {@code google.cloud.databasecenter.v1beta.MachineConfig}
diff --git a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/ServiceProto.java b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/ServiceProto.java
index 350e7eb75837..2dcce61e53e9 100644
--- a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/ServiceProto.java
+++ b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/java/com/google/cloud/databasecenter/v1beta/ServiceProto.java
@@ -52,6 +52,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_databasecenter_v1beta_DatabaseResource_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_databasecenter_v1beta_DatabaseResource_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsResponse_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsResponse_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_databasecenter_v1beta_IssueGroupStats_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_databasecenter_v1beta_IssueGroupStats_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_databasecenter_v1beta_IssueStats_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_databasecenter_v1beta_IssueStats_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_databasecenter_v1beta_Label_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -158,7 +174,39 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ud.databasecenter.v1beta.BackupDRConfigB\003\340A\001\022<\n"
+ "\007edition\030\022 \001(\0162+.google.cloud.databasecenter.v1beta.Edition\022R\n"
+ "\020maintenance_info\030\023"
- + " \001(\01323.google.cloud.databasecenter.v1beta.MaintenanceInfoB\003\340A\001\"3\n"
+ + " \001(\01323.google.cloud.databasecenter.v1beta.MaintenanceInfoB\003\340A\001\"\342\001\n"
+ + "\032AggregateIssueStatsRequest\022\023\n"
+ + "\006parent\030\001 \001(\tB\003\340A\002\022\023\n"
+ + "\006filter\030\002 \001(\tB\003\340A\001\022T\n"
+ + "\022signal_type_groups\030\003"
+ + " \003(\01323.google.cloud.databasecenter.v1beta.SignalTypeGroupB\003\340A\001\0222\n\r"
+ + "baseline_date\030\004"
+ + " \001(\0132\021.google.type.DateB\003\340A\001H\000\210\001\001B\020\n"
+ + "\016_baseline_date\"\313\001\n"
+ + "\033AggregateIssueStatsResponse\022N\n"
+ + "\021issue_group_stats\030\001 \003(\01323"
+ + ".google.cloud.databasecenter.v1beta.IssueGroupStats\022\035\n"
+ + "\025total_resources_count\030\002 \001(\005\022#\n"
+ + "\033total_resource_groups_count\030\003 \001(\005\022\030\n"
+ + "\013unreachable\030\004 \003(\tB\003\340A\006\"\354\001\n"
+ + "\017IssueGroupStats\022\024\n"
+ + "\014display_name\030\001 \001(\t\022\035\n"
+ + "\025resource_groups_count\030\002 \001(\005\022\027\n"
+ + "\017resources_count\030\003 \001(\005\022%\n"
+ + "\035healthy_resource_groups_count\030\004 \001(\005\022\037\n"
+ + "\027healthy_resources_count\030\005 \001(\005\022C\n"
+ + "\013issue_stats\030\006"
+ + " \003(\0132..google.cloud.databasecenter.v1beta.IssueStats\"\261\002\n\n"
+ + "IssueStats\022C\n"
+ + "\013signal_type\030\001"
+ + " \001(\0162..google.cloud.databasecenter.v1beta.SignalType\022\026\n"
+ + "\016resource_count\030\002 \001(\005\022Q\n\r"
+ + "delta_details\030\003 \001(\01320.go"
+ + "ogle.cloud.databasecenter.v1beta.DeltaDetailsB\003\340A\001H\000\210\001\001\022N\n"
+ + "\016issue_severity\030\004 \001(\0162"
+ + "1.google.cloud.databasecenter.v1beta.IssueSeverityH\001\210\001\001B\020\n"
+ + "\016_delta_detailsB\021\n"
+ + "\017_issue_severity\"3\n"
+ "\005Label\022\013\n"
+ "\003key\030\001 \001(\t\022\r\n"
+ "\005value\030\002 \001(\t\022\016\n"
@@ -174,8 +222,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ " \001(\0132\021.google.type.DateB\003\340A\001H\000\210\001\001B\020\n"
+ "\016_baseline_date\"\323\001\n"
+ "\026AggregateFleetResponse\022C\n"
- + "\004rows\030\001 \003(\01325."
- + "google.cloud.databasecenter.v1beta.AggregateFleetRow\022#\n"
+ + "\004rows\030\001"
+ + " \003(\01325.google.cloud.databasecenter.v1beta.AggregateFleetRow\022#\n"
+ "\033resource_groups_total_count\030\002 \001(\005\022\034\n"
+ "\024resource_total_count\030\003 \001(\005\022\027\n"
+ "\017next_page_token\030\004 \001(\t\022\030\n"
@@ -184,22 +232,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\tdimension\030\001 \003(\0132-.google.cloud.databasecenter.v1beta.Dimension\022\035\n"
+ "\025resource_groups_count\030\002 \001(\005\022\027\n"
+ "\017resources_count\030\003 \001(\005\022Q\n\r"
- + "delta_details\030\004"
- + " \001(\01320.google.cloud.databasecenter.v1beta.DeltaDetailsB\003\340A\001H\000\210\001\001B\020\n"
+ + "delta_details\030\004 \001(\0132"
+ + "0.google.cloud.databasecenter.v1beta.DeltaDetailsB\003\340A\001H\000\210\001\001B\020\n"
+ "\016_delta_details\"\241\006\n"
+ "\tDimension\022\023\n"
+ "\tcontainer\030\002 \001(\tH\000\022G\n"
- + "\014product_type\030\003 \001(\0162/.googl"
- + "e.cloud.databasecenter.v1beta.ProductTypeH\000\022D\n"
+ + "\014product_type\030\003"
+ + " \001(\0162/.google.cloud.databasecenter.v1beta.ProductTypeH\000\022D\n"
+ "\016product_engine\030\004"
+ " \001(\0162*.google.cloud.databasecenter.v1beta.EngineH\000\022\031\n"
+ "\017product_version\030\005 \001(\tH\000\022\022\n"
+ "\010location\030\006 \001(\tH\000\022\027\n\r"
+ "resource_type\030\007 \001(\tH\000\022P\n"
- + "\021sub_resource_type\030\010"
- + " \001(\01623.google.cloud.databasecenter.v1beta.SubResourceTypeH\000\022Q\n"
- + "\021resource_category\030\t"
- + " \001(\01624.google.cloud.databasecenter.v1beta.ResourceCategoryH\000\022M\n"
+ + "\021sub_resource_type\030\010 \001(\01623.goo"
+ + "gle.cloud.databasecenter.v1beta.SubResourceTypeH\000\022Q\n"
+ + "\021resource_category\030\t \001(\01624.g"
+ + "oogle.cloud.databasecenter.v1beta.ResourceCategoryH\000\022M\n"
+ "\017management_type\030\n"
+ " \001(\01622.google.cloud.databasecenter.v1beta.ManagementTypeH\000\022>\n"
+ "\007edition\030\013"
@@ -229,10 +277,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\007product\030\003 \001(\0132+.google.cloud.databasecenter.v1beta.Product\022\020\n"
+ "\010location\030\004 \001(\t\"\262\001\n"
+ "\014DeltaDetails\022P\n"
- + "\023increased_resources\030\001 \003(\01323.googl"
- + "e.cloud.databasecenter.v1beta.ResourceDetails\022P\n"
- + "\023decreased_resources\030\002 \003(\01323.goo"
- + "gle.cloud.databasecenter.v1beta.ResourceDetails*^\n"
+ + "\023increased_resources\030\001"
+ + " \003(\01323.google.cloud.databasecenter.v1beta.ResourceDetails\022P\n"
+ + "\023decreased_resources\030\002"
+ + " \003(\01323.google.cloud.databasecenter.v1beta.ResourceDetails*^\n"
+ "\020ResourceCategory\022!\n"
+ "\035RESOURCE_CATEGORY_UNSPECIFIED\020\000\022\014\n"
+ "\010INSTANCE\020\001\022\013\n"
@@ -253,25 +301,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\016ManagementType\022\037\n"
+ "\033MANAGEMENT_TYPE_UNSPECIFIED\020\000\022\037\n"
+ "\033MANAGEMENT_TYPE_GCP_MANAGED\020\001\022 \n"
- + "\034MANAGEMENT_TYPE_SELF_MANAGED\020\0022\224\005\n"
+ + "\034MANAGEMENT_TYPE_SELF_MANAGED\020\0022\325\006\n"
+ "\016DatabaseCenter\022\243\001\n\r"
- + "QueryProducts\0228.google.cloud.databasecenter.v1beta.QueryProd"
- + "uctsRequest\0329.google.cloud.databasecente"
- + "r.v1beta.QueryProductsResponse\"\035\202\323\344\223\002\027\022\025/v1beta:queryProducts\022\247\001\n"
- + "\016AggregateFleet\0229.google.cloud.databasecenter.v1beta.Ag"
- + "gregateFleetRequest\032:.google.cloud.datab"
- + "asecenter.v1beta.AggregateFleetResponse\"\036\202\323\344\223\002\030\022\026/v1beta:aggregateFleet\022\336\001\n"
- + "\033QueryDatabaseResourceGroups\022F.google.cloud.d"
- + "atabasecenter.v1beta.QueryDatabaseResourceGroupsRequest\032G.google.cloud.databasec"
- + "enter.v1beta.QueryDatabaseResourceGroups"
- + "Response\".\202\323\344\223\002(\"#/v1beta:queryDatabaseR"
- + "esourceGroups:\001*\032Q\312A\035databasecenter.goog"
- + "leapis.com\322A.https://www.googleapis.com/auth/cloud-platformB\372\001\n"
- + "&com.google.cloud.databasecenter.v1betaB\014ServiceProtoP\001ZN"
- + "cloud.google.com/go/databasecenter/apiv1beta/databasecenterpb;databasecenterpb\252\002"
- + "\"Google.Cloud.DatabaseCenter.V1Beta\312\002\"Go"
- + "ogle\\Cloud\\DatabaseCenter\\V1beta\352\002%Googl"
- + "e::Cloud::DatabaseCenter::V1betab\006proto3"
+ + "QueryProducts\0228.google.cloud.databasecenter.v1beta.QueryProductsRequest\0329.goog"
+ + "le.cloud.databasecenter.v1beta.QueryProd"
+ + "uctsResponse\"\035\202\323\344\223\002\027\022\025/v1beta:queryProducts\022\247\001\n"
+ + "\016AggregateFleet\0229.google.cloud.databasecenter.v1beta.AggregateFleetReques"
+ + "t\032:.google.cloud.databasecenter.v1beta.A"
+ + "ggregateFleetResponse\"\036\202\323\344\223\002\030\022\026/v1beta:aggregateFleet\022\336\001\n"
+ + "\033QueryDatabaseResourceGroups\022F.google.cloud.databasecenter.v1be"
+ + "ta.QueryDatabaseResourceGroupsRequest\032G.google.cloud.databasecenter.v1beta.Query"
+ + "DatabaseResourceGroupsResponse\".\202\323\344\223\002(\"#"
+ + "/v1beta:queryDatabaseResourceGroups:\001*\022\276\001\n"
+ + "\023AggregateIssueStats\022>.google.cloud.databasecenter.v1beta.AggregateIssueStatsR"
+ + "equest\032?.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse\"&\202\323\344\223\002"
+ + " \"\033/v1beta:aggregateIssueStats:\001*\032Q\312A\035data"
+ + "basecenter.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platformB\372\001\n"
+ + "&com.google.cloud.databasecenter.v1betaB\014S"
+ + "erviceProtoP\001ZNcloud.google.com/go/databasecenter/apiv1beta/databasecenterpb;dat"
+ + "abasecenterpb\252\002\"Google.Cloud.DatabaseCen"
+ + "ter.V1Beta\312\002\"Google\\Cloud\\DatabaseCenter"
+ + "\\V1beta\352\002%Google::Cloud::DatabaseCenter::V1betab\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -357,8 +407,45 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Edition",
"MaintenanceInfo",
});
- internal_static_google_cloud_databasecenter_v1beta_Label_descriptor =
+ internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsRequest_descriptor =
getDescriptor().getMessageTypes().get(6);
+ internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsRequest_descriptor,
+ new java.lang.String[] {
+ "Parent", "Filter", "SignalTypeGroups", "BaselineDate",
+ });
+ internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsResponse_descriptor =
+ getDescriptor().getMessageTypes().get(7);
+ internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsResponse_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_databasecenter_v1beta_AggregateIssueStatsResponse_descriptor,
+ new java.lang.String[] {
+ "IssueGroupStats", "TotalResourcesCount", "TotalResourceGroupsCount", "Unreachable",
+ });
+ internal_static_google_cloud_databasecenter_v1beta_IssueGroupStats_descriptor =
+ getDescriptor().getMessageTypes().get(8);
+ internal_static_google_cloud_databasecenter_v1beta_IssueGroupStats_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_databasecenter_v1beta_IssueGroupStats_descriptor,
+ new java.lang.String[] {
+ "DisplayName",
+ "ResourceGroupsCount",
+ "ResourcesCount",
+ "HealthyResourceGroupsCount",
+ "HealthyResourcesCount",
+ "IssueStats",
+ });
+ internal_static_google_cloud_databasecenter_v1beta_IssueStats_descriptor =
+ getDescriptor().getMessageTypes().get(9);
+ internal_static_google_cloud_databasecenter_v1beta_IssueStats_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_databasecenter_v1beta_IssueStats_descriptor,
+ new java.lang.String[] {
+ "SignalType", "ResourceCount", "DeltaDetails", "IssueSeverity",
+ });
+ internal_static_google_cloud_databasecenter_v1beta_Label_descriptor =
+ getDescriptor().getMessageTypes().get(10);
internal_static_google_cloud_databasecenter_v1beta_Label_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_databasecenter_v1beta_Label_descriptor,
@@ -366,7 +453,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Key", "Value", "Source",
});
internal_static_google_cloud_databasecenter_v1beta_AggregateFleetRequest_descriptor =
- getDescriptor().getMessageTypes().get(7);
+ getDescriptor().getMessageTypes().get(11);
internal_static_google_cloud_databasecenter_v1beta_AggregateFleetRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_databasecenter_v1beta_AggregateFleetRequest_descriptor,
@@ -374,7 +461,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Filter", "GroupBy", "OrderBy", "PageSize", "PageToken", "BaselineDate",
});
internal_static_google_cloud_databasecenter_v1beta_AggregateFleetResponse_descriptor =
- getDescriptor().getMessageTypes().get(8);
+ getDescriptor().getMessageTypes().get(12);
internal_static_google_cloud_databasecenter_v1beta_AggregateFleetResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_databasecenter_v1beta_AggregateFleetResponse_descriptor,
@@ -386,7 +473,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Unreachable",
});
internal_static_google_cloud_databasecenter_v1beta_AggregateFleetRow_descriptor =
- getDescriptor().getMessageTypes().get(9);
+ getDescriptor().getMessageTypes().get(13);
internal_static_google_cloud_databasecenter_v1beta_AggregateFleetRow_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_databasecenter_v1beta_AggregateFleetRow_descriptor,
@@ -394,7 +481,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Dimension", "ResourceGroupsCount", "ResourcesCount", "DeltaDetails",
});
internal_static_google_cloud_databasecenter_v1beta_Dimension_descriptor =
- getDescriptor().getMessageTypes().get(10);
+ getDescriptor().getMessageTypes().get(14);
internal_static_google_cloud_databasecenter_v1beta_Dimension_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_databasecenter_v1beta_Dimension_descriptor,
@@ -421,7 +508,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Dimension",
});
internal_static_google_cloud_databasecenter_v1beta_BackupDRConfig_descriptor =
- getDescriptor().getMessageTypes().get(11);
+ getDescriptor().getMessageTypes().get(15);
internal_static_google_cloud_databasecenter_v1beta_BackupDRConfig_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_databasecenter_v1beta_BackupDRConfig_descriptor,
@@ -429,7 +516,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"BackupdrManaged",
});
internal_static_google_cloud_databasecenter_v1beta_Tag_descriptor =
- getDescriptor().getMessageTypes().get(12);
+ getDescriptor().getMessageTypes().get(16);
internal_static_google_cloud_databasecenter_v1beta_Tag_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_databasecenter_v1beta_Tag_descriptor,
@@ -437,7 +524,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Key", "Value", "Source", "Inherited",
});
internal_static_google_cloud_databasecenter_v1beta_ResourceDetails_descriptor =
- getDescriptor().getMessageTypes().get(13);
+ getDescriptor().getMessageTypes().get(17);
internal_static_google_cloud_databasecenter_v1beta_ResourceDetails_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_databasecenter_v1beta_ResourceDetails_descriptor,
@@ -445,7 +532,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"FullResourceName", "Container", "Product", "Location",
});
internal_static_google_cloud_databasecenter_v1beta_DeltaDetails_descriptor =
- getDescriptor().getMessageTypes().get(14);
+ getDescriptor().getMessageTypes().get(18);
internal_static_google_cloud_databasecenter_v1beta_DeltaDetails_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_databasecenter_v1beta_DeltaDetails_descriptor,
diff --git a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/machine_config.proto b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/machine_config.proto
index ec1dfef79213..994bce966f01 100644
--- a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/machine_config.proto
+++ b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/machine_config.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -28,7 +28,6 @@ option ruby_package = "Google::Cloud::DatabaseCenter::V1beta";
// MachineConfig describes the configuration of a machine specific to a Database
// Resource.
-// NextID: 5
message MachineConfig {
// Memory size in bytes.
int64 memory_size_bytes = 2;
diff --git a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/maintenance.proto b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/maintenance.proto
index d4b5bec6802e..2ce4bb139da0 100644
--- a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/maintenance.proto
+++ b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/maintenance.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 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/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/metric_data.proto b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/metric_data.proto
index bbab749f2092..366ca91854bd 100644
--- a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/metric_data.proto
+++ b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/metric_data.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 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/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/operation_error_type.proto b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/operation_error_type.proto
index ca4daa9dffda..6503048dcb26 100644
--- a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/operation_error_type.proto
+++ b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/operation_error_type.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 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/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/product.proto b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/product.proto
index f24f5cabcddb..06dc0c71a211 100644
--- a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/product.proto
+++ b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/product.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 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/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/service.proto b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/service.proto
index 381944cb2af5..93d5e99a2e77 100644
--- a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/service.proto
+++ b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/service.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -64,6 +64,15 @@ service DatabaseCenter {
body: "*"
};
}
+
+ // AggregateIssueStats provides database resource issues statistics.
+ rpc AggregateIssueStats(AggregateIssueStatsRequest)
+ returns (AggregateIssueStatsResponse) {
+ option (google.api.http) = {
+ post: "/v1beta:aggregateIssueStats"
+ body: "*"
+ };
+ }
}
// The enum value corresponds to 'type' suffix in the resource_type field.
@@ -405,6 +414,115 @@ message DatabaseResource {
[(google.api.field_behavior) = OPTIONAL];
}
+// AggregateIssueStatsRequest represents the input to the AggregateIssueStats
+// method.
+message AggregateIssueStatsRequest {
+ // Required. Parent can be a project, a folder, or an organization. The search
+ // is limited to the resources within the `scope`.
+ //
+ // The allowed values are:
+ //
+ // * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
+ // * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
+ // * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
+ // * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ string parent = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The expression to filter resources.
+ //
+ // Supported fields are: `full_resource_name`, `resource_type`, `container`,
+ // `product.type`, `product.engine`, `product.version`, `location`,
+ // `labels`, `issues`, fields of availability_info,
+ // data_protection_info,'resource_name', etc.
+ //
+ // The expression is a list of zero or more restrictions combined via logical
+ // operators `AND` and `OR`. When `AND` and `OR` are both used in the
+ // expression, parentheses must be appropriately used to group the
+ // combinations.
+ //
+ // Example: location="us-east1"
+ // Example: container="projects/123" OR container="projects/456"
+ // Example: (container="projects/123" OR
+ // container="projects/456") AND location="us-east1"
+ string filter = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Lists of signal types that are issues.
+ repeated SignalTypeGroup signal_type_groups = 3
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The baseline date w.r.t. which the delta counts are calculated.
+ // If not set, delta counts are not included in the response and the response
+ // indicates the current state of the fleet.
+ optional google.type.Date baseline_date = 4
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The response message containing one of more group of relevant health issues
+// for database resources.
+message AggregateIssueStatsResponse {
+ // List of issue group stats where each group contains stats for resources
+ // having a particular combination of relevant issues.
+ repeated IssueGroupStats issue_group_stats = 1;
+
+ // Total count of the resources filtered in based on the user given filter.
+ int32 total_resources_count = 2;
+
+ // Total count of the resource filtered in based on the user given filter.
+ int32 total_resource_groups_count = 3;
+
+ // Unordered list. List of unreachable regions from where data could not be
+ // retrieved.
+ repeated string unreachable = 4
+ [(google.api.field_behavior) = UNORDERED_LIST];
+}
+
+// IssueGroupStats refers to stats for a particulare combination of relevant
+// health issues of database resources.
+message IssueGroupStats {
+ // Database resource level health card name. This will corresponds to one of
+ // the requested input group names.
+ string display_name = 1;
+
+ // Total count of the groups of resources returned by the filter that
+ // also have one or more resources for which any of the specified issues
+ // are applicable.
+ int32 resource_groups_count = 2;
+
+ // Total count of resources returned by the filter for which any of the
+ // specified issues are applicable.
+ int32 resources_count = 3;
+
+ // The number of resource groups from the total groups as defined above
+ // that are healthy with respect to all of the specified issues.
+ int32 healthy_resource_groups_count = 4;
+
+ // The number of resources from the total defined above in field
+ // total_resources_count that are healthy with respect to all of the specified
+ // issues.
+ int32 healthy_resources_count = 5;
+
+ // List of issues stats containing count of resources having particular issue
+ // category.
+ repeated IssueStats issue_stats = 6;
+}
+
+// IssueStats holds stats for a particular signal category.
+message IssueStats {
+ // Type of signal which is an issue.
+ SignalType signal_type = 1;
+
+ // Number of resources having issues of a given type.
+ int32 resource_count = 2;
+
+ // Optional. Delta counts and details of resources for which issue was raised
+ // or fixed.
+ optional DeltaDetails delta_details = 3
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Severity of the issue.
+ optional IssueSeverity issue_severity = 4;
+}
+
// Label is a key value pair applied to a resource.
message Label {
// The key part of the label.
diff --git a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/signals.proto b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/signals.proto
index 72a74a8f8209..c922892fd192 100644
--- a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/signals.proto
+++ b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/signals.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 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/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/suspension_reason.proto b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/suspension_reason.proto
index 7c2b9191d889..a47532a4602d 100644
--- a/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/suspension_reason.proto
+++ b/java-databasecenter/proto-google-cloud-databasecenter-v1beta/src/main/proto/google/cloud/databasecenter/v1beta/suspension_reason.proto
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 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/java-databasecenter/samples/snippets/generated/com/google/cloud/databasecenter/v1beta/databasecenter/aggregateissuestats/AsyncAggregateIssueStats.java b/java-databasecenter/samples/snippets/generated/com/google/cloud/databasecenter/v1beta/databasecenter/aggregateissuestats/AsyncAggregateIssueStats.java
new file mode 100644
index 000000000000..9d6c7721e62c
--- /dev/null
+++ b/java-databasecenter/samples/snippets/generated/com/google/cloud/databasecenter/v1beta/databasecenter/aggregateissuestats/AsyncAggregateIssueStats.java
@@ -0,0 +1,55 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.cloud.databasecenter.v1beta.samples;
+
+// [START databasecenter_v1beta_generated_DatabaseCenter_AggregateIssueStats_async]
+import com.google.api.core.ApiFuture;
+import com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest;
+import com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse;
+import com.google.cloud.databasecenter.v1beta.DatabaseCenterClient;
+import com.google.cloud.databasecenter.v1beta.SignalTypeGroup;
+import com.google.type.Date;
+import java.util.ArrayList;
+
+public class AsyncAggregateIssueStats {
+
+ public static void main(String[] args) throws Exception {
+ asyncAggregateIssueStats();
+ }
+
+ public static void asyncAggregateIssueStats() throws Exception {
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ try (DatabaseCenterClient databaseCenterClient = DatabaseCenterClient.create()) {
+ AggregateIssueStatsRequest request =
+ AggregateIssueStatsRequest.newBuilder()
+ .setParent("parent-995424086")
+ .setFilter("filter-1274492040")
+ .addAllSignalTypeGroups(new ArrayList())
+ .setBaselineDate(Date.newBuilder().build())
+ .build();
+ ApiFuture future =
+ databaseCenterClient.aggregateIssueStatsCallable().futureCall(request);
+ // Do something.
+ AggregateIssueStatsResponse response = future.get();
+ }
+ }
+}
+// [END databasecenter_v1beta_generated_DatabaseCenter_AggregateIssueStats_async]
diff --git a/java-databasecenter/samples/snippets/generated/com/google/cloud/databasecenter/v1beta/databasecenter/aggregateissuestats/SyncAggregateIssueStats.java b/java-databasecenter/samples/snippets/generated/com/google/cloud/databasecenter/v1beta/databasecenter/aggregateissuestats/SyncAggregateIssueStats.java
new file mode 100644
index 000000000000..23dd4f11d555
--- /dev/null
+++ b/java-databasecenter/samples/snippets/generated/com/google/cloud/databasecenter/v1beta/databasecenter/aggregateissuestats/SyncAggregateIssueStats.java
@@ -0,0 +1,51 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.cloud.databasecenter.v1beta.samples;
+
+// [START databasecenter_v1beta_generated_DatabaseCenter_AggregateIssueStats_sync]
+import com.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest;
+import com.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse;
+import com.google.cloud.databasecenter.v1beta.DatabaseCenterClient;
+import com.google.cloud.databasecenter.v1beta.SignalTypeGroup;
+import com.google.type.Date;
+import java.util.ArrayList;
+
+public class SyncAggregateIssueStats {
+
+ public static void main(String[] args) throws Exception {
+ syncAggregateIssueStats();
+ }
+
+ public static void syncAggregateIssueStats() throws Exception {
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ try (DatabaseCenterClient databaseCenterClient = DatabaseCenterClient.create()) {
+ AggregateIssueStatsRequest request =
+ AggregateIssueStatsRequest.newBuilder()
+ .setParent("parent-995424086")
+ .setFilter("filter-1274492040")
+ .addAllSignalTypeGroups(new ArrayList())
+ .setBaselineDate(Date.newBuilder().build())
+ .build();
+ AggregateIssueStatsResponse response = databaseCenterClient.aggregateIssueStats(request);
+ }
+ }
+}
+// [END databasecenter_v1beta_generated_DatabaseCenter_AggregateIssueStats_sync]
diff --git a/java-databasecenter/samples/snippets/generated/com/google/cloud/databasecenter/v1beta/databasecentersettings/queryproducts/SyncQueryProducts.java b/java-databasecenter/samples/snippets/generated/com/google/cloud/databasecenter/v1beta/databasecentersettings/aggregateissuestats/SyncAggregateIssueStats.java
similarity index 86%
rename from java-databasecenter/samples/snippets/generated/com/google/cloud/databasecenter/v1beta/databasecentersettings/queryproducts/SyncQueryProducts.java
rename to java-databasecenter/samples/snippets/generated/com/google/cloud/databasecenter/v1beta/databasecentersettings/aggregateissuestats/SyncAggregateIssueStats.java
index 00fe05c7b96b..05b37e44d536 100644
--- a/java-databasecenter/samples/snippets/generated/com/google/cloud/databasecenter/v1beta/databasecentersettings/queryproducts/SyncQueryProducts.java
+++ b/java-databasecenter/samples/snippets/generated/com/google/cloud/databasecenter/v1beta/databasecentersettings/aggregateissuestats/SyncAggregateIssueStats.java
@@ -16,17 +16,17 @@
package com.google.cloud.databasecenter.v1beta.samples;
-// [START databasecenter_v1beta_generated_DatabaseCenterSettings_QueryProducts_sync]
+// [START databasecenter_v1beta_generated_DatabaseCenterSettings_AggregateIssueStats_sync]
import com.google.cloud.databasecenter.v1beta.DatabaseCenterSettings;
import java.time.Duration;
-public class SyncQueryProducts {
+public class SyncAggregateIssueStats {
public static void main(String[] args) throws Exception {
- syncQueryProducts();
+ syncAggregateIssueStats();
}
- public static void syncQueryProducts() throws Exception {
+ public static void syncAggregateIssueStats() throws Exception {
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
@@ -35,10 +35,10 @@ public static void syncQueryProducts() throws Exception {
DatabaseCenterSettings.Builder databaseCenterSettingsBuilder =
DatabaseCenterSettings.newBuilder();
databaseCenterSettingsBuilder
- .queryProductsSettings()
+ .aggregateIssueStatsSettings()
.setRetrySettings(
databaseCenterSettingsBuilder
- .queryProductsSettings()
+ .aggregateIssueStatsSettings()
.getRetrySettings()
.toBuilder()
.setInitialRetryDelayDuration(Duration.ofSeconds(1))
@@ -53,4 +53,4 @@ public static void syncQueryProducts() throws Exception {
DatabaseCenterSettings databaseCenterSettings = databaseCenterSettingsBuilder.build();
}
}
-// [END databasecenter_v1beta_generated_DatabaseCenterSettings_QueryProducts_sync]
+// [END databasecenter_v1beta_generated_DatabaseCenterSettings_AggregateIssueStats_sync]
diff --git a/java-databasecenter/samples/snippets/generated/com/google/cloud/databasecenter/v1beta/stub/databasecenterstubsettings/queryproducts/SyncQueryProducts.java b/java-databasecenter/samples/snippets/generated/com/google/cloud/databasecenter/v1beta/stub/databasecenterstubsettings/aggregateissuestats/SyncAggregateIssueStats.java
similarity index 88%
rename from java-databasecenter/samples/snippets/generated/com/google/cloud/databasecenter/v1beta/stub/databasecenterstubsettings/queryproducts/SyncQueryProducts.java
rename to java-databasecenter/samples/snippets/generated/com/google/cloud/databasecenter/v1beta/stub/databasecenterstubsettings/aggregateissuestats/SyncAggregateIssueStats.java
index cdc07b9b13ce..b45e2a8112f1 100644
--- a/java-databasecenter/samples/snippets/generated/com/google/cloud/databasecenter/v1beta/stub/databasecenterstubsettings/queryproducts/SyncQueryProducts.java
+++ b/java-databasecenter/samples/snippets/generated/com/google/cloud/databasecenter/v1beta/stub/databasecenterstubsettings/aggregateissuestats/SyncAggregateIssueStats.java
@@ -16,17 +16,17 @@
package com.google.cloud.databasecenter.v1beta.stub.samples;
-// [START databasecenter_v1beta_generated_DatabaseCenterStubSettings_QueryProducts_sync]
+// [START databasecenter_v1beta_generated_DatabaseCenterStubSettings_AggregateIssueStats_sync]
import com.google.cloud.databasecenter.v1beta.stub.DatabaseCenterStubSettings;
import java.time.Duration;
-public class SyncQueryProducts {
+public class SyncAggregateIssueStats {
public static void main(String[] args) throws Exception {
- syncQueryProducts();
+ syncAggregateIssueStats();
}
- public static void syncQueryProducts() throws Exception {
+ public static void syncAggregateIssueStats() throws Exception {
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
@@ -35,10 +35,10 @@ public static void syncQueryProducts() throws Exception {
DatabaseCenterStubSettings.Builder databaseCenterSettingsBuilder =
DatabaseCenterStubSettings.newBuilder();
databaseCenterSettingsBuilder
- .queryProductsSettings()
+ .aggregateIssueStatsSettings()
.setRetrySettings(
databaseCenterSettingsBuilder
- .queryProductsSettings()
+ .aggregateIssueStatsSettings()
.getRetrySettings()
.toBuilder()
.setInitialRetryDelayDuration(Duration.ofSeconds(1))
@@ -53,4 +53,4 @@ public static void syncQueryProducts() throws Exception {
DatabaseCenterStubSettings databaseCenterSettings = databaseCenterSettingsBuilder.build();
}
}
-// [END databasecenter_v1beta_generated_DatabaseCenterStubSettings_QueryProducts_sync]
+// [END databasecenter_v1beta_generated_DatabaseCenterStubSettings_AggregateIssueStats_sync]
diff --git a/java-datacatalog/README.md b/java-datacatalog/README.md
index 94093fccd257..db43607725ea 100644
--- a/java-datacatalog/README.md
+++ b/java-datacatalog/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-datacatalog
- 1.87.0
+ 1.88.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-datacatalog:1.87.0'
+implementation 'com.google.cloud:google-cloud-datacatalog:1.88.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-datacatalog" % "1.87.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-datacatalog" % "1.88.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-datacatalog/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datacatalog.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datacatalog/1.87.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datacatalog/1.88.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-dataflow/README.md b/java-dataflow/README.md
index 700421736b3d..84c7e23e096d 100644
--- a/java-dataflow/README.md
+++ b/java-dataflow/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-dataflow
- 0.85.0
+ 0.86.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-dataflow:0.85.0'
+implementation 'com.google.cloud:google-cloud-dataflow:0.86.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-dataflow" % "0.85.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-dataflow" % "0.86.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dataflow/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataflow.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataflow/0.85.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataflow/0.86.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-dataform/README.md b/java-dataform/README.md
index 084ab5e59cb7..0d7fa4211401 100644
--- a/java-dataform/README.md
+++ b/java-dataform/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-dataform
- 0.80.0
+ 0.81.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-dataform:0.80.0'
+implementation 'com.google.cloud:google-cloud-dataform:0.81.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-dataform" % "0.80.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-dataform" % "0.81.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dataform/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataform.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataform/0.80.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataform/0.81.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-datalabeling/README.md b/java-datalabeling/README.md
index 5732b9dcfc6e..1ce3d040b0fe 100644
--- a/java-datalabeling/README.md
+++ b/java-datalabeling/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-datalabeling
- 0.201.0
+ 0.202.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-datalabeling:0.201.0'
+implementation 'com.google.cloud:google-cloud-datalabeling:0.202.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-datalabeling" % "0.201.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-datalabeling" % "0.202.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datalabeling.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalabeling/0.201.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalabeling/0.202.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-datalineage/README.md b/java-datalineage/README.md
index 373aa163b5a4..0f3694afbd09 100644
--- a/java-datalineage/README.md
+++ b/java-datalineage/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-datalineage
- 0.73.0
+ 0.74.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-datalineage:0.73.0'
+implementation 'com.google.cloud:google-cloud-datalineage:0.74.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-datalineage" % "0.73.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-datalineage" % "0.74.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-datalineage/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datalineage.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalineage/0.73.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalineage/0.74.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-datamanager/README.md b/java-datamanager/README.md
index aceb06b6fa1d..455c8733b36b 100644
--- a/java-datamanager/README.md
+++ b/java-datamanager/README.md
@@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file:
com.google.api-ads
data-manager
- 0.2.0
+ 0.3.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.api-ads:data-manager:0.2.0'
+implementation 'com.google.api-ads:data-manager:0.3.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.api-ads" % "data-manager" % "0.2.0"
+libraryDependencies += "com.google.api-ads" % "data-manager" % "0.3.0"
```
## Authentication
@@ -158,7 +158,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/data-manager/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.api-ads/data-manager.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/data-manager/0.2.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/data-manager/0.3.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-dataplex/README.md b/java-dataplex/README.md
index b0eb2c455f60..3e34de47b11c 100644
--- a/java-dataplex/README.md
+++ b/java-dataplex/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-dataplex
- 1.79.0
+ 1.80.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-dataplex:1.79.0'
+implementation 'com.google.cloud:google-cloud-dataplex:1.80.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-dataplex" % "1.79.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-dataplex" % "1.80.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dataplex/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataplex.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataplex/1.79.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataplex/1.80.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-dataproc-metastore/README.md b/java-dataproc-metastore/README.md
index 350524c742a4..db7400318cfb 100644
--- a/java-dataproc-metastore/README.md
+++ b/java-dataproc-metastore/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-dataproc-metastore
- 2.82.0
+ 2.83.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-dataproc-metastore:2.82.0'
+implementation 'com.google.cloud:google-cloud-dataproc-metastore:2.83.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-dataproc-metastore" % "2.82.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-dataproc-metastore" % "2.83.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dataproc-metastore/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataproc-metastore.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc-metastore/2.82.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc-metastore/2.83.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-dataproc/README.md b/java-dataproc/README.md
index 79116e371789..7871fd83c558 100644
--- a/java-dataproc/README.md
+++ b/java-dataproc/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-dataproc
- 4.78.0
+ 4.79.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-dataproc:4.78.0'
+implementation 'com.google.cloud:google-cloud-dataproc:4.79.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "4.78.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "4.79.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dataproc/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataproc.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc/4.78.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc/4.79.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-datastream/README.md b/java-datastream/README.md
index ca588d9b6099..63616dff1dec 100644
--- a/java-datastream/README.md
+++ b/java-datastream/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-datastream
- 1.80.0
+ 1.81.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-datastream:1.80.0'
+implementation 'com.google.cloud:google-cloud-datastream:1.81.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-datastream" % "1.80.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-datastream" % "1.81.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-datastream/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datastream.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastream/1.80.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastream/1.81.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-deploy/README.md b/java-deploy/README.md
index 8703de7c52d9..2daacd7146ee 100644
--- a/java-deploy/README.md
+++ b/java-deploy/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-deploy
- 1.79.0
+ 1.80.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-deploy:1.79.0'
+implementation 'com.google.cloud:google-cloud-deploy:1.80.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-deploy" % "1.79.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-deploy" % "1.80.0"
```
## Authentication
@@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-deploy/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-deploy.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.79.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.80.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-developerconnect/README.md b/java-developerconnect/README.md
index dfd33a912d3f..ea64b7d23aae 100644
--- a/java-developerconnect/README.md
+++ b/java-developerconnect/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-developerconnect
- 0.38.0
+ 0.39.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-developerconnect:0.38.0'
+implementation 'com.google.cloud:google-cloud-developerconnect:0.39.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-developerconnect" % "0.38.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-developerconnect" % "0.39.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-developerconnect/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-developerconnect.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-developerconnect/0.38.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-developerconnect/0.39.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-devicestreaming/README.md b/java-devicestreaming/README.md
index 797dc0f45346..448480d6a16c 100644
--- a/java-devicestreaming/README.md
+++ b/java-devicestreaming/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-devicestreaming
- 0.21.0
+ 0.22.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-devicestreaming:0.21.0'
+implementation 'com.google.cloud:google-cloud-devicestreaming:0.22.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-devicestreaming" % "0.21.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-devicestreaming" % "0.22.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-devicestreaming/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-devicestreaming.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-devicestreaming/0.21.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-devicestreaming/0.22.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-dialogflow-cx/README.md b/java-dialogflow-cx/README.md
index c160254af60f..bc34c57aa901 100644
--- a/java-dialogflow-cx/README.md
+++ b/java-dialogflow-cx/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.73.0
+ 26.74.0
pom
import
@@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-dialogflow-cx
- 0.92.0
+ 0.93.0
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-dialogflow-cx:0.92.0'
+implementation 'com.google.cloud:google-cloud-dialogflow-cx:0.93.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow-cx" % "0.92.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow-cx" % "0.93.0"
```
## Authentication
@@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dialogflow-cx/latest/overview
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dialogflow-cx.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow-cx/0.92.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow-cx/0.93.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/ExamplesClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/ExamplesClient.java
new file mode 100644
index 000000000000..7b0a23a13828
--- /dev/null
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/ExamplesClient.java
@@ -0,0 +1,1245 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.cloud.dialogflow.cx.v3;
+
+import com.google.api.core.ApiFuture;
+import com.google.api.core.ApiFutures;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.paging.AbstractFixedSizeCollection;
+import com.google.api.gax.paging.AbstractPage;
+import com.google.api.gax.paging.AbstractPagedListResponse;
+import com.google.api.gax.rpc.PageContext;
+import com.google.api.gax.rpc.UnaryCallable;
+import com.google.cloud.dialogflow.cx.v3.stub.ExamplesStub;
+import com.google.cloud.dialogflow.cx.v3.stub.ExamplesStubSettings;
+import com.google.cloud.location.GetLocationRequest;
+import com.google.cloud.location.ListLocationsRequest;
+import com.google.cloud.location.ListLocationsResponse;
+import com.google.cloud.location.Location;
+import com.google.common.util.concurrent.MoreExecutors;
+import com.google.protobuf.Empty;
+import com.google.protobuf.FieldMask;
+import java.io.IOException;
+import java.util.List;
+import java.util.concurrent.TimeUnit;
+import javax.annotation.Generated;
+
+// AUTO-GENERATED DOCUMENTATION AND CLASS.
+/**
+ * Service Description: Service for managing [Examples][google.cloud.dialogflow.cx.v3.Example].
+ *
+ * This class provides the ability to make remote calls to the backing service through method
+ * calls that map to API methods. Sample code to get started:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * PlaybookName parent = PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]");
+ * Example example = Example.newBuilder().build();
+ * Example response = examplesClient.createExample(parent, example);
+ * }
+ * }
+ *
+ * Note: close() needs to be called on the ExamplesClient object to clean up resources such as
+ * threads. In the example above, try-with-resources is used, which automatically calls close().
+ *
+ *
+ * Methods
+ *
+ * Method
+ * Description
+ * Method Variants
+ *
+ *
+ * CreateExample
+ * Creates an example in the specified playbook.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * createExample(CreateExampleRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * createExample(PlaybookName parent, Example example)
+ *
createExample(String parent, Example example)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * createExampleCallable()
+ *
+ *
+ *
+ *
+ * DeleteExample
+ * Deletes the specified example.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * deleteExample(DeleteExampleRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * deleteExample(ExampleName name)
+ *
deleteExample(String name)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * deleteExampleCallable()
+ *
+ *
+ *
+ *
+ * ListExamples
+ * Returns a list of examples in the specified playbook.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * listExamples(ListExamplesRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * listExamples(PlaybookName parent)
+ *
listExamples(String parent)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * listExamplesPagedCallable()
+ *
listExamplesCallable()
+ *
+ *
+ *
+ *
+ * GetExample
+ * Retrieves the specified example.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * getExample(GetExampleRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * getExample(ExampleName name)
+ *
getExample(String name)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * getExampleCallable()
+ *
+ *
+ *
+ *
+ * UpdateExample
+ * Update the specified example.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * updateExample(UpdateExampleRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * updateExample(Example example, FieldMask updateMask)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * updateExampleCallable()
+ *
+ *
+ *
+ *
+ * ListLocations
+ * Lists information about the supported locations for this service.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * listLocations(ListLocationsRequest request)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * listLocationsPagedCallable()
+ *
listLocationsCallable()
+ *
+ *
+ *
+ *
+ * GetLocation
+ * Gets information about a location.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * getLocation(GetLocationRequest request)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * getLocationCallable()
+ *
+ *
+ *
+ *
+ *
+ * See the individual methods for example code.
+ *
+ *
Many parameters require resource names to be formatted in a particular way. To assist with
+ * these names, this class includes a format method for each type of name, and additionally a parse
+ * method to extract the individual identifiers contained within names that are returned.
+ *
+ *
This class can be customized by passing in a custom instance of ExamplesSettings to create().
+ * For example:
+ *
+ *
To customize credentials:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * ExamplesSettings examplesSettings =
+ * ExamplesSettings.newBuilder()
+ * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ * .build();
+ * ExamplesClient examplesClient = ExamplesClient.create(examplesSettings);
+ * }
+ *
+ * To customize the endpoint:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * ExamplesSettings examplesSettings =
+ * ExamplesSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * ExamplesClient examplesClient = ExamplesClient.create(examplesSettings);
+ * }
+ *
+ * To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over
+ * the wire:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * ExamplesSettings examplesSettings = ExamplesSettings.newHttpJsonBuilder().build();
+ * ExamplesClient examplesClient = ExamplesClient.create(examplesSettings);
+ * }
+ *
+ * Please refer to the GitHub repository's samples for more quickstart code snippets.
+ */
+@Generated("by gapic-generator-java")
+public class ExamplesClient implements BackgroundResource {
+ private final ExamplesSettings settings;
+ private final ExamplesStub stub;
+
+ /** Constructs an instance of ExamplesClient with default settings. */
+ public static final ExamplesClient create() throws IOException {
+ return create(ExamplesSettings.newBuilder().build());
+ }
+
+ /**
+ * Constructs an instance of ExamplesClient, using the given settings. The channels are created
+ * based on the settings passed in, or defaults for any settings that are not set.
+ */
+ public static final ExamplesClient create(ExamplesSettings settings) throws IOException {
+ return new ExamplesClient(settings);
+ }
+
+ /**
+ * Constructs an instance of ExamplesClient, using the given stub for making calls. This is for
+ * advanced usage - prefer using create(ExamplesSettings).
+ */
+ public static final ExamplesClient create(ExamplesStub stub) {
+ return new ExamplesClient(stub);
+ }
+
+ /**
+ * Constructs an instance of ExamplesClient, using the given settings. This is protected so that
+ * it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
+ */
+ protected ExamplesClient(ExamplesSettings settings) throws IOException {
+ this.settings = settings;
+ this.stub = ((ExamplesStubSettings) settings.getStubSettings()).createStub();
+ }
+
+ protected ExamplesClient(ExamplesStub stub) {
+ this.settings = null;
+ this.stub = stub;
+ }
+
+ public final ExamplesSettings getSettings() {
+ return settings;
+ }
+
+ public ExamplesStub getStub() {
+ return stub;
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates an example in the specified playbook.
+ *
+ *
Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * PlaybookName parent = PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]");
+ * Example example = Example.newBuilder().build();
+ * Example response = examplesClient.createExample(parent, example);
+ * }
+ * }
+ *
+ * @param parent Required. The playbook to create an example for. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ * @param example Required. The example to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Example createExample(PlaybookName parent, Example example) {
+ CreateExampleRequest request =
+ CreateExampleRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .setExample(example)
+ .build();
+ return createExample(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates an example in the specified playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * String parent =
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString();
+ * Example example = Example.newBuilder().build();
+ * Example response = examplesClient.createExample(parent, example);
+ * }
+ * }
+ *
+ * @param parent Required. The playbook to create an example for. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ * @param example Required. The example to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Example createExample(String parent, Example example) {
+ CreateExampleRequest request =
+ CreateExampleRequest.newBuilder().setParent(parent).setExample(example).build();
+ return createExample(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates an example in the specified playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * CreateExampleRequest request =
+ * CreateExampleRequest.newBuilder()
+ * .setParent(
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString())
+ * .setExample(Example.newBuilder().build())
+ * .build();
+ * Example response = examplesClient.createExample(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Example createExample(CreateExampleRequest request) {
+ return createExampleCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates an example in the specified playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * CreateExampleRequest request =
+ * CreateExampleRequest.newBuilder()
+ * .setParent(
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString())
+ * .setExample(Example.newBuilder().build())
+ * .build();
+ * ApiFuture future = examplesClient.createExampleCallable().futureCall(request);
+ * // Do something.
+ * Example response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable createExampleCallable() {
+ return stub.createExampleCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes the specified example.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * ExampleName name =
+ * ExampleName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[EXAMPLE]");
+ * examplesClient.deleteExample(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the example to delete. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/examples/<ExampleID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteExample(ExampleName name) {
+ DeleteExampleRequest request =
+ DeleteExampleRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ deleteExample(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes the specified example.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * String name =
+ * ExampleName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[EXAMPLE]")
+ * .toString();
+ * examplesClient.deleteExample(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the example to delete. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/examples/<ExampleID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteExample(String name) {
+ DeleteExampleRequest request = DeleteExampleRequest.newBuilder().setName(name).build();
+ deleteExample(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes the specified example.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * DeleteExampleRequest request =
+ * DeleteExampleRequest.newBuilder()
+ * .setName(
+ * ExampleName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[EXAMPLE]")
+ * .toString())
+ * .build();
+ * examplesClient.deleteExample(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteExample(DeleteExampleRequest request) {
+ deleteExampleCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes the specified example.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * DeleteExampleRequest request =
+ * DeleteExampleRequest.newBuilder()
+ * .setName(
+ * ExampleName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[EXAMPLE]")
+ * .toString())
+ * .build();
+ * ApiFuture future = examplesClient.deleteExampleCallable().futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable deleteExampleCallable() {
+ return stub.deleteExampleCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Returns a list of examples in the specified playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * PlaybookName parent = PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]");
+ * for (Example element : examplesClient.listExamples(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The playbook to list the examples from. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListExamplesPagedResponse listExamples(PlaybookName parent) {
+ ListExamplesRequest request =
+ ListExamplesRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listExamples(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Returns a list of examples in the specified playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * String parent =
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString();
+ * for (Example element : examplesClient.listExamples(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The playbook to list the examples from. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListExamplesPagedResponse listExamples(String parent) {
+ ListExamplesRequest request = ListExamplesRequest.newBuilder().setParent(parent).build();
+ return listExamples(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Returns a list of examples in the specified playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * ListExamplesRequest request =
+ * ListExamplesRequest.newBuilder()
+ * .setParent(
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setLanguageCode("languageCode-2092349083")
+ * .build();
+ * for (Example element : examplesClient.listExamples(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListExamplesPagedResponse listExamples(ListExamplesRequest request) {
+ return listExamplesPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Returns a list of examples in the specified playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * ListExamplesRequest request =
+ * ListExamplesRequest.newBuilder()
+ * .setParent(
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setLanguageCode("languageCode-2092349083")
+ * .build();
+ * ApiFuture future = examplesClient.listExamplesPagedCallable().futureCall(request);
+ * // Do something.
+ * for (Example element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listExamplesPagedCallable() {
+ return stub.listExamplesPagedCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Returns a list of examples in the specified playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * ListExamplesRequest request =
+ * ListExamplesRequest.newBuilder()
+ * .setParent(
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setLanguageCode("languageCode-2092349083")
+ * .build();
+ * while (true) {
+ * ListExamplesResponse response = examplesClient.listExamplesCallable().call(request);
+ * for (Example element : response.getExamplesList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable listExamplesCallable() {
+ return stub.listExamplesCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Retrieves the specified example.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * ExampleName name =
+ * ExampleName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[EXAMPLE]");
+ * Example response = examplesClient.getExample(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the example. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/examples/<ExampleID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Example getExample(ExampleName name) {
+ GetExampleRequest request =
+ GetExampleRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ return getExample(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Retrieves the specified example.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * String name =
+ * ExampleName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[EXAMPLE]")
+ * .toString();
+ * Example response = examplesClient.getExample(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the example. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/examples/<ExampleID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Example getExample(String name) {
+ GetExampleRequest request = GetExampleRequest.newBuilder().setName(name).build();
+ return getExample(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Retrieves the specified example.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * GetExampleRequest request =
+ * GetExampleRequest.newBuilder()
+ * .setName(
+ * ExampleName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[EXAMPLE]")
+ * .toString())
+ * .build();
+ * Example response = examplesClient.getExample(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Example getExample(GetExampleRequest request) {
+ return getExampleCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Retrieves the specified example.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * GetExampleRequest request =
+ * GetExampleRequest.newBuilder()
+ * .setName(
+ * ExampleName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[EXAMPLE]")
+ * .toString())
+ * .build();
+ * ApiFuture future = examplesClient.getExampleCallable().futureCall(request);
+ * // Do something.
+ * Example response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable getExampleCallable() {
+ return stub.getExampleCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Update the specified example.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * Example example = Example.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * Example response = examplesClient.updateExample(example, updateMask);
+ * }
+ * }
+ *
+ * @param example Required. The example to update.
+ * @param updateMask Optional. The mask to control which fields get updated. If the mask is not
+ * present, all fields will be updated.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Example updateExample(Example example, FieldMask updateMask) {
+ UpdateExampleRequest request =
+ UpdateExampleRequest.newBuilder().setExample(example).setUpdateMask(updateMask).build();
+ return updateExample(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Update the specified example.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * UpdateExampleRequest request =
+ * UpdateExampleRequest.newBuilder()
+ * .setExample(Example.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * Example response = examplesClient.updateExample(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Example updateExample(UpdateExampleRequest request) {
+ return updateExampleCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Update the specified example.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * UpdateExampleRequest request =
+ * UpdateExampleRequest.newBuilder()
+ * .setExample(Example.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture future = examplesClient.updateExampleCallable().futureCall(request);
+ * // Do something.
+ * Example response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable updateExampleCallable() {
+ return stub.updateExampleCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists information about the supported locations for this service.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (Location element : examplesClient.listLocations(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListLocationsPagedResponse listLocations(ListLocationsRequest request) {
+ return listLocationsPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists information about the supported locations for this service.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future = examplesClient.listLocationsPagedCallable().futureCall(request);
+ * // Do something.
+ * for (Location element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listLocationsPagedCallable() {
+ return stub.listLocationsPagedCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists information about the supported locations for this service.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListLocationsResponse response = examplesClient.listLocationsCallable().call(request);
+ * for (Location element : response.getLocationsList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable listLocationsCallable() {
+ return stub.listLocationsCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets information about a location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+ * Location response = examplesClient.getLocation(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Location getLocation(GetLocationRequest request) {
+ return getLocationCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets information about a location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ExamplesClient examplesClient = ExamplesClient.create()) {
+ * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+ * ApiFuture future = examplesClient.getLocationCallable().futureCall(request);
+ * // Do something.
+ * Location response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable getLocationCallable() {
+ return stub.getLocationCallable();
+ }
+
+ @Override
+ public final void close() {
+ stub.close();
+ }
+
+ @Override
+ public void shutdown() {
+ stub.shutdown();
+ }
+
+ @Override
+ public boolean isShutdown() {
+ return stub.isShutdown();
+ }
+
+ @Override
+ public boolean isTerminated() {
+ return stub.isTerminated();
+ }
+
+ @Override
+ public void shutdownNow() {
+ stub.shutdownNow();
+ }
+
+ @Override
+ public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException {
+ return stub.awaitTermination(duration, unit);
+ }
+
+ public static class ListExamplesPagedResponse
+ extends AbstractPagedListResponse<
+ ListExamplesRequest,
+ ListExamplesResponse,
+ Example,
+ ListExamplesPage,
+ ListExamplesFixedSizeCollection> {
+
+ public static ApiFuture createAsync(
+ PageContext context,
+ ApiFuture futureResponse) {
+ ApiFuture futurePage =
+ ListExamplesPage.createEmptyPage().createPageAsync(context, futureResponse);
+ return ApiFutures.transform(
+ futurePage,
+ input -> new ListExamplesPagedResponse(input),
+ MoreExecutors.directExecutor());
+ }
+
+ private ListExamplesPagedResponse(ListExamplesPage page) {
+ super(page, ListExamplesFixedSizeCollection.createEmptyCollection());
+ }
+ }
+
+ public static class ListExamplesPage
+ extends AbstractPage {
+
+ private ListExamplesPage(
+ PageContext context,
+ ListExamplesResponse response) {
+ super(context, response);
+ }
+
+ private static ListExamplesPage createEmptyPage() {
+ return new ListExamplesPage(null, null);
+ }
+
+ @Override
+ protected ListExamplesPage createPage(
+ PageContext context,
+ ListExamplesResponse response) {
+ return new ListExamplesPage(context, response);
+ }
+
+ @Override
+ public ApiFuture createPageAsync(
+ PageContext context,
+ ApiFuture futureResponse) {
+ return super.createPageAsync(context, futureResponse);
+ }
+ }
+
+ public static class ListExamplesFixedSizeCollection
+ extends AbstractFixedSizeCollection<
+ ListExamplesRequest,
+ ListExamplesResponse,
+ Example,
+ ListExamplesPage,
+ ListExamplesFixedSizeCollection> {
+
+ private ListExamplesFixedSizeCollection(List pages, int collectionSize) {
+ super(pages, collectionSize);
+ }
+
+ private static ListExamplesFixedSizeCollection createEmptyCollection() {
+ return new ListExamplesFixedSizeCollection(null, 0);
+ }
+
+ @Override
+ protected ListExamplesFixedSizeCollection createCollection(
+ List pages, int collectionSize) {
+ return new ListExamplesFixedSizeCollection(pages, collectionSize);
+ }
+ }
+
+ public static class ListLocationsPagedResponse
+ extends AbstractPagedListResponse<
+ ListLocationsRequest,
+ ListLocationsResponse,
+ Location,
+ ListLocationsPage,
+ ListLocationsFixedSizeCollection> {
+
+ public static ApiFuture createAsync(
+ PageContext context,
+ ApiFuture futureResponse) {
+ ApiFuture futurePage =
+ ListLocationsPage.createEmptyPage().createPageAsync(context, futureResponse);
+ return ApiFutures.transform(
+ futurePage,
+ input -> new ListLocationsPagedResponse(input),
+ MoreExecutors.directExecutor());
+ }
+
+ private ListLocationsPagedResponse(ListLocationsPage page) {
+ super(page, ListLocationsFixedSizeCollection.createEmptyCollection());
+ }
+ }
+
+ public static class ListLocationsPage
+ extends AbstractPage<
+ ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage> {
+
+ private ListLocationsPage(
+ PageContext context,
+ ListLocationsResponse response) {
+ super(context, response);
+ }
+
+ private static ListLocationsPage createEmptyPage() {
+ return new ListLocationsPage(null, null);
+ }
+
+ @Override
+ protected ListLocationsPage createPage(
+ PageContext context,
+ ListLocationsResponse response) {
+ return new ListLocationsPage(context, response);
+ }
+
+ @Override
+ public ApiFuture createPageAsync(
+ PageContext context,
+ ApiFuture futureResponse) {
+ return super.createPageAsync(context, futureResponse);
+ }
+ }
+
+ public static class ListLocationsFixedSizeCollection
+ extends AbstractFixedSizeCollection<
+ ListLocationsRequest,
+ ListLocationsResponse,
+ Location,
+ ListLocationsPage,
+ ListLocationsFixedSizeCollection> {
+
+ private ListLocationsFixedSizeCollection(List pages, int collectionSize) {
+ super(pages, collectionSize);
+ }
+
+ private static ListLocationsFixedSizeCollection createEmptyCollection() {
+ return new ListLocationsFixedSizeCollection(null, 0);
+ }
+
+ @Override
+ protected ListLocationsFixedSizeCollection createCollection(
+ List pages, int collectionSize) {
+ return new ListLocationsFixedSizeCollection(pages, collectionSize);
+ }
+ }
+}
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/ExamplesSettings.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/ExamplesSettings.java
new file mode 100644
index 000000000000..4636cbbfab8c
--- /dev/null
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/ExamplesSettings.java
@@ -0,0 +1,288 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.cloud.dialogflow.cx.v3;
+
+import static com.google.cloud.dialogflow.cx.v3.ExamplesClient.ListExamplesPagedResponse;
+import static com.google.cloud.dialogflow.cx.v3.ExamplesClient.ListLocationsPagedResponse;
+
+import com.google.api.core.ApiFunction;
+import com.google.api.core.BetaApi;
+import com.google.api.gax.core.GoogleCredentialsProvider;
+import com.google.api.gax.core.InstantiatingExecutorProvider;
+import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider;
+import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider;
+import com.google.api.gax.rpc.ApiClientHeaderProvider;
+import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.ClientSettings;
+import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.TransportChannelProvider;
+import com.google.api.gax.rpc.UnaryCallSettings;
+import com.google.cloud.dialogflow.cx.v3.stub.ExamplesStubSettings;
+import com.google.cloud.location.GetLocationRequest;
+import com.google.cloud.location.ListLocationsRequest;
+import com.google.cloud.location.ListLocationsResponse;
+import com.google.cloud.location.Location;
+import com.google.protobuf.Empty;
+import java.io.IOException;
+import java.util.List;
+import javax.annotation.Generated;
+
+// AUTO-GENERATED DOCUMENTATION AND CLASS.
+/**
+ * Settings class to configure an instance of {@link ExamplesClient}.
+ *
+ * The default instance has everything set to sensible defaults:
+ *
+ *
+ * - The default service address (dialogflow.googleapis.com) and default port (443) are used.
+ *
- Credentials are acquired automatically through Application Default Credentials.
+ *
- Retries are configured for idempotent methods but not for non-idempotent methods.
+ *
+ *
+ * The builder of this class is recursive, so contained classes are themselves builders. When
+ * build() is called, the tree of builders is called to create the complete settings object.
+ *
+ *
For example, to set the
+ * [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings)
+ * of createExample:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * ExamplesSettings.Builder examplesSettingsBuilder = ExamplesSettings.newBuilder();
+ * examplesSettingsBuilder
+ * .createExampleSettings()
+ * .setRetrySettings(
+ * examplesSettingsBuilder
+ * .createExampleSettings()
+ * .getRetrySettings()
+ * .toBuilder()
+ * .setInitialRetryDelayDuration(Duration.ofSeconds(1))
+ * .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
+ * .setMaxAttempts(5)
+ * .setMaxRetryDelayDuration(Duration.ofSeconds(30))
+ * .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
+ * .setRetryDelayMultiplier(1.3)
+ * .setRpcTimeoutMultiplier(1.5)
+ * .setTotalTimeoutDuration(Duration.ofSeconds(300))
+ * .build());
+ * ExamplesSettings examplesSettings = examplesSettingsBuilder.build();
+ * }
+ *
+ * Please refer to the [Client Side Retry
+ * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting
+ * retries.
+ */
+@Generated("by gapic-generator-java")
+public class ExamplesSettings extends ClientSettings {
+
+ /** Returns the object with the settings used for calls to createExample. */
+ public UnaryCallSettings createExampleSettings() {
+ return ((ExamplesStubSettings) getStubSettings()).createExampleSettings();
+ }
+
+ /** Returns the object with the settings used for calls to deleteExample. */
+ public UnaryCallSettings deleteExampleSettings() {
+ return ((ExamplesStubSettings) getStubSettings()).deleteExampleSettings();
+ }
+
+ /** Returns the object with the settings used for calls to listExamples. */
+ public PagedCallSettings
+ listExamplesSettings() {
+ return ((ExamplesStubSettings) getStubSettings()).listExamplesSettings();
+ }
+
+ /** Returns the object with the settings used for calls to getExample. */
+ public UnaryCallSettings getExampleSettings() {
+ return ((ExamplesStubSettings) getStubSettings()).getExampleSettings();
+ }
+
+ /** Returns the object with the settings used for calls to updateExample. */
+ public UnaryCallSettings updateExampleSettings() {
+ return ((ExamplesStubSettings) getStubSettings()).updateExampleSettings();
+ }
+
+ /** Returns the object with the settings used for calls to listLocations. */
+ public PagedCallSettings
+ listLocationsSettings() {
+ return ((ExamplesStubSettings) getStubSettings()).listLocationsSettings();
+ }
+
+ /** Returns the object with the settings used for calls to getLocation. */
+ public UnaryCallSettings getLocationSettings() {
+ return ((ExamplesStubSettings) getStubSettings()).getLocationSettings();
+ }
+
+ public static final ExamplesSettings create(ExamplesStubSettings stub) throws IOException {
+ return new ExamplesSettings.Builder(stub.toBuilder()).build();
+ }
+
+ /** Returns a builder for the default ExecutorProvider for this service. */
+ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() {
+ return ExamplesStubSettings.defaultExecutorProviderBuilder();
+ }
+
+ /** Returns the default service endpoint. */
+ public static String getDefaultEndpoint() {
+ return ExamplesStubSettings.getDefaultEndpoint();
+ }
+
+ /** Returns the default service scopes. */
+ public static List getDefaultServiceScopes() {
+ return ExamplesStubSettings.getDefaultServiceScopes();
+ }
+
+ /** Returns a builder for the default credentials for this service. */
+ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
+ return ExamplesStubSettings.defaultCredentialsProviderBuilder();
+ }
+
+ /** Returns a builder for the default gRPC ChannelProvider for this service. */
+ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() {
+ return ExamplesStubSettings.defaultGrpcTransportProviderBuilder();
+ }
+
+ /** Returns a builder for the default REST ChannelProvider for this service. */
+ @BetaApi
+ public static InstantiatingHttpJsonChannelProvider.Builder
+ defaultHttpJsonTransportProviderBuilder() {
+ return ExamplesStubSettings.defaultHttpJsonTransportProviderBuilder();
+ }
+
+ public static TransportChannelProvider defaultTransportChannelProvider() {
+ return ExamplesStubSettings.defaultTransportChannelProvider();
+ }
+
+ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
+ return ExamplesStubSettings.defaultApiClientHeaderProviderBuilder();
+ }
+
+ /** Returns a new gRPC builder for this class. */
+ public static Builder newBuilder() {
+ return Builder.createDefault();
+ }
+
+ /** Returns a new REST builder for this class. */
+ public static Builder newHttpJsonBuilder() {
+ return Builder.createHttpJsonDefault();
+ }
+
+ /** Returns a new builder for this class. */
+ public static Builder newBuilder(ClientContext clientContext) {
+ return new Builder(clientContext);
+ }
+
+ /** Returns a builder containing all the values of this settings class. */
+ public Builder toBuilder() {
+ return new Builder(this);
+ }
+
+ protected ExamplesSettings(Builder settingsBuilder) throws IOException {
+ super(settingsBuilder);
+ }
+
+ /** Builder for ExamplesSettings. */
+ public static class Builder extends ClientSettings.Builder {
+
+ protected Builder() throws IOException {
+ this(((ClientContext) null));
+ }
+
+ protected Builder(ClientContext clientContext) {
+ super(ExamplesStubSettings.newBuilder(clientContext));
+ }
+
+ protected Builder(ExamplesSettings settings) {
+ super(settings.getStubSettings().toBuilder());
+ }
+
+ protected Builder(ExamplesStubSettings.Builder stubSettings) {
+ super(stubSettings);
+ }
+
+ private static Builder createDefault() {
+ return new Builder(ExamplesStubSettings.newBuilder());
+ }
+
+ private static Builder createHttpJsonDefault() {
+ return new Builder(ExamplesStubSettings.newHttpJsonBuilder());
+ }
+
+ public ExamplesStubSettings.Builder getStubSettingsBuilder() {
+ return ((ExamplesStubSettings.Builder) getStubSettings());
+ }
+
+ /**
+ * Applies the given settings updater function to all of the unary API methods in this service.
+ *
+ * Note: This method does not support applying settings to streaming methods.
+ */
+ public Builder applyToAllUnaryMethods(
+ ApiFunction, Void> settingsUpdater) {
+ super.applyToAllUnaryMethods(
+ getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater);
+ return this;
+ }
+
+ /** Returns the builder for the settings used for calls to createExample. */
+ public UnaryCallSettings.Builder createExampleSettings() {
+ return getStubSettingsBuilder().createExampleSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to deleteExample. */
+ public UnaryCallSettings.Builder deleteExampleSettings() {
+ return getStubSettingsBuilder().deleteExampleSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to listExamples. */
+ public PagedCallSettings.Builder<
+ ListExamplesRequest, ListExamplesResponse, ListExamplesPagedResponse>
+ listExamplesSettings() {
+ return getStubSettingsBuilder().listExamplesSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to getExample. */
+ public UnaryCallSettings.Builder getExampleSettings() {
+ return getStubSettingsBuilder().getExampleSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to updateExample. */
+ public UnaryCallSettings.Builder updateExampleSettings() {
+ return getStubSettingsBuilder().updateExampleSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to listLocations. */
+ public PagedCallSettings.Builder<
+ ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
+ listLocationsSettings() {
+ return getStubSettingsBuilder().listLocationsSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to getLocation. */
+ public UnaryCallSettings.Builder getLocationSettings() {
+ return getStubSettingsBuilder().getLocationSettings();
+ }
+
+ @Override
+ public ExamplesSettings build() throws IOException {
+ return new ExamplesSettings(this);
+ }
+ }
+}
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/PlaybooksClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/PlaybooksClient.java
new file mode 100644
index 000000000000..b557a6dbb20f
--- /dev/null
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/PlaybooksClient.java
@@ -0,0 +1,2333 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.cloud.dialogflow.cx.v3;
+
+import com.google.api.core.ApiFuture;
+import com.google.api.core.ApiFutures;
+import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.httpjson.longrunning.OperationsClient;
+import com.google.api.gax.longrunning.OperationFuture;
+import com.google.api.gax.paging.AbstractFixedSizeCollection;
+import com.google.api.gax.paging.AbstractPage;
+import com.google.api.gax.paging.AbstractPagedListResponse;
+import com.google.api.gax.rpc.OperationCallable;
+import com.google.api.gax.rpc.PageContext;
+import com.google.api.gax.rpc.UnaryCallable;
+import com.google.cloud.dialogflow.cx.v3.stub.PlaybooksStub;
+import com.google.cloud.dialogflow.cx.v3.stub.PlaybooksStubSettings;
+import com.google.cloud.location.GetLocationRequest;
+import com.google.cloud.location.ListLocationsRequest;
+import com.google.cloud.location.ListLocationsResponse;
+import com.google.cloud.location.Location;
+import com.google.common.util.concurrent.MoreExecutors;
+import com.google.longrunning.Operation;
+import com.google.protobuf.Empty;
+import com.google.protobuf.FieldMask;
+import com.google.protobuf.Struct;
+import java.io.IOException;
+import java.util.List;
+import java.util.concurrent.TimeUnit;
+import javax.annotation.Generated;
+
+// AUTO-GENERATED DOCUMENTATION AND CLASS.
+/**
+ * Service Description: Service for managing [Playbooks][google.cloud.dialogflow.cx.v3.Playbook].
+ *
+ * This class provides the ability to make remote calls to the backing service through method
+ * calls that map to API methods. Sample code to get started:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * AgentName parent = AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]");
+ * Playbook playbook = Playbook.newBuilder().build();
+ * Playbook response = playbooksClient.createPlaybook(parent, playbook);
+ * }
+ * }
+ *
+ * Note: close() needs to be called on the PlaybooksClient object to clean up resources such as
+ * threads. In the example above, try-with-resources is used, which automatically calls close().
+ *
+ *
+ * Methods
+ *
+ * Method
+ * Description
+ * Method Variants
+ *
+ *
+ * CreatePlaybook
+ * Creates a playbook in a specified agent.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * createPlaybook(CreatePlaybookRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * createPlaybook(AgentName parent, Playbook playbook)
+ *
createPlaybook(String parent, Playbook playbook)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * createPlaybookCallable()
+ *
+ *
+ *
+ *
+ * DeletePlaybook
+ * Deletes a specified playbook.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * deletePlaybook(DeletePlaybookRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * deletePlaybook(PlaybookName name)
+ *
deletePlaybook(String name)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * deletePlaybookCallable()
+ *
+ *
+ *
+ *
+ * ListPlaybooks
+ * Returns a list of playbooks in the specified agent.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * listPlaybooks(ListPlaybooksRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * listPlaybooks(AgentName parent)
+ *
listPlaybooks(String parent)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * listPlaybooksPagedCallable()
+ *
listPlaybooksCallable()
+ *
+ *
+ *
+ *
+ * GetPlaybook
+ * Retrieves the specified Playbook.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * getPlaybook(GetPlaybookRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * getPlaybook(PlaybookName name)
+ *
getPlaybook(String name)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * getPlaybookCallable()
+ *
+ *
+ *
+ *
+ * ExportPlaybook
+ * Exports the specified playbook to a binary file.
+ *
Note that resources (e.g. examples, tools) that the playbook references will also be exported.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * exportPlaybookAsync(ExportPlaybookRequest request)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * exportPlaybookOperationCallable()
+ *
exportPlaybookCallable()
+ *
+ *
+ *
+ *
+ * ImportPlaybook
+ * Imports the specified playbook to the specified agent from a binary file.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * importPlaybookAsync(ImportPlaybookRequest request)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * importPlaybookOperationCallable()
+ *
importPlaybookCallable()
+ *
+ *
+ *
+ *
+ * UpdatePlaybook
+ * Updates the specified Playbook.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * updatePlaybook(UpdatePlaybookRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * updatePlaybook(Playbook playbook, FieldMask updateMask)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * updatePlaybookCallable()
+ *
+ *
+ *
+ *
+ * CreatePlaybookVersion
+ * Creates a version for the specified Playbook.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * createPlaybookVersion(CreatePlaybookVersionRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * createPlaybookVersion(PlaybookName parent, PlaybookVersion playbookVersion)
+ *
createPlaybookVersion(String parent, PlaybookVersion playbookVersion)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * createPlaybookVersionCallable()
+ *
+ *
+ *
+ *
+ * GetPlaybookVersion
+ * Retrieves the specified version of the Playbook.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * getPlaybookVersion(GetPlaybookVersionRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * getPlaybookVersion(PlaybookVersionName name)
+ *
getPlaybookVersion(String name)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * getPlaybookVersionCallable()
+ *
+ *
+ *
+ *
+ * RestorePlaybookVersion
+ * Retrieves the specified version of the Playbook and stores it as the current playbook draft, returning the playbook with resources updated.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * restorePlaybookVersion(RestorePlaybookVersionRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * restorePlaybookVersion(PlaybookVersionName name)
+ *
restorePlaybookVersion(String name)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * restorePlaybookVersionCallable()
+ *
+ *
+ *
+ *
+ * ListPlaybookVersions
+ * Lists versions for the specified Playbook.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * listPlaybookVersions(ListPlaybookVersionsRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * listPlaybookVersions(PlaybookName parent)
+ *
listPlaybookVersions(String parent)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * listPlaybookVersionsPagedCallable()
+ *
listPlaybookVersionsCallable()
+ *
+ *
+ *
+ *
+ * DeletePlaybookVersion
+ * Deletes the specified version of the Playbook.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * deletePlaybookVersion(DeletePlaybookVersionRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * deletePlaybookVersion(PlaybookVersionName name)
+ *
deletePlaybookVersion(String name)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * deletePlaybookVersionCallable()
+ *
+ *
+ *
+ *
+ * ListLocations
+ * Lists information about the supported locations for this service.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * listLocations(ListLocationsRequest request)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * listLocationsPagedCallable()
+ *
listLocationsCallable()
+ *
+ *
+ *
+ *
+ * GetLocation
+ * Gets information about a location.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * getLocation(GetLocationRequest request)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * getLocationCallable()
+ *
+ *
+ *
+ *
+ *
+ * See the individual methods for example code.
+ *
+ *
Many parameters require resource names to be formatted in a particular way. To assist with
+ * these names, this class includes a format method for each type of name, and additionally a parse
+ * method to extract the individual identifiers contained within names that are returned.
+ *
+ *
This class can be customized by passing in a custom instance of PlaybooksSettings to create().
+ * For example:
+ *
+ *
To customize credentials:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * PlaybooksSettings playbooksSettings =
+ * PlaybooksSettings.newBuilder()
+ * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ * .build();
+ * PlaybooksClient playbooksClient = PlaybooksClient.create(playbooksSettings);
+ * }
+ *
+ * To customize the endpoint:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * PlaybooksSettings playbooksSettings =
+ * PlaybooksSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * PlaybooksClient playbooksClient = PlaybooksClient.create(playbooksSettings);
+ * }
+ *
+ * To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over
+ * the wire:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * PlaybooksSettings playbooksSettings = PlaybooksSettings.newHttpJsonBuilder().build();
+ * PlaybooksClient playbooksClient = PlaybooksClient.create(playbooksSettings);
+ * }
+ *
+ * Please refer to the GitHub repository's samples for more quickstart code snippets.
+ */
+@Generated("by gapic-generator-java")
+public class PlaybooksClient implements BackgroundResource {
+ private final PlaybooksSettings settings;
+ private final PlaybooksStub stub;
+ private final OperationsClient httpJsonOperationsClient;
+ private final com.google.longrunning.OperationsClient operationsClient;
+
+ /** Constructs an instance of PlaybooksClient with default settings. */
+ public static final PlaybooksClient create() throws IOException {
+ return create(PlaybooksSettings.newBuilder().build());
+ }
+
+ /**
+ * Constructs an instance of PlaybooksClient, using the given settings. The channels are created
+ * based on the settings passed in, or defaults for any settings that are not set.
+ */
+ public static final PlaybooksClient create(PlaybooksSettings settings) throws IOException {
+ return new PlaybooksClient(settings);
+ }
+
+ /**
+ * Constructs an instance of PlaybooksClient, using the given stub for making calls. This is for
+ * advanced usage - prefer using create(PlaybooksSettings).
+ */
+ public static final PlaybooksClient create(PlaybooksStub stub) {
+ return new PlaybooksClient(stub);
+ }
+
+ /**
+ * Constructs an instance of PlaybooksClient, using the given settings. This is protected so that
+ * it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
+ */
+ protected PlaybooksClient(PlaybooksSettings settings) throws IOException {
+ this.settings = settings;
+ this.stub = ((PlaybooksStubSettings) settings.getStubSettings()).createStub();
+ this.operationsClient =
+ com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub());
+ this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub());
+ }
+
+ protected PlaybooksClient(PlaybooksStub stub) {
+ this.settings = null;
+ this.stub = stub;
+ this.operationsClient =
+ com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub());
+ this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub());
+ }
+
+ public final PlaybooksSettings getSettings() {
+ return settings;
+ }
+
+ public PlaybooksStub getStub() {
+ return stub;
+ }
+
+ /**
+ * Returns the OperationsClient that can be used to query the status of a long-running operation
+ * returned by another API method call.
+ */
+ public final com.google.longrunning.OperationsClient getOperationsClient() {
+ return operationsClient;
+ }
+
+ /**
+ * Returns the OperationsClient that can be used to query the status of a long-running operation
+ * returned by another API method call.
+ */
+ @BetaApi
+ public final OperationsClient getHttpJsonOperationsClient() {
+ return httpJsonOperationsClient;
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a playbook in a specified agent.
+ *
+ *
Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * AgentName parent = AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]");
+ * Playbook playbook = Playbook.newBuilder().build();
+ * Playbook response = playbooksClient.createPlaybook(parent, playbook);
+ * }
+ * }
+ *
+ * @param parent Required. The agent to create a playbook for. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
+ * @param playbook Required. The playbook to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Playbook createPlaybook(AgentName parent, Playbook playbook) {
+ CreatePlaybookRequest request =
+ CreatePlaybookRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .setPlaybook(playbook)
+ .build();
+ return createPlaybook(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a playbook in a specified agent.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * String parent = AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString();
+ * Playbook playbook = Playbook.newBuilder().build();
+ * Playbook response = playbooksClient.createPlaybook(parent, playbook);
+ * }
+ * }
+ *
+ * @param parent Required. The agent to create a playbook for. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
+ * @param playbook Required. The playbook to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Playbook createPlaybook(String parent, Playbook playbook) {
+ CreatePlaybookRequest request =
+ CreatePlaybookRequest.newBuilder().setParent(parent).setPlaybook(playbook).build();
+ return createPlaybook(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a playbook in a specified agent.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * CreatePlaybookRequest request =
+ * CreatePlaybookRequest.newBuilder()
+ * .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
+ * .setPlaybook(Playbook.newBuilder().build())
+ * .build();
+ * Playbook response = playbooksClient.createPlaybook(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Playbook createPlaybook(CreatePlaybookRequest request) {
+ return createPlaybookCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a playbook in a specified agent.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * CreatePlaybookRequest request =
+ * CreatePlaybookRequest.newBuilder()
+ * .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
+ * .setPlaybook(Playbook.newBuilder().build())
+ * .build();
+ * ApiFuture future = playbooksClient.createPlaybookCallable().futureCall(request);
+ * // Do something.
+ * Playbook response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable createPlaybookCallable() {
+ return stub.createPlaybookCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a specified playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * PlaybookName name = PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]");
+ * playbooksClient.deletePlaybook(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the playbook to delete. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deletePlaybook(PlaybookName name) {
+ DeletePlaybookRequest request =
+ DeletePlaybookRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ deletePlaybook(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a specified playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * String name = PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString();
+ * playbooksClient.deletePlaybook(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the playbook to delete. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deletePlaybook(String name) {
+ DeletePlaybookRequest request = DeletePlaybookRequest.newBuilder().setName(name).build();
+ deletePlaybook(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a specified playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * DeletePlaybookRequest request =
+ * DeletePlaybookRequest.newBuilder()
+ * .setName(
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString())
+ * .build();
+ * playbooksClient.deletePlaybook(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deletePlaybook(DeletePlaybookRequest request) {
+ deletePlaybookCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a specified playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * DeletePlaybookRequest request =
+ * DeletePlaybookRequest.newBuilder()
+ * .setName(
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString())
+ * .build();
+ * ApiFuture future = playbooksClient.deletePlaybookCallable().futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable deletePlaybookCallable() {
+ return stub.deletePlaybookCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Returns a list of playbooks in the specified agent.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * AgentName parent = AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]");
+ * for (Playbook element : playbooksClient.listPlaybooks(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The agent to list playbooks from. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListPlaybooksPagedResponse listPlaybooks(AgentName parent) {
+ ListPlaybooksRequest request =
+ ListPlaybooksRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listPlaybooks(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Returns a list of playbooks in the specified agent.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * String parent = AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString();
+ * for (Playbook element : playbooksClient.listPlaybooks(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The agent to list playbooks from. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListPlaybooksPagedResponse listPlaybooks(String parent) {
+ ListPlaybooksRequest request = ListPlaybooksRequest.newBuilder().setParent(parent).build();
+ return listPlaybooks(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Returns a list of playbooks in the specified agent.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * ListPlaybooksRequest request =
+ * ListPlaybooksRequest.newBuilder()
+ * .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (Playbook element : playbooksClient.listPlaybooks(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListPlaybooksPagedResponse listPlaybooks(ListPlaybooksRequest request) {
+ return listPlaybooksPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Returns a list of playbooks in the specified agent.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * ListPlaybooksRequest request =
+ * ListPlaybooksRequest.newBuilder()
+ * .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future = playbooksClient.listPlaybooksPagedCallable().futureCall(request);
+ * // Do something.
+ * for (Playbook element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listPlaybooksPagedCallable() {
+ return stub.listPlaybooksPagedCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Returns a list of playbooks in the specified agent.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * ListPlaybooksRequest request =
+ * ListPlaybooksRequest.newBuilder()
+ * .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListPlaybooksResponse response = playbooksClient.listPlaybooksCallable().call(request);
+ * for (Playbook element : response.getPlaybooksList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable listPlaybooksCallable() {
+ return stub.listPlaybooksCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Retrieves the specified Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * PlaybookName name = PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]");
+ * Playbook response = playbooksClient.getPlaybook(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the playbook. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Playbook getPlaybook(PlaybookName name) {
+ GetPlaybookRequest request =
+ GetPlaybookRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ return getPlaybook(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Retrieves the specified Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * String name = PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString();
+ * Playbook response = playbooksClient.getPlaybook(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the playbook. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Playbook getPlaybook(String name) {
+ GetPlaybookRequest request = GetPlaybookRequest.newBuilder().setName(name).build();
+ return getPlaybook(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Retrieves the specified Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * GetPlaybookRequest request =
+ * GetPlaybookRequest.newBuilder()
+ * .setName(
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString())
+ * .build();
+ * Playbook response = playbooksClient.getPlaybook(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Playbook getPlaybook(GetPlaybookRequest request) {
+ return getPlaybookCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Retrieves the specified Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * GetPlaybookRequest request =
+ * GetPlaybookRequest.newBuilder()
+ * .setName(
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString())
+ * .build();
+ * ApiFuture future = playbooksClient.getPlaybookCallable().futureCall(request);
+ * // Do something.
+ * Playbook response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable getPlaybookCallable() {
+ return stub.getPlaybookCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Exports the specified playbook to a binary file.
+ *
+ * Note that resources (e.g. examples, tools) that the playbook references will also be
+ * exported.
+ *
+ *
Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * ExportPlaybookRequest request =
+ * ExportPlaybookRequest.newBuilder()
+ * .setName(
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString())
+ * .setPlaybookUri("playbookUri2118184975")
+ * .build();
+ * ExportPlaybookResponse response = playbooksClient.exportPlaybookAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture exportPlaybookAsync(
+ ExportPlaybookRequest request) {
+ return exportPlaybookOperationCallable().futureCall(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Exports the specified playbook to a binary file.
+ *
+ * Note that resources (e.g. examples, tools) that the playbook references will also be
+ * exported.
+ *
+ *
Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * ExportPlaybookRequest request =
+ * ExportPlaybookRequest.newBuilder()
+ * .setName(
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString())
+ * .setPlaybookUri("playbookUri2118184975")
+ * .build();
+ * OperationFuture future =
+ * playbooksClient.exportPlaybookOperationCallable().futureCall(request);
+ * // Do something.
+ * ExportPlaybookResponse response = future.get();
+ * }
+ * }
+ */
+ public final OperationCallable
+ exportPlaybookOperationCallable() {
+ return stub.exportPlaybookOperationCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Exports the specified playbook to a binary file.
+ *
+ * Note that resources (e.g. examples, tools) that the playbook references will also be
+ * exported.
+ *
+ *
Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * ExportPlaybookRequest request =
+ * ExportPlaybookRequest.newBuilder()
+ * .setName(
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString())
+ * .setPlaybookUri("playbookUri2118184975")
+ * .build();
+ * ApiFuture future = playbooksClient.exportPlaybookCallable().futureCall(request);
+ * // Do something.
+ * Operation response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable exportPlaybookCallable() {
+ return stub.exportPlaybookCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Imports the specified playbook to the specified agent from a binary file.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * ImportPlaybookRequest request =
+ * ImportPlaybookRequest.newBuilder()
+ * .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
+ * .setImportStrategy(PlaybookImportStrategy.newBuilder().build())
+ * .build();
+ * ImportPlaybookResponse response = playbooksClient.importPlaybookAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture importPlaybookAsync(
+ ImportPlaybookRequest request) {
+ return importPlaybookOperationCallable().futureCall(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Imports the specified playbook to the specified agent from a binary file.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * ImportPlaybookRequest request =
+ * ImportPlaybookRequest.newBuilder()
+ * .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
+ * .setImportStrategy(PlaybookImportStrategy.newBuilder().build())
+ * .build();
+ * OperationFuture future =
+ * playbooksClient.importPlaybookOperationCallable().futureCall(request);
+ * // Do something.
+ * ImportPlaybookResponse response = future.get();
+ * }
+ * }
+ */
+ public final OperationCallable
+ importPlaybookOperationCallable() {
+ return stub.importPlaybookOperationCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Imports the specified playbook to the specified agent from a binary file.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * ImportPlaybookRequest request =
+ * ImportPlaybookRequest.newBuilder()
+ * .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
+ * .setImportStrategy(PlaybookImportStrategy.newBuilder().build())
+ * .build();
+ * ApiFuture future = playbooksClient.importPlaybookCallable().futureCall(request);
+ * // Do something.
+ * Operation response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable importPlaybookCallable() {
+ return stub.importPlaybookCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates the specified Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * Playbook playbook = Playbook.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * Playbook response = playbooksClient.updatePlaybook(playbook, updateMask);
+ * }
+ * }
+ *
+ * @param playbook Required. The playbook to update.
+ * @param updateMask The mask to control which fields get updated. If the mask is not present, all
+ * fields will be updated.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Playbook updatePlaybook(Playbook playbook, FieldMask updateMask) {
+ UpdatePlaybookRequest request =
+ UpdatePlaybookRequest.newBuilder().setPlaybook(playbook).setUpdateMask(updateMask).build();
+ return updatePlaybook(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates the specified Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * UpdatePlaybookRequest request =
+ * UpdatePlaybookRequest.newBuilder()
+ * .setPlaybook(Playbook.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * Playbook response = playbooksClient.updatePlaybook(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Playbook updatePlaybook(UpdatePlaybookRequest request) {
+ return updatePlaybookCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates the specified Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * UpdatePlaybookRequest request =
+ * UpdatePlaybookRequest.newBuilder()
+ * .setPlaybook(Playbook.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture future = playbooksClient.updatePlaybookCallable().futureCall(request);
+ * // Do something.
+ * Playbook response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable updatePlaybookCallable() {
+ return stub.updatePlaybookCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a version for the specified Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * PlaybookName parent = PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]");
+ * PlaybookVersion playbookVersion = PlaybookVersion.newBuilder().build();
+ * PlaybookVersion response = playbooksClient.createPlaybookVersion(parent, playbookVersion);
+ * }
+ * }
+ *
+ * @param parent Required. The playbook to create a version for. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ * @param playbookVersion Required. The playbook version to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final PlaybookVersion createPlaybookVersion(
+ PlaybookName parent, PlaybookVersion playbookVersion) {
+ CreatePlaybookVersionRequest request =
+ CreatePlaybookVersionRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .setPlaybookVersion(playbookVersion)
+ .build();
+ return createPlaybookVersion(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a version for the specified Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * String parent =
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString();
+ * PlaybookVersion playbookVersion = PlaybookVersion.newBuilder().build();
+ * PlaybookVersion response = playbooksClient.createPlaybookVersion(parent, playbookVersion);
+ * }
+ * }
+ *
+ * @param parent Required. The playbook to create a version for. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ * @param playbookVersion Required. The playbook version to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final PlaybookVersion createPlaybookVersion(
+ String parent, PlaybookVersion playbookVersion) {
+ CreatePlaybookVersionRequest request =
+ CreatePlaybookVersionRequest.newBuilder()
+ .setParent(parent)
+ .setPlaybookVersion(playbookVersion)
+ .build();
+ return createPlaybookVersion(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a version for the specified Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * CreatePlaybookVersionRequest request =
+ * CreatePlaybookVersionRequest.newBuilder()
+ * .setParent(
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString())
+ * .setPlaybookVersion(PlaybookVersion.newBuilder().build())
+ * .build();
+ * PlaybookVersion response = playbooksClient.createPlaybookVersion(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final PlaybookVersion createPlaybookVersion(CreatePlaybookVersionRequest request) {
+ return createPlaybookVersionCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a version for the specified Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * CreatePlaybookVersionRequest request =
+ * CreatePlaybookVersionRequest.newBuilder()
+ * .setParent(
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString())
+ * .setPlaybookVersion(PlaybookVersion.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * playbooksClient.createPlaybookVersionCallable().futureCall(request);
+ * // Do something.
+ * PlaybookVersion response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ createPlaybookVersionCallable() {
+ return stub.createPlaybookVersionCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Retrieves the specified version of the Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * PlaybookVersionName name =
+ * PlaybookVersionName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[VERSION]");
+ * PlaybookVersion response = playbooksClient.getPlaybookVersion(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the playbook version. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final PlaybookVersion getPlaybookVersion(PlaybookVersionName name) {
+ GetPlaybookVersionRequest request =
+ GetPlaybookVersionRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ return getPlaybookVersion(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Retrieves the specified version of the Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * String name =
+ * PlaybookVersionName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[VERSION]")
+ * .toString();
+ * PlaybookVersion response = playbooksClient.getPlaybookVersion(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the playbook version. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final PlaybookVersion getPlaybookVersion(String name) {
+ GetPlaybookVersionRequest request =
+ GetPlaybookVersionRequest.newBuilder().setName(name).build();
+ return getPlaybookVersion(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Retrieves the specified version of the Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * GetPlaybookVersionRequest request =
+ * GetPlaybookVersionRequest.newBuilder()
+ * .setName(
+ * PlaybookVersionName.of(
+ * "[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[VERSION]")
+ * .toString())
+ * .build();
+ * PlaybookVersion response = playbooksClient.getPlaybookVersion(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final PlaybookVersion getPlaybookVersion(GetPlaybookVersionRequest request) {
+ return getPlaybookVersionCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Retrieves the specified version of the Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * GetPlaybookVersionRequest request =
+ * GetPlaybookVersionRequest.newBuilder()
+ * .setName(
+ * PlaybookVersionName.of(
+ * "[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[VERSION]")
+ * .toString())
+ * .build();
+ * ApiFuture future =
+ * playbooksClient.getPlaybookVersionCallable().futureCall(request);
+ * // Do something.
+ * PlaybookVersion response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ getPlaybookVersionCallable() {
+ return stub.getPlaybookVersionCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Retrieves the specified version of the Playbook and stores it as the current playbook draft,
+ * returning the playbook with resources updated.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * PlaybookVersionName name =
+ * PlaybookVersionName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[VERSION]");
+ * RestorePlaybookVersionResponse response = playbooksClient.restorePlaybookVersion(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the playbook version. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final RestorePlaybookVersionResponse restorePlaybookVersion(PlaybookVersionName name) {
+ RestorePlaybookVersionRequest request =
+ RestorePlaybookVersionRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ return restorePlaybookVersion(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Retrieves the specified version of the Playbook and stores it as the current playbook draft,
+ * returning the playbook with resources updated.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * String name =
+ * PlaybookVersionName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[VERSION]")
+ * .toString();
+ * RestorePlaybookVersionResponse response = playbooksClient.restorePlaybookVersion(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the playbook version. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final RestorePlaybookVersionResponse restorePlaybookVersion(String name) {
+ RestorePlaybookVersionRequest request =
+ RestorePlaybookVersionRequest.newBuilder().setName(name).build();
+ return restorePlaybookVersion(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Retrieves the specified version of the Playbook and stores it as the current playbook draft,
+ * returning the playbook with resources updated.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * RestorePlaybookVersionRequest request =
+ * RestorePlaybookVersionRequest.newBuilder()
+ * .setName(
+ * PlaybookVersionName.of(
+ * "[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[VERSION]")
+ * .toString())
+ * .build();
+ * RestorePlaybookVersionResponse response = playbooksClient.restorePlaybookVersion(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final RestorePlaybookVersionResponse restorePlaybookVersion(
+ RestorePlaybookVersionRequest request) {
+ return restorePlaybookVersionCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Retrieves the specified version of the Playbook and stores it as the current playbook draft,
+ * returning the playbook with resources updated.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * RestorePlaybookVersionRequest request =
+ * RestorePlaybookVersionRequest.newBuilder()
+ * .setName(
+ * PlaybookVersionName.of(
+ * "[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[VERSION]")
+ * .toString())
+ * .build();
+ * ApiFuture future =
+ * playbooksClient.restorePlaybookVersionCallable().futureCall(request);
+ * // Do something.
+ * RestorePlaybookVersionResponse response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ restorePlaybookVersionCallable() {
+ return stub.restorePlaybookVersionCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists versions for the specified Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * PlaybookName parent = PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]");
+ * for (PlaybookVersion element : playbooksClient.listPlaybookVersions(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The playbook to list versions for. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListPlaybookVersionsPagedResponse listPlaybookVersions(PlaybookName parent) {
+ ListPlaybookVersionsRequest request =
+ ListPlaybookVersionsRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listPlaybookVersions(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists versions for the specified Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * String parent =
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString();
+ * for (PlaybookVersion element : playbooksClient.listPlaybookVersions(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The playbook to list versions for. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListPlaybookVersionsPagedResponse listPlaybookVersions(String parent) {
+ ListPlaybookVersionsRequest request =
+ ListPlaybookVersionsRequest.newBuilder().setParent(parent).build();
+ return listPlaybookVersions(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists versions for the specified Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * ListPlaybookVersionsRequest request =
+ * ListPlaybookVersionsRequest.newBuilder()
+ * .setParent(
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (PlaybookVersion element : playbooksClient.listPlaybookVersions(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListPlaybookVersionsPagedResponse listPlaybookVersions(
+ ListPlaybookVersionsRequest request) {
+ return listPlaybookVersionsPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists versions for the specified Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * ListPlaybookVersionsRequest request =
+ * ListPlaybookVersionsRequest.newBuilder()
+ * .setParent(
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future =
+ * playbooksClient.listPlaybookVersionsPagedCallable().futureCall(request);
+ * // Do something.
+ * for (PlaybookVersion element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listPlaybookVersionsPagedCallable() {
+ return stub.listPlaybookVersionsPagedCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists versions for the specified Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * ListPlaybookVersionsRequest request =
+ * ListPlaybookVersionsRequest.newBuilder()
+ * .setParent(
+ * PlaybookName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListPlaybookVersionsResponse response =
+ * playbooksClient.listPlaybookVersionsCallable().call(request);
+ * for (PlaybookVersion element : response.getPlaybookVersionsList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listPlaybookVersionsCallable() {
+ return stub.listPlaybookVersionsCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes the specified version of the Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * PlaybookVersionName name =
+ * PlaybookVersionName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[VERSION]");
+ * playbooksClient.deletePlaybookVersion(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the playbook version to delete. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deletePlaybookVersion(PlaybookVersionName name) {
+ DeletePlaybookVersionRequest request =
+ DeletePlaybookVersionRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ deletePlaybookVersion(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes the specified version of the Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * String name =
+ * PlaybookVersionName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[VERSION]")
+ * .toString();
+ * playbooksClient.deletePlaybookVersion(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the playbook version to delete. Format:
+ * `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID>`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deletePlaybookVersion(String name) {
+ DeletePlaybookVersionRequest request =
+ DeletePlaybookVersionRequest.newBuilder().setName(name).build();
+ deletePlaybookVersion(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes the specified version of the Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * DeletePlaybookVersionRequest request =
+ * DeletePlaybookVersionRequest.newBuilder()
+ * .setName(
+ * PlaybookVersionName.of(
+ * "[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[VERSION]")
+ * .toString())
+ * .build();
+ * playbooksClient.deletePlaybookVersion(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deletePlaybookVersion(DeletePlaybookVersionRequest request) {
+ deletePlaybookVersionCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes the specified version of the Playbook.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * DeletePlaybookVersionRequest request =
+ * DeletePlaybookVersionRequest.newBuilder()
+ * .setName(
+ * PlaybookVersionName.of(
+ * "[PROJECT]", "[LOCATION]", "[AGENT]", "[PLAYBOOK]", "[VERSION]")
+ * .toString())
+ * .build();
+ * ApiFuture future = playbooksClient.deletePlaybookVersionCallable().futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable deletePlaybookVersionCallable() {
+ return stub.deletePlaybookVersionCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists information about the supported locations for this service.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (Location element : playbooksClient.listLocations(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListLocationsPagedResponse listLocations(ListLocationsRequest request) {
+ return listLocationsPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists information about the supported locations for this service.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future = playbooksClient.listLocationsPagedCallable().futureCall(request);
+ * // Do something.
+ * for (Location element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listLocationsPagedCallable() {
+ return stub.listLocationsPagedCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists information about the supported locations for this service.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListLocationsResponse response = playbooksClient.listLocationsCallable().call(request);
+ * for (Location element : response.getLocationsList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable listLocationsCallable() {
+ return stub.listLocationsCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets information about a location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+ * Location response = playbooksClient.getLocation(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Location getLocation(GetLocationRequest request) {
+ return getLocationCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets information about a location.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PlaybooksClient playbooksClient = PlaybooksClient.create()) {
+ * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+ * ApiFuture future = playbooksClient.getLocationCallable().futureCall(request);
+ * // Do something.
+ * Location response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable getLocationCallable() {
+ return stub.getLocationCallable();
+ }
+
+ @Override
+ public final void close() {
+ stub.close();
+ }
+
+ @Override
+ public void shutdown() {
+ stub.shutdown();
+ }
+
+ @Override
+ public boolean isShutdown() {
+ return stub.isShutdown();
+ }
+
+ @Override
+ public boolean isTerminated() {
+ return stub.isTerminated();
+ }
+
+ @Override
+ public void shutdownNow() {
+ stub.shutdownNow();
+ }
+
+ @Override
+ public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException {
+ return stub.awaitTermination(duration, unit);
+ }
+
+ public static class ListPlaybooksPagedResponse
+ extends AbstractPagedListResponse<
+ ListPlaybooksRequest,
+ ListPlaybooksResponse,
+ Playbook,
+ ListPlaybooksPage,
+ ListPlaybooksFixedSizeCollection> {
+
+ public static ApiFuture createAsync(
+ PageContext context,
+ ApiFuture futureResponse) {
+ ApiFuture futurePage =
+ ListPlaybooksPage.createEmptyPage().createPageAsync(context, futureResponse);
+ return ApiFutures.transform(
+ futurePage,
+ input -> new ListPlaybooksPagedResponse(input),
+ MoreExecutors.directExecutor());
+ }
+
+ private ListPlaybooksPagedResponse(ListPlaybooksPage page) {
+ super(page, ListPlaybooksFixedSizeCollection.createEmptyCollection());
+ }
+ }
+
+ public static class ListPlaybooksPage
+ extends AbstractPage<
+ ListPlaybooksRequest, ListPlaybooksResponse, Playbook, ListPlaybooksPage> {
+
+ private ListPlaybooksPage(
+ PageContext context,
+ ListPlaybooksResponse response) {
+ super(context, response);
+ }
+
+ private static ListPlaybooksPage createEmptyPage() {
+ return new ListPlaybooksPage(null, null);
+ }
+
+ @Override
+ protected ListPlaybooksPage createPage(
+ PageContext context,
+ ListPlaybooksResponse response) {
+ return new ListPlaybooksPage(context, response);
+ }
+
+ @Override
+ public ApiFuture createPageAsync(
+ PageContext context,
+ ApiFuture futureResponse) {
+ return super.createPageAsync(context, futureResponse);
+ }
+ }
+
+ public static class ListPlaybooksFixedSizeCollection
+ extends AbstractFixedSizeCollection<
+ ListPlaybooksRequest,
+ ListPlaybooksResponse,
+ Playbook,
+ ListPlaybooksPage,
+ ListPlaybooksFixedSizeCollection> {
+
+ private ListPlaybooksFixedSizeCollection(List pages, int collectionSize) {
+ super(pages, collectionSize);
+ }
+
+ private static ListPlaybooksFixedSizeCollection createEmptyCollection() {
+ return new ListPlaybooksFixedSizeCollection(null, 0);
+ }
+
+ @Override
+ protected ListPlaybooksFixedSizeCollection createCollection(
+ List pages, int collectionSize) {
+ return new ListPlaybooksFixedSizeCollection(pages, collectionSize);
+ }
+ }
+
+ public static class ListPlaybookVersionsPagedResponse
+ extends AbstractPagedListResponse<
+ ListPlaybookVersionsRequest,
+ ListPlaybookVersionsResponse,
+ PlaybookVersion,
+ ListPlaybookVersionsPage,
+ ListPlaybookVersionsFixedSizeCollection> {
+
+ public static ApiFuture createAsync(
+ PageContext
+ context,
+ ApiFuture futureResponse) {
+ ApiFuture futurePage =
+ ListPlaybookVersionsPage.createEmptyPage().createPageAsync(context, futureResponse);
+ return ApiFutures.transform(
+ futurePage,
+ input -> new ListPlaybookVersionsPagedResponse(input),
+ MoreExecutors.directExecutor());
+ }
+
+ private ListPlaybookVersionsPagedResponse(ListPlaybookVersionsPage page) {
+ super(page, ListPlaybookVersionsFixedSizeCollection.createEmptyCollection());
+ }
+ }
+
+ public static class ListPlaybookVersionsPage
+ extends AbstractPage<
+ ListPlaybookVersionsRequest,
+ ListPlaybookVersionsResponse,
+ PlaybookVersion,
+ ListPlaybookVersionsPage> {
+
+ private ListPlaybookVersionsPage(
+ PageContext
+ context,
+ ListPlaybookVersionsResponse response) {
+ super(context, response);
+ }
+
+ private static ListPlaybookVersionsPage createEmptyPage() {
+ return new ListPlaybookVersionsPage(null, null);
+ }
+
+ @Override
+ protected ListPlaybookVersionsPage createPage(
+ PageContext
+ context,
+ ListPlaybookVersionsResponse response) {
+ return new ListPlaybookVersionsPage(context, response);
+ }
+
+ @Override
+ public ApiFuture createPageAsync(
+ PageContext
+ context,
+ ApiFuture futureResponse) {
+ return super.createPageAsync(context, futureResponse);
+ }
+ }
+
+ public static class ListPlaybookVersionsFixedSizeCollection
+ extends AbstractFixedSizeCollection<
+ ListPlaybookVersionsRequest,
+ ListPlaybookVersionsResponse,
+ PlaybookVersion,
+ ListPlaybookVersionsPage,
+ ListPlaybookVersionsFixedSizeCollection> {
+
+ private ListPlaybookVersionsFixedSizeCollection(
+ List pages, int collectionSize) {
+ super(pages, collectionSize);
+ }
+
+ private static ListPlaybookVersionsFixedSizeCollection createEmptyCollection() {
+ return new ListPlaybookVersionsFixedSizeCollection(null, 0);
+ }
+
+ @Override
+ protected ListPlaybookVersionsFixedSizeCollection createCollection(
+ List pages, int collectionSize) {
+ return new ListPlaybookVersionsFixedSizeCollection(pages, collectionSize);
+ }
+ }
+
+ public static class ListLocationsPagedResponse
+ extends AbstractPagedListResponse<
+ ListLocationsRequest,
+ ListLocationsResponse,
+ Location,
+ ListLocationsPage,
+ ListLocationsFixedSizeCollection> {
+
+ public static ApiFuture createAsync(
+ PageContext context,
+ ApiFuture futureResponse) {
+ ApiFuture futurePage =
+ ListLocationsPage.createEmptyPage().createPageAsync(context, futureResponse);
+ return ApiFutures.transform(
+ futurePage,
+ input -> new ListLocationsPagedResponse(input),
+ MoreExecutors.directExecutor());
+ }
+
+ private ListLocationsPagedResponse(ListLocationsPage page) {
+ super(page, ListLocationsFixedSizeCollection.createEmptyCollection());
+ }
+ }
+
+ public static class ListLocationsPage
+ extends AbstractPage<
+ ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage> {
+
+ private ListLocationsPage(
+ PageContext context,
+ ListLocationsResponse response) {
+ super(context, response);
+ }
+
+ private static ListLocationsPage createEmptyPage() {
+ return new ListLocationsPage(null, null);
+ }
+
+ @Override
+ protected ListLocationsPage createPage(
+ PageContext context,
+ ListLocationsResponse response) {
+ return new ListLocationsPage(context, response);
+ }
+
+ @Override
+ public ApiFuture createPageAsync(
+ PageContext context,
+ ApiFuture futureResponse) {
+ return super.createPageAsync(context, futureResponse);
+ }
+ }
+
+ public static class ListLocationsFixedSizeCollection
+ extends AbstractFixedSizeCollection<
+ ListLocationsRequest,
+ ListLocationsResponse,
+ Location,
+ ListLocationsPage,
+ ListLocationsFixedSizeCollection> {
+
+ private ListLocationsFixedSizeCollection(List pages, int collectionSize) {
+ super(pages, collectionSize);
+ }
+
+ private static ListLocationsFixedSizeCollection createEmptyCollection() {
+ return new ListLocationsFixedSizeCollection(null, 0);
+ }
+
+ @Override
+ protected ListLocationsFixedSizeCollection createCollection(
+ List pages, int collectionSize) {
+ return new ListLocationsFixedSizeCollection(pages, collectionSize);
+ }
+ }
+}
diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/PlaybooksSettings.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/PlaybooksSettings.java
new file mode 100644
index 000000000000..03dd9629c0c7
--- /dev/null
+++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/PlaybooksSettings.java
@@ -0,0 +1,426 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.cloud.dialogflow.cx.v3;
+
+import static com.google.cloud.dialogflow.cx.v3.PlaybooksClient.ListLocationsPagedResponse;
+import static com.google.cloud.dialogflow.cx.v3.PlaybooksClient.ListPlaybookVersionsPagedResponse;
+import static com.google.cloud.dialogflow.cx.v3.PlaybooksClient.ListPlaybooksPagedResponse;
+
+import com.google.api.core.ApiFunction;
+import com.google.api.core.BetaApi;
+import com.google.api.gax.core.GoogleCredentialsProvider;
+import com.google.api.gax.core.InstantiatingExecutorProvider;
+import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider;
+import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider;
+import com.google.api.gax.rpc.ApiClientHeaderProvider;
+import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.ClientSettings;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.TransportChannelProvider;
+import com.google.api.gax.rpc.UnaryCallSettings;
+import com.google.cloud.dialogflow.cx.v3.stub.PlaybooksStubSettings;
+import com.google.cloud.location.GetLocationRequest;
+import com.google.cloud.location.ListLocationsRequest;
+import com.google.cloud.location.ListLocationsResponse;
+import com.google.cloud.location.Location;
+import com.google.longrunning.Operation;
+import com.google.protobuf.Empty;
+import com.google.protobuf.Struct;
+import java.io.IOException;
+import java.util.List;
+import javax.annotation.Generated;
+
+// AUTO-GENERATED DOCUMENTATION AND CLASS.
+/**
+ * Settings class to configure an instance of {@link PlaybooksClient}.
+ *
+ * The default instance has everything set to sensible defaults:
+ *
+ *
+ * - The default service address (dialogflow.googleapis.com) and default port (443) are used.
+ *
- Credentials are acquired automatically through Application Default Credentials.
+ *
- Retries are configured for idempotent methods but not for non-idempotent methods.
+ *
+ *
+ * The builder of this class is recursive, so contained classes are themselves builders. When
+ * build() is called, the tree of builders is called to create the complete settings object.
+ *
+ *
For example, to set the
+ * [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings)
+ * of createPlaybook:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * PlaybooksSettings.Builder playbooksSettingsBuilder = PlaybooksSettings.newBuilder();
+ * playbooksSettingsBuilder
+ * .createPlaybookSettings()
+ * .setRetrySettings(
+ * playbooksSettingsBuilder
+ * .createPlaybookSettings()
+ * .getRetrySettings()
+ * .toBuilder()
+ * .setInitialRetryDelayDuration(Duration.ofSeconds(1))
+ * .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
+ * .setMaxAttempts(5)
+ * .setMaxRetryDelayDuration(Duration.ofSeconds(30))
+ * .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
+ * .setRetryDelayMultiplier(1.3)
+ * .setRpcTimeoutMultiplier(1.5)
+ * .setTotalTimeoutDuration(Duration.ofSeconds(300))
+ * .build());
+ * PlaybooksSettings playbooksSettings = playbooksSettingsBuilder.build();
+ * }
+ *
+ * Please refer to the [Client Side Retry
+ * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting
+ * retries.
+ *
+ * To configure the RetrySettings of a Long Running Operation method, create an
+ * OperationTimedPollAlgorithm object and update the RPC's polling algorithm. For example, to
+ * configure the RetrySettings for exportPlaybook:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * PlaybooksSettings.Builder playbooksSettingsBuilder = PlaybooksSettings.newBuilder();
+ * TimedRetryAlgorithm timedRetryAlgorithm =
+ * OperationalTimedPollAlgorithm.create(
+ * RetrySettings.newBuilder()
+ * .setInitialRetryDelayDuration(Duration.ofMillis(500))
+ * .setRetryDelayMultiplier(1.5)
+ * .setMaxRetryDelayDuration(Duration.ofMillis(5000))
+ * .setTotalTimeoutDuration(Duration.ofHours(24))
+ * .build());
+ * playbooksSettingsBuilder
+ * .createClusterOperationSettings()
+ * .setPollingAlgorithm(timedRetryAlgorithm)
+ * .build();
+ * }
+ */
+@Generated("by gapic-generator-java")
+public class PlaybooksSettings extends ClientSettings {
+
+ /** Returns the object with the settings used for calls to createPlaybook. */
+ public UnaryCallSettings createPlaybookSettings() {
+ return ((PlaybooksStubSettings) getStubSettings()).createPlaybookSettings();
+ }
+
+ /** Returns the object with the settings used for calls to deletePlaybook. */
+ public UnaryCallSettings deletePlaybookSettings() {
+ return ((PlaybooksStubSettings) getStubSettings()).deletePlaybookSettings();
+ }
+
+ /** Returns the object with the settings used for calls to listPlaybooks. */
+ public PagedCallSettings
+ listPlaybooksSettings() {
+ return ((PlaybooksStubSettings) getStubSettings()).listPlaybooksSettings();
+ }
+
+ /** Returns the object with the settings used for calls to getPlaybook. */
+ public UnaryCallSettings getPlaybookSettings() {
+ return ((PlaybooksStubSettings) getStubSettings()).getPlaybookSettings();
+ }
+
+ /** Returns the object with the settings used for calls to exportPlaybook. */
+ public UnaryCallSettings exportPlaybookSettings() {
+ return ((PlaybooksStubSettings) getStubSettings()).exportPlaybookSettings();
+ }
+
+ /** Returns the object with the settings used for calls to exportPlaybook. */
+ public OperationCallSettings
+ exportPlaybookOperationSettings() {
+ return ((PlaybooksStubSettings) getStubSettings()).exportPlaybookOperationSettings();
+ }
+
+ /** Returns the object with the settings used for calls to importPlaybook. */
+ public UnaryCallSettings importPlaybookSettings() {
+ return ((PlaybooksStubSettings) getStubSettings()).importPlaybookSettings();
+ }
+
+ /** Returns the object with the settings used for calls to importPlaybook. */
+ public OperationCallSettings
+ importPlaybookOperationSettings() {
+ return ((PlaybooksStubSettings) getStubSettings()).importPlaybookOperationSettings();
+ }
+
+ /** Returns the object with the settings used for calls to updatePlaybook. */
+ public UnaryCallSettings updatePlaybookSettings() {
+ return ((PlaybooksStubSettings) getStubSettings()).updatePlaybookSettings();
+ }
+
+ /** Returns the object with the settings used for calls to createPlaybookVersion. */
+ public UnaryCallSettings
+ createPlaybookVersionSettings() {
+ return ((PlaybooksStubSettings) getStubSettings()).createPlaybookVersionSettings();
+ }
+
+ /** Returns the object with the settings used for calls to getPlaybookVersion. */
+ public UnaryCallSettings
+ getPlaybookVersionSettings() {
+ return ((PlaybooksStubSettings) getStubSettings()).getPlaybookVersionSettings();
+ }
+
+ /** Returns the object with the settings used for calls to restorePlaybookVersion. */
+ public UnaryCallSettings
+ restorePlaybookVersionSettings() {
+ return ((PlaybooksStubSettings) getStubSettings()).restorePlaybookVersionSettings();
+ }
+
+ /** Returns the object with the settings used for calls to listPlaybookVersions. */
+ public PagedCallSettings<
+ ListPlaybookVersionsRequest,
+ ListPlaybookVersionsResponse,
+ ListPlaybookVersionsPagedResponse>
+ listPlaybookVersionsSettings() {
+ return ((PlaybooksStubSettings) getStubSettings()).listPlaybookVersionsSettings();
+ }
+
+ /** Returns the object with the settings used for calls to deletePlaybookVersion. */
+ public UnaryCallSettings deletePlaybookVersionSettings() {
+ return ((PlaybooksStubSettings) getStubSettings()).deletePlaybookVersionSettings();
+ }
+
+ /** Returns the object with the settings used for calls to listLocations. */
+ public PagedCallSettings
+ listLocationsSettings() {
+ return ((PlaybooksStubSettings) getStubSettings()).listLocationsSettings();
+ }
+
+ /** Returns the object with the settings used for calls to getLocation. */
+ public UnaryCallSettings getLocationSettings() {
+ return ((PlaybooksStubSettings) getStubSettings()).getLocationSettings();
+ }
+
+ public static final PlaybooksSettings create(PlaybooksStubSettings stub) throws IOException {
+ return new PlaybooksSettings.Builder(stub.toBuilder()).build();
+ }
+
+ /** Returns a builder for the default ExecutorProvider for this service. */
+ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() {
+ return PlaybooksStubSettings.defaultExecutorProviderBuilder();
+ }
+
+ /** Returns the default service endpoint. */
+ public static String getDefaultEndpoint() {
+ return PlaybooksStubSettings.getDefaultEndpoint();
+ }
+
+ /** Returns the default service scopes. */
+ public static List getDefaultServiceScopes() {
+ return PlaybooksStubSettings.getDefaultServiceScopes();
+ }
+
+ /** Returns a builder for the default credentials for this service. */
+ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
+ return PlaybooksStubSettings.defaultCredentialsProviderBuilder();
+ }
+
+ /** Returns a builder for the default gRPC ChannelProvider for this service. */
+ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() {
+ return PlaybooksStubSettings.defaultGrpcTransportProviderBuilder();
+ }
+
+ /** Returns a builder for the default REST ChannelProvider for this service. */
+ @BetaApi
+ public static InstantiatingHttpJsonChannelProvider.Builder
+ defaultHttpJsonTransportProviderBuilder() {
+ return PlaybooksStubSettings.defaultHttpJsonTransportProviderBuilder();
+ }
+
+ public static TransportChannelProvider defaultTransportChannelProvider() {
+ return PlaybooksStubSettings.defaultTransportChannelProvider();
+ }
+
+ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
+ return PlaybooksStubSettings.defaultApiClientHeaderProviderBuilder();
+ }
+
+ /** Returns a new gRPC builder for this class. */
+ public static Builder newBuilder() {
+ return Builder.createDefault();
+ }
+
+ /** Returns a new REST builder for this class. */
+ public static Builder newHttpJsonBuilder() {
+ return Builder.createHttpJsonDefault();
+ }
+
+ /** Returns a new builder for this class. */
+ public static Builder newBuilder(ClientContext clientContext) {
+ return new Builder(clientContext);
+ }
+
+ /** Returns a builder containing all the values of this settings class. */
+ public Builder toBuilder() {
+ return new Builder(this);
+ }
+
+ protected PlaybooksSettings(Builder settingsBuilder) throws IOException {
+ super(settingsBuilder);
+ }
+
+ /** Builder for PlaybooksSettings. */
+ public static class Builder extends ClientSettings.Builder {
+
+ protected Builder() throws IOException {
+ this(((ClientContext) null));
+ }
+
+ protected Builder(ClientContext clientContext) {
+ super(PlaybooksStubSettings.newBuilder(clientContext));
+ }
+
+ protected Builder(PlaybooksSettings settings) {
+ super(settings.getStubSettings().toBuilder());
+ }
+
+ protected Builder(PlaybooksStubSettings.Builder stubSettings) {
+ super(stubSettings);
+ }
+
+ private static Builder createDefault() {
+ return new Builder(PlaybooksStubSettings.newBuilder());
+ }
+
+ private static Builder createHttpJsonDefault() {
+ return new Builder(PlaybooksStubSettings.newHttpJsonBuilder());
+ }
+
+ public PlaybooksStubSettings.Builder getStubSettingsBuilder() {
+ return ((PlaybooksStubSettings.Builder) getStubSettings());
+ }
+
+ /**
+ * Applies the given settings updater function to all of the unary API methods in this service.
+ *
+ * Note: This method does not support applying settings to streaming methods.
+ */
+ public Builder applyToAllUnaryMethods(
+ ApiFunction, Void> settingsUpdater) {
+ super.applyToAllUnaryMethods(
+ getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater);
+ return this;
+ }
+
+ /** Returns the builder for the settings used for calls to createPlaybook. */
+ public UnaryCallSettings.Builder createPlaybookSettings() {
+ return getStubSettingsBuilder().createPlaybookSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to deletePlaybook. */
+ public UnaryCallSettings.Builder deletePlaybookSettings() {
+ return getStubSettingsBuilder().deletePlaybookSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to listPlaybooks. */
+ public PagedCallSettings.Builder<
+ ListPlaybooksRequest, ListPlaybooksResponse, ListPlaybooksPagedResponse>
+ listPlaybooksSettings() {
+ return getStubSettingsBuilder().listPlaybooksSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to getPlaybook. */
+ public UnaryCallSettings.Builder getPlaybookSettings() {
+ return getStubSettingsBuilder().getPlaybookSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to exportPlaybook. */
+ public UnaryCallSettings.Builder exportPlaybookSettings() {
+ return getStubSettingsBuilder().exportPlaybookSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to exportPlaybook. */
+ public OperationCallSettings.Builder
+ exportPlaybookOperationSettings() {
+ return getStubSettingsBuilder().exportPlaybookOperationSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to importPlaybook. */
+ public UnaryCallSettings.Builder importPlaybookSettings() {
+ return getStubSettingsBuilder().importPlaybookSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to importPlaybook. */
+ public OperationCallSettings.Builder
+ importPlaybookOperationSettings() {
+ return getStubSettingsBuilder().importPlaybookOperationSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to updatePlaybook. */
+ public UnaryCallSettings.Builder updatePlaybookSettings() {
+ return getStubSettingsBuilder().updatePlaybookSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to createPlaybookVersion. */
+ public UnaryCallSettings.Builder
+ createPlaybookVersionSettings() {
+ return getStubSettingsBuilder().createPlaybookVersionSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to getPlaybookVersion. */
+ public UnaryCallSettings.Builder
+ getPlaybookVersionSettings() {
+ return getStubSettingsBuilder().getPlaybookVersionSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to restorePlaybookVersion. */
+ public UnaryCallSettings.Builder
+ restorePlaybookVersionSettings() {
+ return getStubSettingsBuilder().restorePlaybookVersionSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to listPlaybookVersions. */
+ public PagedCallSettings.Builder<
+ ListPlaybookVersionsRequest,
+ ListPlaybookVersionsResponse,
+ ListPlaybookVersionsPagedResponse>
+ listPlaybookVersionsSettings() {
+ return getStubSettingsBuilder().listPlaybookVersionsSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to deletePlaybookVersion. */
+ public UnaryCallSettings.Builder
+ deletePlaybookVersionSettings() {
+ return getStubSettingsBuilder().deletePlaybookVersionSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to listLocations. */
+ public PagedCallSettings.Builder<
+ ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
+ listLocationsSettings() {
+ return getStubSettingsBuilder().listLocationsSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to getLocation. */
+ public UnaryCallSettings.Builder