diff --git a/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/AppHubClient.java b/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/AppHubClient.java index e439e19a583c..c34648b665fd 100644 --- a/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/AppHubClient.java +++ b/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/AppHubClient.java @@ -608,8 +608,87 @@ * * *
GetBoundary
Gets a Boundary.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *getBoundary(GetBoundaryRequest request) + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *getBoundary(BoundaryName name) + *
getBoundary(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.
+ *getBoundaryCallable() + *
UpdateBoundary
Updates a Boundary.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *updateBoundaryAsync(UpdateBoundaryRequest request) + *
Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.
+ *updateBoundaryAsync(Boundary boundary, 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.
+ *updateBoundaryOperationCallable() + *
updateBoundaryCallable() + *
GetExtendedMetadataSchema
Gets an Extended Metadata Schema.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *getExtendedMetadataSchema(GetExtendedMetadataSchemaRequest request) + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *getExtendedMetadataSchema(ExtendedMetadataSchemaName name) + *
getExtendedMetadataSchema(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.
+ *getExtendedMetadataSchemaCallable() + *
ListExtendedMetadataSchemas
Lists Extended Metadata Schemas available in a host project and location.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *listExtendedMetadataSchemas(ListExtendedMetadataSchemasRequest request) + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *listExtendedMetadataSchemas(LocationName parent) + *
listExtendedMetadataSchemas(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.
+ *listExtendedMetadataSchemasPagedCallable() + *
listExtendedMetadataSchemasCallable() + *
ListLocations
Lists information about the supported locations for this service.
Lists information about the supported locations for this service. + *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field: ***Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*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 (AppHubClient appHubClient = AppHubClient.create()) {
+ * BoundaryName name = BoundaryName.of("[PROJECT]", "[LOCATION]");
+ * Boundary response = appHubClient.getBoundary(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the boundary to retrieve. Format:
+ * `projects/{project}/locations/{location}/boundary`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Boundary getBoundary(@Nullable BoundaryName name) {
+ GetBoundaryRequest request =
+ GetBoundaryRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ return getBoundary(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a Boundary.
+ *
+ * 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ * String name = BoundaryName.of("[PROJECT]", "[LOCATION]").toString();
+ * Boundary response = appHubClient.getBoundary(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the boundary to retrieve. Format:
+ * `projects/{project}/locations/{location}/boundary`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Boundary getBoundary(String name) {
+ GetBoundaryRequest request = GetBoundaryRequest.newBuilder().setName(name).build();
+ return getBoundary(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a Boundary.
+ *
+ * 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ * GetBoundaryRequest request =
+ * GetBoundaryRequest.newBuilder()
+ * .setName(BoundaryName.of("[PROJECT]", "[LOCATION]").toString())
+ * .build();
+ * Boundary response = appHubClient.getBoundary(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 Boundary getBoundary(GetBoundaryRequest request) {
+ return getBoundaryCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a Boundary.
+ *
+ * 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ * GetBoundaryRequest request =
+ * GetBoundaryRequest.newBuilder()
+ * .setName(BoundaryName.of("[PROJECT]", "[LOCATION]").toString())
+ * .build();
+ * ApiFuture future = appHubClient.getBoundaryCallable().futureCall(request);
+ * // Do something.
+ * Boundary response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallableSample 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ * Boundary boundary = Boundary.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * Boundary response = appHubClient.updateBoundaryAsync(boundary, updateMask).get();
+ * }
+ * }
+ *
+ * @param boundary Required. The boundary to update.
+ * @param updateMask Optional. Field mask is used to specify the fields to be overwritten in the
+ * Boundary resource by the update. The fields specified in the update_mask are relative to
+ * the resource, not the full request. A field will be overwritten if it is in the mask. If
+ * the user does not provide a mask then all fields will be overwritten.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFutureSample 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ * UpdateBoundaryRequest request =
+ * UpdateBoundaryRequest.newBuilder()
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .setBoundary(Boundary.newBuilder().build())
+ * .setRequestId("requestId693933066")
+ * .build();
+ * Boundary response = appHubClient.updateBoundaryAsync(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 OperationFutureSample 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ * UpdateBoundaryRequest request =
+ * UpdateBoundaryRequest.newBuilder()
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .setBoundary(Boundary.newBuilder().build())
+ * .setRequestId("requestId693933066")
+ * .build();
+ * OperationFuture future =
+ * appHubClient.updateBoundaryOperationCallable().futureCall(request);
+ * // Do something.
+ * Boundary response = future.get();
+ * }
+ * }
+ */
+ public final OperationCallableSample 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ * UpdateBoundaryRequest request =
+ * UpdateBoundaryRequest.newBuilder()
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .setBoundary(Boundary.newBuilder().build())
+ * .setRequestId("requestId693933066")
+ * .build();
+ * ApiFuture future = appHubClient.updateBoundaryCallable().futureCall(request);
+ * // Do something.
+ * Operation response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallableSample 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ * ExtendedMetadataSchemaName name =
+ * ExtendedMetadataSchemaName.of("[PROJECT]", "[LOCATION]", "[EXTENDED_METADATA_SCHEMA]");
+ * ExtendedMetadataSchema response = appHubClient.getExtendedMetadataSchema(name);
+ * }
+ * }
+ *
+ * @param name Required. Schema resource name. Format:
+ * `projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}`.
+ * `{extended_metadata_schema}` has the format `"apphub.googleapis.com/{SchemaName}"`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ExtendedMetadataSchema getExtendedMetadataSchema( + @Nullable ExtendedMetadataSchemaName name) { + GetExtendedMetadataSchemaRequest request = + GetExtendedMetadataSchemaRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return getExtendedMetadataSchema(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets an Extended Metadata Schema. + * + *
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 (AppHubClient appHubClient = AppHubClient.create()) {
+ * String name =
+ * ExtendedMetadataSchemaName.of("[PROJECT]", "[LOCATION]", "[EXTENDED_METADATA_SCHEMA]")
+ * .toString();
+ * ExtendedMetadataSchema response = appHubClient.getExtendedMetadataSchema(name);
+ * }
+ * }
+ *
+ * @param name Required. Schema resource name. Format:
+ * `projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}`.
+ * `{extended_metadata_schema}` has the format `"apphub.googleapis.com/{SchemaName}"`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ExtendedMetadataSchema getExtendedMetadataSchema(String name) { + GetExtendedMetadataSchemaRequest request = + GetExtendedMetadataSchemaRequest.newBuilder().setName(name).build(); + return getExtendedMetadataSchema(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets an Extended Metadata Schema. + * + *
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 (AppHubClient appHubClient = AppHubClient.create()) {
+ * GetExtendedMetadataSchemaRequest request =
+ * GetExtendedMetadataSchemaRequest.newBuilder()
+ * .setName(
+ * ExtendedMetadataSchemaName.of(
+ * "[PROJECT]", "[LOCATION]", "[EXTENDED_METADATA_SCHEMA]")
+ * .toString())
+ * .build();
+ * ExtendedMetadataSchema response = appHubClient.getExtendedMetadataSchema(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 ExtendedMetadataSchema getExtendedMetadataSchema(
+ GetExtendedMetadataSchemaRequest request) {
+ return getExtendedMetadataSchemaCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets an Extended Metadata Schema.
+ *
+ * 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ * GetExtendedMetadataSchemaRequest request =
+ * GetExtendedMetadataSchemaRequest.newBuilder()
+ * .setName(
+ * ExtendedMetadataSchemaName.of(
+ * "[PROJECT]", "[LOCATION]", "[EXTENDED_METADATA_SCHEMA]")
+ * .toString())
+ * .build();
+ * ApiFuture future =
+ * appHubClient.getExtendedMetadataSchemaCallable().futureCall(request);
+ * // Do something.
+ * ExtendedMetadataSchema response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallableSample 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * for (ExtendedMetadataSchema element :
+ * appHubClient.listExtendedMetadataSchemas(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. Project and location to list Extended Metadata Schemas on. Expected
+ * format: `projects/{project}/locations/{location}`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListExtendedMetadataSchemasPagedResponse listExtendedMetadataSchemas(
+ @Nullable LocationName parent) {
+ ListExtendedMetadataSchemasRequest request =
+ ListExtendedMetadataSchemasRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listExtendedMetadataSchemas(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists Extended Metadata Schemas available in a host project and 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * for (ExtendedMetadataSchema element :
+ * appHubClient.listExtendedMetadataSchemas(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. Project and location to list Extended Metadata Schemas on. Expected
+ * format: `projects/{project}/locations/{location}`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListExtendedMetadataSchemasPagedResponse listExtendedMetadataSchemas(String parent) {
+ ListExtendedMetadataSchemasRequest request =
+ ListExtendedMetadataSchemasRequest.newBuilder().setParent(parent).build();
+ return listExtendedMetadataSchemas(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists Extended Metadata Schemas available in a host project and 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ * ListExtendedMetadataSchemasRequest request =
+ * ListExtendedMetadataSchemasRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (ExtendedMetadataSchema element :
+ * appHubClient.listExtendedMetadataSchemas(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 ListExtendedMetadataSchemasPagedResponse listExtendedMetadataSchemas(
+ ListExtendedMetadataSchemasRequest request) {
+ return listExtendedMetadataSchemasPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists Extended Metadata Schemas available in a host project and 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ * ListExtendedMetadataSchemasRequest request =
+ * ListExtendedMetadataSchemasRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future =
+ * appHubClient.listExtendedMetadataSchemasPagedCallable().futureCall(request);
+ * // Do something.
+ * for (ExtendedMetadataSchema element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ ListExtendedMetadataSchemasRequest, ListExtendedMetadataSchemasPagedResponse>
+ listExtendedMetadataSchemasPagedCallable() {
+ return stub.listExtendedMetadataSchemasPagedCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists Extended Metadata Schemas available in a host project and 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ * ListExtendedMetadataSchemasRequest request =
+ * ListExtendedMetadataSchemasRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListExtendedMetadataSchemasResponse response =
+ * appHubClient.listExtendedMetadataSchemasCallable().call(request);
+ * for (ExtendedMetadataSchema element : response.getExtendedMetadataSchemasList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ ListExtendedMetadataSchemasRequest, ListExtendedMetadataSchemasResponse>
+ listExtendedMetadataSchemasCallable() {
+ return stub.listExtendedMetadataSchemasCallable();
+ }
+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Lists information about the supported locations for this service.
*
+ * This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field: + * ***Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *
For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. + * *
Sample code: * *
{@code
@@ -4814,6 +5441,18 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
/**
* Lists information about the supported locations for this service.
*
+ * This method lists locations based on the resource scope provided inthe
+ * [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field:
+ * ***Global locations**: If `name` is empty, the method lists thepublic
+ * locations available to all projects. * **Project-specificlocations**: If
+ * `name` follows the format`projects/{project}`, the method lists locations visible to
+ * thatspecific project. This includes public, private, or otherproject-specific locations enabled
+ * for the project.
+ *
+ *
For gRPC and client library implementations, the resource name ispassed as the `name` field.
+ * For direct service calls, the resourcename isincorporated into the request path based on the
+ * specific serviceimplementation and version.
+ *
*
Sample code:
*
*
{@code
@@ -4847,6 +5486,18 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
/**
* Lists information about the supported locations for this service.
*
+ * This method lists locations based on the resource scope provided inthe
+ * [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field:
+ * ***Global locations**: If `name` is empty, the method lists thepublic
+ * locations available to all projects. * **Project-specificlocations**: If
+ * `name` follows the format`projects/{project}`, the method lists locations visible to
+ * thatspecific project. This includes public, private, or otherproject-specific locations enabled
+ * for the project.
+ *
+ *
For gRPC and client library implementations, the resource name ispassed as the `name` field.
+ * For direct service calls, the resourcename isincorporated into the request path based on the
+ * specific serviceimplementation and version.
+ *
*
Sample code:
*
*
{@code
@@ -5673,6 +6324,106 @@ protected ListApplicationsFixedSizeCollection createCollection(
}
}
+ public static class ListExtendedMetadataSchemasPagedResponse
+ extends AbstractPagedListResponse<
+ ListExtendedMetadataSchemasRequest,
+ ListExtendedMetadataSchemasResponse,
+ ExtendedMetadataSchema,
+ ListExtendedMetadataSchemasPage,
+ ListExtendedMetadataSchemasFixedSizeCollection> {
+
+ public static ApiFuture createAsync(
+ PageContext<
+ ListExtendedMetadataSchemasRequest,
+ ListExtendedMetadataSchemasResponse,
+ ExtendedMetadataSchema>
+ context,
+ ApiFuture futureResponse) {
+ ApiFuture futurePage =
+ ListExtendedMetadataSchemasPage.createEmptyPage()
+ .createPageAsync(context, futureResponse);
+ return ApiFutures.transform(
+ futurePage,
+ input -> new ListExtendedMetadataSchemasPagedResponse(input),
+ MoreExecutors.directExecutor());
+ }
+
+ private ListExtendedMetadataSchemasPagedResponse(ListExtendedMetadataSchemasPage page) {
+ super(page, ListExtendedMetadataSchemasFixedSizeCollection.createEmptyCollection());
+ }
+ }
+
+ public static class ListExtendedMetadataSchemasPage
+ extends AbstractPage<
+ ListExtendedMetadataSchemasRequest,
+ ListExtendedMetadataSchemasResponse,
+ ExtendedMetadataSchema,
+ ListExtendedMetadataSchemasPage> {
+
+ private ListExtendedMetadataSchemasPage(
+ @Nullable
+ PageContext<
+ ListExtendedMetadataSchemasRequest,
+ ListExtendedMetadataSchemasResponse,
+ ExtendedMetadataSchema>
+ context,
+ @Nullable ListExtendedMetadataSchemasResponse response) {
+ super(context, response);
+ }
+
+ private static ListExtendedMetadataSchemasPage createEmptyPage() {
+ return new ListExtendedMetadataSchemasPage(null, null);
+ }
+
+ @Override
+ protected ListExtendedMetadataSchemasPage createPage(
+ @Nullable
+ PageContext<
+ ListExtendedMetadataSchemasRequest,
+ ListExtendedMetadataSchemasResponse,
+ ExtendedMetadataSchema>
+ context,
+ @Nullable ListExtendedMetadataSchemasResponse response) {
+ return new ListExtendedMetadataSchemasPage(context, response);
+ }
+
+ @Override
+ public ApiFuture createPageAsync(
+ @Nullable
+ PageContext<
+ ListExtendedMetadataSchemasRequest,
+ ListExtendedMetadataSchemasResponse,
+ ExtendedMetadataSchema>
+ context,
+ ApiFuture futureResponse) {
+ return super.createPageAsync(context, futureResponse);
+ }
+ }
+
+ public static class ListExtendedMetadataSchemasFixedSizeCollection
+ extends AbstractFixedSizeCollection<
+ ListExtendedMetadataSchemasRequest,
+ ListExtendedMetadataSchemasResponse,
+ ExtendedMetadataSchema,
+ ListExtendedMetadataSchemasPage,
+ ListExtendedMetadataSchemasFixedSizeCollection> {
+
+ private ListExtendedMetadataSchemasFixedSizeCollection(
+ @Nullable List pages, int collectionSize) {
+ super(pages, collectionSize);
+ }
+
+ private static ListExtendedMetadataSchemasFixedSizeCollection createEmptyCollection() {
+ return new ListExtendedMetadataSchemasFixedSizeCollection(null, 0);
+ }
+
+ @Override
+ protected ListExtendedMetadataSchemasFixedSizeCollection createCollection(
+ @Nullable List pages, int collectionSize) {
+ return new ListExtendedMetadataSchemasFixedSizeCollection(pages, collectionSize);
+ }
+ }
+
public static class ListLocationsPagedResponse
extends AbstractPagedListResponse<
ListLocationsRequest,
diff --git a/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/AppHubSettings.java b/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/AppHubSettings.java
index 225f8c5079ae..428933037ac2 100644
--- a/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/AppHubSettings.java
+++ b/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/AppHubSettings.java
@@ -19,6 +19,7 @@
import static com.google.cloud.apphub.v1.AppHubClient.ListApplicationsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListDiscoveredServicesPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListDiscoveredWorkloadsPagedResponse;
+import static com.google.cloud.apphub.v1.AppHubClient.ListExtendedMetadataSchemasPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListLocationsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListServiceProjectAttachmentsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListServicesPagedResponse;
@@ -364,6 +365,37 @@ public UnaryCallSettings deleteApplicationS
return ((AppHubStubSettings) getStubSettings()).deleteApplicationOperationSettings();
}
+ /** Returns the object with the settings used for calls to getBoundary. */
+ public UnaryCallSettings getBoundarySettings() {
+ return ((AppHubStubSettings) getStubSettings()).getBoundarySettings();
+ }
+
+ /** Returns the object with the settings used for calls to updateBoundary. */
+ public UnaryCallSettings updateBoundarySettings() {
+ return ((AppHubStubSettings) getStubSettings()).updateBoundarySettings();
+ }
+
+ /** Returns the object with the settings used for calls to updateBoundary. */
+ public OperationCallSettings
+ updateBoundaryOperationSettings() {
+ return ((AppHubStubSettings) getStubSettings()).updateBoundaryOperationSettings();
+ }
+
+ /** Returns the object with the settings used for calls to getExtendedMetadataSchema. */
+ public UnaryCallSettings
+ getExtendedMetadataSchemaSettings() {
+ return ((AppHubStubSettings) getStubSettings()).getExtendedMetadataSchemaSettings();
+ }
+
+ /** Returns the object with the settings used for calls to listExtendedMetadataSchemas. */
+ public PagedCallSettings<
+ ListExtendedMetadataSchemasRequest,
+ ListExtendedMetadataSchemasResponse,
+ ListExtendedMetadataSchemasPagedResponse>
+ listExtendedMetadataSchemasSettings() {
+ return ((AppHubStubSettings) getStubSettings()).listExtendedMetadataSchemasSettings();
+ }
+
/** Returns the object with the settings used for calls to listLocations. */
public PagedCallSettings
listLocationsSettings() {
@@ -739,6 +771,37 @@ public UnaryCallSettings.Builder getApplicat
return getStubSettingsBuilder().deleteApplicationOperationSettings();
}
+ /** Returns the builder for the settings used for calls to getBoundary. */
+ public UnaryCallSettings.Builder getBoundarySettings() {
+ return getStubSettingsBuilder().getBoundarySettings();
+ }
+
+ /** Returns the builder for the settings used for calls to updateBoundary. */
+ public UnaryCallSettings.Builder updateBoundarySettings() {
+ return getStubSettingsBuilder().updateBoundarySettings();
+ }
+
+ /** Returns the builder for the settings used for calls to updateBoundary. */
+ public OperationCallSettings.Builder
+ updateBoundaryOperationSettings() {
+ return getStubSettingsBuilder().updateBoundaryOperationSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to getExtendedMetadataSchema. */
+ public UnaryCallSettings.Builder
+ getExtendedMetadataSchemaSettings() {
+ return getStubSettingsBuilder().getExtendedMetadataSchemaSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to listExtendedMetadataSchemas. */
+ public PagedCallSettings.Builder<
+ ListExtendedMetadataSchemasRequest,
+ ListExtendedMetadataSchemasResponse,
+ ListExtendedMetadataSchemasPagedResponse>
+ listExtendedMetadataSchemasSettings() {
+ return getStubSettingsBuilder().listExtendedMetadataSchemasSettings();
+ }
+
/** Returns the builder for the settings used for calls to listLocations. */
public PagedCallSettings.Builder<
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
diff --git a/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/gapic_metadata.json b/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/gapic_metadata.json
index a3e910587d83..af57def0bf9a 100644
--- a/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/gapic_metadata.json
+++ b/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/gapic_metadata.json
@@ -40,12 +40,18 @@
"GetApplication": {
"methods": ["getApplication", "getApplication", "getApplication", "getApplicationCallable"]
},
+ "GetBoundary": {
+ "methods": ["getBoundary", "getBoundary", "getBoundary", "getBoundaryCallable"]
+ },
"GetDiscoveredService": {
"methods": ["getDiscoveredService", "getDiscoveredService", "getDiscoveredService", "getDiscoveredServiceCallable"]
},
"GetDiscoveredWorkload": {
"methods": ["getDiscoveredWorkload", "getDiscoveredWorkload", "getDiscoveredWorkload", "getDiscoveredWorkloadCallable"]
},
+ "GetExtendedMetadataSchema": {
+ "methods": ["getExtendedMetadataSchema", "getExtendedMetadataSchema", "getExtendedMetadataSchema", "getExtendedMetadataSchemaCallable"]
+ },
"GetIamPolicy": {
"methods": ["getIamPolicy", "getIamPolicyCallable"]
},
@@ -70,6 +76,9 @@
"ListDiscoveredWorkloads": {
"methods": ["listDiscoveredWorkloads", "listDiscoveredWorkloads", "listDiscoveredWorkloads", "listDiscoveredWorkloadsPagedCallable", "listDiscoveredWorkloadsCallable"]
},
+ "ListExtendedMetadataSchemas": {
+ "methods": ["listExtendedMetadataSchemas", "listExtendedMetadataSchemas", "listExtendedMetadataSchemas", "listExtendedMetadataSchemasPagedCallable", "listExtendedMetadataSchemasCallable"]
+ },
"ListLocations": {
"methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"]
},
@@ -100,6 +109,9 @@
"UpdateApplication": {
"methods": ["updateApplicationAsync", "updateApplicationAsync", "updateApplicationOperationCallable", "updateApplicationCallable"]
},
+ "UpdateBoundary": {
+ "methods": ["updateBoundaryAsync", "updateBoundaryAsync", "updateBoundaryOperationCallable", "updateBoundaryCallable"]
+ },
"UpdateService": {
"methods": ["updateServiceAsync", "updateServiceAsync", "updateServiceOperationCallable", "updateServiceCallable"]
},
diff --git a/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/AppHubStub.java b/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/AppHubStub.java
index 8edf9777dca3..1bf212713d0a 100644
--- a/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/AppHubStub.java
+++ b/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/AppHubStub.java
@@ -19,6 +19,7 @@
import static com.google.cloud.apphub.v1.AppHubClient.ListApplicationsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListDiscoveredServicesPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListDiscoveredWorkloadsPagedResponse;
+import static com.google.cloud.apphub.v1.AppHubClient.ListExtendedMetadataSchemasPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListLocationsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListServiceProjectAttachmentsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListServicesPagedResponse;
@@ -28,6 +29,7 @@
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.apphub.v1.Application;
+import com.google.cloud.apphub.v1.Boundary;
import com.google.cloud.apphub.v1.CreateApplicationRequest;
import com.google.cloud.apphub.v1.CreateServiceProjectAttachmentRequest;
import com.google.cloud.apphub.v1.CreateServiceRequest;
@@ -40,9 +42,12 @@
import com.google.cloud.apphub.v1.DetachServiceProjectAttachmentResponse;
import com.google.cloud.apphub.v1.DiscoveredService;
import com.google.cloud.apphub.v1.DiscoveredWorkload;
+import com.google.cloud.apphub.v1.ExtendedMetadataSchema;
import com.google.cloud.apphub.v1.GetApplicationRequest;
+import com.google.cloud.apphub.v1.GetBoundaryRequest;
import com.google.cloud.apphub.v1.GetDiscoveredServiceRequest;
import com.google.cloud.apphub.v1.GetDiscoveredWorkloadRequest;
+import com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest;
import com.google.cloud.apphub.v1.GetServiceProjectAttachmentRequest;
import com.google.cloud.apphub.v1.GetServiceRequest;
import com.google.cloud.apphub.v1.GetWorkloadRequest;
@@ -52,6 +57,8 @@
import com.google.cloud.apphub.v1.ListDiscoveredServicesResponse;
import com.google.cloud.apphub.v1.ListDiscoveredWorkloadsRequest;
import com.google.cloud.apphub.v1.ListDiscoveredWorkloadsResponse;
+import com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest;
+import com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse;
import com.google.cloud.apphub.v1.ListServiceProjectAttachmentsRequest;
import com.google.cloud.apphub.v1.ListServiceProjectAttachmentsResponse;
import com.google.cloud.apphub.v1.ListServicesRequest;
@@ -68,6 +75,7 @@
import com.google.cloud.apphub.v1.Service;
import com.google.cloud.apphub.v1.ServiceProjectAttachment;
import com.google.cloud.apphub.v1.UpdateApplicationRequest;
+import com.google.cloud.apphub.v1.UpdateBoundaryRequest;
import com.google.cloud.apphub.v1.UpdateServiceRequest;
import com.google.cloud.apphub.v1.UpdateWorkloadRequest;
import com.google.cloud.apphub.v1.Workload;
@@ -329,6 +337,36 @@ public UnaryCallable deleteApplicationCalla
throw new UnsupportedOperationException("Not implemented: deleteApplicationCallable()");
}
+ public UnaryCallable getBoundaryCallable() {
+ throw new UnsupportedOperationException("Not implemented: getBoundaryCallable()");
+ }
+
+ public OperationCallable
+ updateBoundaryOperationCallable() {
+ throw new UnsupportedOperationException("Not implemented: updateBoundaryOperationCallable()");
+ }
+
+ public UnaryCallable updateBoundaryCallable() {
+ throw new UnsupportedOperationException("Not implemented: updateBoundaryCallable()");
+ }
+
+ public UnaryCallable
+ getExtendedMetadataSchemaCallable() {
+ throw new UnsupportedOperationException("Not implemented: getExtendedMetadataSchemaCallable()");
+ }
+
+ public UnaryCallable
+ listExtendedMetadataSchemasPagedCallable() {
+ throw new UnsupportedOperationException(
+ "Not implemented: listExtendedMetadataSchemasPagedCallable()");
+ }
+
+ public UnaryCallable
+ listExtendedMetadataSchemasCallable() {
+ throw new UnsupportedOperationException(
+ "Not implemented: listExtendedMetadataSchemasCallable()");
+ }
+
public UnaryCallable
listLocationsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");
diff --git a/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/AppHubStubSettings.java b/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/AppHubStubSettings.java
index a65316106563..9ba9c2d5af4d 100644
--- a/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/AppHubStubSettings.java
+++ b/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/AppHubStubSettings.java
@@ -19,6 +19,7 @@
import static com.google.cloud.apphub.v1.AppHubClient.ListApplicationsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListDiscoveredServicesPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListDiscoveredWorkloadsPagedResponse;
+import static com.google.cloud.apphub.v1.AppHubClient.ListExtendedMetadataSchemasPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListLocationsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListServiceProjectAttachmentsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListServicesPagedResponse;
@@ -56,6 +57,7 @@
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.apphub.v1.Application;
+import com.google.cloud.apphub.v1.Boundary;
import com.google.cloud.apphub.v1.CreateApplicationRequest;
import com.google.cloud.apphub.v1.CreateServiceProjectAttachmentRequest;
import com.google.cloud.apphub.v1.CreateServiceRequest;
@@ -68,9 +70,12 @@
import com.google.cloud.apphub.v1.DetachServiceProjectAttachmentResponse;
import com.google.cloud.apphub.v1.DiscoveredService;
import com.google.cloud.apphub.v1.DiscoveredWorkload;
+import com.google.cloud.apphub.v1.ExtendedMetadataSchema;
import com.google.cloud.apphub.v1.GetApplicationRequest;
+import com.google.cloud.apphub.v1.GetBoundaryRequest;
import com.google.cloud.apphub.v1.GetDiscoveredServiceRequest;
import com.google.cloud.apphub.v1.GetDiscoveredWorkloadRequest;
+import com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest;
import com.google.cloud.apphub.v1.GetServiceProjectAttachmentRequest;
import com.google.cloud.apphub.v1.GetServiceRequest;
import com.google.cloud.apphub.v1.GetWorkloadRequest;
@@ -80,6 +85,8 @@
import com.google.cloud.apphub.v1.ListDiscoveredServicesResponse;
import com.google.cloud.apphub.v1.ListDiscoveredWorkloadsRequest;
import com.google.cloud.apphub.v1.ListDiscoveredWorkloadsResponse;
+import com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest;
+import com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse;
import com.google.cloud.apphub.v1.ListServiceProjectAttachmentsRequest;
import com.google.cloud.apphub.v1.ListServiceProjectAttachmentsResponse;
import com.google.cloud.apphub.v1.ListServicesRequest;
@@ -96,6 +103,7 @@
import com.google.cloud.apphub.v1.Service;
import com.google.cloud.apphub.v1.ServiceProjectAttachment;
import com.google.cloud.apphub.v1.UpdateApplicationRequest;
+import com.google.cloud.apphub.v1.UpdateBoundaryRequest;
import com.google.cloud.apphub.v1.UpdateServiceRequest;
import com.google.cloud.apphub.v1.UpdateWorkloadRequest;
import com.google.cloud.apphub.v1.Workload;
@@ -283,6 +291,17 @@ public class AppHubStubSettings extends StubSettings {
private final UnaryCallSettings deleteApplicationSettings;
private final OperationCallSettings
deleteApplicationOperationSettings;
+ private final UnaryCallSettings getBoundarySettings;
+ private final UnaryCallSettings updateBoundarySettings;
+ private final OperationCallSettings
+ updateBoundaryOperationSettings;
+ private final UnaryCallSettings
+ getExtendedMetadataSchemaSettings;
+ private final PagedCallSettings<
+ ListExtendedMetadataSchemasRequest,
+ ListExtendedMetadataSchemasResponse,
+ ListExtendedMetadataSchemasPagedResponse>
+ listExtendedMetadataSchemasSettings;
private final PagedCallSettings<
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
listLocationsSettings;
@@ -529,6 +548,53 @@ public Iterable extractResources(ListApplicationsResponse payload)
}
};
+ private static final PagedListDescriptor<
+ ListExtendedMetadataSchemasRequest,
+ ListExtendedMetadataSchemasResponse,
+ ExtendedMetadataSchema>
+ LIST_EXTENDED_METADATA_SCHEMAS_PAGE_STR_DESC =
+ new PagedListDescriptor<
+ ListExtendedMetadataSchemasRequest,
+ ListExtendedMetadataSchemasResponse,
+ ExtendedMetadataSchema>() {
+ @Override
+ public String emptyToken() {
+ return "";
+ }
+
+ @Override
+ public ListExtendedMetadataSchemasRequest injectToken(
+ ListExtendedMetadataSchemasRequest payload, String token) {
+ return ListExtendedMetadataSchemasRequest.newBuilder(payload)
+ .setPageToken(token)
+ .build();
+ }
+
+ @Override
+ public ListExtendedMetadataSchemasRequest injectPageSize(
+ ListExtendedMetadataSchemasRequest payload, int pageSize) {
+ return ListExtendedMetadataSchemasRequest.newBuilder(payload)
+ .setPageSize(pageSize)
+ .build();
+ }
+
+ @Override
+ public Integer extractPageSize(ListExtendedMetadataSchemasRequest payload) {
+ return payload.getPageSize();
+ }
+
+ @Override
+ public String extractNextToken(ListExtendedMetadataSchemasResponse payload) {
+ return payload.getNextPageToken();
+ }
+
+ @Override
+ public Iterable extractResources(
+ ListExtendedMetadataSchemasResponse payload) {
+ return payload.getExtendedMetadataSchemasList();
+ }
+ };
+
private static final PagedListDescriptor
LIST_LOCATIONS_PAGE_STR_DESC =
new PagedListDescriptor() {
@@ -702,6 +768,35 @@ public ApiFuture getFuturePagedResponse(
}
};
+ private static final PagedListResponseFactory<
+ ListExtendedMetadataSchemasRequest,
+ ListExtendedMetadataSchemasResponse,
+ ListExtendedMetadataSchemasPagedResponse>
+ LIST_EXTENDED_METADATA_SCHEMAS_PAGE_STR_FACT =
+ new PagedListResponseFactory<
+ ListExtendedMetadataSchemasRequest,
+ ListExtendedMetadataSchemasResponse,
+ ListExtendedMetadataSchemasPagedResponse>() {
+ @Override
+ public ApiFuture getFuturePagedResponse(
+ UnaryCallable<
+ ListExtendedMetadataSchemasRequest, ListExtendedMetadataSchemasResponse>
+ callable,
+ ListExtendedMetadataSchemasRequest request,
+ ApiCallContext context,
+ ApiFuture futureResponse) {
+ PageContext<
+ ListExtendedMetadataSchemasRequest,
+ ListExtendedMetadataSchemasResponse,
+ ExtendedMetadataSchema>
+ pageContext =
+ PageContext.create(
+ callable, LIST_EXTENDED_METADATA_SCHEMAS_PAGE_STR_DESC, request, context);
+ return ListExtendedMetadataSchemasPagedResponse.createAsync(
+ pageContext, futureResponse);
+ }
+ };
+
private static final PagedListResponseFactory<
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
LIST_LOCATIONS_PAGE_STR_FACT =
@@ -948,6 +1043,37 @@ public UnaryCallSettings deleteApplicationS
return deleteApplicationOperationSettings;
}
+ /** Returns the object with the settings used for calls to getBoundary. */
+ public UnaryCallSettings getBoundarySettings() {
+ return getBoundarySettings;
+ }
+
+ /** Returns the object with the settings used for calls to updateBoundary. */
+ public UnaryCallSettings updateBoundarySettings() {
+ return updateBoundarySettings;
+ }
+
+ /** Returns the object with the settings used for calls to updateBoundary. */
+ public OperationCallSettings
+ updateBoundaryOperationSettings() {
+ return updateBoundaryOperationSettings;
+ }
+
+ /** Returns the object with the settings used for calls to getExtendedMetadataSchema. */
+ public UnaryCallSettings
+ getExtendedMetadataSchemaSettings() {
+ return getExtendedMetadataSchemaSettings;
+ }
+
+ /** Returns the object with the settings used for calls to listExtendedMetadataSchemas. */
+ public PagedCallSettings<
+ ListExtendedMetadataSchemasRequest,
+ ListExtendedMetadataSchemasResponse,
+ ListExtendedMetadataSchemasPagedResponse>
+ listExtendedMetadataSchemasSettings() {
+ return listExtendedMetadataSchemasSettings;
+ }
+
/** Returns the object with the settings used for calls to listLocations. */
public PagedCallSettings
listLocationsSettings() {
@@ -1133,6 +1259,12 @@ protected AppHubStubSettings(Builder settingsBuilder) throws IOException {
deleteApplicationSettings = settingsBuilder.deleteApplicationSettings().build();
deleteApplicationOperationSettings =
settingsBuilder.deleteApplicationOperationSettings().build();
+ getBoundarySettings = settingsBuilder.getBoundarySettings().build();
+ updateBoundarySettings = settingsBuilder.updateBoundarySettings().build();
+ updateBoundaryOperationSettings = settingsBuilder.updateBoundaryOperationSettings().build();
+ getExtendedMetadataSchemaSettings = settingsBuilder.getExtendedMetadataSchemaSettings().build();
+ listExtendedMetadataSchemasSettings =
+ settingsBuilder.listExtendedMetadataSchemasSettings().build();
listLocationsSettings = settingsBuilder.listLocationsSettings().build();
getLocationSettings = settingsBuilder.getLocationSettings().build();
setIamPolicySettings = settingsBuilder.setIamPolicySettings().build();
@@ -1244,6 +1376,19 @@ public static class Builder extends StubSettings.Builder
deleteApplicationOperationSettings;
+ private final UnaryCallSettings.Builder getBoundarySettings;
+ private final UnaryCallSettings.Builder
+ updateBoundarySettings;
+ private final OperationCallSettings.Builder
+ updateBoundaryOperationSettings;
+ private final UnaryCallSettings.Builder<
+ GetExtendedMetadataSchemaRequest, ExtendedMetadataSchema>
+ getExtendedMetadataSchemaSettings;
+ private final PagedCallSettings.Builder<
+ ListExtendedMetadataSchemasRequest,
+ ListExtendedMetadataSchemasResponse,
+ ListExtendedMetadataSchemasPagedResponse>
+ listExtendedMetadataSchemasSettings;
private final PagedCallSettings.Builder<
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
listLocationsSettings;
@@ -1344,6 +1489,12 @@ protected Builder(@Nullable ClientContext clientContext) {
updateApplicationOperationSettings = OperationCallSettings.newBuilder();
deleteApplicationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
deleteApplicationOperationSettings = OperationCallSettings.newBuilder();
+ getBoundarySettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ updateBoundarySettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ updateBoundaryOperationSettings = OperationCallSettings.newBuilder();
+ getExtendedMetadataSchemaSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ listExtendedMetadataSchemasSettings =
+ PagedCallSettings.newBuilder(LIST_EXTENDED_METADATA_SCHEMAS_PAGE_STR_FACT);
listLocationsSettings = PagedCallSettings.newBuilder(LIST_LOCATIONS_PAGE_STR_FACT);
getLocationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
setIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
@@ -1379,6 +1530,10 @@ protected Builder(@Nullable ClientContext clientContext) {
getApplicationSettings,
updateApplicationSettings,
deleteApplicationSettings,
+ getBoundarySettings,
+ updateBoundarySettings,
+ getExtendedMetadataSchemaSettings,
+ listExtendedMetadataSchemasSettings,
listLocationsSettings,
getLocationSettings,
setIamPolicySettings,
@@ -1436,6 +1591,12 @@ protected Builder(AppHubStubSettings settings) {
updateApplicationOperationSettings = settings.updateApplicationOperationSettings.toBuilder();
deleteApplicationSettings = settings.deleteApplicationSettings.toBuilder();
deleteApplicationOperationSettings = settings.deleteApplicationOperationSettings.toBuilder();
+ getBoundarySettings = settings.getBoundarySettings.toBuilder();
+ updateBoundarySettings = settings.updateBoundarySettings.toBuilder();
+ updateBoundaryOperationSettings = settings.updateBoundaryOperationSettings.toBuilder();
+ getExtendedMetadataSchemaSettings = settings.getExtendedMetadataSchemaSettings.toBuilder();
+ listExtendedMetadataSchemasSettings =
+ settings.listExtendedMetadataSchemasSettings.toBuilder();
listLocationsSettings = settings.listLocationsSettings.toBuilder();
getLocationSettings = settings.getLocationSettings.toBuilder();
setIamPolicySettings = settings.setIamPolicySettings.toBuilder();
@@ -1471,6 +1632,10 @@ protected Builder(AppHubStubSettings settings) {
getApplicationSettings,
updateApplicationSettings,
deleteApplicationSettings,
+ getBoundarySettings,
+ updateBoundarySettings,
+ getExtendedMetadataSchemaSettings,
+ listExtendedMetadataSchemasSettings,
listLocationsSettings,
getLocationSettings,
setIamPolicySettings,
@@ -1638,6 +1803,26 @@ private static Builder initDefaults(Builder builder) {
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
+ builder
+ .getBoundarySettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
+
+ builder
+ .updateBoundarySettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
+
+ builder
+ .getExtendedMetadataSchemaSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
+
+ builder
+ .listExtendedMetadataSchemasSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
+
builder
.listLocationsSettings()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
@@ -1929,6 +2114,30 @@ private static Builder initDefaults(Builder builder) {
.setTotalTimeoutDuration(Duration.ofMillis(300000L))
.build()));
+ builder
+ .updateBoundaryOperationSettings()
+ .setInitialCallSettings(
+ UnaryCallSettings
+ .newUnaryCallSettingsBuilder()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"))
+ .build())
+ .setResponseTransformer(
+ ProtoOperationTransformers.ResponseTransformer.create(Boundary.class))
+ .setMetadataTransformer(
+ ProtoOperationTransformers.MetadataTransformer.create(OperationMetadata.class))
+ .setPollingAlgorithm(
+ OperationTimedPollAlgorithm.create(
+ RetrySettings.newBuilder()
+ .setInitialRetryDelayDuration(Duration.ofMillis(5000L))
+ .setRetryDelayMultiplier(1.5)
+ .setMaxRetryDelayDuration(Duration.ofMillis(45000L))
+ .setInitialRpcTimeoutDuration(Duration.ZERO)
+ .setRpcTimeoutMultiplier(1.0)
+ .setMaxRpcTimeoutDuration(Duration.ZERO)
+ .setTotalTimeoutDuration(Duration.ofMillis(300000L))
+ .build()));
+
return builder;
}
@@ -2184,6 +2393,37 @@ public UnaryCallSettings.Builder getApplicat
return deleteApplicationOperationSettings;
}
+ /** Returns the builder for the settings used for calls to getBoundary. */
+ public UnaryCallSettings.Builder getBoundarySettings() {
+ return getBoundarySettings;
+ }
+
+ /** Returns the builder for the settings used for calls to updateBoundary. */
+ public UnaryCallSettings.Builder updateBoundarySettings() {
+ return updateBoundarySettings;
+ }
+
+ /** Returns the builder for the settings used for calls to updateBoundary. */
+ public OperationCallSettings.Builder
+ updateBoundaryOperationSettings() {
+ return updateBoundaryOperationSettings;
+ }
+
+ /** Returns the builder for the settings used for calls to getExtendedMetadataSchema. */
+ public UnaryCallSettings.Builder
+ getExtendedMetadataSchemaSettings() {
+ return getExtendedMetadataSchemaSettings;
+ }
+
+ /** Returns the builder for the settings used for calls to listExtendedMetadataSchemas. */
+ public PagedCallSettings.Builder<
+ ListExtendedMetadataSchemasRequest,
+ ListExtendedMetadataSchemasResponse,
+ ListExtendedMetadataSchemasPagedResponse>
+ listExtendedMetadataSchemasSettings() {
+ return listExtendedMetadataSchemasSettings;
+ }
+
/** Returns the builder for the settings used for calls to listLocations. */
public PagedCallSettings.Builder<
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
diff --git a/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/GrpcAppHubStub.java b/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/GrpcAppHubStub.java
index 60224dfb26db..bbdaa79be529 100644
--- a/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/GrpcAppHubStub.java
+++ b/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/GrpcAppHubStub.java
@@ -19,6 +19,7 @@
import static com.google.cloud.apphub.v1.AppHubClient.ListApplicationsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListDiscoveredServicesPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListDiscoveredWorkloadsPagedResponse;
+import static com.google.cloud.apphub.v1.AppHubClient.ListExtendedMetadataSchemasPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListLocationsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListServiceProjectAttachmentsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListServicesPagedResponse;
@@ -33,6 +34,7 @@
import com.google.api.gax.rpc.RequestParamsBuilder;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.apphub.v1.Application;
+import com.google.cloud.apphub.v1.Boundary;
import com.google.cloud.apphub.v1.CreateApplicationRequest;
import com.google.cloud.apphub.v1.CreateServiceProjectAttachmentRequest;
import com.google.cloud.apphub.v1.CreateServiceRequest;
@@ -45,9 +47,12 @@
import com.google.cloud.apphub.v1.DetachServiceProjectAttachmentResponse;
import com.google.cloud.apphub.v1.DiscoveredService;
import com.google.cloud.apphub.v1.DiscoveredWorkload;
+import com.google.cloud.apphub.v1.ExtendedMetadataSchema;
import com.google.cloud.apphub.v1.GetApplicationRequest;
+import com.google.cloud.apphub.v1.GetBoundaryRequest;
import com.google.cloud.apphub.v1.GetDiscoveredServiceRequest;
import com.google.cloud.apphub.v1.GetDiscoveredWorkloadRequest;
+import com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest;
import com.google.cloud.apphub.v1.GetServiceProjectAttachmentRequest;
import com.google.cloud.apphub.v1.GetServiceRequest;
import com.google.cloud.apphub.v1.GetWorkloadRequest;
@@ -57,6 +62,8 @@
import com.google.cloud.apphub.v1.ListDiscoveredServicesResponse;
import com.google.cloud.apphub.v1.ListDiscoveredWorkloadsRequest;
import com.google.cloud.apphub.v1.ListDiscoveredWorkloadsResponse;
+import com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest;
+import com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse;
import com.google.cloud.apphub.v1.ListServiceProjectAttachmentsRequest;
import com.google.cloud.apphub.v1.ListServiceProjectAttachmentsResponse;
import com.google.cloud.apphub.v1.ListServicesRequest;
@@ -73,6 +80,7 @@
import com.google.cloud.apphub.v1.Service;
import com.google.cloud.apphub.v1.ServiceProjectAttachment;
import com.google.cloud.apphub.v1.UpdateApplicationRequest;
+import com.google.cloud.apphub.v1.UpdateBoundaryRequest;
import com.google.cloud.apphub.v1.UpdateServiceRequest;
import com.google.cloud.apphub.v1.UpdateWorkloadRequest;
import com.google.cloud.apphub.v1.Workload;
@@ -428,6 +436,52 @@ public class GrpcAppHubStub extends AppHubStub {
.setSampledToLocalTracing(true)
.build();
+ private static final MethodDescriptor getBoundaryMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName("google.cloud.apphub.v1.AppHub/GetBoundary")
+ .setRequestMarshaller(ProtoUtils.marshaller(GetBoundaryRequest.getDefaultInstance()))
+ .setResponseMarshaller(ProtoUtils.marshaller(Boundary.getDefaultInstance()))
+ .setSampledToLocalTracing(true)
+ .build();
+
+ private static final MethodDescriptor
+ updateBoundaryMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName("google.cloud.apphub.v1.AppHub/UpdateBoundary")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(UpdateBoundaryRequest.getDefaultInstance()))
+ .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
+ .setSampledToLocalTracing(true)
+ .build();
+
+ private static final MethodDescriptor
+ getExtendedMetadataSchemaMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName("google.cloud.apphub.v1.AppHub/GetExtendedMetadataSchema")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(GetExtendedMetadataSchemaRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(ExtendedMetadataSchema.getDefaultInstance()))
+ .setSampledToLocalTracing(true)
+ .build();
+
+ private static final MethodDescriptor<
+ ListExtendedMetadataSchemasRequest, ListExtendedMetadataSchemasResponse>
+ listExtendedMetadataSchemasMethodDescriptor =
+ MethodDescriptor
+ .newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName("google.cloud.apphub.v1.AppHub/ListExtendedMetadataSchemas")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(ListExtendedMetadataSchemasRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(ListExtendedMetadataSchemasResponse.getDefaultInstance()))
+ .setSampledToLocalTracing(true)
+ .build();
+
private static final MethodDescriptor
listLocationsMethodDescriptor =
MethodDescriptor.newBuilder()
@@ -558,6 +612,18 @@ public class GrpcAppHubStub extends AppHubStub {
private final UnaryCallable deleteApplicationCallable;
private final OperationCallable
deleteApplicationOperationCallable;
+ private final UnaryCallable getBoundaryCallable;
+ private final UnaryCallable updateBoundaryCallable;
+ private final OperationCallable
+ updateBoundaryOperationCallable;
+ private final UnaryCallable
+ getExtendedMetadataSchemaCallable;
+ private final UnaryCallable<
+ ListExtendedMetadataSchemasRequest, ListExtendedMetadataSchemasResponse>
+ listExtendedMetadataSchemasCallable;
+ private final UnaryCallable<
+ ListExtendedMetadataSchemasRequest, ListExtendedMetadataSchemasPagedResponse>
+ listExtendedMetadataSchemasPagedCallable;
private final UnaryCallable listLocationsCallable;
private final UnaryCallable
listLocationsPagedCallable;
@@ -925,6 +991,53 @@ protected GrpcAppHubStub(
})
.setResourceNameExtractor(request -> request.getName())
.build();
+ GrpcCallSettings getBoundaryTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(getBoundaryMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ RequestParamsBuilder builder = RequestParamsBuilder.create();
+ builder.add("name", String.valueOf(request.getName()));
+ return builder.build();
+ })
+ .setResourceNameExtractor(request -> request.getName())
+ .build();
+ GrpcCallSettings updateBoundaryTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(updateBoundaryMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ RequestParamsBuilder builder = RequestParamsBuilder.create();
+ builder.add("boundary.name", String.valueOf(request.getBoundary().getName()));
+ return builder.build();
+ })
+ .build();
+ GrpcCallSettings
+ getExtendedMetadataSchemaTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(getExtendedMetadataSchemaMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ RequestParamsBuilder builder = RequestParamsBuilder.create();
+ builder.add("name", String.valueOf(request.getName()));
+ return builder.build();
+ })
+ .setResourceNameExtractor(request -> request.getName())
+ .build();
+ GrpcCallSettings
+ listExtendedMetadataSchemasTransportSettings =
+ GrpcCallSettings
+ .
+ newBuilder()
+ .setMethodDescriptor(listExtendedMetadataSchemasMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ RequestParamsBuilder builder = RequestParamsBuilder.create();
+ builder.add("parent", String.valueOf(request.getParent()));
+ return builder.build();
+ })
+ .setResourceNameExtractor(request -> request.getParent())
+ .build();
GrpcCallSettings listLocationsTransportSettings =
GrpcCallSettings.newBuilder()
.setMethodDescriptor(listLocationsMethodDescriptor)
@@ -1181,6 +1294,33 @@ protected GrpcAppHubStub(
settings.deleteApplicationOperationSettings(),
clientContext,
operationsStub);
+ this.getBoundaryCallable =
+ callableFactory.createUnaryCallable(
+ getBoundaryTransportSettings, settings.getBoundarySettings(), clientContext);
+ this.updateBoundaryCallable =
+ callableFactory.createUnaryCallable(
+ updateBoundaryTransportSettings, settings.updateBoundarySettings(), clientContext);
+ this.updateBoundaryOperationCallable =
+ callableFactory.createOperationCallable(
+ updateBoundaryTransportSettings,
+ settings.updateBoundaryOperationSettings(),
+ clientContext,
+ operationsStub);
+ this.getExtendedMetadataSchemaCallable =
+ callableFactory.createUnaryCallable(
+ getExtendedMetadataSchemaTransportSettings,
+ settings.getExtendedMetadataSchemaSettings(),
+ clientContext);
+ this.listExtendedMetadataSchemasCallable =
+ callableFactory.createUnaryCallable(
+ listExtendedMetadataSchemasTransportSettings,
+ settings.listExtendedMetadataSchemasSettings(),
+ clientContext);
+ this.listExtendedMetadataSchemasPagedCallable =
+ callableFactory.createPagedCallable(
+ listExtendedMetadataSchemasTransportSettings,
+ settings.listExtendedMetadataSchemasSettings(),
+ clientContext);
this.listLocationsCallable =
callableFactory.createUnaryCallable(
listLocationsTransportSettings, settings.listLocationsSettings(), clientContext);
@@ -1463,6 +1603,40 @@ public UnaryCallable deleteApplicationCalla
return deleteApplicationOperationCallable;
}
+ @Override
+ public UnaryCallable getBoundaryCallable() {
+ return getBoundaryCallable;
+ }
+
+ @Override
+ public UnaryCallable updateBoundaryCallable() {
+ return updateBoundaryCallable;
+ }
+
+ @Override
+ public OperationCallable
+ updateBoundaryOperationCallable() {
+ return updateBoundaryOperationCallable;
+ }
+
+ @Override
+ public UnaryCallable
+ getExtendedMetadataSchemaCallable() {
+ return getExtendedMetadataSchemaCallable;
+ }
+
+ @Override
+ public UnaryCallable
+ listExtendedMetadataSchemasCallable() {
+ return listExtendedMetadataSchemasCallable;
+ }
+
+ @Override
+ public UnaryCallable
+ listExtendedMetadataSchemasPagedCallable() {
+ return listExtendedMetadataSchemasPagedCallable;
+ }
+
@Override
public UnaryCallable listLocationsCallable() {
return listLocationsCallable;
diff --git a/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/HttpJsonAppHubStub.java b/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/HttpJsonAppHubStub.java
index d5aeadc04253..9e0cd30eaa4b 100644
--- a/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/HttpJsonAppHubStub.java
+++ b/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/HttpJsonAppHubStub.java
@@ -19,6 +19,7 @@
import static com.google.cloud.apphub.v1.AppHubClient.ListApplicationsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListDiscoveredServicesPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListDiscoveredWorkloadsPagedResponse;
+import static com.google.cloud.apphub.v1.AppHubClient.ListExtendedMetadataSchemasPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListLocationsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListServiceProjectAttachmentsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListServicesPagedResponse;
@@ -41,6 +42,7 @@
import com.google.api.gax.rpc.RequestParamsBuilder;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.apphub.v1.Application;
+import com.google.cloud.apphub.v1.Boundary;
import com.google.cloud.apphub.v1.CreateApplicationRequest;
import com.google.cloud.apphub.v1.CreateServiceProjectAttachmentRequest;
import com.google.cloud.apphub.v1.CreateServiceRequest;
@@ -53,9 +55,12 @@
import com.google.cloud.apphub.v1.DetachServiceProjectAttachmentResponse;
import com.google.cloud.apphub.v1.DiscoveredService;
import com.google.cloud.apphub.v1.DiscoveredWorkload;
+import com.google.cloud.apphub.v1.ExtendedMetadataSchema;
import com.google.cloud.apphub.v1.GetApplicationRequest;
+import com.google.cloud.apphub.v1.GetBoundaryRequest;
import com.google.cloud.apphub.v1.GetDiscoveredServiceRequest;
import com.google.cloud.apphub.v1.GetDiscoveredWorkloadRequest;
+import com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest;
import com.google.cloud.apphub.v1.GetServiceProjectAttachmentRequest;
import com.google.cloud.apphub.v1.GetServiceRequest;
import com.google.cloud.apphub.v1.GetWorkloadRequest;
@@ -65,6 +70,8 @@
import com.google.cloud.apphub.v1.ListDiscoveredServicesResponse;
import com.google.cloud.apphub.v1.ListDiscoveredWorkloadsRequest;
import com.google.cloud.apphub.v1.ListDiscoveredWorkloadsResponse;
+import com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest;
+import com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse;
import com.google.cloud.apphub.v1.ListServiceProjectAttachmentsRequest;
import com.google.cloud.apphub.v1.ListServiceProjectAttachmentsResponse;
import com.google.cloud.apphub.v1.ListServicesRequest;
@@ -81,6 +88,7 @@
import com.google.cloud.apphub.v1.Service;
import com.google.cloud.apphub.v1.ServiceProjectAttachment;
import com.google.cloud.apphub.v1.UpdateApplicationRequest;
+import com.google.cloud.apphub.v1.UpdateBoundaryRequest;
import com.google.cloud.apphub.v1.UpdateServiceRequest;
import com.google.cloud.apphub.v1.UpdateWorkloadRequest;
import com.google.cloud.apphub.v1.Workload;
@@ -122,6 +130,7 @@ public class HttpJsonAppHubStub extends AppHubStub {
.add(Application.getDescriptor())
.add(OperationMetadata.getDescriptor())
.add(Service.getDescriptor())
+ .add(Boundary.getDescriptor())
.add(Workload.getDescriptor())
.build();
@@ -1175,6 +1184,155 @@ public class HttpJsonAppHubStub extends AppHubStub {
HttpJsonOperationSnapshot.create(response))
.build();
+ private static final ApiMethodDescriptor
+ getBoundaryMethodDescriptor =
+ ApiMethodDescriptor.newBuilder()
+ .setFullMethodName("google.cloud.apphub.v1.AppHub/GetBoundary")
+ .setHttpMethod("GET")
+ .setType(ApiMethodDescriptor.MethodType.UNARY)
+ .setRequestFormatter(
+ ProtoMessageRequestFormatter.newBuilder()
+ .setPath(
+ "/v1/{name=projects/*/locations/*/boundary}",
+ request -> {
+ Map fields = new HashMap<>();
+ ProtoRestSerializer serializer =
+ ProtoRestSerializer.create();
+ serializer.putPathParam(fields, "name", request.getName());
+ return fields;
+ })
+ .setQueryParamsExtractor(
+ request -> {
+ Map> fields = new HashMap<>();
+ ProtoRestSerializer serializer =
+ ProtoRestSerializer.create();
+ serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int");
+ return fields;
+ })
+ .setRequestBodyExtractor(request -> null)
+ .build())
+ .setResponseParser(
+ ProtoMessageResponseParser.newBuilder()
+ .setDefaultInstance(Boundary.getDefaultInstance())
+ .setDefaultTypeRegistry(typeRegistry)
+ .build())
+ .build();
+
+ private static final ApiMethodDescriptor
+ updateBoundaryMethodDescriptor =
+ ApiMethodDescriptor.newBuilder()
+ .setFullMethodName("google.cloud.apphub.v1.AppHub/UpdateBoundary")
+ .setHttpMethod("PATCH")
+ .setType(ApiMethodDescriptor.MethodType.UNARY)
+ .setRequestFormatter(
+ ProtoMessageRequestFormatter.newBuilder()
+ .setPath(
+ "/v1/{boundary.name=projects/*/locations/*/boundary}",
+ request -> {
+ Map fields = new HashMap<>();
+ ProtoRestSerializer serializer =
+ ProtoRestSerializer.create();
+ serializer.putPathParam(
+ fields, "boundary.name", request.getBoundary().getName());
+ return fields;
+ })
+ .setQueryParamsExtractor(
+ request -> {
+ Map> fields = new HashMap<>();
+ ProtoRestSerializer serializer =
+ ProtoRestSerializer.create();
+ serializer.putQueryParam(fields, "requestId", request.getRequestId());
+ serializer.putQueryParam(fields, "updateMask", request.getUpdateMask());
+ serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int");
+ return fields;
+ })
+ .setRequestBodyExtractor(
+ request ->
+ ProtoRestSerializer.create()
+ .toBody("boundary", request.getBoundary(), true))
+ .build())
+ .setResponseParser(
+ ProtoMessageResponseParser.newBuilder()
+ .setDefaultInstance(Operation.getDefaultInstance())
+ .setDefaultTypeRegistry(typeRegistry)
+ .build())
+ .setOperationSnapshotFactory(
+ (UpdateBoundaryRequest request, Operation response) ->
+ HttpJsonOperationSnapshot.create(response))
+ .build();
+
+ private static final ApiMethodDescriptor
+ getExtendedMetadataSchemaMethodDescriptor =
+ ApiMethodDescriptor.newBuilder()
+ .setFullMethodName("google.cloud.apphub.v1.AppHub/GetExtendedMetadataSchema")
+ .setHttpMethod("GET")
+ .setType(ApiMethodDescriptor.MethodType.UNARY)
+ .setRequestFormatter(
+ ProtoMessageRequestFormatter.newBuilder()
+ .setPath(
+ "/v1/{name=projects/*/locations/*/extendedMetadataSchemas/**}",
+ request -> {
+ Map fields = new HashMap<>();
+ ProtoRestSerializer serializer =
+ ProtoRestSerializer.create();
+ serializer.putPathParam(fields, "name", request.getName());
+ return fields;
+ })
+ .setQueryParamsExtractor(
+ request -> {
+ Map> fields = new HashMap<>();
+ ProtoRestSerializer serializer =
+ ProtoRestSerializer.create();
+ serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int");
+ return fields;
+ })
+ .setRequestBodyExtractor(request -> null)
+ .build())
+ .setResponseParser(
+ ProtoMessageResponseParser.newBuilder()
+ .setDefaultInstance(ExtendedMetadataSchema.getDefaultInstance())
+ .setDefaultTypeRegistry(typeRegistry)
+ .build())
+ .build();
+
+ private static final ApiMethodDescriptor<
+ ListExtendedMetadataSchemasRequest, ListExtendedMetadataSchemasResponse>
+ listExtendedMetadataSchemasMethodDescriptor =
+ ApiMethodDescriptor
+ .newBuilder()
+ .setFullMethodName("google.cloud.apphub.v1.AppHub/ListExtendedMetadataSchemas")
+ .setHttpMethod("GET")
+ .setType(ApiMethodDescriptor.MethodType.UNARY)
+ .setRequestFormatter(
+ ProtoMessageRequestFormatter.newBuilder()
+ .setPath(
+ "/v1/{parent=projects/*/locations/*}/extendedMetadataSchemas",
+ request -> {
+ Map fields = new HashMap<>();
+ ProtoRestSerializer serializer =
+ ProtoRestSerializer.create();
+ serializer.putPathParam(fields, "parent", request.getParent());
+ return fields;
+ })
+ .setQueryParamsExtractor(
+ request -> {
+ Map> fields = new HashMap<>();
+ ProtoRestSerializer serializer =
+ ProtoRestSerializer.create();
+ serializer.putQueryParam(fields, "pageSize", request.getPageSize());
+ serializer.putQueryParam(fields, "pageToken", request.getPageToken());
+ serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int");
+ return fields;
+ })
+ .setRequestBodyExtractor(request -> null)
+ .build())
+ .setResponseParser(
+ ProtoMessageResponseParser.newBuilder()
+ .setDefaultInstance(ListExtendedMetadataSchemasResponse.getDefaultInstance())
+ .setDefaultTypeRegistry(typeRegistry)
+ .build())
+ .build();
+
private static final ApiMethodDescriptor
listLocationsMethodDescriptor =
ApiMethodDescriptor.newBuilder()
@@ -1430,6 +1588,18 @@ public class HttpJsonAppHubStub extends AppHubStub {
private final UnaryCallable deleteApplicationCallable;
private final OperationCallable
deleteApplicationOperationCallable;
+ private final UnaryCallable getBoundaryCallable;
+ private final UnaryCallable updateBoundaryCallable;
+ private final OperationCallable
+ updateBoundaryOperationCallable;
+ private final UnaryCallable
+ getExtendedMetadataSchemaCallable;
+ private final UnaryCallable<
+ ListExtendedMetadataSchemasRequest, ListExtendedMetadataSchemasResponse>
+ listExtendedMetadataSchemasCallable;
+ private final UnaryCallable<
+ ListExtendedMetadataSchemasRequest, ListExtendedMetadataSchemasPagedResponse>
+ listExtendedMetadataSchemasPagedCallable;
private final UnaryCallable listLocationsCallable;
private final UnaryCallable
listLocationsPagedCallable;
@@ -1856,6 +2026,58 @@ protected HttpJsonAppHubStub(
})
.setResourceNameExtractor(request -> request.getName())
.build();
+ HttpJsonCallSettings getBoundaryTransportSettings =
+ HttpJsonCallSettings.newBuilder()
+ .setMethodDescriptor(getBoundaryMethodDescriptor)
+ .setTypeRegistry(typeRegistry)
+ .setParamsExtractor(
+ request -> {
+ RequestParamsBuilder builder = RequestParamsBuilder.create();
+ builder.add("name", String.valueOf(request.getName()));
+ return builder.build();
+ })
+ .setResourceNameExtractor(request -> request.getName())
+ .build();
+ HttpJsonCallSettings updateBoundaryTransportSettings =
+ HttpJsonCallSettings.newBuilder()
+ .setMethodDescriptor(updateBoundaryMethodDescriptor)
+ .setTypeRegistry(typeRegistry)
+ .setParamsExtractor(
+ request -> {
+ RequestParamsBuilder builder = RequestParamsBuilder.create();
+ builder.add("boundary.name", String.valueOf(request.getBoundary().getName()));
+ return builder.build();
+ })
+ .build();
+ HttpJsonCallSettings
+ getExtendedMetadataSchemaTransportSettings =
+ HttpJsonCallSettings
+ .newBuilder()
+ .setMethodDescriptor(getExtendedMetadataSchemaMethodDescriptor)
+ .setTypeRegistry(typeRegistry)
+ .setParamsExtractor(
+ request -> {
+ RequestParamsBuilder builder = RequestParamsBuilder.create();
+ builder.add("name", String.valueOf(request.getName()));
+ return builder.build();
+ })
+ .setResourceNameExtractor(request -> request.getName())
+ .build();
+ HttpJsonCallSettings
+ listExtendedMetadataSchemasTransportSettings =
+ HttpJsonCallSettings
+ .
+ newBuilder()
+ .setMethodDescriptor(listExtendedMetadataSchemasMethodDescriptor)
+ .setTypeRegistry(typeRegistry)
+ .setParamsExtractor(
+ request -> {
+ RequestParamsBuilder builder = RequestParamsBuilder.create();
+ builder.add("parent", String.valueOf(request.getParent()));
+ return builder.build();
+ })
+ .setResourceNameExtractor(request -> request.getParent())
+ .build();
HttpJsonCallSettings
listLocationsTransportSettings =
HttpJsonCallSettings.newBuilder()
@@ -2118,6 +2340,33 @@ protected HttpJsonAppHubStub(
settings.deleteApplicationOperationSettings(),
clientContext,
httpJsonOperationsStub);
+ this.getBoundaryCallable =
+ callableFactory.createUnaryCallable(
+ getBoundaryTransportSettings, settings.getBoundarySettings(), clientContext);
+ this.updateBoundaryCallable =
+ callableFactory.createUnaryCallable(
+ updateBoundaryTransportSettings, settings.updateBoundarySettings(), clientContext);
+ this.updateBoundaryOperationCallable =
+ callableFactory.createOperationCallable(
+ updateBoundaryTransportSettings,
+ settings.updateBoundaryOperationSettings(),
+ clientContext,
+ httpJsonOperationsStub);
+ this.getExtendedMetadataSchemaCallable =
+ callableFactory.createUnaryCallable(
+ getExtendedMetadataSchemaTransportSettings,
+ settings.getExtendedMetadataSchemaSettings(),
+ clientContext);
+ this.listExtendedMetadataSchemasCallable =
+ callableFactory.createUnaryCallable(
+ listExtendedMetadataSchemasTransportSettings,
+ settings.listExtendedMetadataSchemasSettings(),
+ clientContext);
+ this.listExtendedMetadataSchemasPagedCallable =
+ callableFactory.createPagedCallable(
+ listExtendedMetadataSchemasTransportSettings,
+ settings.listExtendedMetadataSchemasSettings(),
+ clientContext);
this.listLocationsCallable =
callableFactory.createUnaryCallable(
listLocationsTransportSettings, settings.listLocationsSettings(), clientContext);
@@ -2173,6 +2422,10 @@ public static List getMethodDescriptors() {
methodDescriptors.add(getApplicationMethodDescriptor);
methodDescriptors.add(updateApplicationMethodDescriptor);
methodDescriptors.add(deleteApplicationMethodDescriptor);
+ methodDescriptors.add(getBoundaryMethodDescriptor);
+ methodDescriptors.add(updateBoundaryMethodDescriptor);
+ methodDescriptors.add(getExtendedMetadataSchemaMethodDescriptor);
+ methodDescriptors.add(listExtendedMetadataSchemasMethodDescriptor);
methodDescriptors.add(listLocationsMethodDescriptor);
methodDescriptors.add(getLocationMethodDescriptor);
methodDescriptors.add(setIamPolicyMethodDescriptor);
@@ -2438,6 +2691,40 @@ public UnaryCallable deleteApplicationCalla
return deleteApplicationOperationCallable;
}
+ @Override
+ public UnaryCallable getBoundaryCallable() {
+ return getBoundaryCallable;
+ }
+
+ @Override
+ public UnaryCallable updateBoundaryCallable() {
+ return updateBoundaryCallable;
+ }
+
+ @Override
+ public OperationCallable
+ updateBoundaryOperationCallable() {
+ return updateBoundaryOperationCallable;
+ }
+
+ @Override
+ public UnaryCallable
+ getExtendedMetadataSchemaCallable() {
+ return getExtendedMetadataSchemaCallable;
+ }
+
+ @Override
+ public UnaryCallable
+ listExtendedMetadataSchemasCallable() {
+ return listExtendedMetadataSchemasCallable;
+ }
+
+ @Override
+ public UnaryCallable
+ listExtendedMetadataSchemasPagedCallable() {
+ return listExtendedMetadataSchemasPagedCallable;
+ }
+
@Override
public UnaryCallable listLocationsCallable() {
return listLocationsCallable;
diff --git a/java-apphub/google-cloud-apphub/src/main/resources/META-INF/native-image/com.google.cloud.apphub.v1/reflect-config.json b/java-apphub/google-cloud-apphub/src/main/resources/META-INF/native-image/com.google.cloud.apphub.v1/reflect-config.json
index 09fa06e139d3..b4e23b0fbfcb 100644
--- a/java-apphub/google-cloud-apphub/src/main/resources/META-INF/native-image/com.google.cloud.apphub.v1/reflect-config.json
+++ b/java-apphub/google-cloud-apphub/src/main/resources/META-INF/native-image/com.google.cloud.apphub.v1/reflect-config.json
@@ -548,6 +548,51 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.apphub.v1.ApplicationProperties",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.ApplicationProperties$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.ApplicationType",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.ApplicationType$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.ApplicationType$Type",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.apphub.v1.Attributes",
"queryAllDeclaredConstructors": true,
@@ -566,6 +611,33 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.apphub.v1.Boundary",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.Boundary$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.Boundary$Type",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.apphub.v1.ContactInfo",
"queryAllDeclaredConstructors": true,
@@ -854,6 +926,69 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.apphub.v1.ExtendedMetadata",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.ExtendedMetadata$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.ExtendedMetadataSchema",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.ExtendedMetadataSchema$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.FunctionalType",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.FunctionalType$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.FunctionalType$Type",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.apphub.v1.GetApplicationRequest",
"queryAllDeclaredConstructors": true,
@@ -872,6 +1007,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.apphub.v1.GetBoundaryRequest",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.GetBoundaryRequest$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.apphub.v1.GetDiscoveredServiceRequest",
"queryAllDeclaredConstructors": true,
@@ -908,6 +1061,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.apphub.v1.GetServiceProjectAttachmentRequest",
"queryAllDeclaredConstructors": true,
@@ -962,6 +1133,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.apphub.v1.Identity",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.Identity$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.apphub.v1.ListApplicationsRequest",
"queryAllDeclaredConstructors": true,
@@ -1070,6 +1259,42 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.apphub.v1.ListServiceProjectAttachmentsRequest",
"queryAllDeclaredConstructors": true,
@@ -1304,6 +1529,33 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.apphub.v1.RegistrationType",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.RegistrationType$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.RegistrationType$Type",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.apphub.v1.Scope",
"queryAllDeclaredConstructors": true,
@@ -1439,6 +1691,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.cloud.apphub.v1.UpdateBoundaryRequest",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.cloud.apphub.v1.UpdateBoundaryRequest$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.cloud.apphub.v1.UpdateServiceRequest",
"queryAllDeclaredConstructors": true,
@@ -2861,6 +3131,51 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.protobuf.ListValue",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.protobuf.ListValue$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.protobuf.NullValue",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.protobuf.Struct",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.protobuf.Struct$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.protobuf.Timestamp",
"queryAllDeclaredConstructors": true,
@@ -2879,6 +3194,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
+ {
+ "name": "com.google.protobuf.Value",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
+ {
+ "name": "com.google.protobuf.Value$Builder",
+ "queryAllDeclaredConstructors": true,
+ "queryAllPublicConstructors": true,
+ "queryAllDeclaredMethods": true,
+ "allPublicMethods": true,
+ "allDeclaredClasses": true,
+ "allPublicClasses": true
+ },
{
"name": "com.google.rpc.Status",
"queryAllDeclaredConstructors": true,
diff --git a/java-apphub/google-cloud-apphub/src/test/java/com/google/cloud/apphub/v1/AppHubClientHttpJsonTest.java b/java-apphub/google-cloud-apphub/src/test/java/com/google/cloud/apphub/v1/AppHubClientHttpJsonTest.java
index 371063b2ab5e..55bd48dba442 100644
--- a/java-apphub/google-cloud-apphub/src/test/java/com/google/cloud/apphub/v1/AppHubClientHttpJsonTest.java
+++ b/java-apphub/google-cloud-apphub/src/test/java/com/google/cloud/apphub/v1/AppHubClientHttpJsonTest.java
@@ -19,6 +19,7 @@
import static com.google.cloud.apphub.v1.AppHubClient.ListApplicationsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListDiscoveredServicesPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListDiscoveredWorkloadsPagedResponse;
+import static com.google.cloud.apphub.v1.AppHubClient.ListExtendedMetadataSchemasPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListLocationsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListServiceProjectAttachmentsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListServicesPagedResponse;
@@ -2451,6 +2452,8 @@ public void createApplicationTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setScope(Scope.newBuilder().build())
.setUid("uid115792")
+ .setApplicationProperties(ApplicationProperties.newBuilder().build())
+ .setApplicationType(ApplicationType.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
@@ -2512,6 +2515,8 @@ public void createApplicationTest2() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setScope(Scope.newBuilder().build())
.setUid("uid115792")
+ .setApplicationProperties(ApplicationProperties.newBuilder().build())
+ .setApplicationType(ApplicationType.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
@@ -2573,6 +2578,8 @@ public void getApplicationTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setScope(Scope.newBuilder().build())
.setUid("uid115792")
+ .setApplicationProperties(ApplicationProperties.newBuilder().build())
+ .setApplicationType(ApplicationType.newBuilder().build())
.build();
mockService.addResponse(expectedResponse);
@@ -2624,6 +2631,8 @@ public void getApplicationTest2() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setScope(Scope.newBuilder().build())
.setUid("uid115792")
+ .setApplicationProperties(ApplicationProperties.newBuilder().build())
+ .setApplicationType(ApplicationType.newBuilder().build())
.build();
mockService.addResponse(expectedResponse);
@@ -2675,6 +2684,8 @@ public void updateApplicationTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setScope(Scope.newBuilder().build())
.setUid("uid115792")
+ .setApplicationProperties(ApplicationProperties.newBuilder().build())
+ .setApplicationType(ApplicationType.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
@@ -2694,6 +2705,8 @@ public void updateApplicationTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setScope(Scope.newBuilder().build())
.setUid("uid115792")
+ .setApplicationProperties(ApplicationProperties.newBuilder().build())
+ .setApplicationType(ApplicationType.newBuilder().build())
.build();
FieldMask updateMask = FieldMask.newBuilder().build();
@@ -2733,6 +2746,8 @@ public void updateApplicationExceptionTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setScope(Scope.newBuilder().build())
.setUid("uid115792")
+ .setApplicationProperties(ApplicationProperties.newBuilder().build())
+ .setApplicationType(ApplicationType.newBuilder().build())
.build();
FieldMask updateMask = FieldMask.newBuilder().build();
client.updateApplicationAsync(application, updateMask).get();
@@ -2831,6 +2846,365 @@ public void deleteApplicationExceptionTest2() throws Exception {
}
}
+ @Test
+ public void getBoundaryTest() throws Exception {
+ Boundary expectedResponse =
+ Boundary.newBuilder()
+ .setName(BoundaryName.of("[PROJECT]", "[LOCATION]").toString())
+ .setCreateTime(Timestamp.newBuilder().build())
+ .setUpdateTime(Timestamp.newBuilder().build())
+ .build();
+ mockService.addResponse(expectedResponse);
+
+ BoundaryName name = BoundaryName.of("[PROJECT]", "[LOCATION]");
+
+ Boundary actualResponse = client.getBoundary(name);
+ 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 getBoundaryExceptionTest() throws Exception {
+ ApiException exception =
+ ApiExceptionFactory.createException(
+ new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
+ mockService.addException(exception);
+
+ try {
+ BoundaryName name = BoundaryName.of("[PROJECT]", "[LOCATION]");
+ client.getBoundary(name);
+ Assert.fail("No exception raised");
+ } catch (InvalidArgumentException e) {
+ // Expected exception.
+ }
+ }
+
+ @Test
+ public void getBoundaryTest2() throws Exception {
+ Boundary expectedResponse =
+ Boundary.newBuilder()
+ .setName(BoundaryName.of("[PROJECT]", "[LOCATION]").toString())
+ .setCreateTime(Timestamp.newBuilder().build())
+ .setUpdateTime(Timestamp.newBuilder().build())
+ .build();
+ mockService.addResponse(expectedResponse);
+
+ String name = "projects/project-3121/locations/location-3121/boundary";
+
+ Boundary actualResponse = client.getBoundary(name);
+ 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 getBoundaryExceptionTest2() throws Exception {
+ ApiException exception =
+ ApiExceptionFactory.createException(
+ new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
+ mockService.addException(exception);
+
+ try {
+ String name = "projects/project-3121/locations/location-3121/boundary";
+ client.getBoundary(name);
+ Assert.fail("No exception raised");
+ } catch (InvalidArgumentException e) {
+ // Expected exception.
+ }
+ }
+
+ @Test
+ public void updateBoundaryTest() throws Exception {
+ Boundary expectedResponse =
+ Boundary.newBuilder()
+ .setName(BoundaryName.of("[PROJECT]", "[LOCATION]").toString())
+ .setCreateTime(Timestamp.newBuilder().build())
+ .setUpdateTime(Timestamp.newBuilder().build())
+ .build();
+ Operation resultOperation =
+ Operation.newBuilder()
+ .setName("updateBoundaryTest")
+ .setDone(true)
+ .setResponse(Any.pack(expectedResponse))
+ .build();
+ mockService.addResponse(resultOperation);
+
+ Boundary boundary =
+ Boundary.newBuilder()
+ .setName(BoundaryName.of("[PROJECT]", "[LOCATION]").toString())
+ .setCreateTime(Timestamp.newBuilder().build())
+ .setUpdateTime(Timestamp.newBuilder().build())
+ .build();
+ FieldMask updateMask = FieldMask.newBuilder().build();
+
+ Boundary actualResponse = client.updateBoundaryAsync(boundary, updateMask).get();
+ 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 updateBoundaryExceptionTest() throws Exception {
+ ApiException exception =
+ ApiExceptionFactory.createException(
+ new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
+ mockService.addException(exception);
+
+ try {
+ Boundary boundary =
+ Boundary.newBuilder()
+ .setName(BoundaryName.of("[PROJECT]", "[LOCATION]").toString())
+ .setCreateTime(Timestamp.newBuilder().build())
+ .setUpdateTime(Timestamp.newBuilder().build())
+ .build();
+ FieldMask updateMask = FieldMask.newBuilder().build();
+ client.updateBoundaryAsync(boundary, updateMask).get();
+ Assert.fail("No exception raised");
+ } catch (ExecutionException e) {
+ }
+ }
+
+ @Test
+ public void getExtendedMetadataSchemaTest() throws Exception {
+ ExtendedMetadataSchema expectedResponse =
+ ExtendedMetadataSchema.newBuilder()
+ .setName(
+ ExtendedMetadataSchemaName.of(
+ "[PROJECT]", "[LOCATION]", "[EXTENDED_METADATA_SCHEMA]")
+ .toString())
+ .setJsonSchema("jsonSchema435994793")
+ .setSchemaVersion(1684719674)
+ .build();
+ mockService.addResponse(expectedResponse);
+
+ ExtendedMetadataSchemaName name =
+ ExtendedMetadataSchemaName.of("[PROJECT]", "[LOCATION]", "[EXTENDED_METADATA_SCHEMA]");
+
+ ExtendedMetadataSchema actualResponse = client.getExtendedMetadataSchema(name);
+ 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 getExtendedMetadataSchemaExceptionTest() throws Exception {
+ ApiException exception =
+ ApiExceptionFactory.createException(
+ new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
+ mockService.addException(exception);
+
+ try {
+ ExtendedMetadataSchemaName name =
+ ExtendedMetadataSchemaName.of("[PROJECT]", "[LOCATION]", "[EXTENDED_METADATA_SCHEMA]");
+ client.getExtendedMetadataSchema(name);
+ Assert.fail("No exception raised");
+ } catch (InvalidArgumentException e) {
+ // Expected exception.
+ }
+ }
+
+ @Test
+ public void getExtendedMetadataSchemaTest2() throws Exception {
+ ExtendedMetadataSchema expectedResponse =
+ ExtendedMetadataSchema.newBuilder()
+ .setName(
+ ExtendedMetadataSchemaName.of(
+ "[PROJECT]", "[LOCATION]", "[EXTENDED_METADATA_SCHEMA]")
+ .toString())
+ .setJsonSchema("jsonSchema435994793")
+ .setSchemaVersion(1684719674)
+ .build();
+ mockService.addResponse(expectedResponse);
+
+ String name =
+ "projects/project-3306/locations/location-3306/extendedMetadataSchemas/extendedMetadataSchema-3306";
+
+ ExtendedMetadataSchema actualResponse = client.getExtendedMetadataSchema(name);
+ 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 getExtendedMetadataSchemaExceptionTest2() throws Exception {
+ ApiException exception =
+ ApiExceptionFactory.createException(
+ new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
+ mockService.addException(exception);
+
+ try {
+ String name =
+ "projects/project-3306/locations/location-3306/extendedMetadataSchemas/extendedMetadataSchema-3306";
+ client.getExtendedMetadataSchema(name);
+ Assert.fail("No exception raised");
+ } catch (InvalidArgumentException e) {
+ // Expected exception.
+ }
+ }
+
+ @Test
+ public void listExtendedMetadataSchemasTest() throws Exception {
+ ExtendedMetadataSchema responsesElement = ExtendedMetadataSchema.newBuilder().build();
+ ListExtendedMetadataSchemasResponse expectedResponse =
+ ListExtendedMetadataSchemasResponse.newBuilder()
+ .setNextPageToken("")
+ .addAllExtendedMetadataSchemas(Arrays.asList(responsesElement))
+ .build();
+ mockService.addResponse(expectedResponse);
+
+ LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+
+ ListExtendedMetadataSchemasPagedResponse pagedListResponse =
+ client.listExtendedMetadataSchemas(parent);
+
+ List resources = Lists.newArrayList(pagedListResponse.iterateAll());
+
+ Assert.assertEquals(1, resources.size());
+ Assert.assertEquals(expectedResponse.getExtendedMetadataSchemasList().get(0), resources.get(0));
+
+ 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 listExtendedMetadataSchemasExceptionTest() throws Exception {
+ ApiException exception =
+ ApiExceptionFactory.createException(
+ new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
+ mockService.addException(exception);
+
+ try {
+ LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ client.listExtendedMetadataSchemas(parent);
+ Assert.fail("No exception raised");
+ } catch (InvalidArgumentException e) {
+ // Expected exception.
+ }
+ }
+
+ @Test
+ public void listExtendedMetadataSchemasTest2() throws Exception {
+ ExtendedMetadataSchema responsesElement = ExtendedMetadataSchema.newBuilder().build();
+ ListExtendedMetadataSchemasResponse expectedResponse =
+ ListExtendedMetadataSchemasResponse.newBuilder()
+ .setNextPageToken("")
+ .addAllExtendedMetadataSchemas(Arrays.asList(responsesElement))
+ .build();
+ mockService.addResponse(expectedResponse);
+
+ String parent = "projects/project-5833/locations/location-5833";
+
+ ListExtendedMetadataSchemasPagedResponse pagedListResponse =
+ client.listExtendedMetadataSchemas(parent);
+
+ List resources = Lists.newArrayList(pagedListResponse.iterateAll());
+
+ Assert.assertEquals(1, resources.size());
+ Assert.assertEquals(expectedResponse.getExtendedMetadataSchemasList().get(0), resources.get(0));
+
+ 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 listExtendedMetadataSchemasExceptionTest2() throws Exception {
+ ApiException exception =
+ ApiExceptionFactory.createException(
+ new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
+ mockService.addException(exception);
+
+ try {
+ String parent = "projects/project-5833/locations/location-5833";
+ client.listExtendedMetadataSchemas(parent);
+ Assert.fail("No exception raised");
+ } catch (InvalidArgumentException e) {
+ // Expected exception.
+ }
+ }
+
@Test
public void listLocationsTest() throws Exception {
Location responsesElement = Location.newBuilder().build();
diff --git a/java-apphub/google-cloud-apphub/src/test/java/com/google/cloud/apphub/v1/AppHubClientTest.java b/java-apphub/google-cloud-apphub/src/test/java/com/google/cloud/apphub/v1/AppHubClientTest.java
index 64aad08b934f..afeb2c56c997 100644
--- a/java-apphub/google-cloud-apphub/src/test/java/com/google/cloud/apphub/v1/AppHubClientTest.java
+++ b/java-apphub/google-cloud-apphub/src/test/java/com/google/cloud/apphub/v1/AppHubClientTest.java
@@ -19,6 +19,7 @@
import static com.google.cloud.apphub.v1.AppHubClient.ListApplicationsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListDiscoveredServicesPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListDiscoveredWorkloadsPagedResponse;
+import static com.google.cloud.apphub.v1.AppHubClient.ListExtendedMetadataSchemasPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListLocationsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListServiceProjectAttachmentsPagedResponse;
import static com.google.cloud.apphub.v1.AppHubClient.ListServicesPagedResponse;
@@ -2210,6 +2211,8 @@ public void createApplicationTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setScope(Scope.newBuilder().build())
.setUid("uid115792")
+ .setApplicationProperties(ApplicationProperties.newBuilder().build())
+ .setApplicationType(ApplicationType.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
@@ -2270,6 +2273,8 @@ public void createApplicationTest2() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setScope(Scope.newBuilder().build())
.setUid("uid115792")
+ .setApplicationProperties(ApplicationProperties.newBuilder().build())
+ .setApplicationType(ApplicationType.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
@@ -2330,6 +2335,8 @@ public void getApplicationTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setScope(Scope.newBuilder().build())
.setUid("uid115792")
+ .setApplicationProperties(ApplicationProperties.newBuilder().build())
+ .setApplicationType(ApplicationType.newBuilder().build())
.build();
mockAppHub.addResponse(expectedResponse);
@@ -2375,6 +2382,8 @@ public void getApplicationTest2() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setScope(Scope.newBuilder().build())
.setUid("uid115792")
+ .setApplicationProperties(ApplicationProperties.newBuilder().build())
+ .setApplicationType(ApplicationType.newBuilder().build())
.build();
mockAppHub.addResponse(expectedResponse);
@@ -2420,6 +2429,8 @@ public void updateApplicationTest() throws Exception {
.setUpdateTime(Timestamp.newBuilder().build())
.setScope(Scope.newBuilder().build())
.setUid("uid115792")
+ .setApplicationProperties(ApplicationProperties.newBuilder().build())
+ .setApplicationType(ApplicationType.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
@@ -2548,6 +2559,319 @@ public void deleteApplicationExceptionTest2() throws Exception {
}
}
+ @Test
+ public void getBoundaryTest() throws Exception {
+ Boundary expectedResponse =
+ Boundary.newBuilder()
+ .setName(BoundaryName.of("[PROJECT]", "[LOCATION]").toString())
+ .setCreateTime(Timestamp.newBuilder().build())
+ .setUpdateTime(Timestamp.newBuilder().build())
+ .build();
+ mockAppHub.addResponse(expectedResponse);
+
+ BoundaryName name = BoundaryName.of("[PROJECT]", "[LOCATION]");
+
+ Boundary actualResponse = client.getBoundary(name);
+ Assert.assertEquals(expectedResponse, actualResponse);
+
+ List actualRequests = mockAppHub.getRequests();
+ Assert.assertEquals(1, actualRequests.size());
+ GetBoundaryRequest actualRequest = ((GetBoundaryRequest) actualRequests.get(0));
+
+ Assert.assertEquals(name.toString(), actualRequest.getName());
+ Assert.assertTrue(
+ channelProvider.isHeaderSent(
+ ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+ GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+ }
+
+ @Test
+ public void getBoundaryExceptionTest() throws Exception {
+ StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
+ mockAppHub.addException(exception);
+
+ try {
+ BoundaryName name = BoundaryName.of("[PROJECT]", "[LOCATION]");
+ client.getBoundary(name);
+ Assert.fail("No exception raised");
+ } catch (InvalidArgumentException e) {
+ // Expected exception.
+ }
+ }
+
+ @Test
+ public void getBoundaryTest2() throws Exception {
+ Boundary expectedResponse =
+ Boundary.newBuilder()
+ .setName(BoundaryName.of("[PROJECT]", "[LOCATION]").toString())
+ .setCreateTime(Timestamp.newBuilder().build())
+ .setUpdateTime(Timestamp.newBuilder().build())
+ .build();
+ mockAppHub.addResponse(expectedResponse);
+
+ String name = "name3373707";
+
+ Boundary actualResponse = client.getBoundary(name);
+ Assert.assertEquals(expectedResponse, actualResponse);
+
+ List actualRequests = mockAppHub.getRequests();
+ Assert.assertEquals(1, actualRequests.size());
+ GetBoundaryRequest actualRequest = ((GetBoundaryRequest) actualRequests.get(0));
+
+ Assert.assertEquals(name, actualRequest.getName());
+ Assert.assertTrue(
+ channelProvider.isHeaderSent(
+ ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+ GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+ }
+
+ @Test
+ public void getBoundaryExceptionTest2() throws Exception {
+ StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
+ mockAppHub.addException(exception);
+
+ try {
+ String name = "name3373707";
+ client.getBoundary(name);
+ Assert.fail("No exception raised");
+ } catch (InvalidArgumentException e) {
+ // Expected exception.
+ }
+ }
+
+ @Test
+ public void updateBoundaryTest() throws Exception {
+ Boundary expectedResponse =
+ Boundary.newBuilder()
+ .setName(BoundaryName.of("[PROJECT]", "[LOCATION]").toString())
+ .setCreateTime(Timestamp.newBuilder().build())
+ .setUpdateTime(Timestamp.newBuilder().build())
+ .build();
+ Operation resultOperation =
+ Operation.newBuilder()
+ .setName("updateBoundaryTest")
+ .setDone(true)
+ .setResponse(Any.pack(expectedResponse))
+ .build();
+ mockAppHub.addResponse(resultOperation);
+
+ Boundary boundary = Boundary.newBuilder().build();
+ FieldMask updateMask = FieldMask.newBuilder().build();
+
+ Boundary actualResponse = client.updateBoundaryAsync(boundary, updateMask).get();
+ Assert.assertEquals(expectedResponse, actualResponse);
+
+ List actualRequests = mockAppHub.getRequests();
+ Assert.assertEquals(1, actualRequests.size());
+ UpdateBoundaryRequest actualRequest = ((UpdateBoundaryRequest) actualRequests.get(0));
+
+ Assert.assertEquals(boundary, actualRequest.getBoundary());
+ Assert.assertEquals(updateMask, actualRequest.getUpdateMask());
+ Assert.assertTrue(
+ channelProvider.isHeaderSent(
+ ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+ GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+ }
+
+ @Test
+ public void updateBoundaryExceptionTest() throws Exception {
+ StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
+ mockAppHub.addException(exception);
+
+ try {
+ Boundary boundary = Boundary.newBuilder().build();
+ FieldMask updateMask = FieldMask.newBuilder().build();
+ client.updateBoundaryAsync(boundary, updateMask).get();
+ Assert.fail("No exception raised");
+ } catch (ExecutionException e) {
+ Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass());
+ InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause());
+ Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode());
+ }
+ }
+
+ @Test
+ public void getExtendedMetadataSchemaTest() throws Exception {
+ ExtendedMetadataSchema expectedResponse =
+ ExtendedMetadataSchema.newBuilder()
+ .setName(
+ ExtendedMetadataSchemaName.of(
+ "[PROJECT]", "[LOCATION]", "[EXTENDED_METADATA_SCHEMA]")
+ .toString())
+ .setJsonSchema("jsonSchema435994793")
+ .setSchemaVersion(1684719674)
+ .build();
+ mockAppHub.addResponse(expectedResponse);
+
+ ExtendedMetadataSchemaName name =
+ ExtendedMetadataSchemaName.of("[PROJECT]", "[LOCATION]", "[EXTENDED_METADATA_SCHEMA]");
+
+ ExtendedMetadataSchema actualResponse = client.getExtendedMetadataSchema(name);
+ Assert.assertEquals(expectedResponse, actualResponse);
+
+ List actualRequests = mockAppHub.getRequests();
+ Assert.assertEquals(1, actualRequests.size());
+ GetExtendedMetadataSchemaRequest actualRequest =
+ ((GetExtendedMetadataSchemaRequest) actualRequests.get(0));
+
+ Assert.assertEquals(name.toString(), actualRequest.getName());
+ Assert.assertTrue(
+ channelProvider.isHeaderSent(
+ ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+ GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+ }
+
+ @Test
+ public void getExtendedMetadataSchemaExceptionTest() throws Exception {
+ StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
+ mockAppHub.addException(exception);
+
+ try {
+ ExtendedMetadataSchemaName name =
+ ExtendedMetadataSchemaName.of("[PROJECT]", "[LOCATION]", "[EXTENDED_METADATA_SCHEMA]");
+ client.getExtendedMetadataSchema(name);
+ Assert.fail("No exception raised");
+ } catch (InvalidArgumentException e) {
+ // Expected exception.
+ }
+ }
+
+ @Test
+ public void getExtendedMetadataSchemaTest2() throws Exception {
+ ExtendedMetadataSchema expectedResponse =
+ ExtendedMetadataSchema.newBuilder()
+ .setName(
+ ExtendedMetadataSchemaName.of(
+ "[PROJECT]", "[LOCATION]", "[EXTENDED_METADATA_SCHEMA]")
+ .toString())
+ .setJsonSchema("jsonSchema435994793")
+ .setSchemaVersion(1684719674)
+ .build();
+ mockAppHub.addResponse(expectedResponse);
+
+ String name = "name3373707";
+
+ ExtendedMetadataSchema actualResponse = client.getExtendedMetadataSchema(name);
+ Assert.assertEquals(expectedResponse, actualResponse);
+
+ List actualRequests = mockAppHub.getRequests();
+ Assert.assertEquals(1, actualRequests.size());
+ GetExtendedMetadataSchemaRequest actualRequest =
+ ((GetExtendedMetadataSchemaRequest) actualRequests.get(0));
+
+ Assert.assertEquals(name, actualRequest.getName());
+ Assert.assertTrue(
+ channelProvider.isHeaderSent(
+ ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+ GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+ }
+
+ @Test
+ public void getExtendedMetadataSchemaExceptionTest2() throws Exception {
+ StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
+ mockAppHub.addException(exception);
+
+ try {
+ String name = "name3373707";
+ client.getExtendedMetadataSchema(name);
+ Assert.fail("No exception raised");
+ } catch (InvalidArgumentException e) {
+ // Expected exception.
+ }
+ }
+
+ @Test
+ public void listExtendedMetadataSchemasTest() throws Exception {
+ ExtendedMetadataSchema responsesElement = ExtendedMetadataSchema.newBuilder().build();
+ ListExtendedMetadataSchemasResponse expectedResponse =
+ ListExtendedMetadataSchemasResponse.newBuilder()
+ .setNextPageToken("")
+ .addAllExtendedMetadataSchemas(Arrays.asList(responsesElement))
+ .build();
+ mockAppHub.addResponse(expectedResponse);
+
+ LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+
+ ListExtendedMetadataSchemasPagedResponse pagedListResponse =
+ client.listExtendedMetadataSchemas(parent);
+
+ List resources = Lists.newArrayList(pagedListResponse.iterateAll());
+
+ Assert.assertEquals(1, resources.size());
+ Assert.assertEquals(expectedResponse.getExtendedMetadataSchemasList().get(0), resources.get(0));
+
+ List actualRequests = mockAppHub.getRequests();
+ Assert.assertEquals(1, actualRequests.size());
+ ListExtendedMetadataSchemasRequest actualRequest =
+ ((ListExtendedMetadataSchemasRequest) actualRequests.get(0));
+
+ Assert.assertEquals(parent.toString(), actualRequest.getParent());
+ Assert.assertTrue(
+ channelProvider.isHeaderSent(
+ ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+ GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+ }
+
+ @Test
+ public void listExtendedMetadataSchemasExceptionTest() throws Exception {
+ StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
+ mockAppHub.addException(exception);
+
+ try {
+ LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ client.listExtendedMetadataSchemas(parent);
+ Assert.fail("No exception raised");
+ } catch (InvalidArgumentException e) {
+ // Expected exception.
+ }
+ }
+
+ @Test
+ public void listExtendedMetadataSchemasTest2() throws Exception {
+ ExtendedMetadataSchema responsesElement = ExtendedMetadataSchema.newBuilder().build();
+ ListExtendedMetadataSchemasResponse expectedResponse =
+ ListExtendedMetadataSchemasResponse.newBuilder()
+ .setNextPageToken("")
+ .addAllExtendedMetadataSchemas(Arrays.asList(responsesElement))
+ .build();
+ mockAppHub.addResponse(expectedResponse);
+
+ String parent = "parent-995424086";
+
+ ListExtendedMetadataSchemasPagedResponse pagedListResponse =
+ client.listExtendedMetadataSchemas(parent);
+
+ List resources = Lists.newArrayList(pagedListResponse.iterateAll());
+
+ Assert.assertEquals(1, resources.size());
+ Assert.assertEquals(expectedResponse.getExtendedMetadataSchemasList().get(0), resources.get(0));
+
+ List actualRequests = mockAppHub.getRequests();
+ Assert.assertEquals(1, actualRequests.size());
+ ListExtendedMetadataSchemasRequest actualRequest =
+ ((ListExtendedMetadataSchemasRequest) actualRequests.get(0));
+
+ Assert.assertEquals(parent, actualRequest.getParent());
+ Assert.assertTrue(
+ channelProvider.isHeaderSent(
+ ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+ GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+ }
+
+ @Test
+ public void listExtendedMetadataSchemasExceptionTest2() throws Exception {
+ StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
+ mockAppHub.addException(exception);
+
+ try {
+ String parent = "parent-995424086";
+ client.listExtendedMetadataSchemas(parent);
+ Assert.fail("No exception raised");
+ } catch (InvalidArgumentException e) {
+ // Expected exception.
+ }
+ }
+
@Test
public void listLocationsTest() throws Exception {
Location responsesElement = Location.newBuilder().build();
diff --git a/java-apphub/google-cloud-apphub/src/test/java/com/google/cloud/apphub/v1/MockAppHubImpl.java b/java-apphub/google-cloud-apphub/src/test/java/com/google/cloud/apphub/v1/MockAppHubImpl.java
index f37297616865..adb2c1af735f 100644
--- a/java-apphub/google-cloud-apphub/src/test/java/com/google/cloud/apphub/v1/MockAppHubImpl.java
+++ b/java-apphub/google-cloud-apphub/src/test/java/com/google/cloud/apphub/v1/MockAppHubImpl.java
@@ -643,4 +643,91 @@ public void deleteApplication(
Exception.class.getName())));
}
}
+
+ @Override
+ public void getBoundary(GetBoundaryRequest request, StreamObserver responseObserver) {
+ Object response = responses.poll();
+ if (response instanceof Boundary) {
+ requests.add(request);
+ responseObserver.onNext(((Boundary) 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 GetBoundary, expected %s or %s",
+ response == null ? "null" : response.getClass().getName(),
+ Boundary.class.getName(),
+ Exception.class.getName())));
+ }
+ }
+
+ @Override
+ public void updateBoundary(
+ UpdateBoundaryRequest request, StreamObserver responseObserver) {
+ Object response = responses.poll();
+ if (response instanceof Operation) {
+ requests.add(request);
+ responseObserver.onNext(((Operation) 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 UpdateBoundary, expected %s or %s",
+ response == null ? "null" : response.getClass().getName(),
+ Operation.class.getName(),
+ Exception.class.getName())));
+ }
+ }
+
+ @Override
+ public void getExtendedMetadataSchema(
+ GetExtendedMetadataSchemaRequest request,
+ StreamObserver responseObserver) {
+ Object response = responses.poll();
+ if (response instanceof ExtendedMetadataSchema) {
+ requests.add(request);
+ responseObserver.onNext(((ExtendedMetadataSchema) 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 GetExtendedMetadataSchema, expected %s"
+ + " or %s",
+ response == null ? "null" : response.getClass().getName(),
+ ExtendedMetadataSchema.class.getName(),
+ Exception.class.getName())));
+ }
+ }
+
+ @Override
+ public void listExtendedMetadataSchemas(
+ ListExtendedMetadataSchemasRequest request,
+ StreamObserver responseObserver) {
+ Object response = responses.poll();
+ if (response instanceof ListExtendedMetadataSchemasResponse) {
+ requests.add(request);
+ responseObserver.onNext(((ListExtendedMetadataSchemasResponse) 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 ListExtendedMetadataSchemas, expected"
+ + " %s or %s",
+ response == null ? "null" : response.getClass().getName(),
+ ListExtendedMetadataSchemasResponse.class.getName(),
+ Exception.class.getName())));
+ }
+ }
}
diff --git a/java-apphub/grpc-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/AppHubGrpc.java b/java-apphub/grpc-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/AppHubGrpc.java
index a27d17350122..be5fc5e7858e 100644
--- a/java-apphub/grpc-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/AppHubGrpc.java
+++ b/java-apphub/grpc-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/AppHubGrpc.java
@@ -1265,6 +1265,189 @@ private AppHubGrpc() {}
return getDeleteApplicationMethod;
}
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.apphub.v1.GetBoundaryRequest, com.google.cloud.apphub.v1.Boundary>
+ getGetBoundaryMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetBoundary",
+ requestType = com.google.cloud.apphub.v1.GetBoundaryRequest.class,
+ responseType = com.google.cloud.apphub.v1.Boundary.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.apphub.v1.GetBoundaryRequest, com.google.cloud.apphub.v1.Boundary>
+ getGetBoundaryMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.apphub.v1.GetBoundaryRequest, com.google.cloud.apphub.v1.Boundary>
+ getGetBoundaryMethod;
+ if ((getGetBoundaryMethod = AppHubGrpc.getGetBoundaryMethod) == null) {
+ synchronized (AppHubGrpc.class) {
+ if ((getGetBoundaryMethod = AppHubGrpc.getGetBoundaryMethod) == null) {
+ AppHubGrpc.getGetBoundaryMethod =
+ getGetBoundaryMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBoundary"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.apphub.v1.GetBoundaryRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.apphub.v1.Boundary.getDefaultInstance()))
+ .setSchemaDescriptor(new AppHubMethodDescriptorSupplier("GetBoundary"))
+ .build();
+ }
+ }
+ }
+ return getGetBoundaryMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.apphub.v1.UpdateBoundaryRequest, com.google.longrunning.Operation>
+ getUpdateBoundaryMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "UpdateBoundary",
+ requestType = com.google.cloud.apphub.v1.UpdateBoundaryRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.apphub.v1.UpdateBoundaryRequest, com.google.longrunning.Operation>
+ getUpdateBoundaryMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.apphub.v1.UpdateBoundaryRequest, com.google.longrunning.Operation>
+ getUpdateBoundaryMethod;
+ if ((getUpdateBoundaryMethod = AppHubGrpc.getUpdateBoundaryMethod) == null) {
+ synchronized (AppHubGrpc.class) {
+ if ((getUpdateBoundaryMethod = AppHubGrpc.getUpdateBoundaryMethod) == null) {
+ AppHubGrpc.getUpdateBoundaryMethod =
+ getUpdateBoundaryMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateBoundary"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.apphub.v1.UpdateBoundaryRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new AppHubMethodDescriptorSupplier("UpdateBoundary"))
+ .build();
+ }
+ }
+ }
+ return getUpdateBoundaryMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest,
+ com.google.cloud.apphub.v1.ExtendedMetadataSchema>
+ getGetExtendedMetadataSchemaMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetExtendedMetadataSchema",
+ requestType = com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest.class,
+ responseType = com.google.cloud.apphub.v1.ExtendedMetadataSchema.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest,
+ com.google.cloud.apphub.v1.ExtendedMetadataSchema>
+ getGetExtendedMetadataSchemaMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest,
+ com.google.cloud.apphub.v1.ExtendedMetadataSchema>
+ getGetExtendedMetadataSchemaMethod;
+ if ((getGetExtendedMetadataSchemaMethod = AppHubGrpc.getGetExtendedMetadataSchemaMethod)
+ == null) {
+ synchronized (AppHubGrpc.class) {
+ if ((getGetExtendedMetadataSchemaMethod = AppHubGrpc.getGetExtendedMetadataSchemaMethod)
+ == null) {
+ AppHubGrpc.getGetExtendedMetadataSchemaMethod =
+ getGetExtendedMetadataSchemaMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "GetExtendedMetadataSchema"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.apphub.v1.ExtendedMetadataSchema
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new AppHubMethodDescriptorSupplier("GetExtendedMetadataSchema"))
+ .build();
+ }
+ }
+ }
+ return getGetExtendedMetadataSchemaMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor<
+ com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest,
+ com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse>
+ getListExtendedMetadataSchemasMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListExtendedMetadataSchemas",
+ requestType = com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest.class,
+ responseType = com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor<
+ com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest,
+ com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse>
+ getListExtendedMetadataSchemasMethod() {
+ io.grpc.MethodDescriptor<
+ com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest,
+ com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse>
+ getListExtendedMetadataSchemasMethod;
+ if ((getListExtendedMetadataSchemasMethod = AppHubGrpc.getListExtendedMetadataSchemasMethod)
+ == null) {
+ synchronized (AppHubGrpc.class) {
+ if ((getListExtendedMetadataSchemasMethod = AppHubGrpc.getListExtendedMetadataSchemasMethod)
+ == null) {
+ AppHubGrpc.getListExtendedMetadataSchemasMethod =
+ getListExtendedMetadataSchemasMethod =
+ io.grpc.MethodDescriptor
+ .
+ newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ generateFullMethodName(SERVICE_NAME, "ListExtendedMetadataSchemas"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest
+ .getDefaultInstance()))
+ .setResponseMarshaller(
+ io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse
+ .getDefaultInstance()))
+ .setSchemaDescriptor(
+ new AppHubMethodDescriptorSupplier("ListExtendedMetadataSchemas"))
+ .build();
+ }
+ }
+ }
+ return getListExtendedMetadataSchemasMethod;
+ }
+
/** Creates a new async stub that supports all call types for the service */
public static AppHubStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
@@ -1726,6 +1909,64 @@ default void deleteApplication(
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getDeleteApplicationMethod(), responseObserver);
}
+
+ /**
+ *
+ *
+ *
+ * Gets a Boundary.
+ *
+ */
+ default void getBoundary(
+ com.google.cloud.apphub.v1.GetBoundaryRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetBoundaryMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates a Boundary.
+ *
+ */
+ default void updateBoundary(
+ com.google.cloud.apphub.v1.UpdateBoundaryRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getUpdateBoundaryMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets an Extended Metadata Schema.
+ *
+ */
+ default void getExtendedMetadataSchema(
+ com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getGetExtendedMetadataSchemaMethod(), responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists Extended Metadata Schemas available in a host project and location.
+ *
+ */
+ default void listExtendedMetadataSchemas(
+ com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getListExtendedMetadataSchemasMethod(), responseObserver);
+ }
}
/**
@@ -2212,6 +2453,72 @@ public void deleteApplication(
request,
responseObserver);
}
+
+ /**
+ *
+ *
+ *
+ * Gets a Boundary.
+ *
+ */
+ public void getBoundary(
+ com.google.cloud.apphub.v1.GetBoundaryRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetBoundaryMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates a Boundary.
+ *
+ */
+ public void updateBoundary(
+ com.google.cloud.apphub.v1.UpdateBoundaryRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getUpdateBoundaryMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets an Extended Metadata Schema.
+ *
+ */
+ public void getExtendedMetadataSchema(
+ com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetExtendedMetadataSchemaMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists Extended Metadata Schemas available in a host project and location.
+ *
+ */
+ public void listExtendedMetadataSchemas(
+ com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest request,
+ io.grpc.stub.StreamObserver
+ responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListExtendedMetadataSchemasMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
}
/**
@@ -2607,6 +2914,61 @@ public com.google.longrunning.Operation deleteApplication(
return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getDeleteApplicationMethod(), getCallOptions(), request);
}
+
+ /**
+ *
+ *
+ *
+ * Gets a Boundary.
+ *
+ */
+ public com.google.cloud.apphub.v1.Boundary getBoundary(
+ com.google.cloud.apphub.v1.GetBoundaryRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
+ getChannel(), getGetBoundaryMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates a Boundary.
+ *
+ */
+ public com.google.longrunning.Operation updateBoundary(
+ com.google.cloud.apphub.v1.UpdateBoundaryRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
+ getChannel(), getUpdateBoundaryMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets an Extended Metadata Schema.
+ *
+ */
+ public com.google.cloud.apphub.v1.ExtendedMetadataSchema getExtendedMetadataSchema(
+ com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
+ getChannel(), getGetExtendedMetadataSchemaMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists Extended Metadata Schemas available in a host project and location.
+ *
+ */
+ public com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse
+ listExtendedMetadataSchemas(
+ com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
+ getChannel(), getListExtendedMetadataSchemasMethod(), getCallOptions(), request);
+ }
}
/**
@@ -2987,6 +3349,59 @@ public com.google.longrunning.Operation deleteApplication(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteApplicationMethod(), getCallOptions(), request);
}
+
+ /**
+ *
+ *
+ *
+ * Gets a Boundary.
+ *
+ */
+ public com.google.cloud.apphub.v1.Boundary getBoundary(
+ com.google.cloud.apphub.v1.GetBoundaryRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetBoundaryMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates a Boundary.
+ *
+ */
+ public com.google.longrunning.Operation updateBoundary(
+ com.google.cloud.apphub.v1.UpdateBoundaryRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getUpdateBoundaryMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets an Extended Metadata Schema.
+ *
+ */
+ public com.google.cloud.apphub.v1.ExtendedMetadataSchema getExtendedMetadataSchema(
+ com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetExtendedMetadataSchemaMethod(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists Extended Metadata Schemas available in a host project and location.
+ *
+ */
+ public com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse
+ listExtendedMetadataSchemas(
+ com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListExtendedMetadataSchemasMethod(), getCallOptions(), request);
+ }
}
/**
@@ -3390,6 +3805,62 @@ protected AppHubFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteApplicationMethod(), getCallOptions()), request);
}
+
+ /**
+ *
+ *
+ *
+ * Gets a Boundary.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ getBoundary(com.google.cloud.apphub.v1.GetBoundaryRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetBoundaryMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Updates a Boundary.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ updateBoundary(com.google.cloud.apphub.v1.UpdateBoundaryRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getUpdateBoundaryMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Gets an Extended Metadata Schema.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.apphub.v1.ExtendedMetadataSchema>
+ getExtendedMetadataSchema(
+ com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetExtendedMetadataSchemaMethod(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Lists Extended Metadata Schemas available in a host project and location.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse>
+ listExtendedMetadataSchemas(
+ com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getListExtendedMetadataSchemasMethod(), getCallOptions()), request);
+ }
}
private static final int METHODID_LOOKUP_SERVICE_PROJECT_ATTACHMENT = 0;
@@ -3419,6 +3890,10 @@ protected AppHubFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
private static final int METHODID_GET_APPLICATION = 24;
private static final int METHODID_UPDATE_APPLICATION = 25;
private static final int METHODID_DELETE_APPLICATION = 26;
+ private static final int METHODID_GET_BOUNDARY = 27;
+ private static final int METHODID_UPDATE_BOUNDARY = 28;
+ private static final int METHODID_GET_EXTENDED_METADATA_SCHEMA = 29;
+ private static final int METHODID_LIST_EXTENDED_METADATA_SCHEMAS = 30;
private static final class MethodHandlers
implements io.grpc.stub.ServerCalls.UnaryMethod,
@@ -3593,6 +4068,29 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv
(com.google.cloud.apphub.v1.DeleteApplicationRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
+ case METHODID_GET_BOUNDARY:
+ serviceImpl.getBoundary(
+ (com.google.cloud.apphub.v1.GetBoundaryRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_UPDATE_BOUNDARY:
+ serviceImpl.updateBoundary(
+ (com.google.cloud.apphub.v1.UpdateBoundaryRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_GET_EXTENDED_METADATA_SCHEMA:
+ serviceImpl.getExtendedMetadataSchema(
+ (com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest) request,
+ (io.grpc.stub.StreamObserver)
+ responseObserver);
+ break;
+ case METHODID_LIST_EXTENDED_METADATA_SCHEMAS:
+ serviceImpl.listExtendedMetadataSchemas(
+ (com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest) request,
+ (io.grpc.stub.StreamObserver<
+ com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse>)
+ responseObserver);
+ break;
default:
throw new AssertionError();
}
@@ -3788,6 +4286,32 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser
new MethodHandlers<
com.google.cloud.apphub.v1.DeleteApplicationRequest,
com.google.longrunning.Operation>(service, METHODID_DELETE_APPLICATION)))
+ .addMethod(
+ getGetBoundaryMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.apphub.v1.GetBoundaryRequest,
+ com.google.cloud.apphub.v1.Boundary>(service, METHODID_GET_BOUNDARY)))
+ .addMethod(
+ getUpdateBoundaryMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.apphub.v1.UpdateBoundaryRequest,
+ com.google.longrunning.Operation>(service, METHODID_UPDATE_BOUNDARY)))
+ .addMethod(
+ getGetExtendedMetadataSchemaMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest,
+ com.google.cloud.apphub.v1.ExtendedMetadataSchema>(
+ service, METHODID_GET_EXTENDED_METADATA_SCHEMA)))
+ .addMethod(
+ getListExtendedMetadataSchemasMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest,
+ com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse>(
+ service, METHODID_LIST_EXTENDED_METADATA_SCHEMAS)))
.build();
}
@@ -3864,6 +4388,10 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
.addMethod(getGetApplicationMethod())
.addMethod(getUpdateApplicationMethod())
.addMethod(getDeleteApplicationMethod())
+ .addMethod(getGetBoundaryMethod())
+ .addMethod(getUpdateBoundaryMethod())
+ .addMethod(getGetExtendedMetadataSchemaMethod())
+ .addMethod(getListExtendedMetadataSchemasMethod())
.build();
}
}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApphubServiceProto.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApphubServiceProto.java
index a1c988593bdd..818c66df6cc6 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApphubServiceProto.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApphubServiceProto.java
@@ -188,10 +188,30 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_apphub_v1_DeleteWorkloadRequest_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_cloud_apphub_v1_DeleteWorkloadRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_apphub_v1_GetBoundaryRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_apphub_v1_GetBoundaryRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_apphub_v1_UpdateBoundaryRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_apphub_v1_UpdateBoundaryRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_apphub_v1_OperationMetadata_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_cloud_apphub_v1_OperationMetadata_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_apphub_v1_GetExtendedMetadataSchemaRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_apphub_v1_GetExtendedMetadataSchemaRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_apphub_v1_ListExtendedMetadataSchemasRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_apphub_v1_ListExtendedMetadataSchemasRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_apphub_v1_ListExtendedMetadataSchemasResponse_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_apphub_v1_ListExtendedMetadataSchemasResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -205,18 +225,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "+google/cloud/apphub/v1/apphub_service."
+ "proto\022\026google.cloud.apphub.v1\032\034google/ap"
+ "i/annotations.proto\032\027google/api/client.p"
- + "roto\032\037google/api/field_behavior.proto\032\031g"
- + "oogle/api/resource.proto\032(google/cloud/apphub/v1/application.proto\032$google/cloud"
- + "/apphub/v1/service.proto\0327google/cloud/apphub/v1/service_project_attachment.prot"
- + "o\032%google/cloud/apphub/v1/workload.proto"
- + "\032#google/longrunning/operations.proto\032\033google/protobuf/empty.proto\032"
+ + "roto\032\037google/api/field_behavior.proto\032\033g"
+ + "oogle/api/field_info.proto\032\031google/api/r"
+ + "esource.proto\032(google/cloud/apphub/v1/application.proto\032%google/cloud/apphub/v1/"
+ + "boundary.proto\0325google/cloud/apphub/v1/extended_metadata_schema.proto\032$google/cl"
+ + "oud/apphub/v1/service.proto\0327google/cloud/apphub/v1/service_project_attachment.p"
+ + "roto\032%google/cloud/apphub/v1/workload.pr"
+ + "oto\032#google/longrunning/operations.proto\032\033google/protobuf/empty.proto\032"
+ " google/protobuf/field_mask.proto\032\037google/protobuf/timestamp.proto\"`\n"
+ "%LookupServiceProjectAttachmentRequest\0227\n"
+ "\004name\030\001 \001(\tB)\340A\002\372A#\n"
+ "!locations.googleapis.com/Location\"~\n"
+ "&LookupServiceProjectAttachmentResponse\022T\n"
- + "\032service_project_attachment\030\001 \001(\01320.google.c"
- + "loud.apphub.v1.ServiceProjectAttachment\"\313\001\n"
+ + "\032service_project_attachment\030\001 \001(\01320.googl"
+ + "e.cloud.apphub.v1.ServiceProjectAttachment\"\313\001\n"
+ "$ListServiceProjectAttachmentsRequest\022F\n"
+ "\006parent\030\001 \001("
+ "\tB6\340A\002\372A0\022.apphub.googleapis.com/ServiceProjectAttachment\022\026\n"
@@ -228,28 +250,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\033service_project_attachments\030\001"
+ " \003(\01320.google.cloud.apphub.v1.ServiceProjectAttachment\022\027\n"
+ "\017next_page_token\030\002 \001(\t\022\023\n"
- + "\013unreachable\030\003 \003(\t\"\217\002\n"
+ + "\013unreachable\030\003 \003(\t\"\227\002\n"
+ "%CreateServiceProjectAttachmentRequest\022F\n"
- + "\006parent\030\001 \001(\tB6"
- + "\340A\002\372A0\022.apphub.googleapis.com/ServiceProjectAttachment\022*\n"
+ + "\006parent\030\001 \001("
+ + "\tB6\340A\002\372A0\022.apphub.googleapis.com/ServiceProjectAttachment\022*\n"
+ "\035service_project_attachment_id\030\002 \001(\tB\003\340A\002\022Y\n"
+ "\032service_project_attachment\030\003"
- + " \001(\01320.google.cloud.apphub.v1.ServiceProjectAttachmentB\003\340A\002\022\027\n\n"
- + "request_id\030\004 \001(\tB\003\340A\001\"j\n"
+ + " \001(\01320.google.cloud.apphub.v1.ServiceProjectAttachmentB\003\340A\002\022\037\n\n"
+ + "request_id\030\004 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"j\n"
+ "\"GetServiceProjectAttachmentRequest\022D\n"
+ "\004name\030\001 \001(\tB6\340A\002\372A0\n"
- + ".apphub.googleapis.com/ServiceProjectAttachment\"\206\001\n"
+ + ".apphub.googleapis.com/ServiceProjectAttachment\"\216\001\n"
+ "%DeleteServiceProjectAttachmentRequest\022D\n"
+ "\004name\030\001 \001(\tB6\340A\002\372A0\n"
- + ".apphub.googleapis.com/ServiceProjectAttachment\022\027\n\n"
- + "request_id\030\002 \001(\tB\003\340A\001\"`\n"
+ + ".apphub.googleapis.com/ServiceProjectAttachment\022\037\n\n"
+ + "request_id\030\002 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"`\n"
+ "%DetachServiceProjectAttachmentRequest\0227\n"
+ "\004name\030\001 \001(\tB)\340A\002\372A#\n"
+ "!locations.googleapis.com/Location\"(\n"
+ "&DetachServiceProjectAttachmentResponse\"\251\001\n"
+ "\023ListServicesRequest\0225\n"
- + "\006parent\030\001 \001(\tB"
- + "%\340A\002\372A\037\022\035apphub.googleapis.com/Service\022\026\n"
+ + "\006parent\030\001 \001("
+ + "\tB%\340A\002\372A\037\022\035apphub.googleapis.com/Service\022\026\n"
+ "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n"
+ "page_token\030\003 \001(\tB\003\340A\001\022\023\n"
+ "\006filter\030\004 \001(\tB\003\340A\001\022\025\n"
@@ -269,16 +291,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\023discovered_services\030\001"
+ " \003(\0132).google.cloud.apphub.v1.DiscoveredService\022\027\n"
+ "\017next_page_token\030\002 \001(\t\022\023\n"
- + "\013unreachable\030\003 \003(\t\"\266\001\n"
+ + "\013unreachable\030\003 \003(\t\"\276\001\n"
+ "\024CreateServiceRequest\0225\n"
+ "\006parent\030\001 \001("
- + "\tB%\340A\002\372A\037\022\035apphub.googleapis.com/Service\022\027\n"
- + "\n"
+ + "\tB%\340A\002\372A\037\022\035apphub.googleapis.com/Service\022\027\n\n"
+ "service_id\030\002 \001(\tB\003\340A\002\0225\n"
+ "\007service\030\003"
- + " \001(\0132\037.google.cloud.apphub.v1.ServiceB\003\340A\002\022\027\n"
- + "\n"
- + "request_id\030\004 \001(\tB\003\340A\001\"H\n"
+ + " \001(\0132\037.google.cloud.apphub.v1.ServiceB\003\340A\002\022\037\n\n"
+ + "request_id\030\004 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"H\n"
+ "\021GetServiceRequest\0223\n"
+ "\004name\030\001 \001(\tB%\340A\002\372A\037\n"
+ "\035apphub.googleapis.com/Service\"\\\n"
@@ -286,24 +306,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\004name\030\001 \001(\tB/\340A\002\372A)\n"
+ "\'apphub.googleapis.com/DiscoveredService\"s\n"
+ "\036LookupDiscoveredServiceRequest\022?\n"
- + "\006parent\030\001 \001(\t"
- + "B/\340A\002\372A)\022\'apphub.googleapis.com/DiscoveredService\022\020\n"
+ + "\006parent\030\001 \001("
+ + "\tB/\340A\002\372A)\022\'apphub.googleapis.com/DiscoveredService\022\020\n"
+ "\003uri\030\002 \001(\tB\003\340A\002\"h\n"
+ "\037LookupDiscoveredServiceResponse\022E\n"
- + "\022discovered_service\030\001"
- + " \001(\0132).google.cloud.apphub.v1.DiscoveredService\"\234\001\n"
+ + "\022discovered_service\030\001 \001(\0132)."
+ + "google.cloud.apphub.v1.DiscoveredService\"\244\001\n"
+ "\024UpdateServiceRequest\0224\n"
- + "\013update_mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\0225\n"
+ + "\013update_mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\0225\n"
+ "\007service\030\002"
- + " \001(\0132\037.google.cloud.apphub.v1.ServiceB\003\340A\002\022\027\n\n"
- + "request_id\030\003 \001(\tB\003\340A\001\"d\n"
+ + " \001(\0132\037.google.cloud.apphub.v1.ServiceB\003\340A\002\022\037\n\n"
+ + "request_id\030\003 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"l\n"
+ "\024DeleteServiceRequest\0223\n"
+ "\004name\030\001 \001(\tB%\340A\002\372A\037\n"
- + "\035apphub.googleapis.com/Service\022\027\n\n"
- + "request_id\030\002 \001(\tB\003\340A\001\"\261\001\n"
+ + "\035apphub.googleapis.com/Service\022\037\n\n"
+ + "request_id\030\002 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"\261\001\n"
+ "\027ListApplicationsRequest\0229\n"
- + "\006parent\030\001 \001(\tB)"
- + "\340A\002\372A#\022!apphub.googleapis.com/Application\022\026\n"
+ + "\006parent\030\001 \001("
+ + "\tB)\340A\002\372A#\022!apphub.googleapis.com/Application\022\026\n"
+ "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n"
+ "page_token\030\003 \001(\tB\003\340A\001\022\023\n"
+ "\006filter\030\004 \001(\tB\003\340A\001\022\025\n"
@@ -311,26 +331,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\030ListApplicationsResponse\0229\n"
+ "\014applications\030\001 \003(\0132#.google.cloud.apphub.v1.Application\022\027\n"
+ "\017next_page_token\030\002 \001(\t\022\023\n"
- + "\013unreachable\030\003 \003(\t\"\312\001\n"
+ + "\013unreachable\030\003 \003(\t\"\322\001\n"
+ "\030CreateApplicationRequest\0229\n"
- + "\006parent\030\001 \001("
- + "\tB)\340A\002\372A#\022!apphub.googleapis.com/Application\022\033\n"
+ + "\006parent\030\001 \001(\tB)\340A"
+ + "\002\372A#\022!apphub.googleapis.com/Application\022\033\n"
+ "\016application_id\030\002 \001(\tB\003\340A\002\022=\n"
+ "\013application\030\003"
- + " \001(\0132#.google.cloud.apphub.v1.ApplicationB\003\340A\002\022\027\n\n"
- + "request_id\030\004 \001(\tB\003\340A\001\"P\n"
+ + " \001(\0132#.google.cloud.apphub.v1.ApplicationB\003\340A\002\022\037\n\n"
+ + "request_id\030\004 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"P\n"
+ "\025GetApplicationRequest\0227\n"
+ "\004name\030\001 \001(\tB)\340A\002\372A#\n"
- + "!apphub.googleapis.com/Application\"\250\001\n"
+ + "!apphub.googleapis.com/Application\"\260\001\n"
+ "\030UpdateApplicationRequest\0224\n"
- + "\013update_mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\022=\n"
+ + "\013update_mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\022=\n"
+ "\013application\030\002"
- + " \001(\0132#.google.cloud.apphub.v1.ApplicationB\003\340A\002\022\027\n\n"
- + "request_id\030\003 \001(\tB\003\340A\001\"l\n"
+ + " \001(\0132#.google.cloud.apphub.v1.ApplicationB\003\340A\002\022\037\n\n"
+ + "request_id\030\003 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"t\n"
+ "\030DeleteApplicationRequest\0227\n"
+ "\004name\030\001 \001(\tB)\340A\002\372A#\n"
- + "!apphub.googleapis.com/Application\022\027\n\n"
- + "request_id\030\002 \001(\tB\003\340A\001\"\253\001\n"
+ + "!apphub.googleapis.com/Application\022\037\n\n"
+ + "request_id\030\002 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"\253\001\n"
+ "\024ListWorkloadsRequest\0226\n"
+ "\006parent\030\001 \001(\tB&\340A\002\372A"
+ " \022\036apphub.googleapis.com/Workload\022\026\n"
@@ -350,17 +370,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\006filter\030\004 \001(\tB\003\340A\001\022\025\n"
+ "\010order_by\030\005 \001(\tB\003\340A\001\"\231\001\n"
+ "\037ListDiscoveredWorkloadsResponse\022H\n"
- + "\024discovered_workloads\030\001 \003(\0132*.goo"
- + "gle.cloud.apphub.v1.DiscoveredWorkload\022\027\n"
+ + "\024discovered_workloads\030\001"
+ + " \003(\0132*.google.cloud.apphub.v1.DiscoveredWorkload\022\027\n"
+ "\017next_page_token\030\002 \001(\t\022\023\n"
- + "\013unreachable\030\003 \003(\t\"\273\001\n"
+ + "\013unreachable\030\003 \003(\t\"\303\001\n"
+ "\025CreateWorkloadRequest\0226\n"
+ "\006parent\030\001 \001(\tB&\340A\002\372A"
+ " \022\036apphub.googleapis.com/Workload\022\030\n"
+ "\013workload_id\030\002 \001(\tB\003\340A\002\0227\n"
+ "\010workload\030\003 \001(\0132"
- + " .google.cloud.apphub.v1.WorkloadB\003\340A\002\022\027\n\n"
- + "request_id\030\004 \001(\tB\003\340A\001\"J\n"
+ + " .google.cloud.apphub.v1.WorkloadB\003\340A\002\022\037\n\n"
+ + "request_id\030\004 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"J\n"
+ "\022GetWorkloadRequest\0224\n"
+ "\004name\030\001 \001(\tB&\340A\002\372A \n"
+ "\036apphub.googleapis.com/Workload\"^\n"
@@ -373,16 +393,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\003uri\030\002 \001(\tB\003\340A\002\"k\n"
+ " LookupDiscoveredWorkloadResponse\022G\n"
+ "\023discovered_workload\030\001"
- + " \001(\0132*.google.cloud.apphub.v1.DiscoveredWorkload\"\237\001\n"
+ + " \001(\0132*.google.cloud.apphub.v1.DiscoveredWorkload\"\247\001\n"
+ "\025UpdateWorkloadRequest\0224\n"
- + "\013update_mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\0227\n"
+ + "\013update_mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\0227\n"
+ "\010workload\030\002 \001(\0132"
- + " .google.cloud.apphub.v1.WorkloadB\003\340A\002\022\027\n\n"
- + "request_id\030\003 \001(\tB\003\340A\001\"f\n"
+ + " .google.cloud.apphub.v1.WorkloadB\003\340A\002\022\037\n\n"
+ + "request_id\030\003 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"n\n"
+ "\025DeleteWorkloadRequest\0224\n"
+ "\004name\030\001 \001(\tB&\340A\002\372A \n"
- + "\036apphub.googleapis.com/Workload\022\027\n\n"
- + "request_id\030\002 \001(\tB\003\340A\001\"\200\002\n"
+ + "\036apphub.googleapis.com/Workload\022\037\n\n"
+ + "request_id\030\002 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"J\n"
+ + "\022GetBoundaryRequest\0224\n"
+ + "\004name\030\001 \001(\tB&\340A\002\372A \n"
+ + "\036apphub.googleapis.com/Boundary\"\247\001\n"
+ + "\025UpdateBoundaryRequest\0224\n"
+ + "\013update_mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\0227\n"
+ + "\010boundary\030\002 \001(\0132"
+ + " .google.cloud.apphub.v1.BoundaryB\003\340A\002\022\037\n\n"
+ + "request_id\030\003 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"\200\002\n"
+ "\021OperationMetadata\0224\n"
+ "\013create_time\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221\n"
+ "\010end_time\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\023\n"
@@ -390,128 +418,155 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\004verb\030\004 \001(\tB\003\340A\003\022\033\n"
+ "\016status_message\030\005 \001(\tB\003\340A\003\022#\n"
+ "\026requested_cancellation\030\006 \001(\010B\003\340A\003\022\030\n"
- + "\013api_version\030\007 \001(\tB\003\340A\0032\247/\n"
+ + "\013api_version\030\007 \001(\tB\003\340A\003\"f\n"
+ + " GetExtendedMetadataSchemaRequest\022B\n"
+ + "\004name\030\001 \001(\tB4\340A\002\372A.\n"
+ + ",apphub.googleapis.com/ExtendedMetadataSchema\"\233\001\n"
+ + "\"ListExtendedMetadataSchemasRequest\022D\n"
+ + "\006parent\030\001 \001("
+ + "\tB4\340A\002\372A.\022,apphub.googleapis.com/ExtendedMetadataSchema\022\026\n"
+ + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n"
+ + "page_token\030\003 \001(\tB\003\340A\001\"\221\001\n"
+ + "#ListExtendedMetadataSchemasResponse\022Q\n"
+ + "\031extended_metadata_schemas\030\001 \003(\0132..goog"
+ + "le.cloud.apphub.v1.ExtendedMetadataSchema\022\027\n"
+ + "\017next_page_token\030\002 \001(\t2\3335\n"
+ "\006AppHub\022\360\001\n"
- + "\036LookupServiceProjectAttachment\022=.google.cloud.apphub.v1.LookupSer"
- + "viceProjectAttachmentRequest\032>.google.cloud.apphub.v1.LookupServiceProjectAttach"
- + "mentResponse\"O\332A\004name\202\323\344\223\002B\022@/v1/{name=p"
- + "rojects/*/locations/*}:lookupServiceProjectAttachment\022\354\001\n"
- + "\035ListServiceProjectAttachments\022<.google.cloud.apphub.v1.ListSer"
- + "viceProjectAttachmentsRequest\032=.google.cloud.apphub.v1.ListServiceProjectAttachm"
- + "entsResponse\"N\332A\006parent\202\323\344\223\002?\022=/v1/{pare"
- + "nt=projects/*/locations/*}/serviceProjectAttachments\022\324\002\n"
- + "\036CreateServiceProjectAttachment\022=.google.cloud.apphub.v1.CreateS"
- + "erviceProjectAttachmentRequest\032\035.google.longrunning.Operation\"\323\001\312A-\n"
- + "\030ServiceProjectAttachment\022\021OperationMetadata\332A?paren"
- + "t,service_project_attachment,service_pro"
- + "ject_attachment_id\202\323\344\223\002[\"=/v1/{parent=pr"
- + "ojects/*/locations/*}/serviceProjectAttachments:\032service_project_attachment\022\331\001\n"
- + "\033GetServiceProjectAttachment\022:.google.clo"
- + "ud.apphub.v1.GetServiceProjectAttachmentRequest\0320.google.cloud.apphub.v1.Service"
- + "ProjectAttachment\"L\332A\004name\202\323\344\223\002?\022=/v1/{n"
- + "ame=projects/*/locations/*/serviceProjectAttachments/*}\022\371\001\n"
- + "\036DeleteServiceProjectAttachment\022=.google.cloud.apphub.v1.Dele"
- + "teServiceProjectAttachmentRequest\032\035.google.longrunning.Operation\"y\312A*\n"
- + "\025google.protobuf.Empty\022\021OperationMetadata\332A\004name\202\323"
- + "\344\223\002?*=/v1/{name=projects/*/locations/*/serviceProjectAttachments/*}\022\363\001\n"
- + "\036DetachServiceProjectAttachment\022=.google.cloud.ap"
- + "phub.v1.DetachServiceProjectAttachmentRequest\032>.google.cloud.apphub.v1.DetachSer"
- + "viceProjectAttachmentResponse\"R\332A\004name\202\323"
- + "\344\223\002E\"@/v1/{name=projects/*/locations/*}:detachServiceProjectAttachment:\001*\022\320\001\n"
- + "\026ListDiscoveredServices\0225.google.cloud.apph"
- + "ub.v1.ListDiscoveredServicesRequest\0326.google.cloud.apphub.v1.ListDiscoveredServi"
- + "cesResponse\"G\332A\006parent\202\323\344\223\0028\0226/v1/{paren"
- + "t=projects/*/locations/*}/discoveredServices\022\275\001\n"
- + "\024GetDiscoveredService\0223.google.cloud.apphub.v1.GetDiscoveredServiceReque"
- + "st\032).google.cloud.apphub.v1.DiscoveredSe"
- + "rvice\"E\332A\004name\202\323\344\223\0028\0226/v1/{name=projects/*/locations/*/discoveredServices/*}\022\336\001\n"
- + "\027LookupDiscoveredService\0226.google.cloud.apphub.v1.LookupDiscoveredServiceRequest"
- + "\0327.google.cloud.apphub.v1.LookupDiscoveredServiceResponse\"R\332A\n"
- + "parent,uri\202\323\344\223\002?\022="
- + "/v1/{parent=projects/*/locations/*}/discoveredServices:lookup\022\267\001\n"
- + "\014ListServices\022+.google.cloud.apphub.v1.ListServicesRequ"
- + "est\032,.google.cloud.apphub.v1.ListService"
- + "sResponse\"L\332A\006parent\202\323\344\223\002=\022;/v1/{parent="
- + "projects/*/locations/*/applications/*}/services\022\346\001\n\r"
- + "CreateService\022,.google.cloud"
- + ".apphub.v1.CreateServiceRequest\032\035.google.longrunning.Operation\"\207\001\312A\034\n"
- + "\007Service\022\021OperationMetadata\332A\031parent,service,servic"
- + "e_id\202\323\344\223\002F\";/v1/{parent=projects/*/locat"
- + "ions/*/applications/*}/services:\007service\022\244\001\n\n"
- + "GetService\022).google.cloud.apphub.v1.GetServiceRequest\032\037.google.cloud.apphub"
- + ".v1.Service\"J\332A\004name\202\323\344\223\002=\022;/v1/{name=pr"
- + "ojects/*/locations/*/applications/*/services/*}\022\350\001\n\r"
- + "UpdateService\022,.google.cloud"
- + ".apphub.v1.UpdateServiceRequest\032\035.google.longrunning.Operation\"\211\001\312A\034\n"
- + "\007Service\022\021OperationMetadata\332A\023service,update_mask\202\323"
- + "\344\223\002N2C/v1/{service.name=projects/*/locat"
- + "ions/*/applications/*/services/*}:\007service\022\325\001\n\r"
- + "DeleteService\022,.google.cloud.apph"
- + "ub.v1.DeleteServiceRequest\032\035.google.longrunning.Operation\"w\312A*\n"
- + "\025google.protobuf."
- + "Empty\022\021OperationMetadata\332A\004name\202\323\344\223\002=*;/"
- + "v1/{name=projects/*/locations/*/applications/*/services/*}\022\324\001\n"
- + "\027ListDiscoveredWorkloads\0226.google.cloud.apphub.v1.ListDisc"
- + "overedWorkloadsRequest\0327.google.cloud.apphub.v1.ListDiscoveredWorkloadsResponse\""
- + "H\332A\006parent\202\323\344\223\0029\0227/v1/{parent=projects/*/locations/*}/discoveredWorkloads\022\301\001\n"
- + "\025GetDiscoveredWorkload\0224.google.cloud.apphu"
- + "b.v1.GetDiscoveredWorkloadRequest\032*.goog"
- + "le.cloud.apphub.v1.DiscoveredWorkload\"F\332"
- + "A\004name\202\323\344\223\0029\0227/v1/{name=projects/*/locations/*/discoveredWorkloads/*}\022\342\001\n"
- + "\030LookupDiscoveredWorkload\0227.google.cloud.apphub"
- + ".v1.LookupDiscoveredWorkloadRequest\0328.go"
- + "ogle.cloud.apphub.v1.LookupDiscoveredWorkloadResponse\"S\332A\n"
- + "parent,uri\202\323\344\223\002@\022>/v1/"
- + "{parent=projects/*/locations/*}/discoveredWorkloads:lookup\022\273\001\n\r"
- + "ListWorkloads\022,.google.cloud.apphub.v1.ListWorkloadsReque"
- + "st\032-.google.cloud.apphub.v1.ListWorkload"
- + "sResponse\"M\332A\006parent\202\323\344\223\002>\022\022"
- + "v1/{name=projects/*/locations/*/applications/*/workloads/*}\022\357\001\n"
- + "\016UpdateWorkload\022-.google.cloud.apphub.v1.UpdateWorkloadRe"
- + "quest\032\035.google.longrunning.Operation\"\216\001\312A\035\n"
- + "\010Workload\022\021OperationMetadata\332A\024worklo"
- + "ad,update_mask\202\323\344\223\002Q2E/v1/{workload.name"
- + "=projects/*/locations/*/applications/*/workloads/*}:\010workload\022\330\001\n"
- + "\016DeleteWorkload\022-.google.cloud.apphub.v1.DeleteWorkload"
- + "Request\032\035.google.longrunning.Operation\"x\312A*\n"
- + "\025google.protobuf.Empty\022\021OperationMet"
- + "adata\332A\004name\202\323\344\223\002>*.google.cloud.apphub.v1.LookupServiceProjectAttachmentResponse\""
+ + "O\332A\004name\202\323\344\223\002B\022@/v1/{name=projects/*/loc"
+ + "ations/*}:lookupServiceProjectAttachment\022\354\001\n"
+ + "\035ListServiceProjectAttachments\022<.google.cloud.apphub.v1.ListServiceProjectAt"
+ + "tachmentsRequest\032=.google.cloud.apphub.v1.ListServiceProjectAttachmentsResponse\""
+ + "N\332A\006parent\202\323\344\223\002?\022=/v1/{parent=projects/*"
+ + "/locations/*}/serviceProjectAttachments\022\324\002\n"
+ + "\036CreateServiceProjectAttachment\022=.google.cloud.apphub.v1.CreateServiceProject"
+ + "AttachmentRequest\032\035.google.longrunning.Operation\"\323\001\312A-\n"
+ + "\030ServiceProjectAttachment\022\021OperationMetadata\332A?parent,service_pro"
+ + "ject_attachment,service_project_attachme"
+ + "nt_id\202\323\344\223\002[\"=/v1/{parent=projects/*/loca"
+ + "tions/*}/serviceProjectAttachments:\032service_project_attachment\022\331\001\n"
+ + "\033GetServiceProjectAttachment\022:.google.cloud.apphub.v1."
+ + "GetServiceProjectAttachmentRequest\0320.google.cloud.apphub.v1.ServiceProjectAttach"
+ + "ment\"L\332A\004name\202\323\344\223\002?\022=/v1/{name=projects/"
+ + "*/locations/*/serviceProjectAttachments/*}\022\371\001\n"
+ + "\036DeleteServiceProjectAttachment\022=.google.cloud.apphub.v1.DeleteServiceProj"
+ + "ectAttachmentRequest\032\035.google.longrunning.Operation\"y\312A*\n"
+ + "\025google.protobuf.Empty\022"
+ + "\021OperationMetadata\332A\004name\202\323\344\223\002?*=/v1/{na"
+ + "me=projects/*/locations/*/serviceProjectAttachments/*}\022\363\001\n"
+ + "\036DetachServiceProjectAttachment\022=.google.cloud.apphub.v1.Detac"
+ + "hServiceProjectAttachmentRequest\032>.google.cloud.apphub.v1.DetachServiceProjectAt"
+ + "tachmentResponse\"R\332A\004name\202\323\344\223\002E\"@/v1/{na"
+ + "me=projects/*/locations/*}:detachServiceProjectAttachment:\001*\022\320\001\n"
+ + "\026ListDiscoveredServices\0225.google.cloud.apphub.v1.ListDis"
+ + "coveredServicesRequest\0326.google.cloud.apphub.v1.ListDiscoveredServicesResponse\"G"
+ + "\332A\006parent\202\323\344\223\0028\0226/v1/{parent=projects/*/locations/*}/discoveredServices\022\275\001\n"
+ + "\024GetDiscoveredService\0223.google.cloud.apphub.v"
+ + "1.GetDiscoveredServiceRequest\032).google.c"
+ + "loud.apphub.v1.DiscoveredService\"E\332A\004nam"
+ + "e\202\323\344\223\0028\0226/v1/{name=projects/*/locations/*/discoveredServices/*}\022\336\001\n"
+ + "\027LookupDiscoveredService\0226.google.cloud.apphub.v1.Loo"
+ + "kupDiscoveredServiceRequest\0327.google.clo"
+ + "ud.apphub.v1.LookupDiscoveredServiceResponse\"R\332A\n"
+ + "parent,uri\202\323\344\223\002?\022=/v1/{parent=p"
+ + "rojects/*/locations/*}/discoveredServices:lookup\022\267\001\n"
+ + "\014ListServices\022+.google.cloud.apphub.v1.ListServicesRequest\032,.google."
+ + "cloud.apphub.v1.ListServicesResponse\"L\332A"
+ + "\006parent\202\323\344\223\002=\022;/v1/{parent=projects/*/locations/*/applications/*}/services\022\346\001\n\r"
+ + "CreateService\022,.google.cloud.apphub.v1.Cr"
+ + "eateServiceRequest\032\035.google.longrunning.Operation\"\207\001\312A\034\n"
+ + "\007Service\022\021OperationMetad"
+ + "ata\332A\031parent,service,service_id\202\323\344\223\002F\";/"
+ + "v1/{parent=projects/*/locations/*/applications/*}/services:\007service\022\244\001\n\n"
+ + "GetService\022).google.cloud.apphub.v1.GetServiceRe"
+ + "quest\032\037.google.cloud.apphub.v1.Service\"J"
+ + "\332A\004name\202\323\344\223\002=\022;/v1/{name=projects/*/locations/*/applications/*/services/*}\022\350\001\n\r"
+ + "UpdateService\022,.google.cloud.apphub.v1.Up"
+ + "dateServiceRequest\032\035.google.longrunning.Operation\"\211\001\312A\034\n"
+ + "\007Service\022\021OperationMetad"
+ + "ata\332A\023service,update_mask\202\323\344\223\002N2C/v1/{se"
+ + "rvice.name=projects/*/locations/*/applications/*/services/*}:\007service\022\325\001\n\r"
+ + "DeleteService\022,.google.cloud.apphub.v1.DeleteS"
+ + "erviceRequest\032\035.google.longrunning.Operation\"w\312A*\n"
+ + "\025google.protobuf.Empty\022\021Operat"
+ + "ionMetadata\332A\004name\202\323\344\223\002=*;/v1/{name=proj"
+ + "ects/*/locations/*/applications/*/services/*}\022\324\001\n"
+ + "\027ListDiscoveredWorkloads\0226.google.cloud.apphub.v1.ListDiscoveredWorkloa"
+ + "dsRequest\0327.google.cloud.apphub.v1.ListD"
+ + "iscoveredWorkloadsResponse\"H\332A\006parent\202\323\344"
+ + "\223\0029\0227/v1/{parent=projects/*/locations/*}/discoveredWorkloads\022\301\001\n"
+ + "\025GetDiscoveredWorkload\0224.google.cloud.apphub.v1.GetDisco"
+ + "veredWorkloadRequest\032*.google.cloud.apph"
+ + "ub.v1.DiscoveredWorkload\"F\332A\004name\202\323\344\223\0029\022"
+ + "7/v1/{name=projects/*/locations/*/discoveredWorkloads/*}\022\342\001\n"
+ + "\030LookupDiscoveredWorkload\0227.google.cloud.apphub.v1.LookupDis"
+ + "coveredWorkloadRequest\0328.google.cloud.ap"
+ + "phub.v1.LookupDiscoveredWorkloadResponse\"S\332A\n"
+ + "parent,uri\202\323\344\223\002@\022>/v1/{parent=proje"
+ + "cts/*/locations/*}/discoveredWorkloads:lookup\022\273\001\n\r"
+ + "ListWorkloads\022,.google.cloud.apphub.v1.ListWorkloadsRequest\032-.google.c"
+ + "loud.apphub.v1.ListWorkloadsResponse\"M\332A"
+ + "\006parent\202\323\344\223\002>\022\022*\022
+ * Output only. Properties of an underlying cloud resource that can comprise
+ * an Application.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationProperties application_properties = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the applicationProperties field is set.
+ */
+ @java.lang.Override
+ public boolean hasApplicationProperties() {
+ return ((bitField0_ & 0x00000010) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Properties of an underlying cloud resource that can comprise
+ * an Application.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationProperties application_properties = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The applicationProperties.
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ApplicationProperties getApplicationProperties() {
+ return applicationProperties_ == null
+ ? com.google.cloud.apphub.v1.ApplicationProperties.getDefaultInstance()
+ : applicationProperties_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Properties of an underlying cloud resource that can comprise
+ * an Application.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationProperties application_properties = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ApplicationPropertiesOrBuilder
+ getApplicationPropertiesOrBuilder() {
+ return applicationProperties_ == null
+ ? com.google.cloud.apphub.v1.ApplicationProperties.getDefaultInstance()
+ : applicationProperties_;
+ }
+
+ public static final int APPLICATION_TYPE_FIELD_NUMBER = 13;
+ private com.google.cloud.apphub.v1.ApplicationType applicationType_;
+
+ /**
+ *
+ *
+ *
+ * Output only. Application type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType application_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the applicationType field is set.
+ */
+ @java.lang.Override
+ public boolean hasApplicationType() {
+ return ((bitField0_ & 0x00000020) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Application type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType application_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The applicationType.
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ApplicationType getApplicationType() {
+ return applicationType_ == null
+ ? com.google.cloud.apphub.v1.ApplicationType.getDefaultInstance()
+ : applicationType_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Application type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType application_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ApplicationTypeOrBuilder getApplicationTypeOrBuilder() {
+ return applicationType_ == null
+ ? com.google.cloud.apphub.v1.ApplicationType.getDefaultInstance()
+ : applicationType_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -797,6 +919,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (state_ != com.google.cloud.apphub.v1.Application.State.STATE_UNSPECIFIED.getNumber()) {
output.writeEnum(11, state_);
}
+ if (((bitField0_ & 0x00000010) != 0)) {
+ output.writeMessage(12, getApplicationProperties());
+ }
+ if (((bitField0_ & 0x00000020) != 0)) {
+ output.writeMessage(13, getApplicationType());
+ }
getUnknownFields().writeTo(output);
}
@@ -833,6 +961,13 @@ public int getSerializedSize() {
if (state_ != com.google.cloud.apphub.v1.Application.State.STATE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, state_);
}
+ if (((bitField0_ & 0x00000010) != 0)) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(12, getApplicationProperties());
+ }
+ if (((bitField0_ & 0x00000020) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getApplicationType());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -869,6 +1004,14 @@ public boolean equals(final java.lang.Object obj) {
}
if (!getUid().equals(other.getUid())) return false;
if (state_ != other.state_) return false;
+ if (hasApplicationProperties() != other.hasApplicationProperties()) return false;
+ if (hasApplicationProperties()) {
+ if (!getApplicationProperties().equals(other.getApplicationProperties())) return false;
+ }
+ if (hasApplicationType() != other.hasApplicationType()) return false;
+ if (hasApplicationType()) {
+ if (!getApplicationType().equals(other.getApplicationType())) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -906,6 +1049,14 @@ public int hashCode() {
hash = (53 * hash) + getUid().hashCode();
hash = (37 * hash) + STATE_FIELD_NUMBER;
hash = (53 * hash) + state_;
+ if (hasApplicationProperties()) {
+ hash = (37 * hash) + APPLICATION_PROPERTIES_FIELD_NUMBER;
+ hash = (53 * hash) + getApplicationProperties().hashCode();
+ }
+ if (hasApplicationType()) {
+ hash = (37 * hash) + APPLICATION_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getApplicationType().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -1054,6 +1205,8 @@ private void maybeForceBuilderInitialization() {
internalGetCreateTimeFieldBuilder();
internalGetUpdateTimeFieldBuilder();
internalGetScopeFieldBuilder();
+ internalGetApplicationPropertiesFieldBuilder();
+ internalGetApplicationTypeFieldBuilder();
}
}
@@ -1086,6 +1239,16 @@ public Builder clear() {
}
uid_ = "";
state_ = 0;
+ applicationProperties_ = null;
+ if (applicationPropertiesBuilder_ != null) {
+ applicationPropertiesBuilder_.dispose();
+ applicationPropertiesBuilder_ = null;
+ }
+ applicationType_ = null;
+ if (applicationTypeBuilder_ != null) {
+ applicationTypeBuilder_.dispose();
+ applicationTypeBuilder_ = null;
+ }
return this;
}
@@ -1154,6 +1317,18 @@ private void buildPartial0(com.google.cloud.apphub.v1.Application result) {
if (((from_bitField0_ & 0x00000100) != 0)) {
result.state_ = state_;
}
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.applicationProperties_ =
+ applicationPropertiesBuilder_ == null
+ ? applicationProperties_
+ : applicationPropertiesBuilder_.build();
+ to_bitField0_ |= 0x00000010;
+ }
+ if (((from_bitField0_ & 0x00000400) != 0)) {
+ result.applicationType_ =
+ applicationTypeBuilder_ == null ? applicationType_ : applicationTypeBuilder_.build();
+ to_bitField0_ |= 0x00000020;
+ }
result.bitField0_ |= to_bitField0_;
}
@@ -1204,6 +1379,12 @@ public Builder mergeFrom(com.google.cloud.apphub.v1.Application other) {
if (other.state_ != 0) {
setStateValue(other.getStateValue());
}
+ if (other.hasApplicationProperties()) {
+ mergeApplicationProperties(other.getApplicationProperties());
+ }
+ if (other.hasApplicationType()) {
+ mergeApplicationType(other.getApplicationType());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -1287,6 +1468,20 @@ public Builder mergeFrom(
bitField0_ |= 0x00000100;
break;
} // case 88
+ case 98:
+ {
+ input.readMessage(
+ internalGetApplicationPropertiesFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000200;
+ break;
+ } // case 98
+ case 106:
+ {
+ input.readMessage(
+ internalGetApplicationTypeFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000400;
+ break;
+ } // case 106
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -2738,6 +2933,447 @@ public Builder clearState() {
return this;
}
+ private com.google.cloud.apphub.v1.ApplicationProperties applicationProperties_;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.ApplicationProperties,
+ com.google.cloud.apphub.v1.ApplicationProperties.Builder,
+ com.google.cloud.apphub.v1.ApplicationPropertiesOrBuilder>
+ applicationPropertiesBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Output only. Properties of an underlying cloud resource that can comprise
+ * an Application.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationProperties application_properties = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the applicationProperties field is set.
+ */
+ public boolean hasApplicationProperties() {
+ return ((bitField0_ & 0x00000200) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Properties of an underlying cloud resource that can comprise
+ * an Application.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationProperties application_properties = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The applicationProperties.
+ */
+ public com.google.cloud.apphub.v1.ApplicationProperties getApplicationProperties() {
+ if (applicationPropertiesBuilder_ == null) {
+ return applicationProperties_ == null
+ ? com.google.cloud.apphub.v1.ApplicationProperties.getDefaultInstance()
+ : applicationProperties_;
+ } else {
+ return applicationPropertiesBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Properties of an underlying cloud resource that can comprise
+ * an Application.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationProperties application_properties = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setApplicationProperties(
+ com.google.cloud.apphub.v1.ApplicationProperties value) {
+ if (applicationPropertiesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ applicationProperties_ = value;
+ } else {
+ applicationPropertiesBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Properties of an underlying cloud resource that can comprise
+ * an Application.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationProperties application_properties = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setApplicationProperties(
+ com.google.cloud.apphub.v1.ApplicationProperties.Builder builderForValue) {
+ if (applicationPropertiesBuilder_ == null) {
+ applicationProperties_ = builderForValue.build();
+ } else {
+ applicationPropertiesBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Properties of an underlying cloud resource that can comprise
+ * an Application.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationProperties application_properties = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeApplicationProperties(
+ com.google.cloud.apphub.v1.ApplicationProperties value) {
+ if (applicationPropertiesBuilder_ == null) {
+ if (((bitField0_ & 0x00000200) != 0)
+ && applicationProperties_ != null
+ && applicationProperties_
+ != com.google.cloud.apphub.v1.ApplicationProperties.getDefaultInstance()) {
+ getApplicationPropertiesBuilder().mergeFrom(value);
+ } else {
+ applicationProperties_ = value;
+ }
+ } else {
+ applicationPropertiesBuilder_.mergeFrom(value);
+ }
+ if (applicationProperties_ != null) {
+ bitField0_ |= 0x00000200;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Properties of an underlying cloud resource that can comprise
+ * an Application.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationProperties application_properties = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearApplicationProperties() {
+ bitField0_ = (bitField0_ & ~0x00000200);
+ applicationProperties_ = null;
+ if (applicationPropertiesBuilder_ != null) {
+ applicationPropertiesBuilder_.dispose();
+ applicationPropertiesBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Properties of an underlying cloud resource that can comprise
+ * an Application.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationProperties application_properties = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.apphub.v1.ApplicationProperties.Builder
+ getApplicationPropertiesBuilder() {
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return internalGetApplicationPropertiesFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Properties of an underlying cloud resource that can comprise
+ * an Application.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationProperties application_properties = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.apphub.v1.ApplicationPropertiesOrBuilder
+ getApplicationPropertiesOrBuilder() {
+ if (applicationPropertiesBuilder_ != null) {
+ return applicationPropertiesBuilder_.getMessageOrBuilder();
+ } else {
+ return applicationProperties_ == null
+ ? com.google.cloud.apphub.v1.ApplicationProperties.getDefaultInstance()
+ : applicationProperties_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Properties of an underlying cloud resource that can comprise
+ * an Application.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationProperties application_properties = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.ApplicationProperties,
+ com.google.cloud.apphub.v1.ApplicationProperties.Builder,
+ com.google.cloud.apphub.v1.ApplicationPropertiesOrBuilder>
+ internalGetApplicationPropertiesFieldBuilder() {
+ if (applicationPropertiesBuilder_ == null) {
+ applicationPropertiesBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.ApplicationProperties,
+ com.google.cloud.apphub.v1.ApplicationProperties.Builder,
+ com.google.cloud.apphub.v1.ApplicationPropertiesOrBuilder>(
+ getApplicationProperties(), getParentForChildren(), isClean());
+ applicationProperties_ = null;
+ }
+ return applicationPropertiesBuilder_;
+ }
+
+ private com.google.cloud.apphub.v1.ApplicationType applicationType_;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.ApplicationType,
+ com.google.cloud.apphub.v1.ApplicationType.Builder,
+ com.google.cloud.apphub.v1.ApplicationTypeOrBuilder>
+ applicationTypeBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Output only. Application type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType application_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the applicationType field is set.
+ */
+ public boolean hasApplicationType() {
+ return ((bitField0_ & 0x00000400) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Application type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType application_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The applicationType.
+ */
+ public com.google.cloud.apphub.v1.ApplicationType getApplicationType() {
+ if (applicationTypeBuilder_ == null) {
+ return applicationType_ == null
+ ? com.google.cloud.apphub.v1.ApplicationType.getDefaultInstance()
+ : applicationType_;
+ } else {
+ return applicationTypeBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Application type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType application_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setApplicationType(com.google.cloud.apphub.v1.ApplicationType value) {
+ if (applicationTypeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ applicationType_ = value;
+ } else {
+ applicationTypeBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000400;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Application type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType application_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setApplicationType(
+ com.google.cloud.apphub.v1.ApplicationType.Builder builderForValue) {
+ if (applicationTypeBuilder_ == null) {
+ applicationType_ = builderForValue.build();
+ } else {
+ applicationTypeBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000400;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Application type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType application_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeApplicationType(com.google.cloud.apphub.v1.ApplicationType value) {
+ if (applicationTypeBuilder_ == null) {
+ if (((bitField0_ & 0x00000400) != 0)
+ && applicationType_ != null
+ && applicationType_
+ != com.google.cloud.apphub.v1.ApplicationType.getDefaultInstance()) {
+ getApplicationTypeBuilder().mergeFrom(value);
+ } else {
+ applicationType_ = value;
+ }
+ } else {
+ applicationTypeBuilder_.mergeFrom(value);
+ }
+ if (applicationType_ != null) {
+ bitField0_ |= 0x00000400;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Application type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType application_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearApplicationType() {
+ bitField0_ = (bitField0_ & ~0x00000400);
+ applicationType_ = null;
+ if (applicationTypeBuilder_ != null) {
+ applicationTypeBuilder_.dispose();
+ applicationTypeBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Application type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType application_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.apphub.v1.ApplicationType.Builder getApplicationTypeBuilder() {
+ bitField0_ |= 0x00000400;
+ onChanged();
+ return internalGetApplicationTypeFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Application type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType application_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.apphub.v1.ApplicationTypeOrBuilder getApplicationTypeOrBuilder() {
+ if (applicationTypeBuilder_ != null) {
+ return applicationTypeBuilder_.getMessageOrBuilder();
+ } else {
+ return applicationType_ == null
+ ? com.google.cloud.apphub.v1.ApplicationType.getDefaultInstance()
+ : applicationType_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Application type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType application_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.ApplicationType,
+ com.google.cloud.apphub.v1.ApplicationType.Builder,
+ com.google.cloud.apphub.v1.ApplicationTypeOrBuilder>
+ internalGetApplicationTypeFieldBuilder() {
+ if (applicationTypeBuilder_ == null) {
+ applicationTypeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.ApplicationType,
+ com.google.cloud.apphub.v1.ApplicationType.Builder,
+ com.google.cloud.apphub.v1.ApplicationTypeOrBuilder>(
+ getApplicationType(), getParentForChildren(), isClean());
+ applicationType_ = null;
+ }
+ return applicationTypeBuilder_;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.apphub.v1.Application)
}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationOrBuilder.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationOrBuilder.java
index bac4bba684a2..61760e5300fd 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationOrBuilder.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationOrBuilder.java
@@ -340,4 +340,93 @@ public interface ApplicationOrBuilder
* @return The state.
*/
com.google.cloud.apphub.v1.Application.State getState();
+
+ /**
+ *
+ *
+ *
+ * Output only. Properties of an underlying cloud resource that can comprise
+ * an Application.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationProperties application_properties = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the applicationProperties field is set.
+ */
+ boolean hasApplicationProperties();
+
+ /**
+ *
+ *
+ *
+ * Output only. Properties of an underlying cloud resource that can comprise
+ * an Application.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationProperties application_properties = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The applicationProperties.
+ */
+ com.google.cloud.apphub.v1.ApplicationProperties getApplicationProperties();
+
+ /**
+ *
+ *
+ *
+ * Output only. Properties of an underlying cloud resource that can comprise
+ * an Application.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationProperties application_properties = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.apphub.v1.ApplicationPropertiesOrBuilder getApplicationPropertiesOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Output only. Application type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType application_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the applicationType field is set.
+ */
+ boolean hasApplicationType();
+
+ /**
+ *
+ *
+ *
+ * Output only. Application type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType application_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The applicationType.
+ */
+ com.google.cloud.apphub.v1.ApplicationType getApplicationType();
+
+ /**
+ *
+ *
+ *
+ * Output only. Application type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType application_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.apphub.v1.ApplicationTypeOrBuilder getApplicationTypeOrBuilder();
}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationProperties.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationProperties.java
new file mode 100644
index 000000000000..6a7e09f12d83
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationProperties.java
@@ -0,0 +1,907 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/application.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+/**
+ *
+ *
+ *
+ * Additional system properties of an Application.
+ *
+ *
+ * Protobuf type {@code google.cloud.apphub.v1.ApplicationProperties}
+ */
+@com.google.protobuf.Generated
+public final class ApplicationProperties extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.apphub.v1.ApplicationProperties)
+ ApplicationPropertiesOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "ApplicationProperties");
+ }
+
+ // Use ApplicationProperties.newBuilder() to construct.
+ private ApplicationProperties(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private ApplicationProperties() {}
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.apphub.v1.ApplicationProto
+ .internal_static_google_cloud_apphub_v1_ApplicationProperties_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetExtendedMetadata();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.apphub.v1.ApplicationProto
+ .internal_static_google_cloud_apphub_v1_ApplicationProperties_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.apphub.v1.ApplicationProperties.class,
+ com.google.cloud.apphub.v1.ApplicationProperties.Builder.class);
+ }
+
+ public static final int EXTENDED_METADATA_FIELD_NUMBER = 1;
+
+ private static final class ExtendedMetadataDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.String, com.google.cloud.apphub.v1.ExtendedMetadata>
+ defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ com.google.cloud.apphub.v1.ApplicationProto
+ .internal_static_google_cloud_apphub_v1_ApplicationProperties_ExtendedMetadataEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "",
+ com.google.protobuf.WireFormat.FieldType.MESSAGE,
+ com.google.cloud.apphub.v1.ExtendedMetadata.getDefaultInstance());
+ }
+
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.String, com.google.cloud.apphub.v1.ExtendedMetadata>
+ extendedMetadata_;
+
+ private com.google.protobuf.MapField<
+ java.lang.String, com.google.cloud.apphub.v1.ExtendedMetadata>
+ internalGetExtendedMetadata() {
+ if (extendedMetadata_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ExtendedMetadataDefaultEntryHolder.defaultEntry);
+ }
+ return extendedMetadata_;
+ }
+
+ public int getExtendedMetadataCount() {
+ return internalGetExtendedMetadata().getMap().size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the App Hub application.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public boolean containsExtendedMetadata(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetExtendedMetadata().getMap().containsKey(key);
+ }
+
+ /** Use {@link #getExtendedMetadataMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map
+ getExtendedMetadata() {
+ return getExtendedMetadataMap();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the App Hub application.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.Map
+ getExtendedMetadataMap() {
+ return internalGetExtendedMetadata().getMap();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the App Hub application.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ com.google.cloud.apphub.v1.ExtendedMetadata getExtendedMetadataOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.apphub.v1.ExtendedMetadata defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map map =
+ internalGetExtendedMetadata().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the App Hub application.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ExtendedMetadata getExtendedMetadataOrThrow(
+ java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map map =
+ internalGetExtendedMetadata().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ 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 {
+ com.google.protobuf.GeneratedMessage.serializeStringMapTo(
+ output, internalGetExtendedMetadata(), ExtendedMetadataDefaultEntryHolder.defaultEntry, 1);
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (java.util.Map.Entry entry :
+ internalGetExtendedMetadata().getMap().entrySet()) {
+ com.google.protobuf.MapEntry
+ extendedMetadata__ =
+ ExtendedMetadataDefaultEntryHolder.defaultEntry
+ .newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, extendedMetadata__);
+ }
+ 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.apphub.v1.ApplicationProperties)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.apphub.v1.ApplicationProperties other =
+ (com.google.cloud.apphub.v1.ApplicationProperties) obj;
+
+ if (!internalGetExtendedMetadata().equals(other.internalGetExtendedMetadata())) 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 (!internalGetExtendedMetadata().getMap().isEmpty()) {
+ hash = (37 * hash) + EXTENDED_METADATA_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetExtendedMetadata().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationProperties parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationProperties 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.apphub.v1.ApplicationProperties parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationProperties 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.apphub.v1.ApplicationProperties parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationProperties parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationProperties parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationProperties parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationProperties parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationProperties parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationProperties parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationProperties parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.apphub.v1.ApplicationProperties 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * Additional system properties of an Application.
+ *
+ *
+ * Protobuf type {@code google.cloud.apphub.v1.ApplicationProperties}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.apphub.v1.ApplicationProperties)
+ com.google.cloud.apphub.v1.ApplicationPropertiesOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.apphub.v1.ApplicationProto
+ .internal_static_google_cloud_apphub_v1_ApplicationProperties_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetExtendedMetadata();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 1:
+ return internalGetMutableExtendedMetadata();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.apphub.v1.ApplicationProto
+ .internal_static_google_cloud_apphub_v1_ApplicationProperties_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.apphub.v1.ApplicationProperties.class,
+ com.google.cloud.apphub.v1.ApplicationProperties.Builder.class);
+ }
+
+ // Construct using com.google.cloud.apphub.v1.ApplicationProperties.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ internalGetMutableExtendedMetadata().clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.apphub.v1.ApplicationProto
+ .internal_static_google_cloud_apphub_v1_ApplicationProperties_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ApplicationProperties getDefaultInstanceForType() {
+ return com.google.cloud.apphub.v1.ApplicationProperties.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ApplicationProperties build() {
+ com.google.cloud.apphub.v1.ApplicationProperties result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ApplicationProperties buildPartial() {
+ com.google.cloud.apphub.v1.ApplicationProperties result =
+ new com.google.cloud.apphub.v1.ApplicationProperties(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.cloud.apphub.v1.ApplicationProperties result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.extendedMetadata_ =
+ internalGetExtendedMetadata().build(ExtendedMetadataDefaultEntryHolder.defaultEntry);
+ }
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.apphub.v1.ApplicationProperties) {
+ return mergeFrom((com.google.cloud.apphub.v1.ApplicationProperties) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.apphub.v1.ApplicationProperties other) {
+ if (other == com.google.cloud.apphub.v1.ApplicationProperties.getDefaultInstance())
+ return this;
+ internalGetMutableExtendedMetadata().mergeFrom(other.internalGetExtendedMetadata());
+ bitField0_ |= 0x00000001;
+ 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.protobuf.MapEntry<
+ java.lang.String, com.google.cloud.apphub.v1.ExtendedMetadata>
+ extendedMetadata__ =
+ input.readMessage(
+ ExtendedMetadataDefaultEntryHolder.defaultEntry.getParserForType(),
+ extensionRegistry);
+ internalGetMutableExtendedMetadata()
+ .ensureBuilderMap()
+ .put(extendedMetadata__.getKey(), extendedMetadata__.getValue());
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ 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 static final class ExtendedMetadataConverter
+ implements com.google.protobuf.MapFieldBuilder.Converter<
+ java.lang.String,
+ com.google.cloud.apphub.v1.ExtendedMetadataOrBuilder,
+ com.google.cloud.apphub.v1.ExtendedMetadata> {
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ExtendedMetadata build(
+ com.google.cloud.apphub.v1.ExtendedMetadataOrBuilder val) {
+ if (val instanceof com.google.cloud.apphub.v1.ExtendedMetadata) {
+ return (com.google.cloud.apphub.v1.ExtendedMetadata) val;
+ }
+ return ((com.google.cloud.apphub.v1.ExtendedMetadata.Builder) val).build();
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.MapEntry<
+ java.lang.String, com.google.cloud.apphub.v1.ExtendedMetadata>
+ defaultEntry() {
+ return ExtendedMetadataDefaultEntryHolder.defaultEntry;
+ }
+ }
+ ;
+
+ private static final ExtendedMetadataConverter extendedMetadataConverter =
+ new ExtendedMetadataConverter();
+
+ private com.google.protobuf.MapFieldBuilder<
+ java.lang.String,
+ com.google.cloud.apphub.v1.ExtendedMetadataOrBuilder,
+ com.google.cloud.apphub.v1.ExtendedMetadata,
+ com.google.cloud.apphub.v1.ExtendedMetadata.Builder>
+ extendedMetadata_;
+
+ private com.google.protobuf.MapFieldBuilder<
+ java.lang.String,
+ com.google.cloud.apphub.v1.ExtendedMetadataOrBuilder,
+ com.google.cloud.apphub.v1.ExtendedMetadata,
+ com.google.cloud.apphub.v1.ExtendedMetadata.Builder>
+ internalGetExtendedMetadata() {
+ if (extendedMetadata_ == null) {
+ return new com.google.protobuf.MapFieldBuilder<>(extendedMetadataConverter);
+ }
+ return extendedMetadata_;
+ }
+
+ private com.google.protobuf.MapFieldBuilder<
+ java.lang.String,
+ com.google.cloud.apphub.v1.ExtendedMetadataOrBuilder,
+ com.google.cloud.apphub.v1.ExtendedMetadata,
+ com.google.cloud.apphub.v1.ExtendedMetadata.Builder>
+ internalGetMutableExtendedMetadata() {
+ if (extendedMetadata_ == null) {
+ extendedMetadata_ = new com.google.protobuf.MapFieldBuilder<>(extendedMetadataConverter);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return extendedMetadata_;
+ }
+
+ public int getExtendedMetadataCount() {
+ return internalGetExtendedMetadata().ensureBuilderMap().size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the App Hub application.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public boolean containsExtendedMetadata(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetExtendedMetadata().ensureBuilderMap().containsKey(key);
+ }
+
+ /** Use {@link #getExtendedMetadataMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map
+ getExtendedMetadata() {
+ return getExtendedMetadataMap();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the App Hub application.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.Map
+ getExtendedMetadataMap() {
+ return internalGetExtendedMetadata().getImmutableMap();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the App Hub application.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ com.google.cloud.apphub.v1.ExtendedMetadata getExtendedMetadataOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.apphub.v1.ExtendedMetadata defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map map =
+ internalGetMutableExtendedMetadata().ensureBuilderMap();
+ return map.containsKey(key) ? extendedMetadataConverter.build(map.get(key)) : defaultValue;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the App Hub application.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ExtendedMetadata getExtendedMetadataOrThrow(
+ java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map map =
+ internalGetMutableExtendedMetadata().ensureBuilderMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return extendedMetadataConverter.build(map.get(key));
+ }
+
+ public Builder clearExtendedMetadata() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ internalGetMutableExtendedMetadata().clear();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the App Hub application.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder removeExtendedMetadata(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ internalGetMutableExtendedMetadata().ensureBuilderMap().remove(key);
+ return this;
+ }
+
+ /** Use alternate mutation accessors instead. */
+ @java.lang.Deprecated
+ public java.util.Map
+ getMutableExtendedMetadata() {
+ bitField0_ |= 0x00000001;
+ return internalGetMutableExtendedMetadata().ensureMessageMap();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the App Hub application.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder putExtendedMetadata(
+ java.lang.String key, com.google.cloud.apphub.v1.ExtendedMetadata value) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ if (value == null) {
+ throw new NullPointerException("map value");
+ }
+ internalGetMutableExtendedMetadata().ensureBuilderMap().put(key, value);
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the App Hub application.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder putAllExtendedMetadata(
+ java.util.Map values) {
+ for (java.util.Map.Entry e :
+ values.entrySet()) {
+ if (e.getKey() == null || e.getValue() == null) {
+ throw new NullPointerException();
+ }
+ }
+ internalGetMutableExtendedMetadata().ensureBuilderMap().putAll(values);
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the App Hub application.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.apphub.v1.ExtendedMetadata.Builder putExtendedMetadataBuilderIfAbsent(
+ java.lang.String key) {
+ java.util.Map
+ builderMap = internalGetMutableExtendedMetadata().ensureBuilderMap();
+ com.google.cloud.apphub.v1.ExtendedMetadataOrBuilder entry = builderMap.get(key);
+ if (entry == null) {
+ entry = com.google.cloud.apphub.v1.ExtendedMetadata.newBuilder();
+ builderMap.put(key, entry);
+ }
+ if (entry instanceof com.google.cloud.apphub.v1.ExtendedMetadata) {
+ entry = ((com.google.cloud.apphub.v1.ExtendedMetadata) entry).toBuilder();
+ builderMap.put(key, entry);
+ }
+ return (com.google.cloud.apphub.v1.ExtendedMetadata.Builder) entry;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.apphub.v1.ApplicationProperties)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.apphub.v1.ApplicationProperties)
+ private static final com.google.cloud.apphub.v1.ApplicationProperties DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.apphub.v1.ApplicationProperties();
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationProperties getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public ApplicationProperties 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.apphub.v1.ApplicationProperties getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationPropertiesOrBuilder.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationPropertiesOrBuilder.java
new file mode 100644
index 000000000000..3eff805f9142
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationPropertiesOrBuilder.java
@@ -0,0 +1,118 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/application.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+@com.google.protobuf.Generated
+public interface ApplicationPropertiesOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.apphub.v1.ApplicationProperties)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the App Hub application.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ int getExtendedMetadataCount();
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the App Hub application.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ boolean containsExtendedMetadata(java.lang.String key);
+
+ /** Use {@link #getExtendedMetadataMap()} instead. */
+ @java.lang.Deprecated
+ java.util.Map
+ getExtendedMetadata();
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the App Hub application.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ java.util.Map
+ getExtendedMetadataMap();
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the App Hub application.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ /* nullable */
+ com.google.cloud.apphub.v1.ExtendedMetadata getExtendedMetadataOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.apphub.v1.ExtendedMetadata defaultValue);
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the App Hub application.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.apphub.v1.ExtendedMetadata getExtendedMetadataOrThrow(java.lang.String key);
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationProto.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationProto.java
index 60f8312c89b3..05b2c8356a65 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationProto.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationProto.java
@@ -44,10 +44,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_apphub_v1_Application_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_cloud_apphub_v1_Application_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_apphub_v1_ApplicationType_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_apphub_v1_ApplicationType_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_apphub_v1_Scope_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_cloud_apphub_v1_Scope_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_apphub_v1_ApplicationProperties_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_apphub_v1_ApplicationProperties_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_apphub_v1_ApplicationProperties_ExtendedMetadataEntry_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_apphub_v1_ApplicationProperties_ExtendedMetadataEntry_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -62,12 +74,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "to\022\026google.cloud.apphub.v1\032\037google/api/f"
+ "ield_behavior.proto\032\033google/api/field_in"
+ "fo.proto\032\031google/api/resource.proto\032\'goo"
- + "gle/cloud/apphub/v1/attributes.proto\032\037google/protobuf/timestamp.proto\"\336\004\n"
+ + "gle/cloud/apphub/v1/attributes.proto\032\'go"
+ + "ogle/cloud/apphub/v1/properties.proto\032\037google/protobuf/timestamp.proto\"\372\005\n"
+ "\013Application\022\021\n"
+ "\004name\030\001 \001(\tB\003\340A\010\022\031\n"
+ "\014display_name\030\002 \001(\tB\003\340A\001\022\030\n"
- + "\013description\030\003 \001(\tB\003\340A\001\022;\n"
- + "\n"
+ + "\013description\030\003 \001(\tB\003\340A\001\022;\n\n"
+ "attributes\030\004 \001(\0132\".google.cloud.apphub.v1.AttributesB\003\340A\001\0224\n"
+ "\013create_time\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n"
+ "\013update_time\030\006 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n"
@@ -76,26 +88,40 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\003uid\030\n"
+ " \001(\tB\013\340A\003\342\214\317\327\010\002\010\001\022=\n"
+ "\005state\030\013"
- + " \001(\0162).google.cloud.apphub.v1.Application.StateB\003\340A\003\"F\n"
+ + " \001(\0162).google.cloud.apphub.v1.Application.StateB\003\340A\003\022R\n"
+ + "\026application_properties\030\014"
+ + " \001(\0132-.google.cloud.apphub.v1.ApplicationPropertiesB\003\340A\003\022F\n"
+ + "\020application_type\030\r"
+ + " \001(\0132\'.google.cloud.apphub.v1.ApplicationTypeB\003\340A\003\"F\n"
+ "\005State\022\025\n"
+ "\021STATE_UNSPECIFIED\020\000\022\014\n"
+ "\010CREATING\020\001\022\n\n"
+ "\006ACTIVE\020\002\022\014\n"
+ "\010DELETING\020\003:\206\001\352A\202\001\n"
- + "!apphub.googleapis.com/Application\022Bprojects/{proje"
- + "ct}/locations/{location}/applications/{a"
- + "pplication}*\014applications2\013application\"v\n"
+ + "!apphub.googleapis.com/Application\022Bprojects/{project}"
+ + "/locations/{location}/applications/{application}*\014applications2\013application\"\177\n"
+ + "\017ApplicationType\022:\n"
+ + "\004type\030\001 \001(\0162,.google.cloud.apphub.v1.ApplicationType.Type\"0\n"
+ + "\004Type\022\024\n"
+ + "\020TYPE_UNSPECIFIED\020\000\022\022\n"
+ + "\016AI_APPLICATION\020\001\"v\n"
+ "\005Scope\0225\n"
+ "\004type\030\001 \001(\0162\".google.cloud.apphub.v1.Scope.TypeB\003\340A\002\"6\n"
+ "\004Type\022\024\n"
+ "\020TYPE_UNSPECIFIED\020\000\022\014\n"
+ "\010REGIONAL\020\001\022\n\n"
- + "\006GLOBAL\020\002B\262\001\n"
- + "\032com.google.cloud.apphub.v1B\020Applicati"
- + "onProtoP\001Z2cloud.google.com/go/apphub/ap"
- + "iv1/apphubpb;apphubpb\252\002\026Google.Cloud.App"
- + "Hub.V1\312\002\026Google\\Cloud\\AppHub\\V1\352\002\031Google"
- + "::Cloud::AppHub::V1b\006proto3"
+ + "\006GLOBAL\020\002\"\337\001\n"
+ + "\025ApplicationProperties\022c\n"
+ + "\021extended_metadata\030\001 \003(\0132C.google.cloud.apphub."
+ + "v1.ApplicationProperties.ExtendedMetadataEntryB\003\340A\003\032a\n"
+ + "\025ExtendedMetadataEntry\022\013\n"
+ + "\003key\030\001 \001(\t\0227\n"
+ + "\005value\030\002"
+ + " \001(\0132(.google.cloud.apphub.v1.ExtendedMetadata:\0028\001B\262\001\n"
+ + "\032com.google.cloud.apphub.v1B\020ApplicationProtoP"
+ + "\001Z2cloud.google.com/go/apphub/apiv1/apph"
+ + "ubpb;apphubpb\252\002\026Google.Cloud.AppHub.V1\312\002"
+ + "\026Google\\Cloud\\AppHub\\V1\352\002\031Google::Cloud::AppHub::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -105,6 +131,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.FieldInfoProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.apphub.v1.AttributesProto.getDescriptor(),
+ com.google.cloud.apphub.v1.PropertiesProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_google_cloud_apphub_v1_Application_descriptor =
@@ -122,19 +149,46 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Scope",
"Uid",
"State",
+ "ApplicationProperties",
+ "ApplicationType",
});
- internal_static_google_cloud_apphub_v1_Scope_descriptor = getDescriptor().getMessageType(1);
+ internal_static_google_cloud_apphub_v1_ApplicationType_descriptor =
+ getDescriptor().getMessageType(1);
+ internal_static_google_cloud_apphub_v1_ApplicationType_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_apphub_v1_ApplicationType_descriptor,
+ new java.lang.String[] {
+ "Type",
+ });
+ internal_static_google_cloud_apphub_v1_Scope_descriptor = getDescriptor().getMessageType(2);
internal_static_google_cloud_apphub_v1_Scope_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_apphub_v1_Scope_descriptor,
new java.lang.String[] {
"Type",
});
+ internal_static_google_cloud_apphub_v1_ApplicationProperties_descriptor =
+ getDescriptor().getMessageType(3);
+ internal_static_google_cloud_apphub_v1_ApplicationProperties_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_apphub_v1_ApplicationProperties_descriptor,
+ new java.lang.String[] {
+ "ExtendedMetadata",
+ });
+ internal_static_google_cloud_apphub_v1_ApplicationProperties_ExtendedMetadataEntry_descriptor =
+ internal_static_google_cloud_apphub_v1_ApplicationProperties_descriptor.getNestedType(0);
+ internal_static_google_cloud_apphub_v1_ApplicationProperties_ExtendedMetadataEntry_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_apphub_v1_ApplicationProperties_ExtendedMetadataEntry_descriptor,
+ new java.lang.String[] {
+ "Key", "Value",
+ });
descriptor.resolveAllFeaturesImmutable();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.FieldInfoProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.cloud.apphub.v1.AttributesProto.getDescriptor();
+ com.google.cloud.apphub.v1.PropertiesProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationType.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationType.java
new file mode 100644
index 000000000000..7c2c060103da
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationType.java
@@ -0,0 +1,707 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/application.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+/**
+ *
+ *
+ *
+ * Application type.
+ *
+ *
+ * Protobuf type {@code google.cloud.apphub.v1.ApplicationType}
+ */
+@com.google.protobuf.Generated
+public final class ApplicationType extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.apphub.v1.ApplicationType)
+ ApplicationTypeOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "ApplicationType");
+ }
+
+ // Use ApplicationType.newBuilder() to construct.
+ private ApplicationType(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private ApplicationType() {
+ type_ = 0;
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.apphub.v1.ApplicationProto
+ .internal_static_google_cloud_apphub_v1_ApplicationType_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.apphub.v1.ApplicationProto
+ .internal_static_google_cloud_apphub_v1_ApplicationType_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.apphub.v1.ApplicationType.class,
+ com.google.cloud.apphub.v1.ApplicationType.Builder.class);
+ }
+
+ /**
+ *
+ *
+ *
+ * Application type enum.
+ *
+ *
+ * Protobuf enum {@code google.cloud.apphub.v1.ApplicationType.Type}
+ */
+ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ *
+ *
+ *
+ * Unspecified type.
+ *
+ *
+ * TYPE_UNSPECIFIED = 0;
+ */
+ TYPE_UNSPECIFIED(0),
+ /**
+ *
+ *
+ *
+ * AI Application type.
+ *
+ *
+ * AI_APPLICATION = 1;
+ */
+ AI_APPLICATION(1),
+ UNRECOGNIZED(-1),
+ ;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "Type");
+ }
+
+ /**
+ *
+ *
+ *
+ * Unspecified type.
+ *
+ *
+ * TYPE_UNSPECIFIED = 0;
+ */
+ public static final int TYPE_UNSPECIFIED_VALUE = 0;
+
+ /**
+ *
+ *
+ *
+ * AI Application type.
+ *
+ *
+ * AI_APPLICATION = 1;
+ */
+ public static final int AI_APPLICATION_VALUE = 1;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static Type valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static Type forNumber(int value) {
+ switch (value) {
+ case 0:
+ return TYPE_UNSPECIFIED;
+ case 1:
+ return AI_APPLICATION;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+ return internalValueMap;
+ }
+
+ private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap() {
+ public Type findValueByNumber(int number) {
+ return Type.forNumber(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
+ return getDescriptor().getValues().get(ordinal());
+ }
+
+ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+ return getDescriptor();
+ }
+
+ public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+ return com.google.cloud.apphub.v1.ApplicationType.getDescriptor().getEnumTypes().get(0);
+ }
+
+ private static final Type[] VALUES = values();
+
+ public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+ }
+ if (desc.getIndex() == -1) {
+ return UNRECOGNIZED;
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int value;
+
+ private Type(int value) {
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:google.cloud.apphub.v1.ApplicationType.Type)
+ }
+
+ public static final int TYPE_FIELD_NUMBER = 1;
+ private int type_ = 0;
+
+ /**
+ *
+ *
+ *
+ * The type of the application.
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType.Type type = 1;
+ *
+ * @return The enum numeric value on the wire for type.
+ */
+ @java.lang.Override
+ public int getTypeValue() {
+ return type_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The type of the application.
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType.Type type = 1;
+ *
+ * @return The type.
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ApplicationType.Type getType() {
+ com.google.cloud.apphub.v1.ApplicationType.Type result =
+ com.google.cloud.apphub.v1.ApplicationType.Type.forNumber(type_);
+ return result == null ? com.google.cloud.apphub.v1.ApplicationType.Type.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 (type_ != com.google.cloud.apphub.v1.ApplicationType.Type.TYPE_UNSPECIFIED.getNumber()) {
+ output.writeEnum(1, type_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (type_ != com.google.cloud.apphub.v1.ApplicationType.Type.TYPE_UNSPECIFIED.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_);
+ }
+ 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.apphub.v1.ApplicationType)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.apphub.v1.ApplicationType other =
+ (com.google.cloud.apphub.v1.ApplicationType) obj;
+
+ if (type_ != other.type_) 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) + TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + type_;
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationType parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationType 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.apphub.v1.ApplicationType parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationType 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.apphub.v1.ApplicationType parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationType parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationType parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationType parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationType parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationType parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationType parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationType parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.apphub.v1.ApplicationType 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * Application type.
+ *
+ *
+ * Protobuf type {@code google.cloud.apphub.v1.ApplicationType}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.apphub.v1.ApplicationType)
+ com.google.cloud.apphub.v1.ApplicationTypeOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.apphub.v1.ApplicationProto
+ .internal_static_google_cloud_apphub_v1_ApplicationType_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.apphub.v1.ApplicationProto
+ .internal_static_google_cloud_apphub_v1_ApplicationType_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.apphub.v1.ApplicationType.class,
+ com.google.cloud.apphub.v1.ApplicationType.Builder.class);
+ }
+
+ // Construct using com.google.cloud.apphub.v1.ApplicationType.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ type_ = 0;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.apphub.v1.ApplicationProto
+ .internal_static_google_cloud_apphub_v1_ApplicationType_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ApplicationType getDefaultInstanceForType() {
+ return com.google.cloud.apphub.v1.ApplicationType.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ApplicationType build() {
+ com.google.cloud.apphub.v1.ApplicationType result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ApplicationType buildPartial() {
+ com.google.cloud.apphub.v1.ApplicationType result =
+ new com.google.cloud.apphub.v1.ApplicationType(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.cloud.apphub.v1.ApplicationType result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.type_ = type_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.apphub.v1.ApplicationType) {
+ return mergeFrom((com.google.cloud.apphub.v1.ApplicationType) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.apphub.v1.ApplicationType other) {
+ if (other == com.google.cloud.apphub.v1.ApplicationType.getDefaultInstance()) return this;
+ if (other.type_ != 0) {
+ setTypeValue(other.getTypeValue());
+ }
+ 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:
+ {
+ type_ = input.readEnum();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 8
+ 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 type_ = 0;
+
+ /**
+ *
+ *
+ *
+ * The type of the application.
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType.Type type = 1;
+ *
+ * @return The enum numeric value on the wire for type.
+ */
+ @java.lang.Override
+ public int getTypeValue() {
+ return type_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The type of the application.
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType.Type type = 1;
+ *
+ * @param value The enum numeric value on the wire for type to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTypeValue(int value) {
+ type_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The type of the application.
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType.Type type = 1;
+ *
+ * @return The type.
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ApplicationType.Type getType() {
+ com.google.cloud.apphub.v1.ApplicationType.Type result =
+ com.google.cloud.apphub.v1.ApplicationType.Type.forNumber(type_);
+ return result == null ? com.google.cloud.apphub.v1.ApplicationType.Type.UNRECOGNIZED : result;
+ }
+
+ /**
+ *
+ *
+ *
+ * The type of the application.
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType.Type type = 1;
+ *
+ * @param value The type to set.
+ * @return This builder for chaining.
+ */
+ public Builder setType(com.google.cloud.apphub.v1.ApplicationType.Type value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ type_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The type of the application.
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType.Type type = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearType() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ type_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.apphub.v1.ApplicationType)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.apphub.v1.ApplicationType)
+ private static final com.google.cloud.apphub.v1.ApplicationType DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.apphub.v1.ApplicationType();
+ }
+
+ public static com.google.cloud.apphub.v1.ApplicationType getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public ApplicationType 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.apphub.v1.ApplicationType getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationTypeOrBuilder.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationTypeOrBuilder.java
new file mode 100644
index 000000000000..694970d9c43b
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ApplicationTypeOrBuilder.java
@@ -0,0 +1,54 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/application.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+@com.google.protobuf.Generated
+public interface ApplicationTypeOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.apphub.v1.ApplicationType)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * The type of the application.
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType.Type type = 1;
+ *
+ * @return The enum numeric value on the wire for type.
+ */
+ int getTypeValue();
+
+ /**
+ *
+ *
+ *
+ * The type of the application.
+ *
+ *
+ * .google.cloud.apphub.v1.ApplicationType.Type type = 1;
+ *
+ * @return The type.
+ */
+ com.google.cloud.apphub.v1.ApplicationType.Type getType();
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/Boundary.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/Boundary.java
new file mode 100644
index 000000000000..6e67ab47adea
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/Boundary.java
@@ -0,0 +1,1910 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/boundary.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+/**
+ *
+ *
+ *
+ * Application management boundary.
+ *
+ *
+ * Protobuf type {@code google.cloud.apphub.v1.Boundary}
+ */
+@com.google.protobuf.Generated
+public final class Boundary extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.apphub.v1.Boundary)
+ BoundaryOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "Boundary");
+ }
+
+ // Use Boundary.newBuilder() to construct.
+ private Boundary(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private Boundary() {
+ name_ = "";
+ type_ = 0;
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.apphub.v1.BoundaryProto
+ .internal_static_google_cloud_apphub_v1_Boundary_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.apphub.v1.BoundaryProto
+ .internal_static_google_cloud_apphub_v1_Boundary_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.apphub.v1.Boundary.class,
+ com.google.cloud.apphub.v1.Boundary.Builder.class);
+ }
+
+ /**
+ *
+ *
+ *
+ * Boundary management type.
+ *
+ *
+ * Protobuf enum {@code google.cloud.apphub.v1.Boundary.Type}
+ */
+ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ *
+ *
+ *
+ * Unspecified type.
+ *
+ *
+ * TYPE_UNSPECIFIED = 0;
+ */
+ TYPE_UNSPECIFIED(0),
+ /**
+ *
+ *
+ *
+ * The Boundary automatically includes all descendants of the CRM node.
+ *
+ *
+ * AUTOMATIC = 1;
+ */
+ AUTOMATIC(1),
+ /**
+ *
+ *
+ *
+ * The list of projects within the Boundary is managed by the user.
+ *
+ *
+ * MANUAL = 2;
+ */
+ MANUAL(2),
+ /**
+ *
+ *
+ *
+ * The Boundary automatically includes all descendants of the CRM node,
+ * which is set via App Management folder capability.
+ *
+ *
+ * MANAGED_AUTOMATIC = 3;
+ */
+ MANAGED_AUTOMATIC(3),
+ UNRECOGNIZED(-1),
+ ;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "Type");
+ }
+
+ /**
+ *
+ *
+ *
+ * Unspecified type.
+ *
+ *
+ * TYPE_UNSPECIFIED = 0;
+ */
+ public static final int TYPE_UNSPECIFIED_VALUE = 0;
+
+ /**
+ *
+ *
+ *
+ * The Boundary automatically includes all descendants of the CRM node.
+ *
+ *
+ * AUTOMATIC = 1;
+ */
+ public static final int AUTOMATIC_VALUE = 1;
+
+ /**
+ *
+ *
+ *
+ * The list of projects within the Boundary is managed by the user.
+ *
+ *
+ * MANUAL = 2;
+ */
+ public static final int MANUAL_VALUE = 2;
+
+ /**
+ *
+ *
+ *
+ * The Boundary automatically includes all descendants of the CRM node,
+ * which is set via App Management folder capability.
+ *
+ *
+ * MANAGED_AUTOMATIC = 3;
+ */
+ public static final int MANAGED_AUTOMATIC_VALUE = 3;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static Type valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static Type forNumber(int value) {
+ switch (value) {
+ case 0:
+ return TYPE_UNSPECIFIED;
+ case 1:
+ return AUTOMATIC;
+ case 2:
+ return MANUAL;
+ case 3:
+ return MANAGED_AUTOMATIC;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+ return internalValueMap;
+ }
+
+ private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap() {
+ public Type findValueByNumber(int number) {
+ return Type.forNumber(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
+ return getDescriptor().getValues().get(ordinal());
+ }
+
+ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+ return getDescriptor();
+ }
+
+ public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+ return com.google.cloud.apphub.v1.Boundary.getDescriptor().getEnumTypes().get(0);
+ }
+
+ private static final Type[] VALUES = values();
+
+ public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+ }
+ if (desc.getIndex() == -1) {
+ return UNRECOGNIZED;
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int value;
+
+ private Type(int value) {
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:google.cloud.apphub.v1.Boundary.Type)
+ }
+
+ private int bitField0_;
+ private int scopeCase_ = 0;
+
+ @SuppressWarnings("serial")
+ private java.lang.Object scope_;
+
+ public enum ScopeCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
+ CRM_NODE(4),
+ SCOPE_NOT_SET(0);
+ private final int value;
+
+ private ScopeCase(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 ScopeCase valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static ScopeCase forNumber(int value) {
+ switch (value) {
+ case 4:
+ return CRM_NODE;
+ case 0:
+ return SCOPE_NOT_SET;
+ default:
+ return null;
+ }
+ }
+
+ public int getNumber() {
+ return this.value;
+ }
+ };
+
+ public ScopeCase getScopeCase() {
+ return ScopeCase.forNumber(scopeCase_);
+ }
+
+ public static final int CRM_NODE_FIELD_NUMBER = 4;
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the CRM node being attached to the
+ * boundary.
+ * Format: `projects/{project-number}` or `projects/{project-id}`
+ *
+ *
+ * string crm_node = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the crmNode field is set.
+ */
+ public boolean hasCrmNode() {
+ return scopeCase_ == 4;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the CRM node being attached to the
+ * boundary.
+ * Format: `projects/{project-number}` or `projects/{project-id}`
+ *
+ *
+ * string crm_node = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The crmNode.
+ */
+ public java.lang.String getCrmNode() {
+ java.lang.Object ref = "";
+ if (scopeCase_ == 4) {
+ ref = scope_;
+ }
+ 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();
+ if (scopeCase_ == 4) {
+ scope_ = s;
+ }
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the CRM node being attached to the
+ * boundary.
+ * Format: `projects/{project-number}` or `projects/{project-id}`
+ *
+ *
+ * string crm_node = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for crmNode.
+ */
+ public com.google.protobuf.ByteString getCrmNodeBytes() {
+ java.lang.Object ref = "";
+ if (scopeCase_ == 4) {
+ ref = scope_;
+ }
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ if (scopeCase_ == 4) {
+ scope_ = b;
+ }
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int NAME_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
+
+ /**
+ *
+ *
+ *
+ * Identifier. The resource name of the boundary.
+ * Format: "projects/{project}/locations/{location}/boundary"
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
+ *
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Identifier. The resource name of the boundary.
+ * Format: "projects/{project}/locations/{location}/boundary"
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
+ *
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int CREATE_TIME_FIELD_NUMBER = 2;
+ private com.google.protobuf.Timestamp createTime_;
+
+ /**
+ *
+ *
+ *
+ * Output only. Create time.
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the createTime field is set.
+ */
+ @java.lang.Override
+ public boolean hasCreateTime() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Create time.
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The createTime.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Timestamp getCreateTime() {
+ return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Create time.
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
+ return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
+ }
+
+ public static final int UPDATE_TIME_FIELD_NUMBER = 3;
+ private com.google.protobuf.Timestamp updateTime_;
+
+ /**
+ *
+ *
+ *
+ * Output only. Update time.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the updateTime field is set.
+ */
+ @java.lang.Override
+ public boolean hasUpdateTime() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Update time.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The updateTime.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Timestamp getUpdateTime() {
+ return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Update time.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
+ return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
+ }
+
+ public static final int TYPE_FIELD_NUMBER = 5;
+ private int type_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Output only. Boundary type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary.Type type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for type.
+ */
+ @java.lang.Override
+ public int getTypeValue() {
+ return type_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Boundary type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary.Type type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The type.
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.Boundary.Type getType() {
+ com.google.cloud.apphub.v1.Boundary.Type result =
+ com.google.cloud.apphub.v1.Boundary.Type.forNumber(type_);
+ return result == null ? com.google.cloud.apphub.v1.Boundary.Type.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 (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(2, getCreateTime());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(3, getUpdateTime());
+ }
+ if (scopeCase_ == 4) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 4, scope_);
+ }
+ if (type_ != com.google.cloud.apphub.v1.Boundary.Type.TYPE_UNSPECIFIED.getNumber()) {
+ output.writeEnum(5, type_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime());
+ }
+ if (scopeCase_ == 4) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(4, scope_);
+ }
+ if (type_ != com.google.cloud.apphub.v1.Boundary.Type.TYPE_UNSPECIFIED.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_);
+ }
+ 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.apphub.v1.Boundary)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.apphub.v1.Boundary other = (com.google.cloud.apphub.v1.Boundary) obj;
+
+ if (!getName().equals(other.getName())) return false;
+ if (hasCreateTime() != other.hasCreateTime()) return false;
+ if (hasCreateTime()) {
+ if (!getCreateTime().equals(other.getCreateTime())) return false;
+ }
+ if (hasUpdateTime() != other.hasUpdateTime()) return false;
+ if (hasUpdateTime()) {
+ if (!getUpdateTime().equals(other.getUpdateTime())) return false;
+ }
+ if (type_ != other.type_) return false;
+ if (!getScopeCase().equals(other.getScopeCase())) return false;
+ switch (scopeCase_) {
+ case 4:
+ if (!getCrmNode().equals(other.getCrmNode())) 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();
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ if (hasCreateTime()) {
+ hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + getCreateTime().hashCode();
+ }
+ if (hasUpdateTime()) {
+ hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + getUpdateTime().hashCode();
+ }
+ hash = (37 * hash) + TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + type_;
+ switch (scopeCase_) {
+ case 4:
+ hash = (37 * hash) + CRM_NODE_FIELD_NUMBER;
+ hash = (53 * hash) + getCrmNode().hashCode();
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.apphub.v1.Boundary parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.Boundary 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.apphub.v1.Boundary parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.Boundary 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.apphub.v1.Boundary parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.Boundary parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.Boundary parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.Boundary parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.Boundary parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.Boundary parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.Boundary parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.Boundary parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.apphub.v1.Boundary 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * Application management boundary.
+ *
+ *
+ * Protobuf type {@code google.cloud.apphub.v1.Boundary}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.apphub.v1.Boundary)
+ com.google.cloud.apphub.v1.BoundaryOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.apphub.v1.BoundaryProto
+ .internal_static_google_cloud_apphub_v1_Boundary_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.apphub.v1.BoundaryProto
+ .internal_static_google_cloud_apphub_v1_Boundary_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.apphub.v1.Boundary.class,
+ com.google.cloud.apphub.v1.Boundary.Builder.class);
+ }
+
+ // Construct using com.google.cloud.apphub.v1.Boundary.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ internalGetCreateTimeFieldBuilder();
+ internalGetUpdateTimeFieldBuilder();
+ }
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ name_ = "";
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
+ createTimeBuilder_ = null;
+ }
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
+ updateTimeBuilder_ = null;
+ }
+ type_ = 0;
+ scopeCase_ = 0;
+ scope_ = null;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.apphub.v1.BoundaryProto
+ .internal_static_google_cloud_apphub_v1_Boundary_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.Boundary getDefaultInstanceForType() {
+ return com.google.cloud.apphub.v1.Boundary.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.Boundary build() {
+ com.google.cloud.apphub.v1.Boundary result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.Boundary buildPartial() {
+ com.google.cloud.apphub.v1.Boundary result = new com.google.cloud.apphub.v1.Boundary(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ buildPartialOneofs(result);
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.cloud.apphub.v1.Boundary result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.name_ = name_;
+ }
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+ to_bitField0_ |= 0x00000002;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.type_ = type_;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ private void buildPartialOneofs(com.google.cloud.apphub.v1.Boundary result) {
+ result.scopeCase_ = scopeCase_;
+ result.scope_ = this.scope_;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.apphub.v1.Boundary) {
+ return mergeFrom((com.google.cloud.apphub.v1.Boundary) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.apphub.v1.Boundary other) {
+ if (other == com.google.cloud.apphub.v1.Boundary.getDefaultInstance()) return this;
+ if (!other.getName().isEmpty()) {
+ name_ = other.name_;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ if (other.hasCreateTime()) {
+ mergeCreateTime(other.getCreateTime());
+ }
+ if (other.hasUpdateTime()) {
+ mergeUpdateTime(other.getUpdateTime());
+ }
+ if (other.type_ != 0) {
+ setTypeValue(other.getTypeValue());
+ }
+ switch (other.getScopeCase()) {
+ case CRM_NODE:
+ {
+ scopeCase_ = 4;
+ scope_ = other.scope_;
+ onChanged();
+ break;
+ }
+ case SCOPE_NOT_SET:
+ {
+ break;
+ }
+ }
+ 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:
+ {
+ name_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 10
+ case 18:
+ {
+ input.readMessage(
+ internalGetCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 18
+ case 26:
+ {
+ input.readMessage(
+ internalGetUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 26
+ case 34:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+ scopeCase_ = 4;
+ scope_ = s;
+ break;
+ } // case 34
+ case 40:
+ {
+ type_ = input.readEnum();
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 40
+ 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 scopeCase_ = 0;
+ private java.lang.Object scope_;
+
+ public ScopeCase getScopeCase() {
+ return ScopeCase.forNumber(scopeCase_);
+ }
+
+ public Builder clearScope() {
+ scopeCase_ = 0;
+ scope_ = null;
+ onChanged();
+ return this;
+ }
+
+ private int bitField0_;
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the CRM node being attached to the
+ * boundary.
+ * Format: `projects/{project-number}` or `projects/{project-id}`
+ *
+ *
+ * string crm_node = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the crmNode field is set.
+ */
+ @java.lang.Override
+ public boolean hasCrmNode() {
+ return scopeCase_ == 4;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the CRM node being attached to the
+ * boundary.
+ * Format: `projects/{project-number}` or `projects/{project-id}`
+ *
+ *
+ * string crm_node = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The crmNode.
+ */
+ @java.lang.Override
+ public java.lang.String getCrmNode() {
+ java.lang.Object ref = "";
+ if (scopeCase_ == 4) {
+ ref = scope_;
+ }
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (scopeCase_ == 4) {
+ scope_ = s;
+ }
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the CRM node being attached to the
+ * boundary.
+ * Format: `projects/{project-number}` or `projects/{project-id}`
+ *
+ *
+ * string crm_node = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for crmNode.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getCrmNodeBytes() {
+ java.lang.Object ref = "";
+ if (scopeCase_ == 4) {
+ ref = scope_;
+ }
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ if (scopeCase_ == 4) {
+ scope_ = b;
+ }
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the CRM node being attached to the
+ * boundary.
+ * Format: `projects/{project-number}` or `projects/{project-id}`
+ *
+ *
+ * string crm_node = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The crmNode to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCrmNode(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ scopeCase_ = 4;
+ scope_ = value;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the CRM node being attached to the
+ * boundary.
+ * Format: `projects/{project-number}` or `projects/{project-id}`
+ *
+ *
+ * string crm_node = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearCrmNode() {
+ if (scopeCase_ == 4) {
+ scopeCase_ = 0;
+ scope_ = null;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the CRM node being attached to the
+ * boundary.
+ * Format: `projects/{project-number}` or `projects/{project-id}`
+ *
+ *
+ * string crm_node = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for crmNode to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCrmNodeBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ scopeCase_ = 4;
+ scope_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object name_ = "";
+
+ /**
+ *
+ *
+ *
+ * Identifier. The resource name of the boundary.
+ * Format: "projects/{project}/locations/{location}/boundary"
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
+ *
+ * @return The name.
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Identifier. The resource name of the boundary.
+ * Format: "projects/{project}/locations/{location}/boundary"
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
+ *
+ * @return The bytes for name.
+ */
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Identifier. The resource name of the boundary.
+ * Format: "projects/{project}/locations/{location}/boundary"
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ name_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Identifier. The resource name of the boundary.
+ * Format: "projects/{project}/locations/{location}/boundary"
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+ name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Identifier. The resource name of the boundary.
+ * Format: "projects/{project}/locations/{location}/boundary"
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ name_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Timestamp createTime_;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ createTimeBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Output only. Create time.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the createTime field is set.
+ */
+ public boolean hasCreateTime() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Create time.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The createTime.
+ */
+ public com.google.protobuf.Timestamp getCreateTime() {
+ if (createTimeBuilder_ == null) {
+ return createTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : createTime_;
+ } else {
+ return createTimeBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Create time.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
+ if (createTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ createTime_ = value;
+ } else {
+ createTimeBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Create time.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (createTimeBuilder_ == null) {
+ createTime_ = builderForValue.build();
+ } else {
+ createTimeBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Create time.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
+ if (createTimeBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) != 0)
+ && createTime_ != null
+ && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getCreateTimeBuilder().mergeFrom(value);
+ } else {
+ createTime_ = value;
+ }
+ } else {
+ createTimeBuilder_.mergeFrom(value);
+ }
+ if (createTime_ != null) {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Create time.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearCreateTime() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
+ createTimeBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Create time.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return internalGetCreateTimeFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Create time.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
+ if (createTimeBuilder_ != null) {
+ return createTimeBuilder_.getMessageOrBuilder();
+ } else {
+ return createTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : createTime_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Create time.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ internalGetCreateTimeFieldBuilder() {
+ if (createTimeBuilder_ == null) {
+ createTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ getCreateTime(), getParentForChildren(), isClean());
+ createTime_ = null;
+ }
+ return createTimeBuilder_;
+ }
+
+ private com.google.protobuf.Timestamp updateTime_;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ updateTimeBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Output only. Update time.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the updateTime field is set.
+ */
+ public boolean hasUpdateTime() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Update time.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The updateTime.
+ */
+ public com.google.protobuf.Timestamp getUpdateTime() {
+ if (updateTimeBuilder_ == null) {
+ return updateTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : updateTime_;
+ } else {
+ return updateTimeBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Update time.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
+ if (updateTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ updateTime_ = value;
+ } else {
+ updateTimeBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Update time.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (updateTimeBuilder_ == null) {
+ updateTime_ = builderForValue.build();
+ } else {
+ updateTimeBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Update time.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
+ if (updateTimeBuilder_ == null) {
+ if (((bitField0_ & 0x00000008) != 0)
+ && updateTime_ != null
+ && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getUpdateTimeBuilder().mergeFrom(value);
+ } else {
+ updateTime_ = value;
+ }
+ } else {
+ updateTimeBuilder_.mergeFrom(value);
+ }
+ if (updateTime_ != null) {
+ bitField0_ |= 0x00000008;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Update time.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearUpdateTime() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
+ updateTimeBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Update time.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return internalGetUpdateTimeFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Update time.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
+ if (updateTimeBuilder_ != null) {
+ return updateTimeBuilder_.getMessageOrBuilder();
+ } else {
+ return updateTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : updateTime_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Update time.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ internalGetUpdateTimeFieldBuilder() {
+ if (updateTimeBuilder_ == null) {
+ updateTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ getUpdateTime(), getParentForChildren(), isClean());
+ updateTime_ = null;
+ }
+ return updateTimeBuilder_;
+ }
+
+ private int type_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Output only. Boundary type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary.Type type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for type.
+ */
+ @java.lang.Override
+ public int getTypeValue() {
+ return type_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Boundary type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary.Type type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The enum numeric value on the wire for type to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTypeValue(int value) {
+ type_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Boundary type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary.Type type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The type.
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.Boundary.Type getType() {
+ com.google.cloud.apphub.v1.Boundary.Type result =
+ com.google.cloud.apphub.v1.Boundary.Type.forNumber(type_);
+ return result == null ? com.google.cloud.apphub.v1.Boundary.Type.UNRECOGNIZED : result;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Boundary type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary.Type type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The type to set.
+ * @return This builder for chaining.
+ */
+ public Builder setType(com.google.cloud.apphub.v1.Boundary.Type value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000010;
+ type_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Boundary type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary.Type type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearType() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ type_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.apphub.v1.Boundary)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.apphub.v1.Boundary)
+ private static final com.google.cloud.apphub.v1.Boundary DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.apphub.v1.Boundary();
+ }
+
+ public static com.google.cloud.apphub.v1.Boundary getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public Boundary 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.apphub.v1.Boundary getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/BoundaryName.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/BoundaryName.java
new file mode 100644
index 000000000000..9dd8f81f729c
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/BoundaryName.java
@@ -0,0 +1,195 @@
+/*
+ * 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.apphub.v1;
+
+import com.google.api.pathtemplate.PathTemplate;
+import com.google.api.resourcenames.ResourceName;
+import com.google.common.base.Preconditions;
+import com.google.common.collect.ImmutableMap;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import java.util.Objects;
+import javax.annotation.Generated;
+import org.jspecify.annotations.NullMarked;
+import org.jspecify.annotations.Nullable;
+
+// AUTO-GENERATED DOCUMENTATION AND CLASS.
+@NullMarked
+@Generated("by gapic-generator-java")
+public class BoundaryName implements ResourceName {
+ private static final PathTemplate PROJECT_LOCATION =
+ PathTemplate.createWithoutUrlEncoding("projects/{project}/locations/{location}/boundary");
+ private volatile Map fieldValuesMap;
+ private final String project;
+ private final String location;
+
+ @Deprecated
+ protected BoundaryName() {
+ project = null;
+ location = null;
+ }
+
+ private BoundaryName(Builder builder) {
+ project = Preconditions.checkNotNull(builder.getProject());
+ location = Preconditions.checkNotNull(builder.getLocation());
+ }
+
+ public String getProject() {
+ return project;
+ }
+
+ public String getLocation() {
+ return location;
+ }
+
+ public static Builder newBuilder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder(this);
+ }
+
+ public static BoundaryName of(String project, String location) {
+ return newBuilder().setProject(project).setLocation(location).build();
+ }
+
+ public static String format(String project, String location) {
+ return newBuilder().setProject(project).setLocation(location).build().toString();
+ }
+
+ public static @Nullable BoundaryName parse(String formattedString) {
+ if (formattedString.isEmpty()) {
+ return null;
+ }
+ Map matchMap =
+ PROJECT_LOCATION.validatedMatch(
+ formattedString, "BoundaryName.parse: formattedString not in valid format");
+ return of(matchMap.get("project"), matchMap.get("location"));
+ }
+
+ public static List parseList(List formattedStrings) {
+ List list = new ArrayList<>(formattedStrings.size());
+ for (String formattedString : formattedStrings) {
+ list.add(parse(formattedString));
+ }
+ return list;
+ }
+
+ public static List toStringList(List<@Nullable BoundaryName> values) {
+ List list = new ArrayList<>(values.size());
+ for (BoundaryName value : values) {
+ if (value == null) {
+ list.add("");
+ } else {
+ list.add(value.toString());
+ }
+ }
+ return list;
+ }
+
+ public static boolean isParsableFrom(String formattedString) {
+ return PROJECT_LOCATION.matches(formattedString);
+ }
+
+ @Override
+ public Map getFieldValuesMap() {
+ if (fieldValuesMap == null) {
+ synchronized (this) {
+ if (fieldValuesMap == null) {
+ ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder();
+ if (project != null) {
+ fieldMapBuilder.put("project", project);
+ }
+ if (location != null) {
+ fieldMapBuilder.put("location", location);
+ }
+ fieldValuesMap = fieldMapBuilder.build();
+ }
+ }
+ }
+ return fieldValuesMap;
+ }
+
+ public String getFieldValue(String fieldName) {
+ return getFieldValuesMap().get(fieldName);
+ }
+
+ @Override
+ public String toString() {
+ return PROJECT_LOCATION.instantiate("project", project, "location", location);
+ }
+
+ @Override
+ public boolean equals(@Nullable Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (o != null && getClass() == o.getClass()) {
+ BoundaryName that = ((BoundaryName) o);
+ return Objects.equals(this.project, that.project)
+ && Objects.equals(this.location, that.location);
+ }
+ return false;
+ }
+
+ @Override
+ public int hashCode() {
+ int h = 1;
+ h *= 1000003;
+ h ^= Objects.hashCode(project);
+ h *= 1000003;
+ h ^= Objects.hashCode(location);
+ return h;
+ }
+
+ /** Builder for projects/{project}/locations/{location}/boundary. */
+ public static class Builder {
+ private String project;
+ private String location;
+
+ protected Builder() {}
+
+ public String getProject() {
+ return project;
+ }
+
+ public String getLocation() {
+ return location;
+ }
+
+ public Builder setProject(String project) {
+ this.project = project;
+ return this;
+ }
+
+ public Builder setLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
+ private Builder(BoundaryName boundaryName) {
+ this.project = boundaryName.project;
+ this.location = boundaryName.location;
+ }
+
+ public BoundaryName build() {
+ return new BoundaryName(this);
+ }
+ }
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/BoundaryOrBuilder.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/BoundaryOrBuilder.java
new file mode 100644
index 000000000000..fb5b05979037
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/BoundaryOrBuilder.java
@@ -0,0 +1,213 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/boundary.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+@com.google.protobuf.Generated
+public interface BoundaryOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.apphub.v1.Boundary)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the CRM node being attached to the
+ * boundary.
+ * Format: `projects/{project-number}` or `projects/{project-id}`
+ *
+ *
+ * string crm_node = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the crmNode field is set.
+ */
+ boolean hasCrmNode();
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the CRM node being attached to the
+ * boundary.
+ * Format: `projects/{project-number}` or `projects/{project-id}`
+ *
+ *
+ * string crm_node = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The crmNode.
+ */
+ java.lang.String getCrmNode();
+
+ /**
+ *
+ *
+ *
+ * Optional. The resource name of the CRM node being attached to the
+ * boundary.
+ * Format: `projects/{project-number}` or `projects/{project-id}`
+ *
+ *
+ * string crm_node = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for crmNode.
+ */
+ com.google.protobuf.ByteString getCrmNodeBytes();
+
+ /**
+ *
+ *
+ *
+ * Identifier. The resource name of the boundary.
+ * Format: "projects/{project}/locations/{location}/boundary"
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
+ *
+ * @return The name.
+ */
+ java.lang.String getName();
+
+ /**
+ *
+ *
+ *
+ * Identifier. The resource name of the boundary.
+ * Format: "projects/{project}/locations/{location}/boundary"
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
+ *
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString getNameBytes();
+
+ /**
+ *
+ *
+ *
+ * Output only. Create time.
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the createTime field is set.
+ */
+ boolean hasCreateTime();
+
+ /**
+ *
+ *
+ *
+ * Output only. Create time.
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The createTime.
+ */
+ com.google.protobuf.Timestamp getCreateTime();
+
+ /**
+ *
+ *
+ *
+ * Output only. Create time.
+ *
+ *
+ * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Output only. Update time.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the updateTime field is set.
+ */
+ boolean hasUpdateTime();
+
+ /**
+ *
+ *
+ *
+ * Output only. Update time.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The updateTime.
+ */
+ com.google.protobuf.Timestamp getUpdateTime();
+
+ /**
+ *
+ *
+ *
+ * Output only. Update time.
+ *
+ *
+ * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Output only. Boundary type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary.Type type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for type.
+ */
+ int getTypeValue();
+
+ /**
+ *
+ *
+ *
+ * Output only. Boundary type.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary.Type type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The type.
+ */
+ com.google.cloud.apphub.v1.Boundary.Type getType();
+
+ com.google.cloud.apphub.v1.Boundary.ScopeCase getScopeCase();
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/BoundaryProto.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/BoundaryProto.java
new file mode 100644
index 000000000000..60e5c0a04fe3
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/BoundaryProto.java
@@ -0,0 +1,105 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/boundary.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+@com.google.protobuf.Generated
+public final class BoundaryProto extends com.google.protobuf.GeneratedFile {
+ private BoundaryProto() {}
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "BoundaryProto");
+ }
+
+ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_apphub_v1_Boundary_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_apphub_v1_Boundary_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ return descriptor;
+ }
+
+ private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+ static {
+ java.lang.String[] descriptorData = {
+ "\n%google/cloud/apphub/v1/boundary.proto\022"
+ + "\026google.cloud.apphub.v1\032\037google/api/fiel"
+ + "d_behavior.proto\032\031google/api/resource.pr"
+ + "oto\032\037google/protobuf/timestamp.proto\"\242\003\n"
+ + "\010Boundary\022\027\n\010crm_node\030\004 \001(\tB\003\340A\001H\000\022\021\n\004na"
+ + "me\030\001 \001(\tB\003\340A\010\0224\n\013create_time\030\002 \001(\0132\032.goo"
+ + "gle.protobuf.TimestampB\003\340A\003\0224\n\013update_ti"
+ + "me\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A"
+ + "\003\0228\n\004type\030\005 \001(\0162%.google.cloud.apphub.v1"
+ + ".Boundary.TypeB\003\340A\003\"N\n\004Type\022\024\n\020TYPE_UNSP"
+ + "ECIFIED\020\000\022\r\n\tAUTOMATIC\020\001\022\n\n\006MANUAL\020\002\022\025\n\021"
+ + "MANAGED_AUTOMATIC\020\003:k\352Ah\n\036apphub.googlea"
+ + "pis.com/Boundary\0220projects/{project}/loc"
+ + "ations/{location}/boundary*\nboundaries2\010"
+ + "boundaryB\007\n\005scopeB\257\001\n\032com.google.cloud.a"
+ + "pphub.v1B\rBoundaryProtoP\001Z2cloud.google."
+ + "com/go/apphub/apiv1/apphubpb;apphubpb\252\002\026"
+ + "Google.Cloud.AppHub.V1\312\002\026Google\\Cloud\\Ap"
+ + "pHub\\V1\352\002\031Google::Cloud::AppHub::V1b\006pro"
+ + "to3"
+ };
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.FieldBehaviorProto.getDescriptor(),
+ com.google.api.ResourceProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ });
+ internal_static_google_cloud_apphub_v1_Boundary_descriptor = getDescriptor().getMessageType(0);
+ internal_static_google_cloud_apphub_v1_Boundary_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_apphub_v1_Boundary_descriptor,
+ new java.lang.String[] {
+ "CrmNode", "Name", "CreateTime", "UpdateTime", "Type", "Scope",
+ });
+ descriptor.resolveAllFeaturesImmutable();
+ com.google.api.FieldBehaviorProto.getDescriptor();
+ com.google.api.ResourceProto.getDescriptor();
+ com.google.protobuf.TimestampProto.getDescriptor();
+ com.google.protobuf.ExtensionRegistry registry =
+ com.google.protobuf.ExtensionRegistry.newInstance();
+ registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+ registry.add(com.google.api.ResourceProto.resource);
+ com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+ descriptor, registry);
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateApplicationRequest.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateApplicationRequest.java
index a21418f2eef4..570590d25222 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateApplicationRequest.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateApplicationRequest.java
@@ -274,7 +274,9 @@ public com.google.cloud.apphub.v1.ApplicationOrBuilder getApplicationOrBuilder()
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -310,7 +312,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -1215,7 +1219,9 @@ public com.google.cloud.apphub.v1.ApplicationOrBuilder getApplicationOrBuilder()
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -1250,7 +1256,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -1285,7 +1293,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The requestId to set.
* @return This builder for chaining.
@@ -1319,7 +1329,9 @@ public Builder setRequestId(java.lang.String value) {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return This builder for chaining.
*/
@@ -1349,7 +1361,9 @@ public Builder clearRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The bytes for requestId to set.
* @return This builder for chaining.
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateApplicationRequestOrBuilder.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateApplicationRequestOrBuilder.java
index 7ac22b73b4cb..b612424a09d0 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateApplicationRequestOrBuilder.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateApplicationRequestOrBuilder.java
@@ -152,7 +152,9 @@ public interface CreateApplicationRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -177,7 +179,9 @@ public interface CreateApplicationRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateServiceProjectAttachmentRequest.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateServiceProjectAttachmentRequest.java
index a8b1a57862b3..62403cb44765 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateServiceProjectAttachmentRequest.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateServiceProjectAttachmentRequest.java
@@ -279,7 +279,9 @@ public com.google.cloud.apphub.v1.ServiceProjectAttachment getServiceProjectAtta
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -315,7 +317,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -1243,7 +1247,9 @@ public Builder clearServiceProjectAttachment() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -1278,7 +1284,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -1313,7 +1321,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The requestId to set.
* @return This builder for chaining.
@@ -1347,7 +1357,9 @@ public Builder setRequestId(java.lang.String value) {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return This builder for chaining.
*/
@@ -1377,7 +1389,9 @@ public Builder clearRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The bytes for requestId to set.
* @return This builder for chaining.
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateServiceProjectAttachmentRequestOrBuilder.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateServiceProjectAttachmentRequestOrBuilder.java
index 49c3f2888f1c..a4334010fb67 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateServiceProjectAttachmentRequestOrBuilder.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateServiceProjectAttachmentRequestOrBuilder.java
@@ -155,7 +155,9 @@ public interface CreateServiceProjectAttachmentRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -180,7 +182,9 @@ public interface CreateServiceProjectAttachmentRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateServiceRequest.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateServiceRequest.java
index 98cf4cb3fe2e..5cb86a11bbc2 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateServiceRequest.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateServiceRequest.java
@@ -269,7 +269,9 @@ public com.google.cloud.apphub.v1.ServiceOrBuilder getServiceOrBuilder() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -305,7 +307,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -1204,7 +1208,9 @@ public com.google.cloud.apphub.v1.ServiceOrBuilder getServiceOrBuilder() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -1239,7 +1245,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -1274,7 +1282,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The requestId to set.
* @return This builder for chaining.
@@ -1308,7 +1318,9 @@ public Builder setRequestId(java.lang.String value) {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return This builder for chaining.
*/
@@ -1338,7 +1350,9 @@ public Builder clearRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The bytes for requestId to set.
* @return This builder for chaining.
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateServiceRequestOrBuilder.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateServiceRequestOrBuilder.java
index f60f3860c8b5..85845bed950e 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateServiceRequestOrBuilder.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateServiceRequestOrBuilder.java
@@ -151,7 +151,9 @@ public interface CreateServiceRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -176,7 +178,9 @@ public interface CreateServiceRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateWorkloadRequest.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateWorkloadRequest.java
index 28a83c3fdb00..22246bff5190 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateWorkloadRequest.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateWorkloadRequest.java
@@ -269,7 +269,9 @@ public com.google.cloud.apphub.v1.WorkloadOrBuilder getWorkloadOrBuilder() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -305,7 +307,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -1214,7 +1218,9 @@ public com.google.cloud.apphub.v1.WorkloadOrBuilder getWorkloadOrBuilder() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -1249,7 +1255,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -1284,7 +1292,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The requestId to set.
* @return This builder for chaining.
@@ -1318,7 +1328,9 @@ public Builder setRequestId(java.lang.String value) {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return This builder for chaining.
*/
@@ -1348,7 +1360,9 @@ public Builder clearRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The bytes for requestId to set.
* @return This builder for chaining.
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateWorkloadRequestOrBuilder.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateWorkloadRequestOrBuilder.java
index 9346c2c6780f..c29dd2f026c2 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateWorkloadRequestOrBuilder.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/CreateWorkloadRequestOrBuilder.java
@@ -151,7 +151,9 @@ public interface CreateWorkloadRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -176,7 +178,9 @@ public interface CreateWorkloadRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteApplicationRequest.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteApplicationRequest.java
index b82cd1d60619..dd90854c0414 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteApplicationRequest.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteApplicationRequest.java
@@ -156,7 +156,9 @@ public com.google.protobuf.ByteString getNameBytes() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -192,7 +194,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -695,7 +699,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -730,7 +736,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -765,7 +773,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The requestId to set.
* @return This builder for chaining.
@@ -799,7 +809,9 @@ public Builder setRequestId(java.lang.String value) {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return This builder for chaining.
*/
@@ -829,7 +841,9 @@ public Builder clearRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The bytes for requestId to set.
* @return This builder for chaining.
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteApplicationRequestOrBuilder.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteApplicationRequestOrBuilder.java
index 0aacf64555be..d62c22c984fd 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteApplicationRequestOrBuilder.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteApplicationRequestOrBuilder.java
@@ -79,7 +79,9 @@ public interface DeleteApplicationRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -104,7 +106,9 @@ public interface DeleteApplicationRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteServiceProjectAttachmentRequest.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteServiceProjectAttachmentRequest.java
index 8a854e572546..06528a001517 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteServiceProjectAttachmentRequest.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteServiceProjectAttachmentRequest.java
@@ -158,7 +158,9 @@ public com.google.protobuf.ByteString getNameBytes() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -194,7 +196,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -702,7 +706,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -737,7 +743,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -772,7 +780,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The requestId to set.
* @return This builder for chaining.
@@ -806,7 +816,9 @@ public Builder setRequestId(java.lang.String value) {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return This builder for chaining.
*/
@@ -836,7 +848,9 @@ public Builder clearRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The bytes for requestId to set.
* @return This builder for chaining.
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteServiceProjectAttachmentRequestOrBuilder.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteServiceProjectAttachmentRequestOrBuilder.java
index 2637750de340..04cccd3693ca 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteServiceProjectAttachmentRequestOrBuilder.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteServiceProjectAttachmentRequestOrBuilder.java
@@ -79,7 +79,9 @@ public interface DeleteServiceProjectAttachmentRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -104,7 +106,9 @@ public interface DeleteServiceProjectAttachmentRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteServiceRequest.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteServiceRequest.java
index 47fc2d210110..7fbe14db6913 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteServiceRequest.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteServiceRequest.java
@@ -156,7 +156,9 @@ public com.google.protobuf.ByteString getNameBytes() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -192,7 +194,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -695,7 +699,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -730,7 +736,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -765,7 +773,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The requestId to set.
* @return This builder for chaining.
@@ -799,7 +809,9 @@ public Builder setRequestId(java.lang.String value) {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return This builder for chaining.
*/
@@ -829,7 +841,9 @@ public Builder clearRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The bytes for requestId to set.
* @return This builder for chaining.
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteServiceRequestOrBuilder.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteServiceRequestOrBuilder.java
index c27580ae5dd3..bc13ecfc7a66 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteServiceRequestOrBuilder.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteServiceRequestOrBuilder.java
@@ -79,7 +79,9 @@ public interface DeleteServiceRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -104,7 +106,9 @@ public interface DeleteServiceRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteWorkloadRequest.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteWorkloadRequest.java
index f248f545d89e..c46af0cedae5 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteWorkloadRequest.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteWorkloadRequest.java
@@ -156,7 +156,9 @@ public com.google.protobuf.ByteString getNameBytes() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -192,7 +194,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -695,7 +699,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -730,7 +736,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -765,7 +773,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The requestId to set.
* @return This builder for chaining.
@@ -799,7 +809,9 @@ public Builder setRequestId(java.lang.String value) {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return This builder for chaining.
*/
@@ -829,7 +841,9 @@ public Builder clearRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The bytes for requestId to set.
* @return This builder for chaining.
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteWorkloadRequestOrBuilder.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteWorkloadRequestOrBuilder.java
index 0e0841587403..ac4d5b5f5260 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteWorkloadRequestOrBuilder.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/DeleteWorkloadRequestOrBuilder.java
@@ -79,7 +79,9 @@ public interface DeleteWorkloadRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -104,7 +106,9 @@ public interface DeleteWorkloadRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ExtendedMetadata.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ExtendedMetadata.java
new file mode 100644
index 000000000000..9ccf2eca0840
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ExtendedMetadata.java
@@ -0,0 +1,719 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/properties.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+/**
+ *
+ *
+ * + * Additional metadata for a Service or Workload. + *+ * + * Protobuf type {@code google.cloud.apphub.v1.ExtendedMetadata} + */ +@com.google.protobuf.Generated +public final class ExtendedMetadata extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.apphub.v1.ExtendedMetadata) + ExtendedMetadataOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ExtendedMetadata"); + } + + // Use ExtendedMetadata.newBuilder() to construct. + private ExtendedMetadata(com.google.protobuf.GeneratedMessage.Builder> builder) { + super(builder); + } + + private ExtendedMetadata() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apphub.v1.PropertiesProto + .internal_static_google_cloud_apphub_v1_ExtendedMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.apphub.v1.PropertiesProto + .internal_static_google_cloud_apphub_v1_ExtendedMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.apphub.v1.ExtendedMetadata.class, + com.google.cloud.apphub.v1.ExtendedMetadata.Builder.class); + } + + private int bitField0_; + public static final int METADATA_STRUCT_FIELD_NUMBER = 1; + private com.google.protobuf.Struct metadataStruct_; + + /** + * + * + *
+ * Output only. The metadata contents. + *+ * + *
.google.protobuf.Struct metadata_struct = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the metadataStruct field is set.
+ */
+ @java.lang.Override
+ public boolean hasMetadataStruct() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The metadata contents. + *+ * + *
.google.protobuf.Struct metadata_struct = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The metadataStruct.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Struct getMetadataStruct() {
+ return metadataStruct_ == null
+ ? com.google.protobuf.Struct.getDefaultInstance()
+ : metadataStruct_;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The metadata contents. + *+ * + *
.google.protobuf.Struct metadata_struct = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.StructOrBuilder getMetadataStructOrBuilder() {
+ return metadataStruct_ == null
+ ? com.google.protobuf.Struct.getDefaultInstance()
+ : metadataStruct_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getMetadataStruct());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMetadataStruct());
+ }
+ 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.apphub.v1.ExtendedMetadata)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.apphub.v1.ExtendedMetadata other =
+ (com.google.cloud.apphub.v1.ExtendedMetadata) obj;
+
+ if (hasMetadataStruct() != other.hasMetadataStruct()) return false;
+ if (hasMetadataStruct()) {
+ if (!getMetadataStruct().equals(other.getMetadataStruct())) 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 (hasMetadataStruct()) {
+ hash = (37 * hash) + METADATA_STRUCT_FIELD_NUMBER;
+ hash = (53 * hash) + getMetadataStruct().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadata parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadata 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.apphub.v1.ExtendedMetadata parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadata 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.apphub.v1.ExtendedMetadata parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadata parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadata parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadata parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadata parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadata parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadata parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadata parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.apphub.v1.ExtendedMetadata 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ * + * Additional metadata for a Service or Workload. + *+ * + * Protobuf type {@code google.cloud.apphub.v1.ExtendedMetadata} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Output only. The metadata contents. + *+ * + *
+ * .google.protobuf.Struct metadata_struct = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the metadataStruct field is set.
+ */
+ public boolean hasMetadataStruct() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The metadata contents. + *+ * + *
+ * .google.protobuf.Struct metadata_struct = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The metadataStruct.
+ */
+ public com.google.protobuf.Struct getMetadataStruct() {
+ if (metadataStructBuilder_ == null) {
+ return metadataStruct_ == null
+ ? com.google.protobuf.Struct.getDefaultInstance()
+ : metadataStruct_;
+ } else {
+ return metadataStructBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The metadata contents. + *+ * + *
+ * .google.protobuf.Struct metadata_struct = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setMetadataStruct(com.google.protobuf.Struct value) {
+ if (metadataStructBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ metadataStruct_ = value;
+ } else {
+ metadataStructBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The metadata contents. + *+ * + *
+ * .google.protobuf.Struct metadata_struct = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setMetadataStruct(com.google.protobuf.Struct.Builder builderForValue) {
+ if (metadataStructBuilder_ == null) {
+ metadataStruct_ = builderForValue.build();
+ } else {
+ metadataStructBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The metadata contents. + *+ * + *
+ * .google.protobuf.Struct metadata_struct = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeMetadataStruct(com.google.protobuf.Struct value) {
+ if (metadataStructBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && metadataStruct_ != null
+ && metadataStruct_ != com.google.protobuf.Struct.getDefaultInstance()) {
+ getMetadataStructBuilder().mergeFrom(value);
+ } else {
+ metadataStruct_ = value;
+ }
+ } else {
+ metadataStructBuilder_.mergeFrom(value);
+ }
+ if (metadataStruct_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The metadata contents. + *+ * + *
+ * .google.protobuf.Struct metadata_struct = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearMetadataStruct() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ metadataStruct_ = null;
+ if (metadataStructBuilder_ != null) {
+ metadataStructBuilder_.dispose();
+ metadataStructBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The metadata contents. + *+ * + *
+ * .google.protobuf.Struct metadata_struct = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.Struct.Builder getMetadataStructBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return internalGetMetadataStructFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The metadata contents. + *+ * + *
+ * .google.protobuf.Struct metadata_struct = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.StructOrBuilder getMetadataStructOrBuilder() {
+ if (metadataStructBuilder_ != null) {
+ return metadataStructBuilder_.getMessageOrBuilder();
+ } else {
+ return metadataStruct_ == null
+ ? com.google.protobuf.Struct.getDefaultInstance()
+ : metadataStruct_;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The metadata contents. + *+ * + *
+ * .google.protobuf.Struct metadata_struct = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Struct,
+ com.google.protobuf.Struct.Builder,
+ com.google.protobuf.StructOrBuilder>
+ internalGetMetadataStructFieldBuilder() {
+ if (metadataStructBuilder_ == null) {
+ metadataStructBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Struct,
+ com.google.protobuf.Struct.Builder,
+ com.google.protobuf.StructOrBuilder>(
+ getMetadataStruct(), getParentForChildren(), isClean());
+ metadataStruct_ = null;
+ }
+ return metadataStructBuilder_;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.apphub.v1.ExtendedMetadata)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.apphub.v1.ExtendedMetadata)
+ private static final com.google.cloud.apphub.v1.ExtendedMetadata DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.apphub.v1.ExtendedMetadata();
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadata getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Output only. The metadata contents. + *+ * + *
.google.protobuf.Struct metadata_struct = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the metadataStruct field is set.
+ */
+ boolean hasMetadataStruct();
+
+ /**
+ *
+ *
+ * + * Output only. The metadata contents. + *+ * + *
.google.protobuf.Struct metadata_struct = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The metadataStruct.
+ */
+ com.google.protobuf.Struct getMetadataStruct();
+
+ /**
+ *
+ *
+ * + * Output only. The metadata contents. + *+ * + *
.google.protobuf.Struct metadata_struct = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.protobuf.StructOrBuilder getMetadataStructOrBuilder();
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ExtendedMetadataSchema.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ExtendedMetadataSchema.java
new file mode 100644
index 000000000000..a52b5f3b4605
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ExtendedMetadataSchema.java
@@ -0,0 +1,902 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/extended_metadata_schema.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+/**
+ *
+ *
+ * + * ExtendedMetadataSchema represents a schema for extended metadata of a service + * or workload. + *+ * + * Protobuf type {@code google.cloud.apphub.v1.ExtendedMetadataSchema} + */ +@com.google.protobuf.Generated +public final class ExtendedMetadataSchema extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.apphub.v1.ExtendedMetadataSchema) + ExtendedMetadataSchemaOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ExtendedMetadataSchema"); + } + + // Use ExtendedMetadataSchema.newBuilder() to construct. + private ExtendedMetadataSchema(com.google.protobuf.GeneratedMessage.Builder> builder) { + super(builder); + } + + private ExtendedMetadataSchema() { + name_ = ""; + jsonSchema_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apphub.v1.ExtendedMetadataSchemaProto + .internal_static_google_cloud_apphub_v1_ExtendedMetadataSchema_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.apphub.v1.ExtendedMetadataSchemaProto + .internal_static_google_cloud_apphub_v1_ExtendedMetadataSchema_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.apphub.v1.ExtendedMetadataSchema.class, + com.google.cloud.apphub.v1.ExtendedMetadataSchema.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+ * Identifier. Resource name of the schema. + * Format: + * projects/<project>/locations/<location>/extendedMetadataSchemas/<schema-id> + *+ * + *
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
+ *
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Identifier. Resource name of the schema. + * Format: + * projects/<project>/locations/<location>/extendedMetadataSchemas/<schema-id> + *+ * + *
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
+ *
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int JSON_SCHEMA_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object jsonSchema_ = "";
+
+ /**
+ *
+ *
+ * + * Output only. The JSON schema as a string. + *+ * + *
string json_schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The jsonSchema.
+ */
+ @java.lang.Override
+ public java.lang.String getJsonSchema() {
+ java.lang.Object ref = jsonSchema_;
+ 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();
+ jsonSchema_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The JSON schema as a string. + *+ * + *
string json_schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for jsonSchema.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getJsonSchemaBytes() {
+ java.lang.Object ref = jsonSchema_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ jsonSchema_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int SCHEMA_VERSION_FIELD_NUMBER = 3;
+ private long schemaVersion_ = 0L;
+
+ /**
+ *
+ *
+ * + * Output only. The version of the schema. New versions are required to be + * backwards compatible. + *+ * + *
int64 schema_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The schemaVersion.
+ */
+ @java.lang.Override
+ public long getSchemaVersion() {
+ return schemaVersion_;
+ }
+
+ 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.GeneratedMessage.isStringEmpty(name_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(jsonSchema_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 2, jsonSchema_);
+ }
+ if (schemaVersion_ != 0L) {
+ output.writeInt64(3, schemaVersion_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(jsonSchema_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(2, jsonSchema_);
+ }
+ if (schemaVersion_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, schemaVersion_);
+ }
+ 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.apphub.v1.ExtendedMetadataSchema)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.apphub.v1.ExtendedMetadataSchema other =
+ (com.google.cloud.apphub.v1.ExtendedMetadataSchema) obj;
+
+ if (!getName().equals(other.getName())) return false;
+ if (!getJsonSchema().equals(other.getJsonSchema())) return false;
+ if (getSchemaVersion() != other.getSchemaVersion()) 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) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ hash = (37 * hash) + JSON_SCHEMA_FIELD_NUMBER;
+ hash = (53 * hash) + getJsonSchema().hashCode();
+ hash = (37 * hash) + SCHEMA_VERSION_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSchemaVersion());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadataSchema parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadataSchema 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.apphub.v1.ExtendedMetadataSchema parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadataSchema 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.apphub.v1.ExtendedMetadataSchema parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadataSchema parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadataSchema parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadataSchema parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadataSchema parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadataSchema parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadataSchema parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadataSchema parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.apphub.v1.ExtendedMetadataSchema 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ * + * ExtendedMetadataSchema represents a schema for extended metadata of a service + * or workload. + *+ * + * Protobuf type {@code google.cloud.apphub.v1.ExtendedMetadataSchema} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Identifier. Resource name of the schema. + * Format: + * projects/<project>/locations/<location>/extendedMetadataSchemas/<schema-id> + *+ * + *
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
+ *
+ * @return The name.
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Identifier. Resource name of the schema. + * Format: + * projects/<project>/locations/<location>/extendedMetadataSchemas/<schema-id> + *+ * + *
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
+ *
+ * @return The bytes for name.
+ */
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Identifier. Resource name of the schema. + * Format: + * projects/<project>/locations/<location>/extendedMetadataSchemas/<schema-id> + *+ * + *
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ name_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Identifier. Resource name of the schema. + * Format: + * projects/<project>/locations/<location>/extendedMetadataSchemas/<schema-id> + *+ * + *
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+ name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Identifier. Resource name of the schema. + * Format: + * projects/<project>/locations/<location>/extendedMetadataSchemas/<schema-id> + *+ * + *
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ name_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object jsonSchema_ = "";
+
+ /**
+ *
+ *
+ * + * Output only. The JSON schema as a string. + *+ * + *
string json_schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The jsonSchema.
+ */
+ public java.lang.String getJsonSchema() {
+ java.lang.Object ref = jsonSchema_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ jsonSchema_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The JSON schema as a string. + *+ * + *
string json_schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for jsonSchema.
+ */
+ public com.google.protobuf.ByteString getJsonSchemaBytes() {
+ java.lang.Object ref = jsonSchema_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ jsonSchema_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The JSON schema as a string. + *+ * + *
string json_schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The jsonSchema to set.
+ * @return This builder for chaining.
+ */
+ public Builder setJsonSchema(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ jsonSchema_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The JSON schema as a string. + *+ * + *
string json_schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearJsonSchema() {
+ jsonSchema_ = getDefaultInstance().getJsonSchema();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The JSON schema as a string. + *+ * + *
string json_schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for jsonSchema to set.
+ * @return This builder for chaining.
+ */
+ public Builder setJsonSchemaBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ jsonSchema_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ private long schemaVersion_;
+
+ /**
+ *
+ *
+ * + * Output only. The version of the schema. New versions are required to be + * backwards compatible. + *+ * + *
int64 schema_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The schemaVersion.
+ */
+ @java.lang.Override
+ public long getSchemaVersion() {
+ return schemaVersion_;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The version of the schema. New versions are required to be + * backwards compatible. + *+ * + *
int64 schema_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The schemaVersion to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSchemaVersion(long value) {
+
+ schemaVersion_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The version of the schema. New versions are required to be + * backwards compatible. + *+ * + *
int64 schema_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearSchemaVersion() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ schemaVersion_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.apphub.v1.ExtendedMetadataSchema)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.apphub.v1.ExtendedMetadataSchema)
+ private static final com.google.cloud.apphub.v1.ExtendedMetadataSchema DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.apphub.v1.ExtendedMetadataSchema();
+ }
+
+ public static com.google.cloud.apphub.v1.ExtendedMetadataSchema getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Identifier. Resource name of the schema. + * Format: + * projects/<project>/locations/<location>/extendedMetadataSchemas/<schema-id> + *+ * + *
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
+ *
+ * @return The name.
+ */
+ java.lang.String getName();
+
+ /**
+ *
+ *
+ * + * Identifier. Resource name of the schema. + * Format: + * projects/<project>/locations/<location>/extendedMetadataSchemas/<schema-id> + *+ * + *
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
+ *
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString getNameBytes();
+
+ /**
+ *
+ *
+ * + * Output only. The JSON schema as a string. + *+ * + *
string json_schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The jsonSchema.
+ */
+ java.lang.String getJsonSchema();
+
+ /**
+ *
+ *
+ * + * Output only. The JSON schema as a string. + *+ * + *
string json_schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for jsonSchema.
+ */
+ com.google.protobuf.ByteString getJsonSchemaBytes();
+
+ /**
+ *
+ *
+ * + * Output only. The version of the schema. New versions are required to be + * backwards compatible. + *+ * + *
int64 schema_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The schemaVersion.
+ */
+ long getSchemaVersion();
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ExtendedMetadataSchemaProto.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ExtendedMetadataSchemaProto.java
new file mode 100644
index 000000000000..2a9d7b30ec6e
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ExtendedMetadataSchemaProto.java
@@ -0,0 +1,100 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/extended_metadata_schema.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+@com.google.protobuf.Generated
+public final class ExtendedMetadataSchemaProto extends com.google.protobuf.GeneratedFile {
+ private ExtendedMetadataSchemaProto() {}
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "ExtendedMetadataSchemaProto");
+ }
+
+ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_apphub_v1_ExtendedMetadataSchema_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_apphub_v1_ExtendedMetadataSchema_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ return descriptor;
+ }
+
+ private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+ static {
+ java.lang.String[] descriptorData = {
+ "\n"
+ + "5google/cloud/apphub/v1/extended_metada"
+ + "ta_schema.proto\022\026google.cloud.apphub.v1\032"
+ + "\037google/api/field_behavior.proto\032\031google/api/resource.proto\"\244\002\n"
+ + "\026ExtendedMetadataSchema\022\021\n"
+ + "\004name\030\001 \001(\tB\003\340A\010\022\030\n"
+ + "\013json_schema\030\002 \001(\tB\003\340A\003\022\033\n"
+ + "\016schema_version\030\003 \001(\003B\003\340A\003:\277\001\352A\273\001\n"
+ + ",apphub.googleapis.com/ExtendedMetadataSchema\022Zprojects/{project}/locati"
+ + "ons/{location}/extendedMetadataSchemas/{"
+ + "extended_metadata_schema}*\027extendedMetadataSchemas2\026extendedMetadataSchemaB\275\001\n"
+ + "\032com.google.cloud.apphub.v1B\033ExtendedMetad"
+ + "ataSchemaProtoP\001Z2cloud.google.com/go/ap"
+ + "phub/apiv1/apphubpb;apphubpb\252\002\026Google.Cl"
+ + "oud.AppHub.V1\312\002\026Google\\Cloud\\AppHub\\V1\352\002"
+ + "\031Google::Cloud::AppHub::V1b\006proto3"
+ };
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.FieldBehaviorProto.getDescriptor(),
+ com.google.api.ResourceProto.getDescriptor(),
+ });
+ internal_static_google_cloud_apphub_v1_ExtendedMetadataSchema_descriptor =
+ getDescriptor().getMessageType(0);
+ internal_static_google_cloud_apphub_v1_ExtendedMetadataSchema_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_apphub_v1_ExtendedMetadataSchema_descriptor,
+ new java.lang.String[] {
+ "Name", "JsonSchema", "SchemaVersion",
+ });
+ descriptor.resolveAllFeaturesImmutable();
+ com.google.api.FieldBehaviorProto.getDescriptor();
+ com.google.api.ResourceProto.getDescriptor();
+ com.google.protobuf.ExtensionRegistry registry =
+ com.google.protobuf.ExtensionRegistry.newInstance();
+ registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+ registry.add(com.google.api.ResourceProto.resource);
+ com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+ descriptor, registry);
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/FunctionalType.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/FunctionalType.java
new file mode 100644
index 000000000000..b7c9ea9ed8ff
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/FunctionalType.java
@@ -0,0 +1,767 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/properties.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+/**
+ *
+ *
+ * + * The functional type of a service or workload. + *+ * + * Protobuf type {@code google.cloud.apphub.v1.FunctionalType} + */ +@com.google.protobuf.Generated +public final class FunctionalType extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.apphub.v1.FunctionalType) + FunctionalTypeOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "FunctionalType"); + } + + // Use FunctionalType.newBuilder() to construct. + private FunctionalType(com.google.protobuf.GeneratedMessage.Builder> builder) { + super(builder); + } + + private FunctionalType() { + type_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apphub.v1.PropertiesProto + .internal_static_google_cloud_apphub_v1_FunctionalType_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.apphub.v1.PropertiesProto + .internal_static_google_cloud_apphub_v1_FunctionalType_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.apphub.v1.FunctionalType.class, + com.google.cloud.apphub.v1.FunctionalType.Builder.class); + } + + /** + * + * + *
+ * The functional type of a service or workload. + *+ * + * Protobuf enum {@code google.cloud.apphub.v1.FunctionalType.Type} + */ + public enum Type implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+ * Unspecified type. + *+ * + *
TYPE_UNSPECIFIED = 0;
+ */
+ TYPE_UNSPECIFIED(0),
+ /**
+ *
+ *
+ * + * Agent type. + *+ * + *
AGENT = 1;
+ */
+ AGENT(1),
+ /**
+ *
+ *
+ * + * MCP Server type. + *+ * + *
MCP_SERVER = 2;
+ */
+ MCP_SERVER(2),
+ /**
+ *
+ *
+ * + * Endpoint type. + *+ * + *
ENDPOINT = 3;
+ */
+ ENDPOINT(3),
+ UNRECOGNIZED(-1),
+ ;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "Type");
+ }
+
+ /**
+ *
+ *
+ * + * Unspecified type. + *+ * + *
TYPE_UNSPECIFIED = 0;
+ */
+ public static final int TYPE_UNSPECIFIED_VALUE = 0;
+
+ /**
+ *
+ *
+ * + * Agent type. + *+ * + *
AGENT = 1;
+ */
+ public static final int AGENT_VALUE = 1;
+
+ /**
+ *
+ *
+ * + * MCP Server type. + *+ * + *
MCP_SERVER = 2;
+ */
+ public static final int MCP_SERVER_VALUE = 2;
+
+ /**
+ *
+ *
+ * + * Endpoint type. + *+ * + *
ENDPOINT = 3;
+ */
+ public static final int ENDPOINT_VALUE = 3;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static Type valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static Type forNumber(int value) {
+ switch (value) {
+ case 0:
+ return TYPE_UNSPECIFIED;
+ case 1:
+ return AGENT;
+ case 2:
+ return MCP_SERVER;
+ case 3:
+ return ENDPOINT;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ * Output only. The functional type of a service or workload. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for type.
+ */
+ @java.lang.Override
+ public int getTypeValue() {
+ return type_;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The functional type of a service or workload. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The type.
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.FunctionalType.Type getType() {
+ com.google.cloud.apphub.v1.FunctionalType.Type result =
+ com.google.cloud.apphub.v1.FunctionalType.Type.forNumber(type_);
+ return result == null ? com.google.cloud.apphub.v1.FunctionalType.Type.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 (type_ != com.google.cloud.apphub.v1.FunctionalType.Type.TYPE_UNSPECIFIED.getNumber()) {
+ output.writeEnum(1, type_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (type_ != com.google.cloud.apphub.v1.FunctionalType.Type.TYPE_UNSPECIFIED.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_);
+ }
+ 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.apphub.v1.FunctionalType)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.apphub.v1.FunctionalType other =
+ (com.google.cloud.apphub.v1.FunctionalType) obj;
+
+ if (type_ != other.type_) 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) + TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + type_;
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.apphub.v1.FunctionalType parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.FunctionalType 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.apphub.v1.FunctionalType parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.FunctionalType 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.apphub.v1.FunctionalType parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.FunctionalType parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.FunctionalType parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.FunctionalType parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.FunctionalType parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.FunctionalType parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.FunctionalType parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.FunctionalType parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.apphub.v1.FunctionalType 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ * + * The functional type of a service or workload. + *+ * + * Protobuf type {@code google.cloud.apphub.v1.FunctionalType} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Output only. The functional type of a service or workload. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for type.
+ */
+ @java.lang.Override
+ public int getTypeValue() {
+ return type_;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The functional type of a service or workload. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The enum numeric value on the wire for type to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTypeValue(int value) {
+ type_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The functional type of a service or workload. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The type.
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.FunctionalType.Type getType() {
+ com.google.cloud.apphub.v1.FunctionalType.Type result =
+ com.google.cloud.apphub.v1.FunctionalType.Type.forNumber(type_);
+ return result == null ? com.google.cloud.apphub.v1.FunctionalType.Type.UNRECOGNIZED : result;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The functional type of a service or workload. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The type to set.
+ * @return This builder for chaining.
+ */
+ public Builder setType(com.google.cloud.apphub.v1.FunctionalType.Type value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ type_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The functional type of a service or workload. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearType() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ type_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.apphub.v1.FunctionalType)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.apphub.v1.FunctionalType)
+ private static final com.google.cloud.apphub.v1.FunctionalType DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.apphub.v1.FunctionalType();
+ }
+
+ public static com.google.cloud.apphub.v1.FunctionalType getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Output only. The functional type of a service or workload. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for type.
+ */
+ int getTypeValue();
+
+ /**
+ *
+ *
+ * + * Output only. The functional type of a service or workload. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The type.
+ */
+ com.google.cloud.apphub.v1.FunctionalType.Type getType();
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/GetBoundaryRequest.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/GetBoundaryRequest.java
new file mode 100644
index 000000000000..fe581bec4f35
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/GetBoundaryRequest.java
@@ -0,0 +1,616 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/apphub_service.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+/**
+ *
+ *
+ * + * Request message for AppHub.GetBoundary. + *+ * + * Protobuf type {@code google.cloud.apphub.v1.GetBoundaryRequest} + */ +@com.google.protobuf.Generated +public final class GetBoundaryRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.apphub.v1.GetBoundaryRequest) + GetBoundaryRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "GetBoundaryRequest"); + } + + // Use GetBoundaryRequest.newBuilder() to construct. + private GetBoundaryRequest(com.google.protobuf.GeneratedMessage.Builder> builder) { + super(builder); + } + + private GetBoundaryRequest() { + name_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apphub.v1.ApphubServiceProto + .internal_static_google_cloud_apphub_v1_GetBoundaryRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.apphub.v1.ApphubServiceProto + .internal_static_google_cloud_apphub_v1_GetBoundaryRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.apphub.v1.GetBoundaryRequest.class, + com.google.cloud.apphub.v1.GetBoundaryRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+ * Required. The name of the boundary to retrieve.
+ * Format: `projects/{project}/locations/{location}/boundary`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The name of the boundary to retrieve.
+ * Format: `projects/{project}/locations/{location}/boundary`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
+ }
+ 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.apphub.v1.GetBoundaryRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.apphub.v1.GetBoundaryRequest other =
+ (com.google.cloud.apphub.v1.GetBoundaryRequest) obj;
+
+ if (!getName().equals(other.getName())) 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) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.apphub.v1.GetBoundaryRequest parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.GetBoundaryRequest 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.apphub.v1.GetBoundaryRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.GetBoundaryRequest 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.apphub.v1.GetBoundaryRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.GetBoundaryRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.GetBoundaryRequest parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.GetBoundaryRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.GetBoundaryRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.GetBoundaryRequest parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.GetBoundaryRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.GetBoundaryRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.apphub.v1.GetBoundaryRequest 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ * + * Request message for AppHub.GetBoundary. + *+ * + * Protobuf type {@code google.cloud.apphub.v1.GetBoundaryRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Required. The name of the boundary to retrieve.
+ * Format: `projects/{project}/locations/{location}/boundary`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The name.
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The name of the boundary to retrieve.
+ * Format: `projects/{project}/locations/{location}/boundary`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for name.
+ */
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The name of the boundary to retrieve.
+ * Format: `projects/{project}/locations/{location}/boundary`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ name_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The name of the boundary to retrieve.
+ * Format: `projects/{project}/locations/{location}/boundary`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+ name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The name of the boundary to retrieve.
+ * Format: `projects/{project}/locations/{location}/boundary`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ name_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.apphub.v1.GetBoundaryRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.apphub.v1.GetBoundaryRequest)
+ private static final com.google.cloud.apphub.v1.GetBoundaryRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.apphub.v1.GetBoundaryRequest();
+ }
+
+ public static com.google.cloud.apphub.v1.GetBoundaryRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Required. The name of the boundary to retrieve.
+ * Format: `projects/{project}/locations/{location}/boundary`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The name.
+ */
+ java.lang.String getName();
+
+ /**
+ *
+ *
+ *
+ * Required. The name of the boundary to retrieve.
+ * Format: `projects/{project}/locations/{location}/boundary`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString getNameBytes();
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/GetExtendedMetadataSchemaRequest.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/GetExtendedMetadataSchemaRequest.java
new file mode 100644
index 000000000000..9fe7d655ae21
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/GetExtendedMetadataSchemaRequest.java
@@ -0,0 +1,647 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/apphub_service.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+/**
+ *
+ *
+ * + * Request for GetExtendedMetadataSchema. + *+ * + * Protobuf type {@code google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest} + */ +@com.google.protobuf.Generated +public final class GetExtendedMetadataSchemaRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest) + GetExtendedMetadataSchemaRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "GetExtendedMetadataSchemaRequest"); + } + + // Use GetExtendedMetadataSchemaRequest.newBuilder() to construct. + private GetExtendedMetadataSchemaRequest( + com.google.protobuf.GeneratedMessage.Builder> builder) { + super(builder); + } + + private GetExtendedMetadataSchemaRequest() { + name_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apphub.v1.ApphubServiceProto + .internal_static_google_cloud_apphub_v1_GetExtendedMetadataSchemaRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.apphub.v1.ApphubServiceProto + .internal_static_google_cloud_apphub_v1_GetExtendedMetadataSchemaRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest.class, + com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+ * Required. Schema resource name.
+ * Format:
+ * `projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}`.
+ *
+ * `{extended_metadata_schema}` has the format
+ * `"apphub.googleapis.com/{SchemaName}"`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. Schema resource name.
+ * Format:
+ * `projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}`.
+ *
+ * `{extended_metadata_schema}` has the format
+ * `"apphub.googleapis.com/{SchemaName}"`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
+ }
+ 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.apphub.v1.GetExtendedMetadataSchemaRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest other =
+ (com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest) obj;
+
+ if (!getName().equals(other.getName())) 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) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest 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.apphub.v1.GetExtendedMetadataSchemaRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest 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.apphub.v1.GetExtendedMetadataSchemaRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.apphub.v1.GetExtendedMetadataSchemaRequest 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ * + * Request for GetExtendedMetadataSchema. + *+ * + * Protobuf type {@code google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Required. Schema resource name.
+ * Format:
+ * `projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}`.
+ *
+ * `{extended_metadata_schema}` has the format
+ * `"apphub.googleapis.com/{SchemaName}"`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The name.
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. Schema resource name.
+ * Format:
+ * `projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}`.
+ *
+ * `{extended_metadata_schema}` has the format
+ * `"apphub.googleapis.com/{SchemaName}"`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for name.
+ */
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. Schema resource name.
+ * Format:
+ * `projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}`.
+ *
+ * `{extended_metadata_schema}` has the format
+ * `"apphub.googleapis.com/{SchemaName}"`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ name_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. Schema resource name.
+ * Format:
+ * `projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}`.
+ *
+ * `{extended_metadata_schema}` has the format
+ * `"apphub.googleapis.com/{SchemaName}"`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+ name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. Schema resource name.
+ * Format:
+ * `projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}`.
+ *
+ * `{extended_metadata_schema}` has the format
+ * `"apphub.googleapis.com/{SchemaName}"`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ name_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest)
+ private static final com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest();
+ }
+
+ public static com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Required. Schema resource name.
+ * Format:
+ * `projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}`.
+ *
+ * `{extended_metadata_schema}` has the format
+ * `"apphub.googleapis.com/{SchemaName}"`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The name.
+ */
+ java.lang.String getName();
+
+ /**
+ *
+ *
+ *
+ * Required. Schema resource name.
+ * Format:
+ * `projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}`.
+ *
+ * `{extended_metadata_schema}` has the format
+ * `"apphub.googleapis.com/{SchemaName}"`.
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString getNameBytes();
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/Identity.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/Identity.java
new file mode 100644
index 000000000000..8c76216e3046
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/Identity.java
@@ -0,0 +1,627 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/properties.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+/**
+ *
+ *
+ * + * The identity associated with a service or workload. + *+ * + * Protobuf type {@code google.cloud.apphub.v1.Identity} + */ +@com.google.protobuf.Generated +public final class Identity extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.apphub.v1.Identity) + IdentityOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "Identity"); + } + + // Use Identity.newBuilder() to construct. + private Identity(com.google.protobuf.GeneratedMessage.Builder> builder) { + super(builder); + } + + private Identity() { + principal_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apphub.v1.PropertiesProto + .internal_static_google_cloud_apphub_v1_Identity_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.apphub.v1.PropertiesProto + .internal_static_google_cloud_apphub_v1_Identity_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.apphub.v1.Identity.class, + com.google.cloud.apphub.v1.Identity.Builder.class); + } + + public static final int PRINCIPAL_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object principal_ = ""; + + /** + * + * + *
+ * Output only. The principal of the identity. + * + * Supported formats: + * + * * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account + * * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity + *+ * + *
string principal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The principal.
+ */
+ @java.lang.Override
+ public java.lang.String getPrincipal() {
+ java.lang.Object ref = principal_;
+ 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();
+ principal_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The principal of the identity. + * + * Supported formats: + * + * * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account + * * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity + *+ * + *
string principal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for principal.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getPrincipalBytes() {
+ java.lang.Object ref = principal_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ principal_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(principal_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, principal_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(principal_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, principal_);
+ }
+ 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.apphub.v1.Identity)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.apphub.v1.Identity other = (com.google.cloud.apphub.v1.Identity) obj;
+
+ if (!getPrincipal().equals(other.getPrincipal())) 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) + PRINCIPAL_FIELD_NUMBER;
+ hash = (53 * hash) + getPrincipal().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.apphub.v1.Identity parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.Identity 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.apphub.v1.Identity parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.Identity 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.apphub.v1.Identity parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.Identity parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.Identity parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.Identity parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.Identity parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.Identity parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.Identity parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.Identity parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.apphub.v1.Identity 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ * + * The identity associated with a service or workload. + *+ * + * Protobuf type {@code google.cloud.apphub.v1.Identity} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Output only. The principal of the identity. + * + * Supported formats: + * + * * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account + * * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity + *+ * + *
string principal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The principal.
+ */
+ public java.lang.String getPrincipal() {
+ java.lang.Object ref = principal_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ principal_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The principal of the identity. + * + * Supported formats: + * + * * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account + * * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity + *+ * + *
string principal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for principal.
+ */
+ public com.google.protobuf.ByteString getPrincipalBytes() {
+ java.lang.Object ref = principal_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ principal_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The principal of the identity. + * + * Supported formats: + * + * * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account + * * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity + *+ * + *
string principal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The principal to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPrincipal(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ principal_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The principal of the identity. + * + * Supported formats: + * + * * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account + * * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity + *+ * + *
string principal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPrincipal() {
+ principal_ = getDefaultInstance().getPrincipal();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The principal of the identity. + * + * Supported formats: + * + * * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account + * * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity + *+ * + *
string principal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for principal to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPrincipalBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ principal_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.apphub.v1.Identity)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.apphub.v1.Identity)
+ private static final com.google.cloud.apphub.v1.Identity DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.apphub.v1.Identity();
+ }
+
+ public static com.google.cloud.apphub.v1.Identity getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Output only. The principal of the identity. + * + * Supported formats: + * + * * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account + * * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity + *+ * + *
string principal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The principal.
+ */
+ java.lang.String getPrincipal();
+
+ /**
+ *
+ *
+ * + * Output only. The principal of the identity. + * + * Supported formats: + * + * * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account + * * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity + *+ * + *
string principal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for principal.
+ */
+ com.google.protobuf.ByteString getPrincipalBytes();
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ListExtendedMetadataSchemasRequest.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ListExtendedMetadataSchemasRequest.java
new file mode 100644
index 000000000000..008b36b6c8a6
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ListExtendedMetadataSchemasRequest.java
@@ -0,0 +1,913 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/apphub_service.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+/**
+ *
+ *
+ * + * Request for ListExtendedMetadataSchemas. + *+ * + * Protobuf type {@code google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest} + */ +@com.google.protobuf.Generated +public final class ListExtendedMetadataSchemasRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest) + ListExtendedMetadataSchemasRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ListExtendedMetadataSchemasRequest"); + } + + // Use ListExtendedMetadataSchemasRequest.newBuilder() to construct. + private ListExtendedMetadataSchemasRequest( + com.google.protobuf.GeneratedMessage.Builder> builder) { + super(builder); + } + + private ListExtendedMetadataSchemasRequest() { + parent_ = ""; + pageToken_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apphub.v1.ApphubServiceProto + .internal_static_google_cloud_apphub_v1_ListExtendedMetadataSchemasRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.apphub.v1.ApphubServiceProto + .internal_static_google_cloud_apphub_v1_ListExtendedMetadataSchemasRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest.class, + com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + + /** + * + * + *
+ * Required. Project and location to list Extended Metadata Schemas on.
+ * Expected format: `projects/{project}/locations/{location}`.
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @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. Project and location to list Extended Metadata Schemas on.
+ * Expected format: `projects/{project}/locations/{location}`.
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @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 PAGE_SIZE_FIELD_NUMBER = 2;
+ private int pageSize_ = 0;
+
+ /**
+ *
+ *
+ * + * Optional. Requested page size. Server may return fewer items than + * requested. If unspecified, server will pick an appropriate default. + *+ * + *
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageSize.
+ */
+ @java.lang.Override
+ public int getPageSize() {
+ return pageSize_;
+ }
+
+ public static final int PAGE_TOKEN_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object pageToken_ = "";
+
+ /**
+ *
+ *
+ * + * Optional. A token identifying a page of results the server should return. + *+ * + *
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageToken.
+ */
+ @java.lang.Override
+ public java.lang.String getPageToken() {
+ java.lang.Object ref = pageToken_;
+ 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();
+ pageToken_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Optional. A token identifying a page of results the server should return. + *+ * + *
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for pageToken.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getPageTokenBytes() {
+ java.lang.Object ref = pageToken_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ pageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_);
+ }
+ if (pageSize_ != 0) {
+ output.writeInt32(2, pageSize_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 3, pageToken_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_);
+ }
+ if (pageSize_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(3, pageToken_);
+ }
+ 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.apphub.v1.ListExtendedMetadataSchemasRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest other =
+ (com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest) obj;
+
+ if (!getParent().equals(other.getParent())) return false;
+ if (getPageSize() != other.getPageSize()) return false;
+ if (!getPageToken().equals(other.getPageToken())) 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) + PAGE_SIZE_FIELD_NUMBER;
+ hash = (53 * hash) + getPageSize();
+ hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER;
+ hash = (53 * hash) + getPageToken().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest 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.apphub.v1.ListExtendedMetadataSchemasRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest 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.apphub.v1.ListExtendedMetadataSchemasRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.apphub.v1.ListExtendedMetadataSchemasRequest 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ * + * Request for ListExtendedMetadataSchemas. + *+ * + * Protobuf type {@code google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Required. Project and location to list Extended Metadata Schemas on.
+ * Expected format: `projects/{project}/locations/{location}`.
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @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. Project and location to list Extended Metadata Schemas on.
+ * Expected format: `projects/{project}/locations/{location}`.
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @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. Project and location to list Extended Metadata Schemas on.
+ * Expected format: `projects/{project}/locations/{location}`.
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @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. Project and location to list Extended Metadata Schemas on.
+ * Expected format: `projects/{project}/locations/{location}`.
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearParent() {
+ parent_ = getDefaultInstance().getParent();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. Project and location to list Extended Metadata Schemas on.
+ * Expected format: `projects/{project}/locations/{location}`.
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setParentBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ parent_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private int pageSize_;
+
+ /**
+ *
+ *
+ * + * Optional. Requested page size. Server may return fewer items than + * requested. If unspecified, server will pick an appropriate default. + *+ * + *
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageSize.
+ */
+ @java.lang.Override
+ public int getPageSize() {
+ return pageSize_;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. Requested page size. Server may return fewer items than + * requested. If unspecified, server will pick an appropriate default. + *+ * + *
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageSize(int value) {
+
+ pageSize_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. Requested page size. Server may return fewer items than + * requested. If unspecified, server will pick an appropriate default. + *+ * + *
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPageSize() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ pageSize_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object pageToken_ = "";
+
+ /**
+ *
+ *
+ * + * Optional. A token identifying a page of results the server should return. + *+ * + *
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageToken.
+ */
+ public java.lang.String getPageToken() {
+ java.lang.Object ref = pageToken_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ pageToken_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Optional. A token identifying a page of results the server should return. + *+ * + *
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for pageToken.
+ */
+ public com.google.protobuf.ByteString getPageTokenBytes() {
+ java.lang.Object ref = pageToken_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ pageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Optional. A token identifying a page of results the server should return. + *+ * + *
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageToken(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ pageToken_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. A token identifying a page of results the server should return. + *+ * + *
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPageToken() {
+ pageToken_ = getDefaultInstance().getPageToken();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. A token identifying a page of results the server should return. + *+ * + *
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ pageToken_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest)
+ private static final com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest();
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Required. Project and location to list Extended Metadata Schemas on.
+ * Expected format: `projects/{project}/locations/{location}`.
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The parent.
+ */
+ java.lang.String getParent();
+
+ /**
+ *
+ *
+ *
+ * Required. Project and location to list Extended Metadata Schemas on.
+ * Expected format: `projects/{project}/locations/{location}`.
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for parent.
+ */
+ com.google.protobuf.ByteString getParentBytes();
+
+ /**
+ *
+ *
+ * + * Optional. Requested page size. Server may return fewer items than + * requested. If unspecified, server will pick an appropriate default. + *+ * + *
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageSize.
+ */
+ int getPageSize();
+
+ /**
+ *
+ *
+ * + * Optional. A token identifying a page of results the server should return. + *+ * + *
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageToken.
+ */
+ java.lang.String getPageToken();
+
+ /**
+ *
+ *
+ * + * Optional. A token identifying a page of results the server should return. + *+ * + *
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for pageToken.
+ */
+ com.google.protobuf.ByteString getPageTokenBytes();
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ListExtendedMetadataSchemasResponse.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ListExtendedMetadataSchemasResponse.java
new file mode 100644
index 000000000000..2178b5bf584c
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ListExtendedMetadataSchemasResponse.java
@@ -0,0 +1,1165 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/apphub_service.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+/**
+ *
+ *
+ * + * Response for ListExtendedMetadataSchemas. + *+ * + * Protobuf type {@code google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse} + */ +@com.google.protobuf.Generated +public final class ListExtendedMetadataSchemasResponse extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse) + ListExtendedMetadataSchemasResponseOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ListExtendedMetadataSchemasResponse"); + } + + // Use ListExtendedMetadataSchemasResponse.newBuilder() to construct. + private ListExtendedMetadataSchemasResponse( + com.google.protobuf.GeneratedMessage.Builder> builder) { + super(builder); + } + + private ListExtendedMetadataSchemasResponse() { + extendedMetadataSchemas_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apphub.v1.ApphubServiceProto + .internal_static_google_cloud_apphub_v1_ListExtendedMetadataSchemasResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.apphub.v1.ApphubServiceProto + .internal_static_google_cloud_apphub_v1_ListExtendedMetadataSchemasResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse.class, + com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse.Builder.class); + } + + public static final int EXTENDED_METADATA_SCHEMAS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List
+ * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ @java.lang.Override
+ public java.util.List+ * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.cloud.apphub.v1.ExtendedMetadataSchemaOrBuilder>
+ getExtendedMetadataSchemasOrBuilderList() {
+ return extendedMetadataSchemas_;
+ }
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ @java.lang.Override
+ public int getExtendedMetadataSchemasCount() {
+ return extendedMetadataSchemas_.size();
+ }
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ExtendedMetadataSchema getExtendedMetadataSchemas(int index) {
+ return extendedMetadataSchemas_.get(index);
+ }
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ExtendedMetadataSchemaOrBuilder
+ getExtendedMetadataSchemasOrBuilder(int index) {
+ return extendedMetadataSchemas_.get(index);
+ }
+
+ public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object nextPageToken_ = "";
+
+ /**
+ *
+ *
+ * + * A token identifying a page of results the server should return. + *+ * + *
string next_page_token = 2;
+ *
+ * @return The nextPageToken.
+ */
+ @java.lang.Override
+ public java.lang.String getNextPageToken() {
+ java.lang.Object ref = nextPageToken_;
+ 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();
+ nextPageToken_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * A token identifying a page of results the server should return. + *+ * + *
string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getNextPageTokenBytes() {
+ java.lang.Object ref = nextPageToken_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ nextPageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ for (int i = 0; i < extendedMetadataSchemas_.size(); i++) {
+ output.writeMessage(1, extendedMetadataSchemas_.get(i));
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < extendedMetadataSchemas_.size(); i++) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 1, extendedMetadataSchemas_.get(i));
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_);
+ }
+ 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.apphub.v1.ListExtendedMetadataSchemasResponse)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse other =
+ (com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse) obj;
+
+ if (!getExtendedMetadataSchemasList().equals(other.getExtendedMetadataSchemasList()))
+ return false;
+ if (!getNextPageToken().equals(other.getNextPageToken())) 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 (getExtendedMetadataSchemasCount() > 0) {
+ hash = (37 * hash) + EXTENDED_METADATA_SCHEMAS_FIELD_NUMBER;
+ hash = (53 * hash) + getExtendedMetadataSchemasList().hashCode();
+ }
+ hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER;
+ hash = (53 * hash) + getNextPageToken().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse 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.apphub.v1.ListExtendedMetadataSchemasResponse parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse 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.apphub.v1.ListExtendedMetadataSchemasResponse parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.apphub.v1.ListExtendedMetadataSchemasResponse 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ * + * Response for ListExtendedMetadataSchemas. + *+ * + * Protobuf type {@code google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ public java.util.List+ * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ public int getExtendedMetadataSchemasCount() {
+ if (extendedMetadataSchemasBuilder_ == null) {
+ return extendedMetadataSchemas_.size();
+ } else {
+ return extendedMetadataSchemasBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ public com.google.cloud.apphub.v1.ExtendedMetadataSchema getExtendedMetadataSchemas(int index) {
+ if (extendedMetadataSchemasBuilder_ == null) {
+ return extendedMetadataSchemas_.get(index);
+ } else {
+ return extendedMetadataSchemasBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ public Builder setExtendedMetadataSchemas(
+ int index, com.google.cloud.apphub.v1.ExtendedMetadataSchema value) {
+ if (extendedMetadataSchemasBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExtendedMetadataSchemasIsMutable();
+ extendedMetadataSchemas_.set(index, value);
+ onChanged();
+ } else {
+ extendedMetadataSchemasBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ public Builder setExtendedMetadataSchemas(
+ int index, com.google.cloud.apphub.v1.ExtendedMetadataSchema.Builder builderForValue) {
+ if (extendedMetadataSchemasBuilder_ == null) {
+ ensureExtendedMetadataSchemasIsMutable();
+ extendedMetadataSchemas_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ extendedMetadataSchemasBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ public Builder addExtendedMetadataSchemas(
+ com.google.cloud.apphub.v1.ExtendedMetadataSchema value) {
+ if (extendedMetadataSchemasBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExtendedMetadataSchemasIsMutable();
+ extendedMetadataSchemas_.add(value);
+ onChanged();
+ } else {
+ extendedMetadataSchemasBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ public Builder addExtendedMetadataSchemas(
+ int index, com.google.cloud.apphub.v1.ExtendedMetadataSchema value) {
+ if (extendedMetadataSchemasBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExtendedMetadataSchemasIsMutable();
+ extendedMetadataSchemas_.add(index, value);
+ onChanged();
+ } else {
+ extendedMetadataSchemasBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ public Builder addExtendedMetadataSchemas(
+ com.google.cloud.apphub.v1.ExtendedMetadataSchema.Builder builderForValue) {
+ if (extendedMetadataSchemasBuilder_ == null) {
+ ensureExtendedMetadataSchemasIsMutable();
+ extendedMetadataSchemas_.add(builderForValue.build());
+ onChanged();
+ } else {
+ extendedMetadataSchemasBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ public Builder addExtendedMetadataSchemas(
+ int index, com.google.cloud.apphub.v1.ExtendedMetadataSchema.Builder builderForValue) {
+ if (extendedMetadataSchemasBuilder_ == null) {
+ ensureExtendedMetadataSchemasIsMutable();
+ extendedMetadataSchemas_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ extendedMetadataSchemasBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ public Builder addAllExtendedMetadataSchemas(
+ java.lang.Iterable extends com.google.cloud.apphub.v1.ExtendedMetadataSchema> values) {
+ if (extendedMetadataSchemasBuilder_ == null) {
+ ensureExtendedMetadataSchemasIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, extendedMetadataSchemas_);
+ onChanged();
+ } else {
+ extendedMetadataSchemasBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ public Builder clearExtendedMetadataSchemas() {
+ if (extendedMetadataSchemasBuilder_ == null) {
+ extendedMetadataSchemas_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ extendedMetadataSchemasBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ public Builder removeExtendedMetadataSchemas(int index) {
+ if (extendedMetadataSchemasBuilder_ == null) {
+ ensureExtendedMetadataSchemasIsMutable();
+ extendedMetadataSchemas_.remove(index);
+ onChanged();
+ } else {
+ extendedMetadataSchemasBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ public com.google.cloud.apphub.v1.ExtendedMetadataSchema.Builder
+ getExtendedMetadataSchemasBuilder(int index) {
+ return internalGetExtendedMetadataSchemasFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ public com.google.cloud.apphub.v1.ExtendedMetadataSchemaOrBuilder
+ getExtendedMetadataSchemasOrBuilder(int index) {
+ if (extendedMetadataSchemasBuilder_ == null) {
+ return extendedMetadataSchemas_.get(index);
+ } else {
+ return extendedMetadataSchemasBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ public java.util.List extends com.google.cloud.apphub.v1.ExtendedMetadataSchemaOrBuilder>
+ getExtendedMetadataSchemasOrBuilderList() {
+ if (extendedMetadataSchemasBuilder_ != null) {
+ return extendedMetadataSchemasBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(extendedMetadataSchemas_);
+ }
+ }
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ public com.google.cloud.apphub.v1.ExtendedMetadataSchema.Builder
+ addExtendedMetadataSchemasBuilder() {
+ return internalGetExtendedMetadataSchemasFieldBuilder()
+ .addBuilder(com.google.cloud.apphub.v1.ExtendedMetadataSchema.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ public com.google.cloud.apphub.v1.ExtendedMetadataSchema.Builder
+ addExtendedMetadataSchemasBuilder(int index) {
+ return internalGetExtendedMetadataSchemasFieldBuilder()
+ .addBuilder(
+ index, com.google.cloud.apphub.v1.ExtendedMetadataSchema.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ public java.util.List+ * A token identifying a page of results the server should return. + *+ * + *
string next_page_token = 2;
+ *
+ * @return The nextPageToken.
+ */
+ public java.lang.String getNextPageToken() {
+ java.lang.Object ref = nextPageToken_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ nextPageToken_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * A token identifying a page of results the server should return. + *+ * + *
string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
+ */
+ public com.google.protobuf.ByteString getNextPageTokenBytes() {
+ java.lang.Object ref = nextPageToken_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ nextPageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * A token identifying a page of results the server should return. + *+ * + *
string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNextPageToken(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ nextPageToken_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * A token identifying a page of results the server should return. + *+ * + *
string next_page_token = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearNextPageToken() {
+ nextPageToken_ = getDefaultInstance().getNextPageToken();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * A token identifying a page of results the server should return. + *+ * + *
string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ nextPageToken_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse)
+ private static final com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse();
+ }
+
+ public static com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ java.util.List+ * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ com.google.cloud.apphub.v1.ExtendedMetadataSchema getExtendedMetadataSchemas(int index);
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ int getExtendedMetadataSchemasCount();
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ java.util.List extends com.google.cloud.apphub.v1.ExtendedMetadataSchemaOrBuilder>
+ getExtendedMetadataSchemasOrBuilderList();
+
+ /**
+ *
+ *
+ * + * List of Extended Metadata Schemas. + *+ * + *
repeated .google.cloud.apphub.v1.ExtendedMetadataSchema extended_metadata_schemas = 1;
+ *
+ */
+ com.google.cloud.apphub.v1.ExtendedMetadataSchemaOrBuilder getExtendedMetadataSchemasOrBuilder(
+ int index);
+
+ /**
+ *
+ *
+ * + * A token identifying a page of results the server should return. + *+ * + *
string next_page_token = 2;
+ *
+ * @return The nextPageToken.
+ */
+ java.lang.String getNextPageToken();
+
+ /**
+ *
+ *
+ * + * A token identifying a page of results the server should return. + *+ * + *
string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
+ */
+ com.google.protobuf.ByteString getNextPageTokenBytes();
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/PropertiesProto.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/PropertiesProto.java
new file mode 100644
index 000000000000..195a6551c6c8
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/PropertiesProto.java
@@ -0,0 +1,139 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/properties.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+@com.google.protobuf.Generated
+public final class PropertiesProto extends com.google.protobuf.GeneratedFile {
+ private PropertiesProto() {}
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "PropertiesProto");
+ }
+
+ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_apphub_v1_FunctionalType_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_apphub_v1_FunctionalType_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_apphub_v1_RegistrationType_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_apphub_v1_RegistrationType_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_apphub_v1_ExtendedMetadata_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_apphub_v1_ExtendedMetadata_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_apphub_v1_Identity_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_apphub_v1_Identity_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ return descriptor;
+ }
+
+ private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+ static {
+ java.lang.String[] descriptorData = {
+ "\n\'google/cloud/apphub/v1/properties.prot"
+ + "o\022\026google.cloud.apphub.v1\032\037google/api/fi"
+ + "eld_behavior.proto\032\031google/api/resource."
+ + "proto\032\034google/protobuf/struct.proto\"\227\001\n\016"
+ + "FunctionalType\022>\n\004type\030\001 \001(\0162+.google.cl"
+ + "oud.apphub.v1.FunctionalType.TypeB\003\340A\003\"E"
+ + "\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\t\n\005AGENT\020\001\022"
+ + "\016\n\nMCP_SERVER\020\002\022\014\n\010ENDPOINT\020\003\"\215\001\n\020Regist"
+ + "rationType\022@\n\004type\030\001 \001(\0162-.google.cloud."
+ + "apphub.v1.RegistrationType.TypeB\003\340A\003\"7\n\004"
+ + "Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\r\n\tEXCLUSIVE\020"
+ + "\001\022\n\n\006SHARED\020\002\"I\n\020ExtendedMetadata\0225\n\017met"
+ + "adata_struct\030\001 \001(\0132\027.google.protobuf.Str"
+ + "uctB\003\340A\003\"\"\n\010Identity\022\026\n\tprincipal\030\001 \001(\tB"
+ + "\003\340A\003B\261\001\n\032com.google.cloud.apphub.v1B\017Pro"
+ + "pertiesProtoP\001Z2cloud.google.com/go/apph"
+ + "ub/apiv1/apphubpb;apphubpb\252\002\026Google.Clou"
+ + "d.AppHub.V1\312\002\026Google\\Cloud\\AppHub\\V1\352\002\031G"
+ + "oogle::Cloud::AppHub::V1b\006proto3"
+ };
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.FieldBehaviorProto.getDescriptor(),
+ com.google.api.ResourceProto.getDescriptor(),
+ com.google.protobuf.StructProto.getDescriptor(),
+ });
+ internal_static_google_cloud_apphub_v1_FunctionalType_descriptor =
+ getDescriptor().getMessageType(0);
+ internal_static_google_cloud_apphub_v1_FunctionalType_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_apphub_v1_FunctionalType_descriptor,
+ new java.lang.String[] {
+ "Type",
+ });
+ internal_static_google_cloud_apphub_v1_RegistrationType_descriptor =
+ getDescriptor().getMessageType(1);
+ internal_static_google_cloud_apphub_v1_RegistrationType_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_apphub_v1_RegistrationType_descriptor,
+ new java.lang.String[] {
+ "Type",
+ });
+ internal_static_google_cloud_apphub_v1_ExtendedMetadata_descriptor =
+ getDescriptor().getMessageType(2);
+ internal_static_google_cloud_apphub_v1_ExtendedMetadata_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_apphub_v1_ExtendedMetadata_descriptor,
+ new java.lang.String[] {
+ "MetadataStruct",
+ });
+ internal_static_google_cloud_apphub_v1_Identity_descriptor = getDescriptor().getMessageType(3);
+ internal_static_google_cloud_apphub_v1_Identity_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_apphub_v1_Identity_descriptor,
+ new java.lang.String[] {
+ "Principal",
+ });
+ descriptor.resolveAllFeaturesImmutable();
+ com.google.api.FieldBehaviorProto.getDescriptor();
+ com.google.api.ResourceProto.getDescriptor();
+ com.google.protobuf.StructProto.getDescriptor();
+ com.google.protobuf.ExtensionRegistry registry =
+ com.google.protobuf.ExtensionRegistry.newInstance();
+ registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+ com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+ descriptor, registry);
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/RegistrationType.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/RegistrationType.java
new file mode 100644
index 000000000000..6105e09588c9
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/RegistrationType.java
@@ -0,0 +1,746 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/properties.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+/**
+ *
+ *
+ * + * The registration type of a service. + *+ * + * Protobuf type {@code google.cloud.apphub.v1.RegistrationType} + */ +@com.google.protobuf.Generated +public final class RegistrationType extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.apphub.v1.RegistrationType) + RegistrationTypeOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "RegistrationType"); + } + + // Use RegistrationType.newBuilder() to construct. + private RegistrationType(com.google.protobuf.GeneratedMessage.Builder> builder) { + super(builder); + } + + private RegistrationType() { + type_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apphub.v1.PropertiesProto + .internal_static_google_cloud_apphub_v1_RegistrationType_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.apphub.v1.PropertiesProto + .internal_static_google_cloud_apphub_v1_RegistrationType_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.apphub.v1.RegistrationType.class, + com.google.cloud.apphub.v1.RegistrationType.Builder.class); + } + + /** + * + * + *
+ * The registration type of a service. + *+ * + * Protobuf enum {@code google.cloud.apphub.v1.RegistrationType.Type} + */ + public enum Type implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+ * Unspecified registration type. Defaults to EXCLUSIVE. + *+ * + *
TYPE_UNSPECIFIED = 0;
+ */
+ TYPE_UNSPECIFIED(0),
+ /**
+ *
+ *
+ * + * The service can only be registered to one application. + *+ * + *
EXCLUSIVE = 1;
+ */
+ EXCLUSIVE(1),
+ /**
+ *
+ *
+ * + * The service can be registered to multiple applications. + *+ * + *
SHARED = 2;
+ */
+ SHARED(2),
+ UNRECOGNIZED(-1),
+ ;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "Type");
+ }
+
+ /**
+ *
+ *
+ * + * Unspecified registration type. Defaults to EXCLUSIVE. + *+ * + *
TYPE_UNSPECIFIED = 0;
+ */
+ public static final int TYPE_UNSPECIFIED_VALUE = 0;
+
+ /**
+ *
+ *
+ * + * The service can only be registered to one application. + *+ * + *
EXCLUSIVE = 1;
+ */
+ public static final int EXCLUSIVE_VALUE = 1;
+
+ /**
+ *
+ *
+ * + * The service can be registered to multiple applications. + *+ * + *
SHARED = 2;
+ */
+ public static final int SHARED_VALUE = 2;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static Type valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static Type forNumber(int value) {
+ switch (value) {
+ case 0:
+ return TYPE_UNSPECIFIED;
+ case 1:
+ return EXCLUSIVE;
+ case 2:
+ return SHARED;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ * Output only. The registration type of a service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for type.
+ */
+ @java.lang.Override
+ public int getTypeValue() {
+ return type_;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of a service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The type.
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.RegistrationType.Type getType() {
+ com.google.cloud.apphub.v1.RegistrationType.Type result =
+ com.google.cloud.apphub.v1.RegistrationType.Type.forNumber(type_);
+ return result == null ? com.google.cloud.apphub.v1.RegistrationType.Type.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 (type_ != com.google.cloud.apphub.v1.RegistrationType.Type.TYPE_UNSPECIFIED.getNumber()) {
+ output.writeEnum(1, type_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (type_ != com.google.cloud.apphub.v1.RegistrationType.Type.TYPE_UNSPECIFIED.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_);
+ }
+ 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.apphub.v1.RegistrationType)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.apphub.v1.RegistrationType other =
+ (com.google.cloud.apphub.v1.RegistrationType) obj;
+
+ if (type_ != other.type_) 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) + TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + type_;
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.apphub.v1.RegistrationType parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.RegistrationType 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.apphub.v1.RegistrationType parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.RegistrationType 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.apphub.v1.RegistrationType parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.RegistrationType parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.RegistrationType parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.RegistrationType parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.RegistrationType parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.RegistrationType parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.RegistrationType parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.RegistrationType parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.apphub.v1.RegistrationType 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ * + * The registration type of a service. + *+ * + * Protobuf type {@code google.cloud.apphub.v1.RegistrationType} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Output only. The registration type of a service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for type.
+ */
+ @java.lang.Override
+ public int getTypeValue() {
+ return type_;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of a service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The enum numeric value on the wire for type to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTypeValue(int value) {
+ type_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of a service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The type.
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.RegistrationType.Type getType() {
+ com.google.cloud.apphub.v1.RegistrationType.Type result =
+ com.google.cloud.apphub.v1.RegistrationType.Type.forNumber(type_);
+ return result == null
+ ? com.google.cloud.apphub.v1.RegistrationType.Type.UNRECOGNIZED
+ : result;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of a service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The type to set.
+ * @return This builder for chaining.
+ */
+ public Builder setType(com.google.cloud.apphub.v1.RegistrationType.Type value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ type_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of a service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearType() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ type_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.apphub.v1.RegistrationType)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.apphub.v1.RegistrationType)
+ private static final com.google.cloud.apphub.v1.RegistrationType DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.apphub.v1.RegistrationType();
+ }
+
+ public static com.google.cloud.apphub.v1.RegistrationType getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Output only. The registration type of a service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for type.
+ */
+ int getTypeValue();
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of a service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The type.
+ */
+ com.google.cloud.apphub.v1.RegistrationType.Type getType();
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ServiceProperties.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ServiceProperties.java
index 1a4b462156a9..1399183b2b50 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ServiceProperties.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ServiceProperties.java
@@ -62,6 +62,18 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
.internal_static_google_cloud_apphub_v1_ServiceProperties_descriptor;
}
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 6:
+ return internalGetExtendedMetadata();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
@@ -72,6 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloud.apphub.v1.ServiceProperties.Builder.class);
}
+ private int bitField0_;
public static final int GCP_PROJECT_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
@@ -237,6 +250,319 @@ public com.google.protobuf.ByteString getZoneBytes() {
}
}
+ public static final int FUNCTIONAL_TYPE_FIELD_NUMBER = 4;
+ private com.google.cloud.apphub.v1.FunctionalType functionalType_;
+
+ /**
+ *
+ *
+ * + * Output only. The type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the functionalType field is set.
+ */
+ @java.lang.Override
+ public boolean hasFunctionalType() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The functionalType.
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.FunctionalType getFunctionalType() {
+ return functionalType_ == null
+ ? com.google.cloud.apphub.v1.FunctionalType.getDefaultInstance()
+ : functionalType_;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.FunctionalTypeOrBuilder getFunctionalTypeOrBuilder() {
+ return functionalType_ == null
+ ? com.google.cloud.apphub.v1.FunctionalType.getDefaultInstance()
+ : functionalType_;
+ }
+
+ public static final int REGISTRATION_TYPE_FIELD_NUMBER = 5;
+ private com.google.cloud.apphub.v1.RegistrationType registrationType_;
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType registration_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the registrationType field is set.
+ */
+ @java.lang.Override
+ public boolean hasRegistrationType() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType registration_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The registrationType.
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.RegistrationType getRegistrationType() {
+ return registrationType_ == null
+ ? com.google.cloud.apphub.v1.RegistrationType.getDefaultInstance()
+ : registrationType_;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType registration_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.RegistrationTypeOrBuilder getRegistrationTypeOrBuilder() {
+ return registrationType_ == null
+ ? com.google.cloud.apphub.v1.RegistrationType.getDefaultInstance()
+ : registrationType_;
+ }
+
+ public static final int EXTENDED_METADATA_FIELD_NUMBER = 6;
+
+ private static final class ExtendedMetadataDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.String, com.google.cloud.apphub.v1.ExtendedMetadata>
+ defaultEntry =
+ com.google.protobuf.MapEntry
+ .
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public boolean containsExtendedMetadata(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetExtendedMetadata().getMap().containsKey(key);
+ }
+
+ /** Use {@link #getExtendedMetadataMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.Map
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ com.google.cloud.apphub.v1.ExtendedMetadata getExtendedMetadataOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.apphub.v1.ExtendedMetadata defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ExtendedMetadata getExtendedMetadataOrThrow(
+ java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map+ * Output only. The identity associated with the service. + *+ * + *
+ * .google.cloud.apphub.v1.Identity identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the identity field is set.
+ */
+ @java.lang.Override
+ public boolean hasIdentity() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The identity associated with the service. + *+ * + *
+ * .google.cloud.apphub.v1.Identity identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The identity.
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.Identity getIdentity() {
+ return identity_ == null ? com.google.cloud.apphub.v1.Identity.getDefaultInstance() : identity_;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The identity associated with the service. + *+ * + *
+ * .google.cloud.apphub.v1.Identity identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.IdentityOrBuilder getIdentityOrBuilder() {
+ return identity_ == null ? com.google.cloud.apphub.v1.Identity.getDefaultInstance() : identity_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -260,6 +586,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(zone_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 3, zone_);
}
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(4, getFunctionalType());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(5, getRegistrationType());
+ }
+ com.google.protobuf.GeneratedMessage.serializeStringMapTo(
+ output, internalGetExtendedMetadata(), ExtendedMetadataDefaultEntryHolder.defaultEntry, 6);
+ if (((bitField0_ & 0x00000004) != 0)) {
+ output.writeMessage(7, getIdentity());
+ }
getUnknownFields().writeTo(output);
}
@@ -278,6 +615,26 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(zone_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(3, zone_);
}
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getFunctionalType());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRegistrationType());
+ }
+ for (java.util.Map.Entry+ * Output only. The type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the functionalType field is set.
+ */
+ public boolean hasFunctionalType() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The functionalType.
+ */
+ public com.google.cloud.apphub.v1.FunctionalType getFunctionalType() {
+ if (functionalTypeBuilder_ == null) {
+ return functionalType_ == null
+ ? com.google.cloud.apphub.v1.FunctionalType.getDefaultInstance()
+ : functionalType_;
+ } else {
+ return functionalTypeBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setFunctionalType(com.google.cloud.apphub.v1.FunctionalType value) {
+ if (functionalTypeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ functionalType_ = value;
+ } else {
+ functionalTypeBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setFunctionalType(
+ com.google.cloud.apphub.v1.FunctionalType.Builder builderForValue) {
+ if (functionalTypeBuilder_ == null) {
+ functionalType_ = builderForValue.build();
+ } else {
+ functionalTypeBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeFunctionalType(com.google.cloud.apphub.v1.FunctionalType value) {
+ if (functionalTypeBuilder_ == null) {
+ if (((bitField0_ & 0x00000008) != 0)
+ && functionalType_ != null
+ && functionalType_ != com.google.cloud.apphub.v1.FunctionalType.getDefaultInstance()) {
+ getFunctionalTypeBuilder().mergeFrom(value);
+ } else {
+ functionalType_ = value;
+ }
+ } else {
+ functionalTypeBuilder_.mergeFrom(value);
+ }
+ if (functionalType_ != null) {
+ bitField0_ |= 0x00000008;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearFunctionalType() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ functionalType_ = null;
+ if (functionalTypeBuilder_ != null) {
+ functionalTypeBuilder_.dispose();
+ functionalTypeBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.apphub.v1.FunctionalType.Builder getFunctionalTypeBuilder() {
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return internalGetFunctionalTypeFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.apphub.v1.FunctionalTypeOrBuilder getFunctionalTypeOrBuilder() {
+ if (functionalTypeBuilder_ != null) {
+ return functionalTypeBuilder_.getMessageOrBuilder();
+ } else {
+ return functionalType_ == null
+ ? com.google.cloud.apphub.v1.FunctionalType.getDefaultInstance()
+ : functionalType_;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.FunctionalType,
+ com.google.cloud.apphub.v1.FunctionalType.Builder,
+ com.google.cloud.apphub.v1.FunctionalTypeOrBuilder>
+ internalGetFunctionalTypeFieldBuilder() {
+ if (functionalTypeBuilder_ == null) {
+ functionalTypeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.FunctionalType,
+ com.google.cloud.apphub.v1.FunctionalType.Builder,
+ com.google.cloud.apphub.v1.FunctionalTypeOrBuilder>(
+ getFunctionalType(), getParentForChildren(), isClean());
+ functionalType_ = null;
+ }
+ return functionalTypeBuilder_;
+ }
+
+ private com.google.cloud.apphub.v1.RegistrationType registrationType_;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.RegistrationType,
+ com.google.cloud.apphub.v1.RegistrationType.Builder,
+ com.google.cloud.apphub.v1.RegistrationTypeOrBuilder>
+ registrationTypeBuilder_;
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType registration_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the registrationType field is set.
+ */
+ public boolean hasRegistrationType() {
+ return ((bitField0_ & 0x00000010) != 0);
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType registration_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The registrationType.
+ */
+ public com.google.cloud.apphub.v1.RegistrationType getRegistrationType() {
+ if (registrationTypeBuilder_ == null) {
+ return registrationType_ == null
+ ? com.google.cloud.apphub.v1.RegistrationType.getDefaultInstance()
+ : registrationType_;
+ } else {
+ return registrationTypeBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType registration_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setRegistrationType(com.google.cloud.apphub.v1.RegistrationType value) {
+ if (registrationTypeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ registrationType_ = value;
+ } else {
+ registrationTypeBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType registration_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setRegistrationType(
+ com.google.cloud.apphub.v1.RegistrationType.Builder builderForValue) {
+ if (registrationTypeBuilder_ == null) {
+ registrationType_ = builderForValue.build();
+ } else {
+ registrationTypeBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType registration_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeRegistrationType(com.google.cloud.apphub.v1.RegistrationType value) {
+ if (registrationTypeBuilder_ == null) {
+ if (((bitField0_ & 0x00000010) != 0)
+ && registrationType_ != null
+ && registrationType_
+ != com.google.cloud.apphub.v1.RegistrationType.getDefaultInstance()) {
+ getRegistrationTypeBuilder().mergeFrom(value);
+ } else {
+ registrationType_ = value;
+ }
+ } else {
+ registrationTypeBuilder_.mergeFrom(value);
+ }
+ if (registrationType_ != null) {
+ bitField0_ |= 0x00000010;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType registration_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearRegistrationType() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ registrationType_ = null;
+ if (registrationTypeBuilder_ != null) {
+ registrationTypeBuilder_.dispose();
+ registrationTypeBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType registration_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.apphub.v1.RegistrationType.Builder getRegistrationTypeBuilder() {
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return internalGetRegistrationTypeFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType registration_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.apphub.v1.RegistrationTypeOrBuilder getRegistrationTypeOrBuilder() {
+ if (registrationTypeBuilder_ != null) {
+ return registrationTypeBuilder_.getMessageOrBuilder();
+ } else {
+ return registrationType_ == null
+ ? com.google.cloud.apphub.v1.RegistrationType.getDefaultInstance()
+ : registrationType_;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType registration_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.RegistrationType,
+ com.google.cloud.apphub.v1.RegistrationType.Builder,
+ com.google.cloud.apphub.v1.RegistrationTypeOrBuilder>
+ internalGetRegistrationTypeFieldBuilder() {
+ if (registrationTypeBuilder_ == null) {
+ registrationTypeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.RegistrationType,
+ com.google.cloud.apphub.v1.RegistrationType.Builder,
+ com.google.cloud.apphub.v1.RegistrationTypeOrBuilder>(
+ getRegistrationType(), getParentForChildren(), isClean());
+ registrationType_ = null;
+ }
+ return registrationTypeBuilder_;
+ }
+
+ private static final class ExtendedMetadataConverter
+ implements com.google.protobuf.MapFieldBuilder.Converter<
+ java.lang.String,
+ com.google.cloud.apphub.v1.ExtendedMetadataOrBuilder,
+ com.google.cloud.apphub.v1.ExtendedMetadata> {
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ExtendedMetadata build(
+ com.google.cloud.apphub.v1.ExtendedMetadataOrBuilder val) {
+ if (val instanceof com.google.cloud.apphub.v1.ExtendedMetadata) {
+ return (com.google.cloud.apphub.v1.ExtendedMetadata) val;
+ }
+ return ((com.google.cloud.apphub.v1.ExtendedMetadata.Builder) val).build();
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.MapEntry<
+ java.lang.String, com.google.cloud.apphub.v1.ExtendedMetadata>
+ defaultEntry() {
+ return ExtendedMetadataDefaultEntryHolder.defaultEntry;
+ }
+ }
+ ;
+
+ private static final ExtendedMetadataConverter extendedMetadataConverter =
+ new ExtendedMetadataConverter();
+
+ private com.google.protobuf.MapFieldBuilder<
+ java.lang.String,
+ com.google.cloud.apphub.v1.ExtendedMetadataOrBuilder,
+ com.google.cloud.apphub.v1.ExtendedMetadata,
+ com.google.cloud.apphub.v1.ExtendedMetadata.Builder>
+ extendedMetadata_;
+
+ private com.google.protobuf.MapFieldBuilder<
+ java.lang.String,
+ com.google.cloud.apphub.v1.ExtendedMetadataOrBuilder,
+ com.google.cloud.apphub.v1.ExtendedMetadata,
+ com.google.cloud.apphub.v1.ExtendedMetadata.Builder>
+ internalGetExtendedMetadata() {
+ if (extendedMetadata_ == null) {
+ return new com.google.protobuf.MapFieldBuilder<>(extendedMetadataConverter);
+ }
+ return extendedMetadata_;
+ }
+
+ private com.google.protobuf.MapFieldBuilder<
+ java.lang.String,
+ com.google.cloud.apphub.v1.ExtendedMetadataOrBuilder,
+ com.google.cloud.apphub.v1.ExtendedMetadata,
+ com.google.cloud.apphub.v1.ExtendedMetadata.Builder>
+ internalGetMutableExtendedMetadata() {
+ if (extendedMetadata_ == null) {
+ extendedMetadata_ = new com.google.protobuf.MapFieldBuilder<>(extendedMetadataConverter);
+ }
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return extendedMetadata_;
+ }
+
+ public int getExtendedMetadataCount() {
+ return internalGetExtendedMetadata().ensureBuilderMap().size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public boolean containsExtendedMetadata(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetExtendedMetadata().ensureBuilderMap().containsKey(key);
+ }
+
+ /** Use {@link #getExtendedMetadataMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.Map
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ com.google.cloud.apphub.v1.ExtendedMetadata getExtendedMetadataOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.apphub.v1.ExtendedMetadata defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ExtendedMetadata getExtendedMetadataOrThrow(
+ java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder removeExtendedMetadata(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ internalGetMutableExtendedMetadata().ensureBuilderMap().remove(key);
+ return this;
+ }
+
+ /** Use alternate mutation accessors instead. */
+ @java.lang.Deprecated
+ public java.util.Map
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder putExtendedMetadata(
+ java.lang.String key, com.google.cloud.apphub.v1.ExtendedMetadata value) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ if (value == null) {
+ throw new NullPointerException("map value");
+ }
+ internalGetMutableExtendedMetadata().ensureBuilderMap().put(key, value);
+ bitField0_ |= 0x00000020;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder putAllExtendedMetadata(
+ java.util.Map
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.apphub.v1.ExtendedMetadata.Builder putExtendedMetadataBuilderIfAbsent(
+ java.lang.String key) {
+ java.util.Map+ * Output only. The identity associated with the service. + *+ * + *
+ * .google.cloud.apphub.v1.Identity identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the identity field is set.
+ */
+ public boolean hasIdentity() {
+ return ((bitField0_ & 0x00000040) != 0);
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The identity associated with the service. + *+ * + *
+ * .google.cloud.apphub.v1.Identity identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The identity.
+ */
+ public com.google.cloud.apphub.v1.Identity getIdentity() {
+ if (identityBuilder_ == null) {
+ return identity_ == null
+ ? com.google.cloud.apphub.v1.Identity.getDefaultInstance()
+ : identity_;
+ } else {
+ return identityBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The identity associated with the service. + *+ * + *
+ * .google.cloud.apphub.v1.Identity identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setIdentity(com.google.cloud.apphub.v1.Identity value) {
+ if (identityBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ identity_ = value;
+ } else {
+ identityBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The identity associated with the service. + *+ * + *
+ * .google.cloud.apphub.v1.Identity identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setIdentity(com.google.cloud.apphub.v1.Identity.Builder builderForValue) {
+ if (identityBuilder_ == null) {
+ identity_ = builderForValue.build();
+ } else {
+ identityBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The identity associated with the service. + *+ * + *
+ * .google.cloud.apphub.v1.Identity identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeIdentity(com.google.cloud.apphub.v1.Identity value) {
+ if (identityBuilder_ == null) {
+ if (((bitField0_ & 0x00000040) != 0)
+ && identity_ != null
+ && identity_ != com.google.cloud.apphub.v1.Identity.getDefaultInstance()) {
+ getIdentityBuilder().mergeFrom(value);
+ } else {
+ identity_ = value;
+ }
+ } else {
+ identityBuilder_.mergeFrom(value);
+ }
+ if (identity_ != null) {
+ bitField0_ |= 0x00000040;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The identity associated with the service. + *+ * + *
+ * .google.cloud.apphub.v1.Identity identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearIdentity() {
+ bitField0_ = (bitField0_ & ~0x00000040);
+ identity_ = null;
+ if (identityBuilder_ != null) {
+ identityBuilder_.dispose();
+ identityBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The identity associated with the service. + *+ * + *
+ * .google.cloud.apphub.v1.Identity identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.apphub.v1.Identity.Builder getIdentityBuilder() {
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return internalGetIdentityFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The identity associated with the service. + *+ * + *
+ * .google.cloud.apphub.v1.Identity identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.apphub.v1.IdentityOrBuilder getIdentityOrBuilder() {
+ if (identityBuilder_ != null) {
+ return identityBuilder_.getMessageOrBuilder();
+ } else {
+ return identity_ == null
+ ? com.google.cloud.apphub.v1.Identity.getDefaultInstance()
+ : identity_;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Output only. The identity associated with the service. + *+ * + *
+ * .google.cloud.apphub.v1.Identity identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.Identity,
+ com.google.cloud.apphub.v1.Identity.Builder,
+ com.google.cloud.apphub.v1.IdentityOrBuilder>
+ internalGetIdentityFieldBuilder() {
+ if (identityBuilder_ == null) {
+ identityBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.Identity,
+ com.google.cloud.apphub.v1.Identity.Builder,
+ com.google.cloud.apphub.v1.IdentityOrBuilder>(
+ getIdentity(), getParentForChildren(), isClean());
+ identity_ = null;
+ }
+ return identityBuilder_;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.apphub.v1.ServiceProperties)
}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ServicePropertiesOrBuilder.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ServicePropertiesOrBuilder.java
index 4b9848d6aa5b..420c9e8661a9 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ServicePropertiesOrBuilder.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ServicePropertiesOrBuilder.java
@@ -109,4 +109,223 @@ public interface ServicePropertiesOrBuilder
* @return The bytes for zone.
*/
com.google.protobuf.ByteString getZoneBytes();
+
+ /**
+ *
+ *
+ * + * Output only. The type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the functionalType field is set.
+ */
+ boolean hasFunctionalType();
+
+ /**
+ *
+ *
+ * + * Output only. The type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The functionalType.
+ */
+ com.google.cloud.apphub.v1.FunctionalType getFunctionalType();
+
+ /**
+ *
+ *
+ * + * Output only. The type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.apphub.v1.FunctionalTypeOrBuilder getFunctionalTypeOrBuilder();
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType registration_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the registrationType field is set.
+ */
+ boolean hasRegistrationType();
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType registration_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The registrationType.
+ */
+ com.google.cloud.apphub.v1.RegistrationType getRegistrationType();
+
+ /**
+ *
+ *
+ * + * Output only. The registration type of the service. + *+ * + *
+ * .google.cloud.apphub.v1.RegistrationType registration_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.apphub.v1.RegistrationTypeOrBuilder getRegistrationTypeOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ int getExtendedMetadataCount();
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ boolean containsExtendedMetadata(java.lang.String key);
+
+ /** Use {@link #getExtendedMetadataMap()} instead. */
+ @java.lang.Deprecated
+ java.util.Map
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ java.util.Map
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ /* nullable */
+ com.google.cloud.apphub.v1.ExtendedMetadata getExtendedMetadataOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.apphub.v1.ExtendedMetadata defaultValue);
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.apphub.v1.ExtendedMetadata getExtendedMetadataOrThrow(java.lang.String key);
+
+ /**
+ *
+ *
+ * + * Output only. The identity associated with the service. + *+ * + *
+ * .google.cloud.apphub.v1.Identity identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the identity field is set.
+ */
+ boolean hasIdentity();
+
+ /**
+ *
+ *
+ * + * Output only. The identity associated with the service. + *+ * + *
+ * .google.cloud.apphub.v1.Identity identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The identity.
+ */
+ com.google.cloud.apphub.v1.Identity getIdentity();
+
+ /**
+ *
+ *
+ * + * Output only. The identity associated with the service. + *+ * + *
+ * .google.cloud.apphub.v1.Identity identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.apphub.v1.IdentityOrBuilder getIdentityOrBuilder();
}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ServiceProto.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ServiceProto.java
index 1a554d160f25..0844dd191fd1 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ServiceProto.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/ServiceProto.java
@@ -52,6 +52,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_apphub_v1_ServiceProperties_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_cloud_apphub_v1_ServiceProperties_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_apphub_v1_ServiceProperties_ExtendedMetadataEntry_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_apphub_v1_ServiceProperties_ExtendedMetadataEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_apphub_v1_DiscoveredService_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
@@ -70,7 +74,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "google.cloud.apphub.v1\032\037google/api/field"
+ "_behavior.proto\032\033google/api/field_info.p"
+ "roto\032\031google/api/resource.proto\032\'google/"
- + "cloud/apphub/v1/attributes.proto\032\037google/protobuf/timestamp.proto\"\233\006\n"
+ + "cloud/apphub/v1/attributes.proto\032\'google"
+ + "/cloud/apphub/v1/properties.proto\032\037google/protobuf/timestamp.proto\"\233\006\n"
+ "\007Service\022\021\n"
+ "\004name\030\001 \001(\tB\003\340A\010\022\031\n"
+ "\014display_name\030\002 \001(\tB\003\340A\001\022\030\n"
@@ -80,8 +85,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\022service_properties\030\005"
+ " \001(\0132).google.cloud.apphub.v1.ServicePropertiesB\003\340A\003\022;\n\n"
+ "attributes\030\006 \001(\0132\".google.cloud.apphub.v1.AttributesB\003\340A\001\022N\n"
- + "\022discovered_service\030\007 \001(\tB2\340A\002\340A\005\372A)\022"
- + "\'apphub.googleapis.com/DiscoveredService\0224\n"
+ + "\022discovered_service\030\007 \001(\tB2\340A\002\340A\005\372A)"
+ + "\022\'apphub.googleapis.com/DiscoveredService\0224\n"
+ "\013create_time\030\010 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n"
+ "\013update_time\030\t \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\030\n"
+ "\003uid\030\n"
@@ -93,27 +98,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\006ACTIVE\020\002\022\014\n"
+ "\010DELETING\020\003\022\014\n"
+ "\010DETACHED\020\004:\215\001\352A\211\001\n"
- + "\035apphub.googleapis.com/Service\022Uprojects/{project}/locations/{location}/a"
- + "pplications/{application}/services/{service}*\010services2\007service\"$\n"
+ + "\035apphub.googleapis.com/Service\022Uprojects/{project}/locations/{location}/"
+ + "applications/{application}/services/{service}*\010services2\007service\"$\n"
+ "\020ServiceReference\022\020\n"
- + "\003uri\030\001 \001(\tB\003\340A\003\"W\n"
+ + "\003uri\030\001 \001(\tB\003\340A\003\"\344\003\n"
+ "\021ServiceProperties\022\030\n"
+ "\013gcp_project\030\001 \001(\tB\003\340A\003\022\025\n"
+ "\010location\030\002 \001(\tB\003\340A\003\022\021\n"
- + "\004zone\030\003 \001(\tB\003\340A\003\"\344\002\n"
+ + "\004zone\030\003 \001(\tB\003\340A\003\022D\n"
+ + "\017functional_type\030\004"
+ + " \001(\0132&.google.cloud.apphub.v1.FunctionalTypeB\003\340A\003\022H\n"
+ + "\021registration_type\030\005"
+ + " \001(\0132(.google.cloud.apphub.v1.RegistrationTypeB\003\340A\003\022_\n"
+ + "\021extended_metadata\030\006 "
+ + "\003(\0132?.google.cloud.apphub.v1.ServiceProperties.ExtendedMetadataEntryB\003\340A\003\0227\n"
+ + "\010identity\030\007 \001(\0132 .google.cloud.apphub.v1.IdentityB\003\340A\003\032a\n"
+ + "\025ExtendedMetadataEntry\022\013\n"
+ + "\003key\030\001 \001(\t\0227\n"
+ + "\005value\030\002"
+ + " \001(\0132(.google.cloud.apphub.v1.ExtendedMetadata:\0028\001\"\344\002\n"
+ "\021DiscoveredService\022\021\n"
+ "\004name\030\001 \001(\tB\003\340A\010\022H\n"
+ "\021service_reference\030\002"
+ " \001(\0132(.google.cloud.apphub.v1.ServiceReferenceB\003\340A\003\022J\n"
+ "\022service_properties\030\003"
+ " \001(\0132).google.cloud.apphub.v1.ServicePropertiesB\003\340A\003:\245\001\352A\241\001\n"
- + "\'apphub.googleapis.com/DiscoveredService\022Oprojects/"
- + "{project}/locations/{location}/discovere"
- + "dServices/{discovered_service}*\022discoveredServices2\021discoveredServiceB\256\001\n"
- + "\032com.google.cloud.apphub.v1B\014ServiceProtoP\001Z2cl"
- + "oud.google.com/go/apphub/apiv1/apphubpb;"
- + "apphubpb\252\002\026Google.Cloud.AppHub.V1\312\002\026Goog"
- + "le\\Cloud\\AppHub\\V1\352\002\031Google::Cloud::AppHub::V1b\006proto3"
+ + "\'apphub.googleapis.com/DiscoveredService\022Oprojects/{"
+ + "project}/locations/{location}/discovered"
+ + "Services/{discovered_service}*\022discoveredServices2\021discoveredServiceB\256\001\n"
+ + "\032com.google.cloud.apphub.v1B\014ServiceProtoP\001Z2clo"
+ + "ud.google.com/go/apphub/apiv1/apphubpb;a"
+ + "pphubpb\252\002\026Google.Cloud.AppHub.V1\312\002\026Googl"
+ + "e\\Cloud\\AppHub\\V1\352\002\031Google::Cloud::AppHub::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -123,6 +139,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.FieldInfoProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.apphub.v1.AttributesProto.getDescriptor(),
+ com.google.cloud.apphub.v1.PropertiesProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_google_cloud_apphub_v1_Service_descriptor = getDescriptor().getMessageType(0);
@@ -156,7 +173,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_apphub_v1_ServiceProperties_descriptor,
new java.lang.String[] {
- "GcpProject", "Location", "Zone",
+ "GcpProject",
+ "Location",
+ "Zone",
+ "FunctionalType",
+ "RegistrationType",
+ "ExtendedMetadata",
+ "Identity",
+ });
+ internal_static_google_cloud_apphub_v1_ServiceProperties_ExtendedMetadataEntry_descriptor =
+ internal_static_google_cloud_apphub_v1_ServiceProperties_descriptor.getNestedType(0);
+ internal_static_google_cloud_apphub_v1_ServiceProperties_ExtendedMetadataEntry_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_apphub_v1_ServiceProperties_ExtendedMetadataEntry_descriptor,
+ new java.lang.String[] {
+ "Key", "Value",
});
internal_static_google_cloud_apphub_v1_DiscoveredService_descriptor =
getDescriptor().getMessageType(3);
@@ -171,6 +202,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.FieldInfoProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.cloud.apphub.v1.AttributesProto.getDescriptor();
+ com.google.cloud.apphub.v1.PropertiesProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateApplicationRequest.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateApplicationRequest.java
index 08d35e83caf7..cbcaacb4088a 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateApplicationRequest.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateApplicationRequest.java
@@ -78,7 +78,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Application resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -89,7 +89,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the updateMask field is set.
@@ -103,7 +103,7 @@ public boolean hasUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Application resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -114,7 +114,7 @@ public boolean hasUpdateMask() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The updateMask.
@@ -128,7 +128,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Application resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -139,7 +139,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
@java.lang.Override
@@ -230,7 +230,9 @@ public com.google.cloud.apphub.v1.ApplicationOrBuilder getApplicationOrBuilder()
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -266,7 +268,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -683,7 +687,7 @@ public Builder mergeFrom(
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Application resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -694,7 +698,7 @@ public Builder mergeFrom(
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the updateMask field is set.
@@ -707,7 +711,7 @@ public boolean hasUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Application resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -718,7 +722,7 @@ public boolean hasUpdateMask() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The updateMask.
@@ -737,7 +741,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Application resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -748,7 +752,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
@@ -769,7 +773,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Application resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -780,7 +784,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
@@ -798,7 +802,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Application resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -809,7 +813,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
@@ -835,7 +839,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Application resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -846,7 +850,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder clearUpdateMask() {
@@ -864,7 +868,7 @@ public Builder clearUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Application resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -875,7 +879,7 @@ public Builder clearUpdateMask() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
@@ -888,7 +892,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Application resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -899,7 +903,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
@@ -916,7 +920,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Application resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -927,7 +931,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
private com.google.protobuf.SingleFieldBuilder<
@@ -1180,7 +1184,9 @@ public com.google.cloud.apphub.v1.ApplicationOrBuilder getApplicationOrBuilder()
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -1215,7 +1221,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -1250,7 +1258,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The requestId to set.
* @return This builder for chaining.
@@ -1284,7 +1294,9 @@ public Builder setRequestId(java.lang.String value) {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return This builder for chaining.
*/
@@ -1314,7 +1326,9 @@ public Builder clearRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The bytes for requestId to set.
* @return This builder for chaining.
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateApplicationRequestOrBuilder.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateApplicationRequestOrBuilder.java
index 640b3197751e..971fa015ba74 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateApplicationRequestOrBuilder.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateApplicationRequestOrBuilder.java
@@ -30,7 +30,7 @@ public interface UpdateApplicationRequestOrBuilder
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Application resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -41,7 +41,7 @@ public interface UpdateApplicationRequestOrBuilder
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the updateMask field is set.
@@ -52,7 +52,7 @@ public interface UpdateApplicationRequestOrBuilder
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Application resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -63,7 +63,7 @@ public interface UpdateApplicationRequestOrBuilder
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The updateMask.
@@ -74,7 +74,7 @@ public interface UpdateApplicationRequestOrBuilder
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Application resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -85,7 +85,7 @@ public interface UpdateApplicationRequestOrBuilder
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
@@ -152,7 +152,9 @@ public interface UpdateApplicationRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -177,7 +179,9 @@ public interface UpdateApplicationRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateBoundaryRequest.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateBoundaryRequest.java
new file mode 100644
index 000000000000..b61df106fc2a
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateBoundaryRequest.java
@@ -0,0 +1,1340 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/apphub_service.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+/**
+ *
+ *
+ *
+ * Request message for AppHub.UpdateBoundary.
+ *
+ *
+ * Protobuf type {@code google.cloud.apphub.v1.UpdateBoundaryRequest}
+ */
+@com.google.protobuf.Generated
+public final class UpdateBoundaryRequest extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.apphub.v1.UpdateBoundaryRequest)
+ UpdateBoundaryRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "UpdateBoundaryRequest");
+ }
+
+ // Use UpdateBoundaryRequest.newBuilder() to construct.
+ private UpdateBoundaryRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private UpdateBoundaryRequest() {
+ requestId_ = "";
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.apphub.v1.ApphubServiceProto
+ .internal_static_google_cloud_apphub_v1_UpdateBoundaryRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.apphub.v1.ApphubServiceProto
+ .internal_static_google_cloud_apphub_v1_UpdateBoundaryRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.apphub.v1.UpdateBoundaryRequest.class,
+ com.google.cloud.apphub.v1.UpdateBoundaryRequest.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int UPDATE_MASK_FIELD_NUMBER = 1;
+ private com.google.protobuf.FieldMask updateMask_;
+
+ /**
+ *
+ *
+ *
+ * Optional. Field mask is used to specify the fields to be overwritten in the
+ * Boundary resource by the update.
+ * The fields specified in the update_mask are relative to the resource, not
+ * the full request. A field will be overwritten if it is in the mask. If the
+ * user does not provide a mask then all fields will be overwritten.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the updateMask field is set.
+ */
+ @java.lang.Override
+ public boolean hasUpdateMask() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Field mask is used to specify the fields to be overwritten in the
+ * Boundary resource by the update.
+ * The fields specified in the update_mask are relative to the resource, not
+ * the full request. A field will be overwritten if it is in the mask. If the
+ * user does not provide a mask then all fields will be overwritten.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The updateMask.
+ */
+ @java.lang.Override
+ public com.google.protobuf.FieldMask getUpdateMask() {
+ return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Field mask is used to specify the fields to be overwritten in the
+ * Boundary resource by the update.
+ * The fields specified in the update_mask are relative to the resource, not
+ * the full request. A field will be overwritten if it is in the mask. If the
+ * user does not provide a mask then all fields will be overwritten.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
+ return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+ }
+
+ public static final int BOUNDARY_FIELD_NUMBER = 2;
+ private com.google.cloud.apphub.v1.Boundary boundary_;
+
+ /**
+ *
+ *
+ *
+ * Required. The boundary to update.
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary boundary = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the boundary field is set.
+ */
+ @java.lang.Override
+ public boolean hasBoundary() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The boundary to update.
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary boundary = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The boundary.
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.Boundary getBoundary() {
+ return boundary_ == null ? com.google.cloud.apphub.v1.Boundary.getDefaultInstance() : boundary_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The boundary to update.
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary boundary = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.BoundaryOrBuilder getBoundaryOrBuilder() {
+ return boundary_ == null ? com.google.cloud.apphub.v1.Boundary.getDefaultInstance() : boundary_;
+ }
+
+ public static final int REQUEST_ID_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object requestId_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ *
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
+ *
+ * @return The requestId.
+ */
+ @java.lang.Override
+ public java.lang.String getRequestId() {
+ java.lang.Object ref = requestId_;
+ 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();
+ requestId_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ *
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
+ *
+ * @return The bytes for requestId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getRequestIdBytes() {
+ java.lang.Object ref = requestId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ requestId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getUpdateMask());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(2, getBoundary());
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestId_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 3, requestId_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getBoundary());
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestId_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(3, requestId_);
+ }
+ 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.apphub.v1.UpdateBoundaryRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.apphub.v1.UpdateBoundaryRequest other =
+ (com.google.cloud.apphub.v1.UpdateBoundaryRequest) obj;
+
+ if (hasUpdateMask() != other.hasUpdateMask()) return false;
+ if (hasUpdateMask()) {
+ if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+ }
+ if (hasBoundary() != other.hasBoundary()) return false;
+ if (hasBoundary()) {
+ if (!getBoundary().equals(other.getBoundary())) return false;
+ }
+ if (!getRequestId().equals(other.getRequestId())) 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 (hasUpdateMask()) {
+ hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER;
+ hash = (53 * hash) + getUpdateMask().hashCode();
+ }
+ if (hasBoundary()) {
+ hash = (37 * hash) + BOUNDARY_FIELD_NUMBER;
+ hash = (53 * hash) + getBoundary().hashCode();
+ }
+ hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getRequestId().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.apphub.v1.UpdateBoundaryRequest parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.UpdateBoundaryRequest 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.apphub.v1.UpdateBoundaryRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.UpdateBoundaryRequest 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.apphub.v1.UpdateBoundaryRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.apphub.v1.UpdateBoundaryRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.UpdateBoundaryRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.UpdateBoundaryRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.UpdateBoundaryRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.UpdateBoundaryRequest parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.apphub.v1.UpdateBoundaryRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.apphub.v1.UpdateBoundaryRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.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.apphub.v1.UpdateBoundaryRequest 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * Request message for AppHub.UpdateBoundary.
+ *
+ *
+ * Protobuf type {@code google.cloud.apphub.v1.UpdateBoundaryRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.apphub.v1.UpdateBoundaryRequest)
+ com.google.cloud.apphub.v1.UpdateBoundaryRequestOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.apphub.v1.ApphubServiceProto
+ .internal_static_google_cloud_apphub_v1_UpdateBoundaryRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.apphub.v1.ApphubServiceProto
+ .internal_static_google_cloud_apphub_v1_UpdateBoundaryRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.apphub.v1.UpdateBoundaryRequest.class,
+ com.google.cloud.apphub.v1.UpdateBoundaryRequest.Builder.class);
+ }
+
+ // Construct using com.google.cloud.apphub.v1.UpdateBoundaryRequest.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ internalGetUpdateMaskFieldBuilder();
+ internalGetBoundaryFieldBuilder();
+ }
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ updateMask_ = null;
+ if (updateMaskBuilder_ != null) {
+ updateMaskBuilder_.dispose();
+ updateMaskBuilder_ = null;
+ }
+ boundary_ = null;
+ if (boundaryBuilder_ != null) {
+ boundaryBuilder_.dispose();
+ boundaryBuilder_ = null;
+ }
+ requestId_ = "";
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.apphub.v1.ApphubServiceProto
+ .internal_static_google_cloud_apphub_v1_UpdateBoundaryRequest_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.UpdateBoundaryRequest getDefaultInstanceForType() {
+ return com.google.cloud.apphub.v1.UpdateBoundaryRequest.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.UpdateBoundaryRequest build() {
+ com.google.cloud.apphub.v1.UpdateBoundaryRequest result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.UpdateBoundaryRequest buildPartial() {
+ com.google.cloud.apphub.v1.UpdateBoundaryRequest result =
+ new com.google.cloud.apphub.v1.UpdateBoundaryRequest(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.cloud.apphub.v1.UpdateBoundaryRequest result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.boundary_ = boundaryBuilder_ == null ? boundary_ : boundaryBuilder_.build();
+ to_bitField0_ |= 0x00000002;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.requestId_ = requestId_;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.apphub.v1.UpdateBoundaryRequest) {
+ return mergeFrom((com.google.cloud.apphub.v1.UpdateBoundaryRequest) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.apphub.v1.UpdateBoundaryRequest other) {
+ if (other == com.google.cloud.apphub.v1.UpdateBoundaryRequest.getDefaultInstance())
+ return this;
+ if (other.hasUpdateMask()) {
+ mergeUpdateMask(other.getUpdateMask());
+ }
+ if (other.hasBoundary()) {
+ mergeBoundary(other.getBoundary());
+ }
+ if (!other.getRequestId().isEmpty()) {
+ requestId_ = other.requestId_;
+ bitField0_ |= 0x00000004;
+ 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:
+ {
+ input.readMessage(
+ internalGetUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18:
+ {
+ input.readMessage(
+ internalGetBoundaryFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ case 26:
+ {
+ requestId_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 26
+ 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 com.google.protobuf.FieldMask updateMask_;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.FieldMask,
+ com.google.protobuf.FieldMask.Builder,
+ com.google.protobuf.FieldMaskOrBuilder>
+ updateMaskBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Optional. Field mask is used to specify the fields to be overwritten in the
+ * Boundary resource by the update.
+ * The fields specified in the update_mask are relative to the resource, not
+ * the full request. A field will be overwritten if it is in the mask. If the
+ * user does not provide a mask then all fields will be overwritten.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the updateMask field is set.
+ */
+ public boolean hasUpdateMask() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Field mask is used to specify the fields to be overwritten in the
+ * Boundary resource by the update.
+ * The fields specified in the update_mask are relative to the resource, not
+ * the full request. A field will be overwritten if it is in the mask. If the
+ * user does not provide a mask then all fields will be overwritten.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The updateMask.
+ */
+ public com.google.protobuf.FieldMask getUpdateMask() {
+ if (updateMaskBuilder_ == null) {
+ return updateMask_ == null
+ ? com.google.protobuf.FieldMask.getDefaultInstance()
+ : updateMask_;
+ } else {
+ return updateMaskBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Field mask is used to specify the fields to be overwritten in the
+ * Boundary resource by the update.
+ * The fields specified in the update_mask are relative to the resource, not
+ * the full request. A field will be overwritten if it is in the mask. If the
+ * user does not provide a mask then all fields will be overwritten.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
+ if (updateMaskBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ updateMask_ = value;
+ } else {
+ updateMaskBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Field mask is used to specify the fields to be overwritten in the
+ * Boundary resource by the update.
+ * The fields specified in the update_mask are relative to the resource, not
+ * the full request. A field will be overwritten if it is in the mask. If the
+ * user does not provide a mask then all fields will be overwritten.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+ if (updateMaskBuilder_ == null) {
+ updateMask_ = builderForValue.build();
+ } else {
+ updateMaskBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Field mask is used to specify the fields to be overwritten in the
+ * Boundary resource by the update.
+ * The fields specified in the update_mask are relative to the resource, not
+ * the full request. A field will be overwritten if it is in the mask. If the
+ * user does not provide a mask then all fields will be overwritten.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
+ if (updateMaskBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && updateMask_ != null
+ && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
+ getUpdateMaskBuilder().mergeFrom(value);
+ } else {
+ updateMask_ = value;
+ }
+ } else {
+ updateMaskBuilder_.mergeFrom(value);
+ }
+ if (updateMask_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Field mask is used to specify the fields to be overwritten in the
+ * Boundary resource by the update.
+ * The fields specified in the update_mask are relative to the resource, not
+ * the full request. A field will be overwritten if it is in the mask. If the
+ * user does not provide a mask then all fields will be overwritten.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearUpdateMask() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ updateMask_ = null;
+ if (updateMaskBuilder_ != null) {
+ updateMaskBuilder_.dispose();
+ updateMaskBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Field mask is used to specify the fields to be overwritten in the
+ * Boundary resource by the update.
+ * The fields specified in the update_mask are relative to the resource, not
+ * the full request. A field will be overwritten if it is in the mask. If the
+ * user does not provide a mask then all fields will be overwritten.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return internalGetUpdateMaskFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Field mask is used to specify the fields to be overwritten in the
+ * Boundary resource by the update.
+ * The fields specified in the update_mask are relative to the resource, not
+ * the full request. A field will be overwritten if it is in the mask. If the
+ * user does not provide a mask then all fields will be overwritten.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
+ if (updateMaskBuilder_ != null) {
+ return updateMaskBuilder_.getMessageOrBuilder();
+ } else {
+ return updateMask_ == null
+ ? com.google.protobuf.FieldMask.getDefaultInstance()
+ : updateMask_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Field mask is used to specify the fields to be overwritten in the
+ * Boundary resource by the update.
+ * The fields specified in the update_mask are relative to the resource, not
+ * the full request. A field will be overwritten if it is in the mask. If the
+ * user does not provide a mask then all fields will be overwritten.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.FieldMask,
+ com.google.protobuf.FieldMask.Builder,
+ com.google.protobuf.FieldMaskOrBuilder>
+ internalGetUpdateMaskFieldBuilder() {
+ if (updateMaskBuilder_ == null) {
+ updateMaskBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.FieldMask,
+ com.google.protobuf.FieldMask.Builder,
+ com.google.protobuf.FieldMaskOrBuilder>(
+ getUpdateMask(), getParentForChildren(), isClean());
+ updateMask_ = null;
+ }
+ return updateMaskBuilder_;
+ }
+
+ private com.google.cloud.apphub.v1.Boundary boundary_;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.Boundary,
+ com.google.cloud.apphub.v1.Boundary.Builder,
+ com.google.cloud.apphub.v1.BoundaryOrBuilder>
+ boundaryBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Required. The boundary to update.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary boundary = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the boundary field is set.
+ */
+ public boolean hasBoundary() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The boundary to update.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary boundary = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The boundary.
+ */
+ public com.google.cloud.apphub.v1.Boundary getBoundary() {
+ if (boundaryBuilder_ == null) {
+ return boundary_ == null
+ ? com.google.cloud.apphub.v1.Boundary.getDefaultInstance()
+ : boundary_;
+ } else {
+ return boundaryBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The boundary to update.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary boundary = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setBoundary(com.google.cloud.apphub.v1.Boundary value) {
+ if (boundaryBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ boundary_ = value;
+ } else {
+ boundaryBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The boundary to update.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary boundary = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setBoundary(com.google.cloud.apphub.v1.Boundary.Builder builderForValue) {
+ if (boundaryBuilder_ == null) {
+ boundary_ = builderForValue.build();
+ } else {
+ boundaryBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The boundary to update.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary boundary = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder mergeBoundary(com.google.cloud.apphub.v1.Boundary value) {
+ if (boundaryBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)
+ && boundary_ != null
+ && boundary_ != com.google.cloud.apphub.v1.Boundary.getDefaultInstance()) {
+ getBoundaryBuilder().mergeFrom(value);
+ } else {
+ boundary_ = value;
+ }
+ } else {
+ boundaryBuilder_.mergeFrom(value);
+ }
+ if (boundary_ != null) {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The boundary to update.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary boundary = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearBoundary() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ boundary_ = null;
+ if (boundaryBuilder_ != null) {
+ boundaryBuilder_.dispose();
+ boundaryBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The boundary to update.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary boundary = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.apphub.v1.Boundary.Builder getBoundaryBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return internalGetBoundaryFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The boundary to update.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary boundary = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.apphub.v1.BoundaryOrBuilder getBoundaryOrBuilder() {
+ if (boundaryBuilder_ != null) {
+ return boundaryBuilder_.getMessageOrBuilder();
+ } else {
+ return boundary_ == null
+ ? com.google.cloud.apphub.v1.Boundary.getDefaultInstance()
+ : boundary_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The boundary to update.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary boundary = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.Boundary,
+ com.google.cloud.apphub.v1.Boundary.Builder,
+ com.google.cloud.apphub.v1.BoundaryOrBuilder>
+ internalGetBoundaryFieldBuilder() {
+ if (boundaryBuilder_ == null) {
+ boundaryBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.Boundary,
+ com.google.cloud.apphub.v1.Boundary.Builder,
+ com.google.cloud.apphub.v1.BoundaryOrBuilder>(
+ getBoundary(), getParentForChildren(), isClean());
+ boundary_ = null;
+ }
+ return boundaryBuilder_;
+ }
+
+ private java.lang.Object requestId_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ *
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
+ *
+ * @return The requestId.
+ */
+ public java.lang.String getRequestId() {
+ java.lang.Object ref = requestId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ requestId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ *
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
+ *
+ * @return The bytes for requestId.
+ */
+ public com.google.protobuf.ByteString getRequestIdBytes() {
+ java.lang.Object ref = requestId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ requestId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ *
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
+ *
+ * @param value The requestId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRequestId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ requestId_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ *
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRequestId() {
+ requestId_ = getDefaultInstance().getRequestId();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ *
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
+ *
+ * @param value The bytes for requestId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ requestId_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.apphub.v1.UpdateBoundaryRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.apphub.v1.UpdateBoundaryRequest)
+ private static final com.google.cloud.apphub.v1.UpdateBoundaryRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.apphub.v1.UpdateBoundaryRequest();
+ }
+
+ public static com.google.cloud.apphub.v1.UpdateBoundaryRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public UpdateBoundaryRequest 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.apphub.v1.UpdateBoundaryRequest getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateBoundaryRequestOrBuilder.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateBoundaryRequestOrBuilder.java
new file mode 100644
index 000000000000..7cd0f494bc6a
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateBoundaryRequestOrBuilder.java
@@ -0,0 +1,174 @@
+/*
+ * 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!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/cloud/apphub/v1/apphub_service.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.cloud.apphub.v1;
+
+@com.google.protobuf.Generated
+public interface UpdateBoundaryRequestOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.apphub.v1.UpdateBoundaryRequest)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Optional. Field mask is used to specify the fields to be overwritten in the
+ * Boundary resource by the update.
+ * The fields specified in the update_mask are relative to the resource, not
+ * the full request. A field will be overwritten if it is in the mask. If the
+ * user does not provide a mask then all fields will be overwritten.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the updateMask field is set.
+ */
+ boolean hasUpdateMask();
+
+ /**
+ *
+ *
+ *
+ * Optional. Field mask is used to specify the fields to be overwritten in the
+ * Boundary resource by the update.
+ * The fields specified in the update_mask are relative to the resource, not
+ * the full request. A field will be overwritten if it is in the mask. If the
+ * user does not provide a mask then all fields will be overwritten.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The updateMask.
+ */
+ com.google.protobuf.FieldMask getUpdateMask();
+
+ /**
+ *
+ *
+ *
+ * Optional. Field mask is used to specify the fields to be overwritten in the
+ * Boundary resource by the update.
+ * The fields specified in the update_mask are relative to the resource, not
+ * the full request. A field will be overwritten if it is in the mask. If the
+ * user does not provide a mask then all fields will be overwritten.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Required. The boundary to update.
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary boundary = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the boundary field is set.
+ */
+ boolean hasBoundary();
+
+ /**
+ *
+ *
+ *
+ * Required. The boundary to update.
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary boundary = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The boundary.
+ */
+ com.google.cloud.apphub.v1.Boundary getBoundary();
+
+ /**
+ *
+ *
+ *
+ * Required. The boundary to update.
+ *
+ *
+ * .google.cloud.apphub.v1.Boundary boundary = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.apphub.v1.BoundaryOrBuilder getBoundaryOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ *
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
+ *
+ * @return The requestId.
+ */
+ java.lang.String getRequestId();
+
+ /**
+ *
+ *
+ *
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ *
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
+ *
+ * @return The bytes for requestId.
+ */
+ com.google.protobuf.ByteString getRequestIdBytes();
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateServiceRequest.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateServiceRequest.java
index ec341cafc7d9..57402ef2fa6e 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateServiceRequest.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateServiceRequest.java
@@ -78,7 +78,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Service resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -89,7 +89,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the updateMask field is set.
@@ -103,7 +103,7 @@ public boolean hasUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Service resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -114,7 +114,7 @@ public boolean hasUpdateMask() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The updateMask.
@@ -128,7 +128,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Service resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -139,7 +139,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
@java.lang.Override
@@ -223,7 +223,9 @@ public com.google.cloud.apphub.v1.ServiceOrBuilder getServiceOrBuilder() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -259,7 +261,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -674,7 +678,7 @@ public Builder mergeFrom(
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Service resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -685,7 +689,7 @@ public Builder mergeFrom(
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the updateMask field is set.
@@ -698,7 +702,7 @@ public boolean hasUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Service resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -709,7 +713,7 @@ public boolean hasUpdateMask() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The updateMask.
@@ -728,7 +732,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Service resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -739,7 +743,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
@@ -760,7 +764,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Service resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -771,7 +775,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
@@ -789,7 +793,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Service resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -800,7 +804,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
@@ -826,7 +830,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Service resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -837,7 +841,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder clearUpdateMask() {
@@ -855,7 +859,7 @@ public Builder clearUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Service resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -866,7 +870,7 @@ public Builder clearUpdateMask() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
@@ -879,7 +883,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Service resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -890,7 +894,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
@@ -907,7 +911,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Service resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -918,7 +922,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
private com.google.protobuf.SingleFieldBuilder<
@@ -1162,7 +1166,9 @@ public com.google.cloud.apphub.v1.ServiceOrBuilder getServiceOrBuilder() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -1197,7 +1203,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -1232,7 +1240,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The requestId to set.
* @return This builder for chaining.
@@ -1266,7 +1276,9 @@ public Builder setRequestId(java.lang.String value) {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return This builder for chaining.
*/
@@ -1296,7 +1308,9 @@ public Builder clearRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The bytes for requestId to set.
* @return This builder for chaining.
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateServiceRequestOrBuilder.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateServiceRequestOrBuilder.java
index 02334789ba3b..6cf237ceeccf 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateServiceRequestOrBuilder.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateServiceRequestOrBuilder.java
@@ -30,7 +30,7 @@ public interface UpdateServiceRequestOrBuilder
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Service resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -41,7 +41,7 @@ public interface UpdateServiceRequestOrBuilder
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the updateMask field is set.
@@ -52,7 +52,7 @@ public interface UpdateServiceRequestOrBuilder
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Service resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -63,7 +63,7 @@ public interface UpdateServiceRequestOrBuilder
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The updateMask.
@@ -74,7 +74,7 @@ public interface UpdateServiceRequestOrBuilder
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Service resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -85,7 +85,7 @@ public interface UpdateServiceRequestOrBuilder
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
@@ -149,7 +149,9 @@ public interface UpdateServiceRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -174,7 +176,9 @@ public interface UpdateServiceRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateWorkloadRequest.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateWorkloadRequest.java
index d2a2498f499f..9ee392b9559a 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateWorkloadRequest.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateWorkloadRequest.java
@@ -78,7 +78,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Workload resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -89,7 +89,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the updateMask field is set.
@@ -103,7 +103,7 @@ public boolean hasUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Workload resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -114,7 +114,7 @@ public boolean hasUpdateMask() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The updateMask.
@@ -128,7 +128,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Workload resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -139,7 +139,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
@java.lang.Override
@@ -223,7 +223,9 @@ public com.google.cloud.apphub.v1.WorkloadOrBuilder getWorkloadOrBuilder() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -259,7 +261,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -675,7 +679,7 @@ public Builder mergeFrom(
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Workload resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -686,7 +690,7 @@ public Builder mergeFrom(
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the updateMask field is set.
@@ -699,7 +703,7 @@ public boolean hasUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Workload resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -710,7 +714,7 @@ public boolean hasUpdateMask() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The updateMask.
@@ -729,7 +733,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Workload resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -740,7 +744,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
@@ -761,7 +765,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Workload resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -772,7 +776,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
@@ -790,7 +794,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Workload resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -801,7 +805,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
@@ -827,7 +831,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Workload resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -838,7 +842,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder clearUpdateMask() {
@@ -856,7 +860,7 @@ public Builder clearUpdateMask() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Workload resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -867,7 +871,7 @@ public Builder clearUpdateMask() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
@@ -880,7 +884,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Workload resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -891,7 +895,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
@@ -908,7 +912,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Workload resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -919,7 +923,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
private com.google.protobuf.SingleFieldBuilder<
@@ -1172,7 +1176,9 @@ public com.google.cloud.apphub.v1.WorkloadOrBuilder getWorkloadOrBuilder() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -1207,7 +1213,9 @@ public java.lang.String getRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
@@ -1242,7 +1250,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The requestId to set.
* @return This builder for chaining.
@@ -1276,7 +1286,9 @@ public Builder setRequestId(java.lang.String value) {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return This builder for chaining.
*/
@@ -1306,7 +1318,9 @@ public Builder clearRequestId() {
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @param value The bytes for requestId to set.
* @return This builder for chaining.
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateWorkloadRequestOrBuilder.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateWorkloadRequestOrBuilder.java
index fce4791df7ac..c869246fa363 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateWorkloadRequestOrBuilder.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/UpdateWorkloadRequestOrBuilder.java
@@ -30,7 +30,7 @@ public interface UpdateWorkloadRequestOrBuilder
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Workload resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -41,7 +41,7 @@ public interface UpdateWorkloadRequestOrBuilder
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the updateMask field is set.
@@ -52,7 +52,7 @@ public interface UpdateWorkloadRequestOrBuilder
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Workload resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -63,7 +63,7 @@ public interface UpdateWorkloadRequestOrBuilder
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The updateMask.
@@ -74,7 +74,7 @@ public interface UpdateWorkloadRequestOrBuilder
*
*
*
- * Required. Field mask is used to specify the fields to be overwritten in the
+ * Optional. Field mask is used to specify the fields to be overwritten in the
* Workload resource by the update.
* The fields specified in the update_mask are relative to the resource, not
* the full request.
@@ -85,7 +85,7 @@ public interface UpdateWorkloadRequestOrBuilder
* previously had.
*
*
- * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
+ * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
@@ -149,7 +149,9 @@ public interface UpdateWorkloadRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The requestId.
*/
@@ -174,7 +176,9 @@ public interface UpdateWorkloadRequestOrBuilder
* not supported (00000000-0000-0000-0000-000000000000).
*
*
- * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
+ *
*
* @return The bytes for requestId.
*/
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/WorkloadProperties.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/WorkloadProperties.java
index 1eed8e1aa86a..98b4194fcd98 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/WorkloadProperties.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/WorkloadProperties.java
@@ -62,6 +62,18 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
.internal_static_google_cloud_apphub_v1_WorkloadProperties_descriptor;
}
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 5:
+ return internalGetExtendedMetadata();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
@@ -72,6 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloud.apphub.v1.WorkloadProperties.Builder.class);
}
+ private int bitField0_;
public static final int GCP_PROJECT_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
@@ -237,6 +250,260 @@ public com.google.protobuf.ByteString getZoneBytes() {
}
}
+ public static final int FUNCTIONAL_TYPE_FIELD_NUMBER = 4;
+ private com.google.cloud.apphub.v1.FunctionalType functionalType_;
+
+ /**
+ *
+ *
+ *
+ * Output only. The type of the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the functionalType field is set.
+ */
+ @java.lang.Override
+ public boolean hasFunctionalType() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The type of the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The functionalType.
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.FunctionalType getFunctionalType() {
+ return functionalType_ == null
+ ? com.google.cloud.apphub.v1.FunctionalType.getDefaultInstance()
+ : functionalType_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The type of the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.FunctionalTypeOrBuilder getFunctionalTypeOrBuilder() {
+ return functionalType_ == null
+ ? com.google.cloud.apphub.v1.FunctionalType.getDefaultInstance()
+ : functionalType_;
+ }
+
+ public static final int EXTENDED_METADATA_FIELD_NUMBER = 5;
+
+ private static final class ExtendedMetadataDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.String, com.google.cloud.apphub.v1.ExtendedMetadata>
+ defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ com.google.cloud.apphub.v1.WorkloadProto
+ .internal_static_google_cloud_apphub_v1_WorkloadProperties_ExtendedMetadataEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "",
+ com.google.protobuf.WireFormat.FieldType.MESSAGE,
+ com.google.cloud.apphub.v1.ExtendedMetadata.getDefaultInstance());
+ }
+
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.String, com.google.cloud.apphub.v1.ExtendedMetadata>
+ extendedMetadata_;
+
+ private com.google.protobuf.MapField<
+ java.lang.String, com.google.cloud.apphub.v1.ExtendedMetadata>
+ internalGetExtendedMetadata() {
+ if (extendedMetadata_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ExtendedMetadataDefaultEntryHolder.defaultEntry);
+ }
+ return extendedMetadata_;
+ }
+
+ public int getExtendedMetadataCount() {
+ return internalGetExtendedMetadata().getMap().size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public boolean containsExtendedMetadata(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetExtendedMetadata().getMap().containsKey(key);
+ }
+
+ /** Use {@link #getExtendedMetadataMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map
+ getExtendedMetadata() {
+ return getExtendedMetadataMap();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.Map
+ getExtendedMetadataMap() {
+ return internalGetExtendedMetadata().getMap();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ com.google.cloud.apphub.v1.ExtendedMetadata getExtendedMetadataOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.apphub.v1.ExtendedMetadata defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map map =
+ internalGetExtendedMetadata().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ExtendedMetadata getExtendedMetadataOrThrow(
+ java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map map =
+ internalGetExtendedMetadata().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ public static final int IDENTITY_FIELD_NUMBER = 6;
+ private com.google.cloud.apphub.v1.Identity identity_;
+
+ /**
+ *
+ *
+ *
+ * Output only. The identity associated with the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Identity identity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the identity field is set.
+ */
+ @java.lang.Override
+ public boolean hasIdentity() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The identity associated with the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Identity identity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The identity.
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.Identity getIdentity() {
+ return identity_ == null ? com.google.cloud.apphub.v1.Identity.getDefaultInstance() : identity_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The identity associated with the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Identity identity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.IdentityOrBuilder getIdentityOrBuilder() {
+ return identity_ == null ? com.google.cloud.apphub.v1.Identity.getDefaultInstance() : identity_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -260,6 +527,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(zone_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 3, zone_);
}
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(4, getFunctionalType());
+ }
+ com.google.protobuf.GeneratedMessage.serializeStringMapTo(
+ output, internalGetExtendedMetadata(), ExtendedMetadataDefaultEntryHolder.defaultEntry, 5);
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(6, getIdentity());
+ }
getUnknownFields().writeTo(output);
}
@@ -278,6 +553,23 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(zone_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(3, zone_);
}
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getFunctionalType());
+ }
+ for (java.util.Map.Entry entry :
+ internalGetExtendedMetadata().getMap().entrySet()) {
+ com.google.protobuf.MapEntry
+ extendedMetadata__ =
+ ExtendedMetadataDefaultEntryHolder.defaultEntry
+ .newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, extendedMetadata__);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getIdentity());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -297,6 +589,15 @@ public boolean equals(final java.lang.Object obj) {
if (!getGcpProject().equals(other.getGcpProject())) return false;
if (!getLocation().equals(other.getLocation())) return false;
if (!getZone().equals(other.getZone())) return false;
+ if (hasFunctionalType() != other.hasFunctionalType()) return false;
+ if (hasFunctionalType()) {
+ if (!getFunctionalType().equals(other.getFunctionalType())) return false;
+ }
+ if (!internalGetExtendedMetadata().equals(other.internalGetExtendedMetadata())) return false;
+ if (hasIdentity() != other.hasIdentity()) return false;
+ if (hasIdentity()) {
+ if (!getIdentity().equals(other.getIdentity())) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -314,6 +615,18 @@ public int hashCode() {
hash = (53 * hash) + getLocation().hashCode();
hash = (37 * hash) + ZONE_FIELD_NUMBER;
hash = (53 * hash) + getZone().hashCode();
+ if (hasFunctionalType()) {
+ hash = (37 * hash) + FUNCTIONAL_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getFunctionalType().hashCode();
+ }
+ if (!internalGetExtendedMetadata().getMap().isEmpty()) {
+ hash = (37 * hash) + EXTENDED_METADATA_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetExtendedMetadata().hashCode();
+ }
+ if (hasIdentity()) {
+ hash = (37 * hash) + IDENTITY_FIELD_NUMBER;
+ hash = (53 * hash) + getIdentity().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -433,6 +746,28 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
.internal_static_google_cloud_apphub_v1_WorkloadProperties_descriptor;
}
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 5:
+ return internalGetExtendedMetadata();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 5:
+ return internalGetMutableExtendedMetadata();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
@@ -444,10 +779,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
// Construct using com.google.cloud.apphub.v1.WorkloadProperties.newBuilder()
- private Builder() {}
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ internalGetFunctionalTypeFieldBuilder();
+ internalGetIdentityFieldBuilder();
+ }
}
@java.lang.Override
@@ -457,6 +802,17 @@ public Builder clear() {
gcpProject_ = "";
location_ = "";
zone_ = "";
+ functionalType_ = null;
+ if (functionalTypeBuilder_ != null) {
+ functionalTypeBuilder_.dispose();
+ functionalTypeBuilder_ = null;
+ }
+ internalGetMutableExtendedMetadata().clear();
+ identity_ = null;
+ if (identityBuilder_ != null) {
+ identityBuilder_.dispose();
+ identityBuilder_ = null;
+ }
return this;
}
@@ -502,6 +858,21 @@ private void buildPartial0(com.google.cloud.apphub.v1.WorkloadProperties result)
if (((from_bitField0_ & 0x00000004) != 0)) {
result.zone_ = zone_;
}
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.functionalType_ =
+ functionalTypeBuilder_ == null ? functionalType_ : functionalTypeBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.extendedMetadata_ =
+ internalGetExtendedMetadata().build(ExtendedMetadataDefaultEntryHolder.defaultEntry);
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.identity_ = identityBuilder_ == null ? identity_ : identityBuilder_.build();
+ to_bitField0_ |= 0x00000002;
+ }
+ result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
@@ -531,6 +902,14 @@ public Builder mergeFrom(com.google.cloud.apphub.v1.WorkloadProperties other) {
bitField0_ |= 0x00000004;
onChanged();
}
+ if (other.hasFunctionalType()) {
+ mergeFunctionalType(other.getFunctionalType());
+ }
+ internalGetMutableExtendedMetadata().mergeFrom(other.internalGetExtendedMetadata());
+ bitField0_ |= 0x00000010;
+ if (other.hasIdentity()) {
+ mergeIdentity(other.getIdentity());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -575,6 +954,34 @@ public Builder mergeFrom(
bitField0_ |= 0x00000004;
break;
} // case 26
+ case 34:
+ {
+ input.readMessage(
+ internalGetFunctionalTypeFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 34
+ case 42:
+ {
+ com.google.protobuf.MapEntry<
+ java.lang.String, com.google.cloud.apphub.v1.ExtendedMetadata>
+ extendedMetadata__ =
+ input.readMessage(
+ ExtendedMetadataDefaultEntryHolder.defaultEntry.getParserForType(),
+ extensionRegistry);
+ internalGetMutableExtendedMetadata()
+ .ensureBuilderMap()
+ .put(extendedMetadata__.getKey(), extendedMetadata__.getValue());
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 42
+ case 50:
+ {
+ input.readMessage(
+ internalGetIdentityFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000020;
+ break;
+ } // case 50
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -942,6 +1349,719 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private com.google.cloud.apphub.v1.FunctionalType functionalType_;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.FunctionalType,
+ com.google.cloud.apphub.v1.FunctionalType.Builder,
+ com.google.cloud.apphub.v1.FunctionalTypeOrBuilder>
+ functionalTypeBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Output only. The type of the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the functionalType field is set.
+ */
+ public boolean hasFunctionalType() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The type of the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The functionalType.
+ */
+ public com.google.cloud.apphub.v1.FunctionalType getFunctionalType() {
+ if (functionalTypeBuilder_ == null) {
+ return functionalType_ == null
+ ? com.google.cloud.apphub.v1.FunctionalType.getDefaultInstance()
+ : functionalType_;
+ } else {
+ return functionalTypeBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The type of the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setFunctionalType(com.google.cloud.apphub.v1.FunctionalType value) {
+ if (functionalTypeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ functionalType_ = value;
+ } else {
+ functionalTypeBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The type of the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setFunctionalType(
+ com.google.cloud.apphub.v1.FunctionalType.Builder builderForValue) {
+ if (functionalTypeBuilder_ == null) {
+ functionalType_ = builderForValue.build();
+ } else {
+ functionalTypeBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The type of the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeFunctionalType(com.google.cloud.apphub.v1.FunctionalType value) {
+ if (functionalTypeBuilder_ == null) {
+ if (((bitField0_ & 0x00000008) != 0)
+ && functionalType_ != null
+ && functionalType_ != com.google.cloud.apphub.v1.FunctionalType.getDefaultInstance()) {
+ getFunctionalTypeBuilder().mergeFrom(value);
+ } else {
+ functionalType_ = value;
+ }
+ } else {
+ functionalTypeBuilder_.mergeFrom(value);
+ }
+ if (functionalType_ != null) {
+ bitField0_ |= 0x00000008;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The type of the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearFunctionalType() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ functionalType_ = null;
+ if (functionalTypeBuilder_ != null) {
+ functionalTypeBuilder_.dispose();
+ functionalTypeBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The type of the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.apphub.v1.FunctionalType.Builder getFunctionalTypeBuilder() {
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return internalGetFunctionalTypeFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The type of the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.apphub.v1.FunctionalTypeOrBuilder getFunctionalTypeOrBuilder() {
+ if (functionalTypeBuilder_ != null) {
+ return functionalTypeBuilder_.getMessageOrBuilder();
+ } else {
+ return functionalType_ == null
+ ? com.google.cloud.apphub.v1.FunctionalType.getDefaultInstance()
+ : functionalType_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The type of the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.FunctionalType,
+ com.google.cloud.apphub.v1.FunctionalType.Builder,
+ com.google.cloud.apphub.v1.FunctionalTypeOrBuilder>
+ internalGetFunctionalTypeFieldBuilder() {
+ if (functionalTypeBuilder_ == null) {
+ functionalTypeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.FunctionalType,
+ com.google.cloud.apphub.v1.FunctionalType.Builder,
+ com.google.cloud.apphub.v1.FunctionalTypeOrBuilder>(
+ getFunctionalType(), getParentForChildren(), isClean());
+ functionalType_ = null;
+ }
+ return functionalTypeBuilder_;
+ }
+
+ private static final class ExtendedMetadataConverter
+ implements com.google.protobuf.MapFieldBuilder.Converter<
+ java.lang.String,
+ com.google.cloud.apphub.v1.ExtendedMetadataOrBuilder,
+ com.google.cloud.apphub.v1.ExtendedMetadata> {
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ExtendedMetadata build(
+ com.google.cloud.apphub.v1.ExtendedMetadataOrBuilder val) {
+ if (val instanceof com.google.cloud.apphub.v1.ExtendedMetadata) {
+ return (com.google.cloud.apphub.v1.ExtendedMetadata) val;
+ }
+ return ((com.google.cloud.apphub.v1.ExtendedMetadata.Builder) val).build();
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.MapEntry<
+ java.lang.String, com.google.cloud.apphub.v1.ExtendedMetadata>
+ defaultEntry() {
+ return ExtendedMetadataDefaultEntryHolder.defaultEntry;
+ }
+ }
+ ;
+
+ private static final ExtendedMetadataConverter extendedMetadataConverter =
+ new ExtendedMetadataConverter();
+
+ private com.google.protobuf.MapFieldBuilder<
+ java.lang.String,
+ com.google.cloud.apphub.v1.ExtendedMetadataOrBuilder,
+ com.google.cloud.apphub.v1.ExtendedMetadata,
+ com.google.cloud.apphub.v1.ExtendedMetadata.Builder>
+ extendedMetadata_;
+
+ private com.google.protobuf.MapFieldBuilder<
+ java.lang.String,
+ com.google.cloud.apphub.v1.ExtendedMetadataOrBuilder,
+ com.google.cloud.apphub.v1.ExtendedMetadata,
+ com.google.cloud.apphub.v1.ExtendedMetadata.Builder>
+ internalGetExtendedMetadata() {
+ if (extendedMetadata_ == null) {
+ return new com.google.protobuf.MapFieldBuilder<>(extendedMetadataConverter);
+ }
+ return extendedMetadata_;
+ }
+
+ private com.google.protobuf.MapFieldBuilder<
+ java.lang.String,
+ com.google.cloud.apphub.v1.ExtendedMetadataOrBuilder,
+ com.google.cloud.apphub.v1.ExtendedMetadata,
+ com.google.cloud.apphub.v1.ExtendedMetadata.Builder>
+ internalGetMutableExtendedMetadata() {
+ if (extendedMetadata_ == null) {
+ extendedMetadata_ = new com.google.protobuf.MapFieldBuilder<>(extendedMetadataConverter);
+ }
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return extendedMetadata_;
+ }
+
+ public int getExtendedMetadataCount() {
+ return internalGetExtendedMetadata().ensureBuilderMap().size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public boolean containsExtendedMetadata(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetExtendedMetadata().ensureBuilderMap().containsKey(key);
+ }
+
+ /** Use {@link #getExtendedMetadataMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map
+ getExtendedMetadata() {
+ return getExtendedMetadataMap();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.Map
+ getExtendedMetadataMap() {
+ return internalGetExtendedMetadata().getImmutableMap();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ com.google.cloud.apphub.v1.ExtendedMetadata getExtendedMetadataOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.apphub.v1.ExtendedMetadata defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map map =
+ internalGetMutableExtendedMetadata().ensureBuilderMap();
+ return map.containsKey(key) ? extendedMetadataConverter.build(map.get(key)) : defaultValue;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.apphub.v1.ExtendedMetadata getExtendedMetadataOrThrow(
+ java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map map =
+ internalGetMutableExtendedMetadata().ensureBuilderMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return extendedMetadataConverter.build(map.get(key));
+ }
+
+ public Builder clearExtendedMetadata() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ internalGetMutableExtendedMetadata().clear();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder removeExtendedMetadata(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ internalGetMutableExtendedMetadata().ensureBuilderMap().remove(key);
+ return this;
+ }
+
+ /** Use alternate mutation accessors instead. */
+ @java.lang.Deprecated
+ public java.util.Map
+ getMutableExtendedMetadata() {
+ bitField0_ |= 0x00000010;
+ return internalGetMutableExtendedMetadata().ensureMessageMap();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder putExtendedMetadata(
+ java.lang.String key, com.google.cloud.apphub.v1.ExtendedMetadata value) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ if (value == null) {
+ throw new NullPointerException("map value");
+ }
+ internalGetMutableExtendedMetadata().ensureBuilderMap().put(key, value);
+ bitField0_ |= 0x00000010;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder putAllExtendedMetadata(
+ java.util.Map values) {
+ for (java.util.Map.Entry e :
+ values.entrySet()) {
+ if (e.getKey() == null || e.getValue() == null) {
+ throw new NullPointerException();
+ }
+ }
+ internalGetMutableExtendedMetadata().ensureBuilderMap().putAll(values);
+ bitField0_ |= 0x00000010;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.apphub.v1.ExtendedMetadata.Builder putExtendedMetadataBuilderIfAbsent(
+ java.lang.String key) {
+ java.util.Map
+ builderMap = internalGetMutableExtendedMetadata().ensureBuilderMap();
+ com.google.cloud.apphub.v1.ExtendedMetadataOrBuilder entry = builderMap.get(key);
+ if (entry == null) {
+ entry = com.google.cloud.apphub.v1.ExtendedMetadata.newBuilder();
+ builderMap.put(key, entry);
+ }
+ if (entry instanceof com.google.cloud.apphub.v1.ExtendedMetadata) {
+ entry = ((com.google.cloud.apphub.v1.ExtendedMetadata) entry).toBuilder();
+ builderMap.put(key, entry);
+ }
+ return (com.google.cloud.apphub.v1.ExtendedMetadata.Builder) entry;
+ }
+
+ private com.google.cloud.apphub.v1.Identity identity_;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.Identity,
+ com.google.cloud.apphub.v1.Identity.Builder,
+ com.google.cloud.apphub.v1.IdentityOrBuilder>
+ identityBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Output only. The identity associated with the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Identity identity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the identity field is set.
+ */
+ public boolean hasIdentity() {
+ return ((bitField0_ & 0x00000020) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The identity associated with the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Identity identity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The identity.
+ */
+ public com.google.cloud.apphub.v1.Identity getIdentity() {
+ if (identityBuilder_ == null) {
+ return identity_ == null
+ ? com.google.cloud.apphub.v1.Identity.getDefaultInstance()
+ : identity_;
+ } else {
+ return identityBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The identity associated with the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Identity identity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setIdentity(com.google.cloud.apphub.v1.Identity value) {
+ if (identityBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ identity_ = value;
+ } else {
+ identityBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The identity associated with the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Identity identity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setIdentity(com.google.cloud.apphub.v1.Identity.Builder builderForValue) {
+ if (identityBuilder_ == null) {
+ identity_ = builderForValue.build();
+ } else {
+ identityBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The identity associated with the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Identity identity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeIdentity(com.google.cloud.apphub.v1.Identity value) {
+ if (identityBuilder_ == null) {
+ if (((bitField0_ & 0x00000020) != 0)
+ && identity_ != null
+ && identity_ != com.google.cloud.apphub.v1.Identity.getDefaultInstance()) {
+ getIdentityBuilder().mergeFrom(value);
+ } else {
+ identity_ = value;
+ }
+ } else {
+ identityBuilder_.mergeFrom(value);
+ }
+ if (identity_ != null) {
+ bitField0_ |= 0x00000020;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The identity associated with the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Identity identity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearIdentity() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ identity_ = null;
+ if (identityBuilder_ != null) {
+ identityBuilder_.dispose();
+ identityBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The identity associated with the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Identity identity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.apphub.v1.Identity.Builder getIdentityBuilder() {
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return internalGetIdentityFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The identity associated with the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Identity identity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.apphub.v1.IdentityOrBuilder getIdentityOrBuilder() {
+ if (identityBuilder_ != null) {
+ return identityBuilder_.getMessageOrBuilder();
+ } else {
+ return identity_ == null
+ ? com.google.cloud.apphub.v1.Identity.getDefaultInstance()
+ : identity_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. The identity associated with the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Identity identity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.Identity,
+ com.google.cloud.apphub.v1.Identity.Builder,
+ com.google.cloud.apphub.v1.IdentityOrBuilder>
+ internalGetIdentityFieldBuilder() {
+ if (identityBuilder_ == null) {
+ identityBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.cloud.apphub.v1.Identity,
+ com.google.cloud.apphub.v1.Identity.Builder,
+ com.google.cloud.apphub.v1.IdentityOrBuilder>(
+ getIdentity(), getParentForChildren(), isClean());
+ identity_ = null;
+ }
+ return identityBuilder_;
+ }
+
// @@protoc_insertion_point(builder_scope:google.cloud.apphub.v1.WorkloadProperties)
}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/WorkloadPropertiesOrBuilder.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/WorkloadPropertiesOrBuilder.java
index 1213015405d7..a04e5e79b0cd 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/WorkloadPropertiesOrBuilder.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/WorkloadPropertiesOrBuilder.java
@@ -109,4 +109,180 @@ public interface WorkloadPropertiesOrBuilder
* @return The bytes for zone.
*/
com.google.protobuf.ByteString getZoneBytes();
+
+ /**
+ *
+ *
+ *
+ * Output only. The type of the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the functionalType field is set.
+ */
+ boolean hasFunctionalType();
+
+ /**
+ *
+ *
+ *
+ * Output only. The type of the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The functionalType.
+ */
+ com.google.cloud.apphub.v1.FunctionalType getFunctionalType();
+
+ /**
+ *
+ *
+ *
+ * Output only. The type of the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.FunctionalType functional_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.apphub.v1.FunctionalTypeOrBuilder getFunctionalTypeOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ int getExtendedMetadataCount();
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ boolean containsExtendedMetadata(java.lang.String key);
+
+ /** Use {@link #getExtendedMetadataMap()} instead. */
+ @java.lang.Deprecated
+ java.util.Map
+ getExtendedMetadata();
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ java.util.Map
+ getExtendedMetadataMap();
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ /* nullable */
+ com.google.cloud.apphub.v1.ExtendedMetadata getExtendedMetadataOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.apphub.v1.ExtendedMetadata defaultValue);
+
+ /**
+ *
+ *
+ *
+ * Output only. Additional metadata specific to the resource type.
+ * The key is a string that identifies the type of metadata and the value is
+ * the metadata contents specific to that type.
+ * Key format: `apphub.googleapis.com/{metadataType}`
+ *
+ *
+ *
+ * map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.apphub.v1.ExtendedMetadata getExtendedMetadataOrThrow(java.lang.String key);
+
+ /**
+ *
+ *
+ *
+ * Output only. The identity associated with the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Identity identity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the identity field is set.
+ */
+ boolean hasIdentity();
+
+ /**
+ *
+ *
+ *
+ * Output only. The identity associated with the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Identity identity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The identity.
+ */
+ com.google.cloud.apphub.v1.Identity getIdentity();
+
+ /**
+ *
+ *
+ *
+ * Output only. The identity associated with the workload.
+ *
+ *
+ *
+ * .google.cloud.apphub.v1.Identity identity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.apphub.v1.IdentityOrBuilder getIdentityOrBuilder();
}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/WorkloadProto.java b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/WorkloadProto.java
index 393d0d929aca..aba7e630536c 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/WorkloadProto.java
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/java/com/google/cloud/apphub/v1/WorkloadProto.java
@@ -52,6 +52,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_apphub_v1_WorkloadProperties_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_cloud_apphub_v1_WorkloadProperties_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_apphub_v1_WorkloadProperties_ExtendedMetadataEntry_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_cloud_apphub_v1_WorkloadProperties_ExtendedMetadataEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_apphub_v1_DiscoveredWorkload_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
@@ -70,7 +74,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\026google.cloud.apphub.v1\032\037google/api/fiel"
+ "d_behavior.proto\032\033google/api/field_info."
+ "proto\032\031google/api/resource.proto\032\'google"
- + "/cloud/apphub/v1/attributes.proto\032\037google/protobuf/timestamp.proto\"\250\006\n"
+ + "/cloud/apphub/v1/attributes.proto\032\'googl"
+ + "e/cloud/apphub/v1/properties.proto\032\037google/protobuf/timestamp.proto\"\250\006\n"
+ "\010Workload\022\021\n"
+ "\004name\030\001 \001(\tB\003\340A\010\022\031\n"
+ "\014display_name\030\002 \001(\tB\003\340A\001\022\030\n"
@@ -93,27 +98,37 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\006ACTIVE\020\002\022\014\n"
+ "\010DELETING\020\003\022\014\n"
+ "\010DETACHED\020\004:\222\001\352A\216\001\n"
- + "\036apphub.googleapis.com/Workload\022Wprojects/{project}/locations/{l"
- + "ocation}/applications/{application}/workloads/{workload}*\tworkloads2\010workload\"%\n"
+ + "\036apphub.googleapis.com/Workload\022Wprojects/{project}/locations/{"
+ + "location}/applications/{application}/workloads/{workload}*"
+ + "\tworkloads2\010workload\"%\n"
+ "\021WorkloadReference\022\020\n"
- + "\003uri\030\001 \001(\tB\003\340A\003\"X\n"
+ + "\003uri\030\001 \001(\tB\003\340A\003\"\234\003\n"
+ "\022WorkloadProperties\022\030\n"
+ "\013gcp_project\030\001 \001(\tB\003\340A\003\022\025\n"
+ "\010location\030\002 \001(\tB\003\340A\003\022\021\n"
- + "\004zone\030\003 \001(\tB\003\340A\003\"\356\002\n"
+ + "\004zone\030\003 \001(\tB\003\340A\003\022D\n"
+ + "\017functional_type\030\004 \001(\0132&.goog"
+ + "le.cloud.apphub.v1.FunctionalTypeB\003\340A\003\022`\n"
+ + "\021extended_metadata\030\005 \003(\0132@.google.cloud"
+ + ".apphub.v1.WorkloadProperties.ExtendedMetadataEntryB\003\340A\003\0227\n"
+ + "\010identity\030\006 \001(\0132 .google.cloud.apphub.v1.IdentityB\003\340A\003\032a\n"
+ + "\025ExtendedMetadataEntry\022\013\n"
+ + "\003key\030\001 \001(\t\0227\n"
+ + "\005value\030\002"
+ + " \001(\0132(.google.cloud.apphub.v1.ExtendedMetadata:\0028\001\"\356\002\n"
+ "\022DiscoveredWorkload\022\021\n"
+ "\004name\030\001 \001(\tB\003\340A\010\022J\n"
- + "\022workload_reference\030\002 \001(\0132).g"
- + "oogle.cloud.apphub.v1.WorkloadReferenceB\003\340A\003\022L\n"
- + "\023workload_properties\030\003 \001(\0132*.goog"
- + "le.cloud.apphub.v1.WorkloadPropertiesB\003\340A\003:\252\001\352A\246\001\n"
- + "(apphub.googleapis.com/DiscoveredWorkload\022Qprojects/{project}/location"
- + "s/{location}/discoveredWorkloads/{discov"
- + "ered_workload}*\023discoveredWorkloads2\022discoveredWorkloadB\257\001\n"
+ + "\022workload_reference\030\002 \001"
+ + "(\0132).google.cloud.apphub.v1.WorkloadReferenceB\003\340A\003\022L\n"
+ + "\023workload_properties\030\003 \001(\0132"
+ + "*.google.cloud.apphub.v1.WorkloadPropertiesB\003\340A\003:\252\001\352A\246\001\n"
+ + "(apphub.googleapis.com/DiscoveredWorkload\022Qprojects/{project}/lo"
+ + "cations/{location}/discoveredWorkloads/{"
+ + "discovered_workload}*\023discoveredWorkloads2\022discoveredWorkloadB\257\001\n"
+ "\032com.google.cloud.apphub.v1B\r"
- + "WorkloadProtoP\001Z2cloud.google.com/go/apphub/apiv1/apphubpb;apphubpb\252\002\026Go"
- + "ogle.Cloud.AppHub.V1\312\002\026Google\\Cloud\\AppH"
- + "ub\\V1\352\002\031Google::Cloud::AppHub::V1b\006proto3"
+ + "WorkloadProtoP\001Z2cloud.google.com/go/apphub/apiv1/apphubpb;apphubp"
+ + "b\252\002\026Google.Cloud.AppHub.V1\312\002\026Google\\Clou"
+ + "d\\AppHub\\V1\352\002\031Google::Cloud::AppHub::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -123,6 +138,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.FieldInfoProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.apphub.v1.AttributesProto.getDescriptor(),
+ com.google.cloud.apphub.v1.PropertiesProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_google_cloud_apphub_v1_Workload_descriptor = getDescriptor().getMessageType(0);
@@ -156,7 +172,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_cloud_apphub_v1_WorkloadProperties_descriptor,
new java.lang.String[] {
- "GcpProject", "Location", "Zone",
+ "GcpProject", "Location", "Zone", "FunctionalType", "ExtendedMetadata", "Identity",
+ });
+ internal_static_google_cloud_apphub_v1_WorkloadProperties_ExtendedMetadataEntry_descriptor =
+ internal_static_google_cloud_apphub_v1_WorkloadProperties_descriptor.getNestedType(0);
+ internal_static_google_cloud_apphub_v1_WorkloadProperties_ExtendedMetadataEntry_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_cloud_apphub_v1_WorkloadProperties_ExtendedMetadataEntry_descriptor,
+ new java.lang.String[] {
+ "Key", "Value",
});
internal_static_google_cloud_apphub_v1_DiscoveredWorkload_descriptor =
getDescriptor().getMessageType(3);
@@ -171,6 +195,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.FieldInfoProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.cloud.apphub.v1.AttributesProto.getDescriptor();
+ com.google.cloud.apphub.v1.PropertiesProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/apphub_service.proto b/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/apphub_service.proto
index d16a7fe4c0cc..b765e7c61140 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/apphub_service.proto
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/apphub_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.
@@ -19,8 +19,11 @@ package google.cloud.apphub.v1;
import "google/api/annotations.proto";
import "google/api/client.proto";
import "google/api/field_behavior.proto";
+import "google/api/field_info.proto";
import "google/api/resource.proto";
import "google/cloud/apphub/v1/application.proto";
+import "google/cloud/apphub/v1/boundary.proto";
+import "google/cloud/apphub/v1/extended_metadata_schema.proto";
import "google/cloud/apphub/v1/service.proto";
import "google/cloud/apphub/v1/service_project_attachment.proto";
import "google/cloud/apphub/v1/workload.proto";
@@ -340,6 +343,46 @@ service AppHub {
metadata_type: "OperationMetadata"
};
}
+
+ // Gets a Boundary.
+ rpc GetBoundary(GetBoundaryRequest) returns (Boundary) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/boundary}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Updates a Boundary.
+ rpc UpdateBoundary(UpdateBoundaryRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ patch: "/v1/{boundary.name=projects/*/locations/*/boundary}"
+ body: "boundary"
+ };
+ option (google.api.method_signature) = "boundary,update_mask";
+ option (google.longrunning.operation_info) = {
+ response_type: "Boundary"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Gets an Extended Metadata Schema.
+ rpc GetExtendedMetadataSchema(GetExtendedMetadataSchemaRequest)
+ returns (ExtendedMetadataSchema) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/extendedMetadataSchemas/**}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists Extended Metadata Schemas available in a host project and location.
+ rpc ListExtendedMetadataSchemas(ListExtendedMetadataSchemasRequest)
+ returns (ListExtendedMetadataSchemasResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*}/extendedMetadataSchemas"
+ };
+ option (google.api.method_signature) = "parent";
+ }
}
// Request for LookupServiceProjectAttachment.
@@ -434,7 +477,10 @@ message CreateServiceProjectAttachmentRequest {
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
- string request_id = 4 [(google.api.field_behavior) = OPTIONAL];
+ string request_id = 4 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
}
// Request for GetServiceProjectAttachment.
@@ -475,7 +521,10 @@ message DeleteServiceProjectAttachmentRequest {
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
- string request_id = 2 [(google.api.field_behavior) = OPTIONAL];
+ string request_id = 2 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
}
// Request for DetachServiceProjectAttachment.
@@ -603,7 +652,10 @@ message CreateServiceRequest {
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
- string request_id = 4 [(google.api.field_behavior) = OPTIONAL];
+ string request_id = 4 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
}
// Request for GetService.
@@ -655,7 +707,7 @@ message LookupDiscoveredServiceResponse {
// Request for UpdateService.
message UpdateServiceRequest {
- // Required. Field mask is used to specify the fields to be overwritten in the
+ // Optional. Field mask is used to specify the fields to be overwritten in the
// Service resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request.
@@ -665,7 +717,7 @@ message UpdateServiceRequest {
// adding the field to the mask. This clears whatever value the field
// previously had.
google.protobuf.FieldMask update_mask = 1
- [(google.api.field_behavior) = REQUIRED];
+ [(google.api.field_behavior) = OPTIONAL];
// Required. The resource being updated.
Service service = 2 [(google.api.field_behavior) = REQUIRED];
@@ -683,7 +735,10 @@ message UpdateServiceRequest {
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
- string request_id = 3 [(google.api.field_behavior) = OPTIONAL];
+ string request_id = 3 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
}
// Request for DeleteService.
@@ -709,7 +764,10 @@ message DeleteServiceRequest {
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
- string request_id = 2 [(google.api.field_behavior) = OPTIONAL];
+ string request_id = 2 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
}
// Request for ListApplications.
@@ -782,7 +840,10 @@ message CreateApplicationRequest {
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
- string request_id = 4 [(google.api.field_behavior) = OPTIONAL];
+ string request_id = 4 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
}
// Request for GetApplication.
@@ -800,7 +861,7 @@ message GetApplicationRequest {
// Request for UpdateApplication.
message UpdateApplicationRequest {
- // Required. Field mask is used to specify the fields to be overwritten in the
+ // Optional. Field mask is used to specify the fields to be overwritten in the
// Application resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request.
@@ -810,7 +871,7 @@ message UpdateApplicationRequest {
// adding the field to the mask. This clears whatever value the field
// previously had.
google.protobuf.FieldMask update_mask = 1
- [(google.api.field_behavior) = REQUIRED];
+ [(google.api.field_behavior) = OPTIONAL];
// Required. The resource being updated.
Application application = 2 [(google.api.field_behavior) = REQUIRED];
@@ -828,7 +889,10 @@ message UpdateApplicationRequest {
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
- string request_id = 3 [(google.api.field_behavior) = OPTIONAL];
+ string request_id = 3 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
}
// Request for DeleteApplication.
@@ -856,7 +920,10 @@ message DeleteApplicationRequest {
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
- string request_id = 2 [(google.api.field_behavior) = OPTIONAL];
+ string request_id = 2 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
}
// Request for ListWorkloads.
@@ -968,7 +1035,10 @@ message CreateWorkloadRequest {
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
- string request_id = 4 [(google.api.field_behavior) = OPTIONAL];
+ string request_id = 4 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
}
// Request for GetWorkload.
@@ -1020,7 +1090,7 @@ message LookupDiscoveredWorkloadResponse {
// Request for UpdateWorkload.
message UpdateWorkloadRequest {
- // Required. Field mask is used to specify the fields to be overwritten in the
+ // Optional. Field mask is used to specify the fields to be overwritten in the
// Workload resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request.
@@ -1030,7 +1100,7 @@ message UpdateWorkloadRequest {
// adding the field to the mask. This clears whatever value the field
// previously had.
google.protobuf.FieldMask update_mask = 1
- [(google.api.field_behavior) = REQUIRED];
+ [(google.api.field_behavior) = OPTIONAL];
// Required. The resource being updated.
Workload workload = 2 [(google.api.field_behavior) = REQUIRED];
@@ -1048,7 +1118,10 @@ message UpdateWorkloadRequest {
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
- string request_id = 3 [(google.api.field_behavior) = OPTIONAL];
+ string request_id = 3 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
}
// Request for DeleteWorkload.
@@ -1074,7 +1147,52 @@ message DeleteWorkloadRequest {
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
- string request_id = 2 [(google.api.field_behavior) = OPTIONAL];
+ string request_id = 2 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
+}
+
+// Request message for AppHub.GetBoundary.
+message GetBoundaryRequest {
+ // Required. The name of the boundary to retrieve.
+ // Format: `projects/{project}/locations/{location}/boundary`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = { type: "apphub.googleapis.com/Boundary" }
+ ];
+}
+
+// Request message for AppHub.UpdateBoundary.
+message UpdateBoundaryRequest {
+ // Optional. Field mask is used to specify the fields to be overwritten in the
+ // Boundary resource by the update.
+ // The fields specified in the update_mask are relative to the resource, not
+ // the full request. A field will be overwritten if it is in the mask. If the
+ // user does not provide a mask then all fields will be overwritten.
+ google.protobuf.FieldMask update_mask = 1
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Required. The boundary to update.
+ Boundary boundary = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. An optional request ID to identify requests. Specify a unique
+ // request ID so that if you must retry your request, the server will know to
+ // ignore the request if it has already been completed. The server will
+ // guarantee that for at least 60 minutes since the first request.
+ //
+ // For example, consider a situation where you make an initial request and the
+ // request times out. If you make the request again with the same request
+ // ID, the server can check if original operation with the same request ID
+ // was received, and if so, will ignore the second request. This prevents
+ // clients from accidentally creating duplicate commitments.
+ //
+ // The request ID must be a valid UUID with the exception that zero UUID is
+ // not supported (00000000-0000-0000-0000-000000000000).
+ string request_id = 3 [
+ (google.api.field_info).format = UUID4,
+ (google.api.field_behavior) = OPTIONAL
+ ];
}
// Represents the metadata of the long-running operation.
@@ -1107,3 +1225,47 @@ message OperationMetadata {
// Output only. API version used to start the operation.
string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
}
+
+// Request for GetExtendedMetadataSchema.
+message GetExtendedMetadataSchemaRequest {
+ // Required. Schema resource name.
+ // Format:
+ // `projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}`.
+ //
+ // `{extended_metadata_schema}` has the format
+ // `"apphub.googleapis.com/{SchemaName}"`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "apphub.googleapis.com/ExtendedMetadataSchema"
+ }
+ ];
+}
+
+// Request for ListExtendedMetadataSchemas.
+message ListExtendedMetadataSchemasRequest {
+ // Required. Project and location to list Extended Metadata Schemas on.
+ // Expected format: `projects/{project}/locations/{location}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "apphub.googleapis.com/ExtendedMetadataSchema"
+ }
+ ];
+
+ // Optional. Requested page size. Server may return fewer items than
+ // requested. If unspecified, server will pick an appropriate default.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A token identifying a page of results the server should return.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response for ListExtendedMetadataSchemas.
+message ListExtendedMetadataSchemasResponse {
+ // List of Extended Metadata Schemas.
+ repeated ExtendedMetadataSchema extended_metadata_schemas = 1;
+
+ // A token identifying a page of results the server should return.
+ string next_page_token = 2;
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/application.proto b/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/application.proto
index ede20b1265fc..d10162478bf3 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/application.proto
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/application.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.
@@ -20,6 +20,7 @@ import "google/api/field_behavior.proto";
import "google/api/field_info.proto";
import "google/api/resource.proto";
import "google/cloud/apphub/v1/attributes.proto";
+import "google/cloud/apphub/v1/properties.proto";
import "google/protobuf/timestamp.proto";
option csharp_namespace = "Google.Cloud.AppHub.V1";
@@ -96,6 +97,30 @@ message Application {
// Output only. Application state.
State state = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Properties of an underlying cloud resource that can comprise
+ // an Application.
+ ApplicationProperties application_properties = 12
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Application type.
+ ApplicationType application_type = 13
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Application type.
+message ApplicationType {
+ // Application type enum.
+ enum Type {
+ // Unspecified type.
+ TYPE_UNSPECIFIED = 0;
+
+ // AI Application type.
+ AI_APPLICATION = 1;
+ }
+
+ // The type of the application.
+ Type type = 1;
}
// Scope of an application.
@@ -115,3 +140,13 @@ message Scope {
// Required. Scope Type.
Type type = 1 [(google.api.field_behavior) = REQUIRED];
}
+
+// Additional system properties of an Application.
+message ApplicationProperties {
+ // Output only. Additional metadata specific to the App Hub application.
+ // The key is a string that identifies the type of metadata and the value is
+ // the metadata contents specific to that type.
+ // Key format: `apphub.googleapis.com/{metadataType}`
+ map extended_metadata = 1
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/attributes.proto b/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/attributes.proto
index d62390d8e8d1..25b928345dd7 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/attributes.proto
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/attributes.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-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/boundary.proto b/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/boundary.proto
new file mode 100644
index 000000000000..a00d645274e3
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/boundary.proto
@@ -0,0 +1,78 @@
+// 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
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.apphub.v1;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/protobuf/timestamp.proto";
+
+option csharp_namespace = "Google.Cloud.AppHub.V1";
+option go_package = "cloud.google.com/go/apphub/apiv1/apphubpb;apphubpb";
+option java_multiple_files = true;
+option java_outer_classname = "BoundaryProto";
+option java_package = "com.google.cloud.apphub.v1";
+option php_namespace = "Google\\Cloud\\AppHub\\V1";
+option ruby_package = "Google::Cloud::AppHub::V1";
+
+// Application management boundary.
+message Boundary {
+ option (google.api.resource) = {
+ type: "apphub.googleapis.com/Boundary"
+ pattern: "projects/{project}/locations/{location}/boundary"
+ plural: "boundaries"
+ singular: "boundary"
+ };
+
+ // Boundary management type.
+ enum Type {
+ // Unspecified type.
+ TYPE_UNSPECIFIED = 0;
+
+ // The Boundary automatically includes all descendants of the CRM node.
+ AUTOMATIC = 1;
+
+ // The list of projects within the Boundary is managed by the user.
+ MANUAL = 2;
+
+ // The Boundary automatically includes all descendants of the CRM node,
+ // which is set via App Management folder capability.
+ MANAGED_AUTOMATIC = 3;
+ }
+
+ // The scope defining the boundary.
+ oneof scope {
+ // Optional. The resource name of the CRM node being attached to the
+ // boundary.
+ // Format: `projects/{project-number}` or `projects/{project-id}`
+ string crm_node = 4 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Identifier. The resource name of the boundary.
+ // Format: "projects/{project}/locations/{location}/boundary"
+ string name = 1 [(google.api.field_behavior) = IDENTIFIER];
+
+ // Output only. Create time.
+ google.protobuf.Timestamp create_time = 2
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Update time.
+ google.protobuf.Timestamp update_time = 3
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Boundary type.
+ Type type = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/extended_metadata_schema.proto b/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/extended_metadata_schema.proto
new file mode 100644
index 000000000000..077b3d2c823f
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/extended_metadata_schema.proto
@@ -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
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.apphub.v1;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+
+option csharp_namespace = "Google.Cloud.AppHub.V1";
+option go_package = "cloud.google.com/go/apphub/apiv1/apphubpb;apphubpb";
+option java_multiple_files = true;
+option java_outer_classname = "ExtendedMetadataSchemaProto";
+option java_package = "com.google.cloud.apphub.v1";
+option php_namespace = "Google\\Cloud\\AppHub\\V1";
+option ruby_package = "Google::Cloud::AppHub::V1";
+
+// ExtendedMetadataSchema represents a schema for extended metadata of a service
+// or workload.
+message ExtendedMetadataSchema {
+ option (google.api.resource) = {
+ type: "apphub.googleapis.com/ExtendedMetadataSchema"
+ pattern: "projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}"
+ plural: "extendedMetadataSchemas"
+ singular: "extendedMetadataSchema"
+ };
+
+ // Identifier. Resource name of the schema.
+ // Format:
+ // projects//locations//extendedMetadataSchemas/
+ string name = 1 [(google.api.field_behavior) = IDENTIFIER];
+
+ // Output only. The JSON schema as a string.
+ string json_schema = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The version of the schema. New versions are required to be
+ // backwards compatible.
+ int64 schema_version = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/properties.proto b/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/properties.proto
new file mode 100644
index 000000000000..c99cd9409237
--- /dev/null
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/properties.proto
@@ -0,0 +1,86 @@
+// 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
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.apphub.v1;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/protobuf/struct.proto";
+
+option csharp_namespace = "Google.Cloud.AppHub.V1";
+option go_package = "cloud.google.com/go/apphub/apiv1/apphubpb;apphubpb";
+option java_multiple_files = true;
+option java_outer_classname = "PropertiesProto";
+option java_package = "com.google.cloud.apphub.v1";
+option php_namespace = "Google\\Cloud\\AppHub\\V1";
+option ruby_package = "Google::Cloud::AppHub::V1";
+
+// The functional type of a service or workload.
+message FunctionalType {
+ // The functional type of a service or workload.
+ enum Type {
+ // Unspecified type.
+ TYPE_UNSPECIFIED = 0;
+
+ // Agent type.
+ AGENT = 1;
+
+ // MCP Server type.
+ MCP_SERVER = 2;
+
+ // Endpoint type.
+ ENDPOINT = 3;
+ }
+
+ // Output only. The functional type of a service or workload.
+ Type type = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// The registration type of a service.
+message RegistrationType {
+ // The registration type of a service.
+ enum Type {
+ // Unspecified registration type. Defaults to EXCLUSIVE.
+ TYPE_UNSPECIFIED = 0;
+
+ // The service can only be registered to one application.
+ EXCLUSIVE = 1;
+
+ // The service can be registered to multiple applications.
+ SHARED = 2;
+ }
+
+ // Output only. The registration type of a service.
+ Type type = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Additional metadata for a Service or Workload.
+message ExtendedMetadata {
+ // Output only. The metadata contents.
+ google.protobuf.Struct metadata_struct = 1
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// The identity associated with a service or workload.
+message Identity {
+ // Output only. The principal of the identity.
+ //
+ // Supported formats:
+ //
+ // * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account
+ // * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity
+ string principal = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/service.proto b/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/service.proto
index c15a41bb2682..0d8e78f18209 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/service.proto
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/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.
@@ -20,6 +20,7 @@ import "google/api/field_behavior.proto";
import "google/api/field_info.proto";
import "google/api/resource.proto";
import "google/cloud/apphub/v1/attributes.proto";
+import "google/cloud/apphub/v1/properties.proto";
import "google/protobuf/timestamp.proto";
option csharp_namespace = "Google.Cloud.AppHub.V1";
@@ -132,6 +133,24 @@ message ServiceProperties {
// Output only. The location that the underlying resource resides in if it is
// zonal, for example, us-west1-a).
string zone = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The type of the service.
+ FunctionalType functional_type = 4
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The registration type of the service.
+ RegistrationType registration_type = 5
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Additional metadata specific to the resource type.
+ // The key is a string that identifies the type of metadata and the value is
+ // the metadata contents specific to that type.
+ // Key format: `apphub.googleapis.com/{metadataType}`
+ map extended_metadata = 6
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The identity associated with the service.
+ Identity identity = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
}
// DiscoveredService is a network or API interface that exposes some
diff --git a/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/service_project_attachment.proto b/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/service_project_attachment.proto
index 6852fd5f7cd7..afb25d12e1e3 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/service_project_attachment.proto
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/service_project_attachment.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-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/workload.proto b/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/workload.proto
index 69ae87f62fc1..87885a6fc0d3 100644
--- a/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/workload.proto
+++ b/java-apphub/proto-google-cloud-apphub-v1/src/main/proto/google/cloud/apphub/v1/workload.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.
@@ -20,6 +20,7 @@ import "google/api/field_behavior.proto";
import "google/api/field_info.proto";
import "google/api/resource.proto";
import "google/cloud/apphub/v1/attributes.proto";
+import "google/cloud/apphub/v1/properties.proto";
import "google/protobuf/timestamp.proto";
option csharp_namespace = "Google.Cloud.AppHub.V1";
@@ -132,6 +133,20 @@ message WorkloadProperties {
// Output only. The location that the underlying compute resource resides in
// if it is zonal (for example, us-west1-a).
string zone = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The type of the workload.
+ FunctionalType functional_type = 4
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Additional metadata specific to the resource type.
+ // The key is a string that identifies the type of metadata and the value is
+ // the metadata contents specific to that type.
+ // Key format: `apphub.googleapis.com/{metadataType}`
+ map extended_metadata = 5
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The identity associated with the workload.
+ Identity identity = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
}
// DiscoveredWorkload is a binary deployment (such as managed instance groups
diff --git a/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getboundary/AsyncGetBoundary.java b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getboundary/AsyncGetBoundary.java
new file mode 100644
index 000000000000..94e57d490b8a
--- /dev/null
+++ b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getboundary/AsyncGetBoundary.java
@@ -0,0 +1,49 @@
+/*
+ * 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.apphub.v1.samples;
+
+// [START apphub_v1_generated_AppHub_GetBoundary_async]
+import com.google.api.core.ApiFuture;
+import com.google.cloud.apphub.v1.AppHubClient;
+import com.google.cloud.apphub.v1.Boundary;
+import com.google.cloud.apphub.v1.BoundaryName;
+import com.google.cloud.apphub.v1.GetBoundaryRequest;
+
+public class AsyncGetBoundary {
+
+ public static void main(String[] args) throws Exception {
+ asyncGetBoundary();
+ }
+
+ public static void asyncGetBoundary() 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ GetBoundaryRequest request =
+ GetBoundaryRequest.newBuilder()
+ .setName(BoundaryName.of("[PROJECT]", "[LOCATION]").toString())
+ .build();
+ ApiFuture future = appHubClient.getBoundaryCallable().futureCall(request);
+ // Do something.
+ Boundary response = future.get();
+ }
+ }
+}
+// [END apphub_v1_generated_AppHub_GetBoundary_async]
diff --git a/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getboundary/SyncGetBoundary.java b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getboundary/SyncGetBoundary.java
new file mode 100644
index 000000000000..5ae585b8db5d
--- /dev/null
+++ b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getboundary/SyncGetBoundary.java
@@ -0,0 +1,46 @@
+/*
+ * 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.apphub.v1.samples;
+
+// [START apphub_v1_generated_AppHub_GetBoundary_sync]
+import com.google.cloud.apphub.v1.AppHubClient;
+import com.google.cloud.apphub.v1.Boundary;
+import com.google.cloud.apphub.v1.BoundaryName;
+import com.google.cloud.apphub.v1.GetBoundaryRequest;
+
+public class SyncGetBoundary {
+
+ public static void main(String[] args) throws Exception {
+ syncGetBoundary();
+ }
+
+ public static void syncGetBoundary() 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ GetBoundaryRequest request =
+ GetBoundaryRequest.newBuilder()
+ .setName(BoundaryName.of("[PROJECT]", "[LOCATION]").toString())
+ .build();
+ Boundary response = appHubClient.getBoundary(request);
+ }
+ }
+}
+// [END apphub_v1_generated_AppHub_GetBoundary_sync]
diff --git a/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getboundary/SyncGetBoundaryBoundaryname.java b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getboundary/SyncGetBoundaryBoundaryname.java
new file mode 100644
index 000000000000..f8709b2c9489
--- /dev/null
+++ b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getboundary/SyncGetBoundaryBoundaryname.java
@@ -0,0 +1,42 @@
+/*
+ * 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.apphub.v1.samples;
+
+// [START apphub_v1_generated_AppHub_GetBoundary_Boundaryname_sync]
+import com.google.cloud.apphub.v1.AppHubClient;
+import com.google.cloud.apphub.v1.Boundary;
+import com.google.cloud.apphub.v1.BoundaryName;
+
+public class SyncGetBoundaryBoundaryname {
+
+ public static void main(String[] args) throws Exception {
+ syncGetBoundaryBoundaryname();
+ }
+
+ public static void syncGetBoundaryBoundaryname() 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ BoundaryName name = BoundaryName.of("[PROJECT]", "[LOCATION]");
+ Boundary response = appHubClient.getBoundary(name);
+ }
+ }
+}
+// [END apphub_v1_generated_AppHub_GetBoundary_Boundaryname_sync]
diff --git a/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getboundary/SyncGetBoundaryString.java b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getboundary/SyncGetBoundaryString.java
new file mode 100644
index 000000000000..b1a17723a5cf
--- /dev/null
+++ b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getboundary/SyncGetBoundaryString.java
@@ -0,0 +1,42 @@
+/*
+ * 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.apphub.v1.samples;
+
+// [START apphub_v1_generated_AppHub_GetBoundary_String_sync]
+import com.google.cloud.apphub.v1.AppHubClient;
+import com.google.cloud.apphub.v1.Boundary;
+import com.google.cloud.apphub.v1.BoundaryName;
+
+public class SyncGetBoundaryString {
+
+ public static void main(String[] args) throws Exception {
+ syncGetBoundaryString();
+ }
+
+ public static void syncGetBoundaryString() 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ String name = BoundaryName.of("[PROJECT]", "[LOCATION]").toString();
+ Boundary response = appHubClient.getBoundary(name);
+ }
+ }
+}
+// [END apphub_v1_generated_AppHub_GetBoundary_String_sync]
diff --git a/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getextendedmetadataschema/AsyncGetExtendedMetadataSchema.java b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getextendedmetadataschema/AsyncGetExtendedMetadataSchema.java
new file mode 100644
index 000000000000..781bccff5b94
--- /dev/null
+++ b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getextendedmetadataschema/AsyncGetExtendedMetadataSchema.java
@@ -0,0 +1,53 @@
+/*
+ * 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.apphub.v1.samples;
+
+// [START apphub_v1_generated_AppHub_GetExtendedMetadataSchema_async]
+import com.google.api.core.ApiFuture;
+import com.google.cloud.apphub.v1.AppHubClient;
+import com.google.cloud.apphub.v1.ExtendedMetadataSchema;
+import com.google.cloud.apphub.v1.ExtendedMetadataSchemaName;
+import com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest;
+
+public class AsyncGetExtendedMetadataSchema {
+
+ public static void main(String[] args) throws Exception {
+ asyncGetExtendedMetadataSchema();
+ }
+
+ public static void asyncGetExtendedMetadataSchema() 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ GetExtendedMetadataSchemaRequest request =
+ GetExtendedMetadataSchemaRequest.newBuilder()
+ .setName(
+ ExtendedMetadataSchemaName.of(
+ "[PROJECT]", "[LOCATION]", "[EXTENDED_METADATA_SCHEMA]")
+ .toString())
+ .build();
+ ApiFuture future =
+ appHubClient.getExtendedMetadataSchemaCallable().futureCall(request);
+ // Do something.
+ ExtendedMetadataSchema response = future.get();
+ }
+ }
+}
+// [END apphub_v1_generated_AppHub_GetExtendedMetadataSchema_async]
diff --git a/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getextendedmetadataschema/SyncGetExtendedMetadataSchema.java b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getextendedmetadataschema/SyncGetExtendedMetadataSchema.java
new file mode 100644
index 000000000000..f3a9d3af3fa7
--- /dev/null
+++ b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getextendedmetadataschema/SyncGetExtendedMetadataSchema.java
@@ -0,0 +1,49 @@
+/*
+ * 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.apphub.v1.samples;
+
+// [START apphub_v1_generated_AppHub_GetExtendedMetadataSchema_sync]
+import com.google.cloud.apphub.v1.AppHubClient;
+import com.google.cloud.apphub.v1.ExtendedMetadataSchema;
+import com.google.cloud.apphub.v1.ExtendedMetadataSchemaName;
+import com.google.cloud.apphub.v1.GetExtendedMetadataSchemaRequest;
+
+public class SyncGetExtendedMetadataSchema {
+
+ public static void main(String[] args) throws Exception {
+ syncGetExtendedMetadataSchema();
+ }
+
+ public static void syncGetExtendedMetadataSchema() 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ GetExtendedMetadataSchemaRequest request =
+ GetExtendedMetadataSchemaRequest.newBuilder()
+ .setName(
+ ExtendedMetadataSchemaName.of(
+ "[PROJECT]", "[LOCATION]", "[EXTENDED_METADATA_SCHEMA]")
+ .toString())
+ .build();
+ ExtendedMetadataSchema response = appHubClient.getExtendedMetadataSchema(request);
+ }
+ }
+}
+// [END apphub_v1_generated_AppHub_GetExtendedMetadataSchema_sync]
diff --git a/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getextendedmetadataschema/SyncGetExtendedMetadataSchemaExtendedmetadataschemaname.java b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getextendedmetadataschema/SyncGetExtendedMetadataSchemaExtendedmetadataschemaname.java
new file mode 100644
index 000000000000..d2d64fea4d0d
--- /dev/null
+++ b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getextendedmetadataschema/SyncGetExtendedMetadataSchemaExtendedmetadataschemaname.java
@@ -0,0 +1,43 @@
+/*
+ * 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.apphub.v1.samples;
+
+// [START apphub_v1_generated_AppHub_GetExtendedMetadataSchema_Extendedmetadataschemaname_sync]
+import com.google.cloud.apphub.v1.AppHubClient;
+import com.google.cloud.apphub.v1.ExtendedMetadataSchema;
+import com.google.cloud.apphub.v1.ExtendedMetadataSchemaName;
+
+public class SyncGetExtendedMetadataSchemaExtendedmetadataschemaname {
+
+ public static void main(String[] args) throws Exception {
+ syncGetExtendedMetadataSchemaExtendedmetadataschemaname();
+ }
+
+ public static void syncGetExtendedMetadataSchemaExtendedmetadataschemaname() 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ ExtendedMetadataSchemaName name =
+ ExtendedMetadataSchemaName.of("[PROJECT]", "[LOCATION]", "[EXTENDED_METADATA_SCHEMA]");
+ ExtendedMetadataSchema response = appHubClient.getExtendedMetadataSchema(name);
+ }
+ }
+}
+// [END apphub_v1_generated_AppHub_GetExtendedMetadataSchema_Extendedmetadataschemaname_sync]
diff --git a/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getextendedmetadataschema/SyncGetExtendedMetadataSchemaString.java b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getextendedmetadataschema/SyncGetExtendedMetadataSchemaString.java
new file mode 100644
index 000000000000..04f78acc265e
--- /dev/null
+++ b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/getextendedmetadataschema/SyncGetExtendedMetadataSchemaString.java
@@ -0,0 +1,44 @@
+/*
+ * 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.apphub.v1.samples;
+
+// [START apphub_v1_generated_AppHub_GetExtendedMetadataSchema_String_sync]
+import com.google.cloud.apphub.v1.AppHubClient;
+import com.google.cloud.apphub.v1.ExtendedMetadataSchema;
+import com.google.cloud.apphub.v1.ExtendedMetadataSchemaName;
+
+public class SyncGetExtendedMetadataSchemaString {
+
+ public static void main(String[] args) throws Exception {
+ syncGetExtendedMetadataSchemaString();
+ }
+
+ public static void syncGetExtendedMetadataSchemaString() 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ String name =
+ ExtendedMetadataSchemaName.of("[PROJECT]", "[LOCATION]", "[EXTENDED_METADATA_SCHEMA]")
+ .toString();
+ ExtendedMetadataSchema response = appHubClient.getExtendedMetadataSchema(name);
+ }
+ }
+}
+// [END apphub_v1_generated_AppHub_GetExtendedMetadataSchema_String_sync]
diff --git a/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/listextendedmetadataschemas/AsyncListExtendedMetadataSchemas.java b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/listextendedmetadataschemas/AsyncListExtendedMetadataSchemas.java
new file mode 100644
index 000000000000..164b38a1f80c
--- /dev/null
+++ b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/listextendedmetadataschemas/AsyncListExtendedMetadataSchemas.java
@@ -0,0 +1,54 @@
+/*
+ * 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.apphub.v1.samples;
+
+// [START apphub_v1_generated_AppHub_ListExtendedMetadataSchemas_async]
+import com.google.api.core.ApiFuture;
+import com.google.cloud.apphub.v1.AppHubClient;
+import com.google.cloud.apphub.v1.ExtendedMetadataSchema;
+import com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest;
+import com.google.cloud.apphub.v1.LocationName;
+
+public class AsyncListExtendedMetadataSchemas {
+
+ public static void main(String[] args) throws Exception {
+ asyncListExtendedMetadataSchemas();
+ }
+
+ public static void asyncListExtendedMetadataSchemas() 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ ListExtendedMetadataSchemasRequest request =
+ ListExtendedMetadataSchemasRequest.newBuilder()
+ .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ .setPageSize(883849137)
+ .setPageToken("pageToken873572522")
+ .build();
+ ApiFuture future =
+ appHubClient.listExtendedMetadataSchemasPagedCallable().futureCall(request);
+ // Do something.
+ for (ExtendedMetadataSchema element : future.get().iterateAll()) {
+ // doThingsWith(element);
+ }
+ }
+ }
+}
+// [END apphub_v1_generated_AppHub_ListExtendedMetadataSchemas_async]
diff --git a/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/listextendedmetadataschemas/AsyncListExtendedMetadataSchemasPaged.java b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/listextendedmetadataschemas/AsyncListExtendedMetadataSchemasPaged.java
new file mode 100644
index 000000000000..9f4c285e4fb9
--- /dev/null
+++ b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/listextendedmetadataschemas/AsyncListExtendedMetadataSchemasPaged.java
@@ -0,0 +1,62 @@
+/*
+ * 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.apphub.v1.samples;
+
+// [START apphub_v1_generated_AppHub_ListExtendedMetadataSchemas_Paged_async]
+import com.google.cloud.apphub.v1.AppHubClient;
+import com.google.cloud.apphub.v1.ExtendedMetadataSchema;
+import com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest;
+import com.google.cloud.apphub.v1.ListExtendedMetadataSchemasResponse;
+import com.google.cloud.apphub.v1.LocationName;
+import com.google.common.base.Strings;
+
+public class AsyncListExtendedMetadataSchemasPaged {
+
+ public static void main(String[] args) throws Exception {
+ asyncListExtendedMetadataSchemasPaged();
+ }
+
+ public static void asyncListExtendedMetadataSchemasPaged() 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ ListExtendedMetadataSchemasRequest request =
+ ListExtendedMetadataSchemasRequest.newBuilder()
+ .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ .setPageSize(883849137)
+ .setPageToken("pageToken873572522")
+ .build();
+ while (true) {
+ ListExtendedMetadataSchemasResponse response =
+ appHubClient.listExtendedMetadataSchemasCallable().call(request);
+ for (ExtendedMetadataSchema element : response.getExtendedMetadataSchemasList()) {
+ // doThingsWith(element);
+ }
+ String nextPageToken = response.getNextPageToken();
+ if (!Strings.isNullOrEmpty(nextPageToken)) {
+ request = request.toBuilder().setPageToken(nextPageToken).build();
+ } else {
+ break;
+ }
+ }
+ }
+ }
+}
+// [END apphub_v1_generated_AppHub_ListExtendedMetadataSchemas_Paged_async]
diff --git a/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/listextendedmetadataschemas/SyncListExtendedMetadataSchemas.java b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/listextendedmetadataschemas/SyncListExtendedMetadataSchemas.java
new file mode 100644
index 000000000000..466ec076c87d
--- /dev/null
+++ b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/listextendedmetadataschemas/SyncListExtendedMetadataSchemas.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.apphub.v1.samples;
+
+// [START apphub_v1_generated_AppHub_ListExtendedMetadataSchemas_sync]
+import com.google.cloud.apphub.v1.AppHubClient;
+import com.google.cloud.apphub.v1.ExtendedMetadataSchema;
+import com.google.cloud.apphub.v1.ListExtendedMetadataSchemasRequest;
+import com.google.cloud.apphub.v1.LocationName;
+
+public class SyncListExtendedMetadataSchemas {
+
+ public static void main(String[] args) throws Exception {
+ syncListExtendedMetadataSchemas();
+ }
+
+ public static void syncListExtendedMetadataSchemas() 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ ListExtendedMetadataSchemasRequest request =
+ ListExtendedMetadataSchemasRequest.newBuilder()
+ .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ .setPageSize(883849137)
+ .setPageToken("pageToken873572522")
+ .build();
+ for (ExtendedMetadataSchema element :
+ appHubClient.listExtendedMetadataSchemas(request).iterateAll()) {
+ // doThingsWith(element);
+ }
+ }
+ }
+}
+// [END apphub_v1_generated_AppHub_ListExtendedMetadataSchemas_sync]
diff --git a/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/listextendedmetadataschemas/SyncListExtendedMetadataSchemasLocationname.java b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/listextendedmetadataschemas/SyncListExtendedMetadataSchemasLocationname.java
new file mode 100644
index 000000000000..a5fe93e53f8d
--- /dev/null
+++ b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/listextendedmetadataschemas/SyncListExtendedMetadataSchemasLocationname.java
@@ -0,0 +1,45 @@
+/*
+ * 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.apphub.v1.samples;
+
+// [START apphub_v1_generated_AppHub_ListExtendedMetadataSchemas_Locationname_sync]
+import com.google.cloud.apphub.v1.AppHubClient;
+import com.google.cloud.apphub.v1.ExtendedMetadataSchema;
+import com.google.cloud.apphub.v1.LocationName;
+
+public class SyncListExtendedMetadataSchemasLocationname {
+
+ public static void main(String[] args) throws Exception {
+ syncListExtendedMetadataSchemasLocationname();
+ }
+
+ public static void syncListExtendedMetadataSchemasLocationname() 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ for (ExtendedMetadataSchema element :
+ appHubClient.listExtendedMetadataSchemas(parent).iterateAll()) {
+ // doThingsWith(element);
+ }
+ }
+ }
+}
+// [END apphub_v1_generated_AppHub_ListExtendedMetadataSchemas_Locationname_sync]
diff --git a/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/listextendedmetadataschemas/SyncListExtendedMetadataSchemasString.java b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/listextendedmetadataschemas/SyncListExtendedMetadataSchemasString.java
new file mode 100644
index 000000000000..35888249ae91
--- /dev/null
+++ b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/listextendedmetadataschemas/SyncListExtendedMetadataSchemasString.java
@@ -0,0 +1,45 @@
+/*
+ * 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.apphub.v1.samples;
+
+// [START apphub_v1_generated_AppHub_ListExtendedMetadataSchemas_String_sync]
+import com.google.cloud.apphub.v1.AppHubClient;
+import com.google.cloud.apphub.v1.ExtendedMetadataSchema;
+import com.google.cloud.apphub.v1.LocationName;
+
+public class SyncListExtendedMetadataSchemasString {
+
+ public static void main(String[] args) throws Exception {
+ syncListExtendedMetadataSchemasString();
+ }
+
+ public static void syncListExtendedMetadataSchemasString() 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ for (ExtendedMetadataSchema element :
+ appHubClient.listExtendedMetadataSchemas(parent).iterateAll()) {
+ // doThingsWith(element);
+ }
+ }
+ }
+}
+// [END apphub_v1_generated_AppHub_ListExtendedMetadataSchemas_String_sync]
diff --git a/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/updateboundary/AsyncUpdateBoundary.java b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/updateboundary/AsyncUpdateBoundary.java
new file mode 100644
index 000000000000..cc19f425ddf7
--- /dev/null
+++ b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/updateboundary/AsyncUpdateBoundary.java
@@ -0,0 +1,52 @@
+/*
+ * 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.apphub.v1.samples;
+
+// [START apphub_v1_generated_AppHub_UpdateBoundary_async]
+import com.google.api.core.ApiFuture;
+import com.google.cloud.apphub.v1.AppHubClient;
+import com.google.cloud.apphub.v1.Boundary;
+import com.google.cloud.apphub.v1.UpdateBoundaryRequest;
+import com.google.longrunning.Operation;
+import com.google.protobuf.FieldMask;
+
+public class AsyncUpdateBoundary {
+
+ public static void main(String[] args) throws Exception {
+ asyncUpdateBoundary();
+ }
+
+ public static void asyncUpdateBoundary() 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ UpdateBoundaryRequest request =
+ UpdateBoundaryRequest.newBuilder()
+ .setUpdateMask(FieldMask.newBuilder().build())
+ .setBoundary(Boundary.newBuilder().build())
+ .setRequestId("requestId693933066")
+ .build();
+ ApiFuture future = appHubClient.updateBoundaryCallable().futureCall(request);
+ // Do something.
+ Operation response = future.get();
+ }
+ }
+}
+// [END apphub_v1_generated_AppHub_UpdateBoundary_async]
diff --git a/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/updateboundary/AsyncUpdateBoundaryLRO.java b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/updateboundary/AsyncUpdateBoundaryLRO.java
new file mode 100644
index 000000000000..c18381f984bf
--- /dev/null
+++ b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/updateboundary/AsyncUpdateBoundaryLRO.java
@@ -0,0 +1,53 @@
+/*
+ * 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.apphub.v1.samples;
+
+// [START apphub_v1_generated_AppHub_UpdateBoundary_LRO_async]
+import com.google.api.gax.longrunning.OperationFuture;
+import com.google.cloud.apphub.v1.AppHubClient;
+import com.google.cloud.apphub.v1.Boundary;
+import com.google.cloud.apphub.v1.OperationMetadata;
+import com.google.cloud.apphub.v1.UpdateBoundaryRequest;
+import com.google.protobuf.FieldMask;
+
+public class AsyncUpdateBoundaryLRO {
+
+ public static void main(String[] args) throws Exception {
+ asyncUpdateBoundaryLRO();
+ }
+
+ public static void asyncUpdateBoundaryLRO() 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ UpdateBoundaryRequest request =
+ UpdateBoundaryRequest.newBuilder()
+ .setUpdateMask(FieldMask.newBuilder().build())
+ .setBoundary(Boundary.newBuilder().build())
+ .setRequestId("requestId693933066")
+ .build();
+ OperationFuture future =
+ appHubClient.updateBoundaryOperationCallable().futureCall(request);
+ // Do something.
+ Boundary response = future.get();
+ }
+ }
+}
+// [END apphub_v1_generated_AppHub_UpdateBoundary_LRO_async]
diff --git a/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/updateboundary/SyncUpdateBoundary.java b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/updateboundary/SyncUpdateBoundary.java
new file mode 100644
index 000000000000..5bfaac4d0cc2
--- /dev/null
+++ b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/updateboundary/SyncUpdateBoundary.java
@@ -0,0 +1,48 @@
+/*
+ * 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.apphub.v1.samples;
+
+// [START apphub_v1_generated_AppHub_UpdateBoundary_sync]
+import com.google.cloud.apphub.v1.AppHubClient;
+import com.google.cloud.apphub.v1.Boundary;
+import com.google.cloud.apphub.v1.UpdateBoundaryRequest;
+import com.google.protobuf.FieldMask;
+
+public class SyncUpdateBoundary {
+
+ public static void main(String[] args) throws Exception {
+ syncUpdateBoundary();
+ }
+
+ public static void syncUpdateBoundary() 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ UpdateBoundaryRequest request =
+ UpdateBoundaryRequest.newBuilder()
+ .setUpdateMask(FieldMask.newBuilder().build())
+ .setBoundary(Boundary.newBuilder().build())
+ .setRequestId("requestId693933066")
+ .build();
+ Boundary response = appHubClient.updateBoundaryAsync(request).get();
+ }
+ }
+}
+// [END apphub_v1_generated_AppHub_UpdateBoundary_sync]
diff --git a/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/updateboundary/SyncUpdateBoundaryBoundaryFieldmask.java b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/updateboundary/SyncUpdateBoundaryBoundaryFieldmask.java
new file mode 100644
index 000000000000..51eeeba84015
--- /dev/null
+++ b/java-apphub/samples/snippets/generated/com/google/cloud/apphub/v1/apphub/updateboundary/SyncUpdateBoundaryBoundaryFieldmask.java
@@ -0,0 +1,43 @@
+/*
+ * 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.apphub.v1.samples;
+
+// [START apphub_v1_generated_AppHub_UpdateBoundary_BoundaryFieldmask_sync]
+import com.google.cloud.apphub.v1.AppHubClient;
+import com.google.cloud.apphub.v1.Boundary;
+import com.google.protobuf.FieldMask;
+
+public class SyncUpdateBoundaryBoundaryFieldmask {
+
+ public static void main(String[] args) throws Exception {
+ syncUpdateBoundaryBoundaryFieldmask();
+ }
+
+ public static void syncUpdateBoundaryBoundaryFieldmask() 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 (AppHubClient appHubClient = AppHubClient.create()) {
+ Boundary boundary = Boundary.newBuilder().build();
+ FieldMask updateMask = FieldMask.newBuilder().build();
+ Boundary response = appHubClient.updateBoundaryAsync(boundary, updateMask).get();
+ }
+ }
+}
+// [END apphub_v1_generated_AppHub_UpdateBoundary_BoundaryFieldmask_sync]
diff --git a/java-dataform/proto-google-cloud-dataform-v1/src/main/java/com/google/cloud/dataform/v1/DataformProto.java b/java-dataform/proto-google-cloud-dataform-v1/src/main/java/com/google/cloud/dataform/v1/DataformProto.java
index df27bbe6200b..47e1e40259d2 100644
--- a/java-dataform/proto-google-cloud-dataform-v1/src/main/java/com/google/cloud/dataform/v1/DataformProto.java
+++ b/java-dataform/proto-google-cloud-dataform-v1/src/main/java/com/google/cloud/dataform/v1/DataformProto.java
@@ -1467,7 +1467,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "&dataform.googleapis.com/WorkflowConfig\022cprojects/{project}/locatio"
+ "ns/{location}/repositories/{repository}/"
+ "workflowConfigs/{workflow_config}*\017workflowConfigs2\016workflowConfigB\024\n"
- + "\022_internal_metadata\"\301\005\n"
+ + "\022_internal_metadata\"\307\005\n"
+ "\020InvocationConfig\022?\n"
+ "\020included_targets\030\001 \003(\0132"
+ " .google.cloud.dataform.v1.TargetB\003\340A\001\022\032\n\r"
@@ -1488,15 +1488,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\032QUERY_PRIORITY_UNSPECIFIED\020\000\022\017\n"
+ "\013INTERACTIVE\020\001\022\t\n"
+ "\005BATCH\020\002B\021\n"
- + "\017_query_priority\"\211\001\n"
+ + "\017_query_priorityJ\004\010\013\020\014\"\211\001\n"
+ "\032ListWorkflowConfigsRequest\022:\n"
+ "\006parent\030\001 \001(\tB*\340A\002\372A$\n"
+ "\"dataform.googleapis.com/Repository\022\026\n"
- + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n"
+ + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n"
+ + "\n"
+ "page_token\030\003 \001(\tB\003\340A\001\"\217\001\n"
+ "\033ListWorkflowConfigsResponse\022B\n"
- + "\020workflow_configs\030\001"
- + " \003(\0132(.google.cloud.dataform.v1.WorkflowConfig\022\027\n"
+ + "\020workflow_configs\030\001 \003(\013"
+ + "2(.google.cloud.dataform.v1.WorkflowConfig\022\027\n"
+ "\017next_page_token\030\002 \001(\t\022\023\n"
+ "\013unreachable\030\003 \003(\t\"X\n"
+ "\030GetWorkflowConfigRequest\022<\n"
@@ -1510,8 +1511,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\022workflow_config_id\030\003 \001(\tB\003\340A\002\"\233\001\n"
+ "\033UpdateWorkflowConfigRequest\0224\n"
+ "\013update_mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\022F\n"
- + "\017workflow_config\030\002 \001(\013"
- + "2(.google.cloud.dataform.v1.WorkflowConfigB\003\340A\002\"[\n"
+ + "\017workflow_config\030\002"
+ + " \001(\0132(.google.cloud.dataform.v1.WorkflowConfigB\003\340A\002\"[\n"
+ "\033DeleteWorkflowConfigRequest\022<\n"
+ "\004name\030\001 \001(\tB.\340A\002\372A(\n"
+ "&dataform.googleapis.com/WorkflowConfig\"\334\010\n"
@@ -1523,18 +1524,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\004name\030\001 \001(\tB\003\340A\003\022J\n"
+ "\021invocation_config\030\003"
+ " \001(\0132*.google.cloud.dataform.v1.InvocationConfigB\003\340A\005\022F\n"
- + "\005state\030\004 \001(\01622.google.c"
- + "loud.dataform.v1.WorkflowInvocation.StateB\003\340A\003\0225\n"
+ + "\005state\030\004 \001(\01622.go"
+ + "ogle.cloud.dataform.v1.WorkflowInvocation.StateB\003\340A\003\0225\n"
+ "\021invocation_timing\030\005 \001(\0132\025.google.type.IntervalB\003\340A\003\022V\n"
+ "\033resolved_compilation_result\030\007 \001(\tB1\340A\003\372A+\n"
+ ")dataform.googleapis.com/CompilationResult\022Q\n"
- + "\025data_encryption_state\030\010"
- + " \001(\0132-.google.cloud.dataform.v1.DataEncryptionStateB\003\340A\003\022#\n"
+ + "\025data_encryption_state\030\010 \001(\0132-.google.clou"
+ + "d.dataform.v1.DataEncryptionStateB\003\340A\003\022#\n"
+ "\021internal_metadata\030\t \001(\tB\003\340A\003H\001\210\001\001\022Y\n"
+ "\031private_resource_metadata\030\n"
+ " \001(\01321.google.cloud.dataform.v1.PrivateResourceMetadataB\003\340A\003\022F\n"
- + "\017pipeline_config\030\013"
- + " \001(\0132(.google.cloud.dataform.v1.PipelineConfigB\003\340A\003\"d\n"
+ + "\017pipeline_config\030\013 \001(\0132(.google"
+ + ".cloud.dataform.v1.PipelineConfigB\003\340A\003\"d\n"
+ "\005State\022\025\n"
+ "\021STATE_UNSPECIFIED\020\000\022\013\n"
+ "\007RUNNING\020\001\022\r\n"
@@ -1542,9 +1543,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\tCANCELLED\020\003\022\n\n"
+ "\006FAILED\020\004\022\r\n"
+ "\tCANCELING\020\005:\306\001\352A\302\001\n"
- + "*dataform.googleapis.com/WorkflowInvocation\022kprojects/{pro"
- + "ject}/locations/{location}/repositories/{repository}/workflowInvocations/{workfl"
- + "ow_invocation}*\023workflowInvocations2\022workflowInvocationB\024\n"
+ + "*dataform.googleapis.com/WorkflowInvocation\022kproject"
+ + "s/{project}/locations/{location}/repositories/{repository}/workflowInvocations/{"
+ + "workflow_invocation}*\023workflowInvocations2\022workflowInvocationB\024\n"
+ "\022compilation_sourceB\024\n"
+ "\022_internal_metadata\"\271\001\n"
+ "\036ListWorkflowInvocationsRequest\022:\n"
@@ -1555,8 +1556,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\010order_by\030\004 \001(\tB\003\340A\001\022\023\n"
+ "\006filter\030\005 \001(\tB\003\340A\001\"\233\001\n"
+ "\037ListWorkflowInvocationsResponse\022J\n"
- + "\024workflow_invocations\030\001 \003(\0132,.goog"
- + "le.cloud.dataform.v1.WorkflowInvocation\022\027\n"
+ + "\024workflow_invocations\030\001 \003(\0132"
+ + ",.google.cloud.dataform.v1.WorkflowInvocation\022\027\n"
+ "\017next_page_token\030\002 \001(\t\022\023\n"
+ "\013unreachable\030\003 \003(\t\"`\n"
+ "\034GetWorkflowInvocationRequest\022@\n"
@@ -1565,8 +1566,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\037CreateWorkflowInvocationRequest\022:\n"
+ "\006parent\030\001 \001(\tB*\340A\002\372A$\n"
+ "\"dataform.googleapis.com/Repository\022N\n"
- + "\023workflow_invocation\030\002 \001(\0132,.google.cl"
- + "oud.dataform.v1.WorkflowInvocationB\003\340A\002\"c\n"
+ + "\023workflow_invocation\030\002 \001(\0132,.goo"
+ + "gle.cloud.dataform.v1.WorkflowInvocationB\003\340A\002\"c\n"
+ "\037DeleteWorkflowInvocationRequest\022@\n"
+ "\004name\030\001 \001(\tB2\340A\002\372A,\n"
+ "*dataform.googleapis.com/WorkflowInvocation\"c\n"
@@ -1575,17 +1576,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "*dataform.googleapis.com/WorkflowInvocation\"\"\n"
+ " CancelWorkflowInvocationResponse\"\263\020\n"
+ "\030WorkflowInvocationAction\022a\n"
- + "\017bigquery_action\030\006 \001(\0132A.google.cloud.dataform.v1.W"
- + "orkflowInvocationAction.BigQueryActionB\003\340A\003H\000\022a\n"
- + "\017notebook_action\030\010 \001(\0132A.google."
- + "cloud.dataform.v1.WorkflowInvocationAction.NotebookActionB\003\340A\003H\000\022p\n"
- + "\027data_preparation_action\030\t \001(\0132H.google.cloud.datafor"
- + "m.v1.WorkflowInvocationAction.DataPreparationActionB\003\340A\003H\000\0225\n"
+ + "\017bigquery_action\030\006 \001(\0132A.google.cloud.datafor"
+ + "m.v1.WorkflowInvocationAction.BigQueryActionB\003\340A\003H\000\022a\n"
+ + "\017notebook_action\030\010 \001(\0132A.g"
+ + "oogle.cloud.dataform.v1.WorkflowInvocationAction.NotebookActionB\003\340A\003H\000\022p\n"
+ + "\027data_preparation_action\030\t \001(\0132H.google.cloud.d"
+ + "ataform.v1.WorkflowInvocationAction.DataPreparationActionB\003\340A\003H\000\0225\n"
+ "\006target\030\001 \001(\0132 .google.cloud.dataform.v1.TargetB\003\340A\003\022?\n"
+ "\020canonical_target\030\002 \001(\0132"
+ " .google.cloud.dataform.v1.TargetB\003\340A\003\022L\n"
- + "\005state\030\004 \001(\01628.goog"
- + "le.cloud.dataform.v1.WorkflowInvocationAction.StateB\003\340A\003\022\033\n"
+ + "\005state\030\004 \001(\0162"
+ + "8.google.cloud.dataform.v1.WorkflowInvocationAction.StateB\003\340A\003\022\033\n"
+ "\016failure_reason\030\007 \001(\tB\003\340A\003\0225\n"
+ "\021invocation_timing\030\005 \001(\0132\025.google.type.IntervalB\003\340A\003\022#\n"
+ "\021internal_metadata\030\n"
@@ -1599,28 +1600,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\tfile_path\030\003 \001(\tB\003\340A\003\032\201\t\n"
+ "\025DataPreparationAction\022\034\n\r"
+ "contents_yaml\030\002 \001(\tB\003\340A\003H\000\022t\n"
- + "\014contents_sql\030\006 \001(\0132\\.google.cloud.dataform.v1.Workflo"
- + "wInvocationAction.DataPreparationAction.ActionSqlDefinitionH\000\022\032\n\r"
+ + "\014contents_sql\030\006 \001(\0132\\.google.cloud.dataform.v1.W"
+ + "orkflowInvocationAction.DataPreparationAction.ActionSqlDefinitionH\000\022\032\n\r"
+ "generated_sql\030\003 \001(\tB\003\340A\003\022\023\n"
+ "\006job_id\030\004 \001(\tB\003\340A\003\032\204\002\n"
+ "\023ActionSqlDefinition\022\r\n"
+ "\005query\030\001 \001(\t\022n\n"
- + "\013error_table\030\002 \001(\0132Y.google.cloud.dataform.v1.Wo"
- + "rkflowInvocationAction.DataPreparationAction.ActionErrorTable\022n\n"
- + "\013load_config\030\003 \001(\0132Y.google.cloud.dataform.v1.WorkflowIn"
- + "vocationAction.DataPreparationAction.ActionLoadConfig\032\\\n"
+ + "\013error_table\030\002 \001(\0132Y.google.cloud.dataform"
+ + ".v1.WorkflowInvocationAction.DataPreparationAction.ActionErrorTable\022n\n"
+ + "\013load_config\030\003 \001(\0132Y.google.cloud.dataform.v1.Work"
+ + "flowInvocationAction.DataPreparationAction.ActionLoadConfig\032\\\n"
+ "\020ActionErrorTable\0220\n"
+ "\006target\030\001 \001(\0132 .google.cloud.dataform.v1.Target\022\026\n"
+ "\016retention_days\030\002 \001(\005\032\352\003\n"
+ "\020ActionLoadConfig\022p\n"
- + "\007replace\030\001 \001(\0132].google.cloud.dataform.v1.WorkflowInvocationAction.Da"
- + "taPreparationAction.ActionSimpleLoadModeH\000\022o\n"
- + "\006append\030\002 \001(\0132].google.cloud.datafo"
- + "rm.v1.WorkflowInvocationAction.DataPreparationAction.ActionSimpleLoadModeH\000\022u\n"
- + "\007maximum\030\003 \001(\0132b.google.cloud.dataform.v1."
- + "WorkflowInvocationAction.DataPreparationAction.ActionIncrementalLoadModeH\000\022t\n"
- + "\006unique\030\004 \001(\0132b.google.cloud.dataform.v1.Wo"
- + "rkflowInvocationAction.DataPreparationAction.ActionIncrementalLoadModeH\000B\006\n"
+ + "\007replace\030\001 \001(\0132].google.cloud.dataform.v1.WorkflowInvocationAct"
+ + "ion.DataPreparationAction.ActionSimpleLoadModeH\000\022o\n"
+ + "\006append\030\002 \001(\0132].google.cloud.dataform.v1.WorkflowInvocationAction.Dat"
+ + "aPreparationAction.ActionSimpleLoadModeH\000\022u\n"
+ + "\007maximum\030\003 \001(\0132b.google.cloud.datafo"
+ + "rm.v1.WorkflowInvocationAction.DataPrepa"
+ + "rationAction.ActionIncrementalLoadModeH\000\022t\n"
+ + "\006unique\030\004 \001(\0132b.google.cloud.dataform"
+ + ".v1.WorkflowInvocationAction.DataPrepara"
+ + "tionAction.ActionIncrementalLoadModeH\000B\006\n"
+ "\004mode\032\026\n"
+ "\024ActionSimpleLoadMode\032+\n"
+ "\031ActionIncrementalLoadMode\022\016\n"
@@ -1639,7 +1642,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "%QueryWorkflowInvocationActionsRequest\022@\n"
+ "\004name\030\001 \001(\tB2\340A\002\372A,\n"
+ "*dataform.googleapis.com/WorkflowInvocation\022\026\n"
- + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n"
+ + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n"
+ + "\n"
+ "page_token\030\003 \001(\tB\003\340A\001\"\232\001\n"
+ "&QueryWorkflowInvocationActionsResponse\022W\n"
+ "\033workflow_invocation_actions\030\001"
@@ -1650,8 +1654,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\024default_kms_key_name\030\002 \001(\tB)\340A\001\372A#\n"
+ "!cloudkms.googleapis.com/CryptoKey\022#\n"
+ "\021internal_metadata\030\007 \001(\tB\003\340A\003H\000\210\001\001:d\352Aa\n"
- + "\036dataform.googleapis.com/Config\022.projects"
- + "/{project}/locations/{location}/config*\007configs2\006configB\024\n"
+ + "\036dataform.googleapis.com/Config\022.pr"
+ + "ojects/{project}/locations/{location}/config*\007configs2\006configB\024\n"
+ "\022_internal_metadata\"H\n"
+ "\020GetConfigRequest\0224\n"
+ "\004name\030\001 \001(\tB&\340A\002\372A \n"
@@ -1669,8 +1673,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\013update_time\030\006 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022#\n"
+ "\021internal_metadata\030\007 \001(\tB\003\340A\003H\000\210\001\001\022\'\n"
+ "\025creator_iam_principal\030\010 \001(\tB\003\340A\003H\001\210\001\001:n\352Ak\n"
- + "\036dataform.googleapis.com/Folder\0228projects/{p"
- + "roject}/locations/{location}/folders/{folder}*\007folders2\006folderB\024\n"
+ + "\036dataform.googleapis.com/Folder\0228proje"
+ + "cts/{project}/locations/{location}/folders/{folder}*\007folders2\006folderB\024\n"
+ "\022_internal_metadataB\030\n"
+ "\026_creator_iam_principal\"\207\001\n"
+ "\023CreateFolderRequest\0229\n"
@@ -1704,8 +1708,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\013create_time\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221\n"
+ "\010end_time\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\023\n"
+ "\006target\030\003 \001(\tB\003\340A\003\022L\n"
- + "\005state\030\004 \001(\01628.google"
- + ".cloud.dataform.v1.DeleteFolderTreeMetadata.StateB\003\340A\003\022\035\n"
+ + "\005state\030\004 \001(\01628."
+ + "google.cloud.dataform.v1.DeleteFolderTreeMetadata.StateB\003\340A\003\022\035\n"
+ "\020percent_complete\030\005 \001(\005B\003\340A\003\"[\n"
+ "\005State\022\025\n"
+ "\021STATE_UNSPECIFIED\020\000\022\017\n"
@@ -1721,8 +1725,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\010order_by\030\004 \001(\tB\003\340A\001\022\023\n"
+ "\006filter\030\005 \001(\tB\003\340A\001\"\243\002\n"
+ "\033QueryFolderContentsResponse\022Z\n"
- + "\007entries\030\001 \003(\0132I.google.cloud.dataform.v1.Query"
- + "FolderContentsResponse.FolderContentsEntry\022\027\n"
+ + "\007entries\030\001 \003(\0132I.google.cloud.dataform.v1"
+ + ".QueryFolderContentsResponse.FolderContentsEntry\022\027\n"
+ "\017next_page_token\030\002 \001(\t\032\216\001\n"
+ "\023FolderContentsEntry\0222\n"
+ "\006folder\030\001 \001(\0132 .google.cloud.dataform.v1.FolderH\000\022:\n\n"
@@ -1736,8 +1740,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\010order_by\030\004 \001(\tB\003\340A\001\022\023\n"
+ "\006filter\030\005 \001(\tB\003\340A\001\"\243\002\n"
+ "\035QueryUserRootContentsResponse\022Z\n"
- + "\007entries\030\001 \003(\0132I.google.cloud.dataform.v1.Qu"
- + "eryUserRootContentsResponse.RootContentsEntry\022\027\n"
+ + "\007entries\030\001 \003(\0132I.google.cloud.dataform"
+ + ".v1.QueryUserRootContentsResponse.RootContentsEntry\022\027\n"
+ "\017next_page_token\030\002 \001(\t\032\214\001\n"
+ "\021RootContentsEntry\0222\n"
+ "\006folder\030\001 \001(\0132 .google.cloud.dataform.v1.FolderH\000\022:\n\n"
@@ -1751,16 +1755,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\021internal_metadata\030\005 \001(\tB\003\340A\003H\000\210\001\001\022\'\n"
+ "\025creator_iam_principal\030\006 \001("
+ "\tB\003\340A\003H\001\210\001\001:\204\001\352A\200\001\n"
- + "\"dataform.googleapis.com/TeamFolder\022Aprojects/{proje"
- + "ct}/locations/{location}/teamFolders/{team_folder}*\013teamFolders2\n"
+ + "\"dataform.googleapis.com/TeamFolder\022Aprojects/"
+ + "{project}/locations/{location}/teamFolders/{team_folder}*\013teamFolders2\n"
+ "teamFolderB\024\n"
+ "\022_internal_metadataB\030\n"
+ "\026_creator_iam_principal\"\224\001\n"
+ "\027CreateTeamFolderRequest\0229\n"
+ "\006parent\030\001 \001(\tB)\340A\002\372A#\n"
+ "!locations.googleapis.com/Location\022>\n"
- + "\013team_folder\030\002"
- + " \001(\0132$.google.cloud.dataform.v1.TeamFolderB\003\340A\002\"P\n"
+ + "\013team_folder\030\002 \001(\0132$."
+ + "google.cloud.dataform.v1.TeamFolderB\003\340A\002\"P\n"
+ "\024GetTeamFolderRequest\0228\n"
+ "\004name\030\001 \001(\tB*\340A\002\372A$\n"
+ "\"dataform.googleapis.com/TeamFolder\"\217\001\n"
@@ -1774,20 +1778,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\036QueryTeamFolderContentsRequest\022?\n"
+ "\013team_folder\030\001 \001(\tB*\340A\002\372A$\n"
+ "\"dataform.googleapis.com/TeamFolder\022\026\n"
- + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n"
+ + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n"
+ + "\n"
+ "page_token\030\003 \001(\tB\003\340A\001\022\025\n"
+ "\010order_by\030\004 \001(\tB\003\340A\001\022\023\n"
+ "\006filter\030\005 \001(\tB\003\340A\001\"\263\002\n"
+ "\037QueryTeamFolderContentsResponse\022b\n"
- + "\007entries\030\001 \003(\0132Q.goog"
- + "le.cloud.dataform.v1.QueryTeamFolderContentsResponse.TeamFolderContentsEntry\022\027\n"
+ + "\007entries\030\001 \003(\0132Q.google.cloud.dataform.v1.QueryTeamFold"
+ + "erContentsResponse.TeamFolderContentsEntry\022\027\n"
+ "\017next_page_token\030\002 \001(\t\032\222\001\n"
+ "\027TeamFolderContentsEntry\0222\n"
+ "\006folder\030\001 \001(\0132 .google.cloud.dataform.v1.FolderH\000\022:\n\n"
+ "repository\030\002 \001(\0132$.google.cloud.dataform.v1.RepositoryH\000B\007\n"
+ "\005entry\"\264\001\n"
- + "\030SearchTeamFoldersRequest\022",
- ";\n"
+ + "\030SearchTeamFoldersRe",
+ "quest\022;\n"
+ "\010location\030\001 \001(\tB)\340A\002\372A#\n"
+ "!locations.googleapis.com/Location\022\026\n"
+ "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n"
@@ -1795,8 +1800,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\010order_by\030\004 \001(\tB\003\340A\001\022\023\n"
+ "\006filter\030\005 \001(\tB\003\340A\001\"\361\001\n"
+ "\031SearchTeamFoldersResponse\022[\n"
- + "\007results\030\001 \003(\013"
- + "2J.google.cloud.dataform.v1.SearchTeamFoldersResponse.TeamFolderSearchResult\022\027\n"
+ + "\007results\030\001 \003(\0132J.google.cloud.dataform.v1.Search"
+ + "TeamFoldersResponse.TeamFolderSearchResult\022\027\n"
+ "\017next_page_token\030\002 \001(\t\032^\n"
+ "\026TeamFolderSearchResult\022;\n"
+ "\013team_folder\030\002 \001(\0132$.google.cloud.dataform.v1.TeamFolderH\000B\007\n"
@@ -1805,22 +1810,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\013create_time\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221\n"
+ "\010end_time\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\023\n"
+ "\006target\030\003 \001(\tB\003\340A\003\022A\n"
- + "\005state\030\004 \001("
- + "\01622.google.cloud.dataform.v1.MoveFolderMetadata.State\022\030\n"
+ + "\005state\030\004"
+ + " \001(\01622.google.cloud.dataform.v1.MoveFolderMetadata.State\022\030\n"
+ "\020percent_complete\030\005 \001(\005\"Y\n"
+ "\005State\022\025\n"
+ "\021STATE_UNSPECIFIED\020\000\022\017\n"
+ "\013INITIALIZED\020\001\022\017\n"
+ "\013IN_PROGRESS\020\002\022\013\n"
- + "\007SUCCESS\020\003\022\n"
- + "\n"
+ + "\007SUCCESS\020\003\022\n\n"
+ "\006FAILED\020\004\"\322\002\n"
+ "\026MoveRepositoryMetadata\0224\n"
+ "\013create_time\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221\n"
+ "\010end_time\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\023\n"
+ "\006target\030\003 \001(\tB\003\340A\003\022E\n"
- + "\005state\030\004"
- + " \001(\01626.google.cloud.dataform.v1.MoveRepositoryMetadata.State\022\030\n"
+ + "\005state\030\004 \001(\01626.google.cloud."
+ + "dataform.v1.MoveRepositoryMetadata.State\022\030\n"
+ "\020percent_complete\030\005 \001(\005\"Y\n"
+ "\005State\022\025\n"
+ "\021STATE_UNSPECIFIED\020\000\022\017\n"
@@ -1833,351 +1837,355 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\035DIRECTORY_CONTENTS_VIEW_BASIC\020\001\022$\n"
+ " DIRECTORY_CONTENTS_VIEW_METADATA\020\0022\343}\n"
+ "\010Dataform\022\245\001\n\r"
- + "GetTeamFolder\022..google.cloud.dataform.v1.GetTeamFol"
- + "derRequest\032$.google.cloud.dataform.v1.Te"
- + "amFolder\">\332A\004name\202\323\344\223\0021\022//v1/{name=projects/*/locations/*/teamFolders/*}\022\306\001\n"
- + "\020CreateTeamFolder\0221.google.cloud.dataform.v1"
- + ".CreateTeamFolderRequest\032$.google.cloud."
- + "dataform.v1.TeamFolder\"Y\332A\022parent,team_f"
- + "older\202\323\344\223\002>\"//v1/{parent=projects/*/locations/*}/teamFolders:\013team_folder\022\327\001\n"
- + "\020UpdateTeamFolder\0221.google.cloud.dataform.v"
- + "1.UpdateTeamFolderRequest\032$.google.cloud"
- + ".dataform.v1.TeamFolder\"j\332A\027team_folder,"
- + "update_mask\202\323\344\223\002J2;/v1/{team_folder.name"
- + "=projects/*/locations/*/teamFolders/*}:\013team_folder\022\235\001\n"
- + "\020DeleteTeamFolder\0221.google.cloud.dataform.v1.DeleteTeamFolderRequ"
- + "est\032\026.google.protobuf.Empty\">\332A\004name\202\323\344\223"
- + "\0021*//v1/{name=projects/*/locations/*/teamFolders/*}\022\365\001\n"
- + "\024DeleteTeamFolderTree\0225.google.cloud.dataform.v1.DeleteTeamFolder"
- + "TreeRequest\032\035.google.longrunning.Operation\"\206\001\312A1\n"
+ + "GetTeamFolder\022..google.cloud.dataform.v1.GetT"
+ + "eamFolderRequest\032$.google.cloud.dataform"
+ + ".v1.TeamFolder\">\332A\004name\202\323\344\223\0021\022//v1/{name"
+ + "=projects/*/locations/*/teamFolders/*}\022\306\001\n"
+ + "\020CreateTeamFolder\0221.google.cloud.dataf"
+ + "orm.v1.CreateTeamFolderRequest\032$.google."
+ + "cloud.dataform.v1.TeamFolder\"Y\332A\022parent,"
+ + "team_folder\202\323\344\223\002>\"//v1/{parent=projects/"
+ + "*/locations/*}/teamFolders:\013team_folder\022\327\001\n"
+ + "\020UpdateTeamFolder\0221.google.cloud.dataform.v1.UpdateTeamFolderRequest\032$.google"
+ + ".cloud.dataform.v1.TeamFolder\"j\332A\027team_f"
+ + "older,update_mask\202\323\344\223\002J2;/v1/{team_folde"
+ + "r.name=projects/*/locations/*/teamFolders/*}:\013team_folder\022\235\001\n"
+ + "\020DeleteTeamFolder\0221.google.cloud.dataform.v1.DeleteTeamFold"
+ + "erRequest\032\026.google.protobuf.Empty\">\332A\004na"
+ + "me\202\323\344\223\0021*//v1/{name=projects/*/locations/*/teamFolders/*}\022\365\001\n"
+ + "\024DeleteTeamFolderTree\0225.google.cloud.dataform.v1.DeleteTeam"
+ + "FolderTreeRequest\032\035.google.longrunning.Operation\"\206\001\312A1\n"
+ "\025google.protobuf.Empty\022\030DeleteFolderTreeMetadata\332A\n"
- + "name,force\202\323\344\223\002?\":/v"
- + "1/{name=projects/*/locations/*/teamFolders/*}:deleteTree:\001*\022\352\001\n"
- + "\027QueryTeamFolderContents\0228.google.cloud.dataform.v1.Query"
- + "TeamFolderContentsRequest\0329.google.cloud.dataform.v1.QueryTeamFolderContentsResp"
- + "onse\"Z\332A\013team_folder\202\323\344\223\002F\022D/v1/{team_fo"
- + "lder=projects/*/locations/*/teamFolders/*}:queryContents\022\276\001\n"
- + "\021SearchTeamFolders\0222.google.cloud.dataform.v1.SearchTeamFold"
- + "ersRequest\0323.google.cloud.dataform.v1.Se"
- + "archTeamFoldersResponse\"@\202\323\344\223\002:\0228/v1/{lo"
- + "cation=projects/*/locations/*}/teamFolders:search\022\225\001\n"
- + "\tGetFolder\022*.google.cloud.dataform.v1.GetFolderRequest\032 .google.clo"
- + "ud.dataform.v1.Folder\":\332A\004name\202\323\344\223\002-\022+/v"
- + "1/{name=projects/*/locations/*/folders/*}\022\254\001\n"
+ + "name,force\202\323\344\223"
+ + "\002?\":/v1/{name=projects/*/locations/*/teamFolders/*}:deleteTree:\001*\022\352\001\n"
+ + "\027QueryTeamFolderContents\0228.google.cloud.dataform.v1"
+ + ".QueryTeamFolderContentsRequest\0329.google.cloud.dataform.v1.QueryTeamFolderConten"
+ + "tsResponse\"Z\332A\013team_folder\202\323\344\223\002F\022D/v1/{t"
+ + "eam_folder=projects/*/locations/*/teamFolders/*}:queryContents\022\276\001\n"
+ + "\021SearchTeamFolders\0222.google.cloud.dataform.v1.SearchTe"
+ + "amFoldersRequest\0323.google.cloud.dataform"
+ + ".v1.SearchTeamFoldersResponse\"@\202\323\344\223\002:\0228/"
+ + "v1/{location=projects/*/locations/*}/teamFolders:search\022\225\001\n"
+ + "\tGetFolder\022*.google.cloud.dataform.v1.GetFolderRequest\032 .goog"
+ + "le.cloud.dataform.v1.Folder\":\332A\004name\202\323\344\223"
+ + "\002-\022+/v1/{name=projects/*/locations/*/folders/*}\022\254\001\n"
+ "\014CreateFolder\022-.google.cloud.dataform.v1.CreateFolderRequest\032"
+ " .google.cloud.dataform.v1.Folder\"K\332A\r"
- + "parent,folder\202\323\344"
- + "\223\0025\"+/v1/{parent=projects/*/locations/*}/folders:\006folder\022\270\001\n"
+ + "parent,fol"
+ + "der\202\323\344\223\0025\"+/v1/{parent=projects/*/locations/*}/folders:\006folder\022\270\001\n"
+ "\014UpdateFolder\022-.google.cloud.dataform.v1.UpdateFolderRequest\032"
- + " .google.cloud.dataform.v1.Folder\"W\332A\022f"
- + "older,update_mask\202\323\344\223\002<22/v1/{folder.nam"
- + "e=projects/*/locations/*/folders/*}:\006folder\022\221\001\n"
- + "\014DeleteFolder\022-.google.cloud.dataform.v1.DeleteFolderRequest\032\026.google.pro"
- + "tobuf.Empty\":\332A\004name\202\323\344\223\002-*+/v1/{name=projects/*/locations/*/folders/*}\022\351\001\n"
- + "\020DeleteFolderTree\0221.google.cloud.dataform.v1."
- + "DeleteFolderTreeRequest\032\035.google.longrunning.Operation\"\202\001\312A1\n"
+ + " .google.cloud.dataform.v1.Folder"
+ + "\"W\332A\022folder,update_mask\202\323\344\223\002<22/v1/{fold"
+ + "er.name=projects/*/locations/*/folders/*}:\006folder\022\221\001\n"
+ + "\014DeleteFolder\022-.google.cloud.dataform.v1.DeleteFolderRequest\032\026.goog"
+ + "le.protobuf.Empty\":\332A\004name\202\323\344\223\002-*+/v1/{n"
+ + "ame=projects/*/locations/*/folders/*}\022\351\001\n"
+ + "\020DeleteFolderTree\0221.google.cloud.datafo"
+ + "rm.v1.DeleteFolderTreeRequest\032\035.google.longrunning.Operation\"\202\001\312A1\n"
+ "\025google.protobuf.Empty\022\030DeleteFolderTreeMetadata\332A\n"
- + "name,for"
- + "ce\202\323\344\223\002;\"6/v1/{name=projects/*/locations/*/folders/*}:deleteTree:\001*\022\326\001\n"
- + "\023QueryFolderContents\0224.google.cloud.dataform.v1.Q"
- + "ueryFolderContentsRequest\0325.google.cloud.dataform.v1.QueryFolderContentsResponse"
- + "\"R\332A\006folder\202\323\344\223\002C\022A/v1/{folder=projects/"
- + "*/locations/*/folders/*}:queryFolderContents\022\330\001\n"
- + "\025QueryUserRootContents\0226.google.cloud.dataform.v1.QueryUserRootContentsR"
- + "equest\0327.google.cloud.dataform.v1.QueryU"
- + "serRootContentsResponse\"N\332A\010location\202\323\344\223"
- + "\002=\022;/v1/{location=projects/*/locations/*}:queryUserRootContents\022\351\001\n\n"
- + "MoveFolder\022+.google.cloud.dataform.v1.MoveFolderRequ"
- + "est\032\035.google.longrunning.Operation\"\216\001\312A+\n"
- + "\025google.protobuf.Empty\022\022MoveFolderMetad"
- + "ata\332A\"name,destination_containing_folder"
- + "\202\323\344\223\0025\"0/v1/{name=projects/*/locations/*/folders/*}:move:\001*\022\274\001\n"
- + "\020ListRepositories\0221.google.cloud.dataform.v1.ListReposito"
- + "riesRequest\0322.google.cloud.dataform.v1.L"
- + "istRepositoriesResponse\"A\332A\006parent\202\323\344\223\0022"
- + "\0220/v1/{parent=projects/*/locations/*}/repositories\022\246\001\n\r"
- + "GetRepository\022..google.cloud.dataform.v1.GetRepositoryRequest\032$.g"
- + "oogle.cloud.dataform.v1.Repository\"?\332A\004n"
- + "ame\202\323\344\223\0022\0220/v1/{name=projects/*/locations/*/repositories/*}\022\323\001\n"
- + "\020CreateRepository\0221.google.cloud.dataform.v1.CreateReposi"
- + "toryRequest\032$.google.cloud.dataform.v1.R"
- + "epository\"f\332A\037parent,repository,reposito"
- + "ry_id\202\323\344\223\002>\"0/v1/{parent=projects/*/locations/*}/repositories:\n"
+ + "name,force\202\323\344\223\002;\"6/v1/{name=projects/*/locations/*/folders/*}:deleteTree:\001*\022\326\001\n"
+ + "\023QueryFolderContents\0224.google.cloud.datafor"
+ + "m.v1.QueryFolderContentsRequest\0325.google.cloud.dataform.v1.QueryFolderContentsRe"
+ + "sponse\"R\332A\006folder\202\323\344\223\002C\022A/v1/{folder=pro"
+ + "jects/*/locations/*/folders/*}:queryFolderContents\022\330\001\n"
+ + "\025QueryUserRootContents\0226.google.cloud.dataform.v1.QueryUserRootCon"
+ + "tentsRequest\0327.google.cloud.dataform.v1."
+ + "QueryUserRootContentsResponse\"N\332A\010locati"
+ + "on\202\323\344\223\002=\022;/v1/{location=projects/*/locations/*}:queryUserRootContents\022\351\001\n\n"
+ + "MoveFolder\022+.google.cloud.dataform.v1.MoveFold"
+ + "erRequest\032\035.google.longrunning.Operation\"\216\001\312A+\n"
+ + "\025google.protobuf.Empty\022\022MoveFolderMetadata\332A\"name,destination_containing_"
+ + "folder\202\323\344\223\0025\"0/v1/{name=projects/*/locations/*/folders/*}:move:\001*\022\274\001\n"
+ + "\020ListRepositories\0221.google.cloud.dataform.v1.ListRe"
+ + "positoriesRequest\0322.google.cloud.datafor"
+ + "m.v1.ListRepositoriesResponse\"A\332A\006parent"
+ + "\202\323\344\223\0022\0220/v1/{parent=projects/*/locations/*}/repositories\022\246\001\n\r"
+ + "GetRepository\022..google.cloud.dataform.v1.GetRepositoryReque"
+ + "st\032$.google.cloud.dataform.v1.Repository"
+ + "\"?\332A\004name\202\323\344\223\0022\0220/v1/{name=projects/*/locations/*/repositories/*}\022\323\001\n"
+ + "\020CreateRepository\0221.google.cloud.dataform.v1.Create"
+ + "RepositoryRequest\032$.google.cloud.datafor"
+ + "m.v1.Repository\"f\332A\037parent,repository,re"
+ + "pository_id\202\323\344\223\002>\"0/v1/{parent=projects/*/locations/*}/repositories:\n"
+ "repository\022\325\001\n"
- + "\020UpdateRepository\0221.google.cloud.dataform.v"
- + "1.UpdateRepositoryRequest\032$.google.cloud"
- + ".dataform.v1.Repository\"h\332A\026repository,u"
- + "pdate_mask\202\323\344\223\002I2;/v1/{repository.name=projects/*/locations/*/repositories/*}:\n"
+ + "\020UpdateRepository\0221.google.cloud.dataform.v1.UpdateRepositoryRequest\032$.google"
+ + ".cloud.dataform.v1.Repository\"h\332A\026reposi"
+ + "tory,update_mask\202\323\344\223\002I2;/v1/{repository."
+ + "name=projects/*/locations/*/repositories/*}:\n"
+ "repository\022\236\001\n"
- + "\020DeleteRepository\0221.google.cloud.dataform.v1.DeleteRepositoryReques"
- + "t\032\026.google.protobuf.Empty\"?\332A\004name\202\323\344\223\0022"
- + "*0/v1/{name=projects/*/locations/*/repositories/*}\022\372\001\n"
- + "\016MoveRepository\022/.google.c"
- + "loud.dataform.v1.MoveRepositoryRequest\032\035.google.longrunning.Operation\"\227\001\312A/\n"
- + "\025google.protobuf.Empty\022\026MoveRepositoryMetada"
- + "ta\332A\"name,destination_containing_folder\202"
- + "\323\344\223\002:\"5/v1/{name=projects/*/locations/*/repositories/*}:move:\001*\022\322\001\n"
- + "\027CommitRepositoryChanges\0228.google.cloud.dataform.v1.C"
- + "ommitRepositoryChangesRequest\0329.google.cloud.dataform.v1.CommitRepositoryChanges"
- + "Response\"B\202\323\344\223\002<\"7/v1/{name=projects/*/locations/*/repositories/*}:commit:\001*\022\302\001\n"
- + "\022ReadRepositoryFile\0223.google.cloud.dataf"
- + "orm.v1.ReadRepositoryFileRequest\0324.google.cloud.dataform.v1.ReadRepositoryFileRe"
- + "sponse\"A\202\323\344\223\002;\0229/v1/{name=projects/*/locations/*/repositories/*}:readFile\022\372\001\n"
- + " QueryRepositoryDirectoryContents\022A.google.cloud.dataform.v1.QueryRepositoryDirecto"
- + "ryContentsRequest\032B.google.cloud.dataform.v1.QueryRepositoryDirectoryContentsRes"
- + "ponse\"O\202\323\344\223\002I\022G/v1/{name=projects/*/loca"
- + "tions/*/repositories/*}:queryDirectoryContents\022\322\001\n"
- + "\026FetchRepositoryHistory\0227.google.cloud.dataform.v1.FetchRepositoryHist"
- + "oryRequest\0328.google.cloud.dataform.v1.Fe"
- + "tchRepositoryHistoryResponse\"E\202\323\344\223\002?\022=/v"
- + "1/{name=projects/*/locations/*/repositories/*}:fetchHistory\022\202\002\n"
- + "\"ComputeRepositoryAccessTokenStatus\022C.google.cloud.datafo"
- + "rm.v1.ComputeRepositoryAccessTokenStatusRequest\032D.google.cloud.dataform.v1.Compu"
- + "teRepositoryAccessTokenStatusResponse\"Q\202"
- + "\323\344\223\002K\022I/v1/{name=projects/*/locations/*/"
- + "repositories/*}:computeAccessTokenStatus\022\320\001\n"
- + "\023FetchRemoteBranches\0224.google.cloud.dataform.v1.FetchRemoteBranchesRequest\0325"
- + ".google.cloud.dataform.v1.FetchRemoteBra"
- + "nchesResponse\"L\202\323\344\223\002F\022D/v1/{name=project"
- + "s/*/locations/*/repositories/*}:fetchRemoteBranches\022\303\001\n"
- + "\016ListWorkspaces\022/.google.cloud.dataform.v1.ListWorkspacesRequest\032"
- + "0.google.cloud.dataform.v1.ListWorkspace"
- + "sResponse\"N\332A\006parent\202\323\344\223\002?\022=/v1/{parent="
- + "projects/*/locations/*/repositories/*}/workspaces\022\260\001\n"
- + "\014GetWorkspace\022-.google.cloud.dataform.v1.GetWorkspaceRequest\032#.goog"
- + "le.cloud.dataform.v1.Workspace\"L\332A\004name\202"
- + "\323\344\223\002?\022=/v1/{name=projects/*/locations/*/repositories/*/workspaces/*}\022\332\001\n"
- + "\017CreateWorkspace\0220.google.cloud.dataform.v1.Crea"
- + "teWorkspaceRequest\032#.google.cloud.datafo"
- + "rm.v1.Workspace\"p\332A\035parent,workspace,wor"
- + "kspace_id\202\323\344\223\002J\"=/v1/{parent=projects/*/locations/*/repositories/*}/workspaces:"
- + "\tworkspace\022\251\001\n"
- + "\017DeleteWorkspace\0220.google.cloud.dataform.v1.DeleteWorkspaceRequest\032"
- + "\026.google.protobuf.Empty\"L\332A\004name\202\323\344\223\002?*="
- + "/v1/{name=projects/*/locations/*/repositories/*/workspaces/*}\022\341\001\n"
- + "\022InstallNpmPackages\0223.google.cloud.dataform.v1.InstallN"
- + "pmPackagesRequest\0324.google.cloud.datafor"
- + "m.v1.InstallNpmPackagesResponse\"`\202\323\344\223\002Z\""
- + "U/v1/{workspace=projects/*/locations/*/r"
- + "epositories/*/workspaces/*}:installNpmPackages:\001*\022\302\001\n"
- + "\016PullGitCommits\022/.google.cloud.dataform.v1.PullGitCommitsRequest\0320."
- + "google.cloud.dataform.v1.PullGitCommitsR"
- + "esponse\"M\202\323\344\223\002G\"B/v1/{name=projects/*/lo"
- + "cations/*/repositories/*/workspaces/*}:pull:\001*\022\302\001\n"
- + "\016PushGitCommits\022/.google.cloud.dataform.v1.PushGitCommitsRequest\0320.goo"
- + "gle.cloud.dataform.v1.PushGitCommitsResp"
- + "onse\"M\202\323\344\223\002G\"B/v1/{name=projects/*/locat"
- + "ions/*/repositories/*/workspaces/*}:push:\001*\022\341\001\n"
- + "\024FetchFileGitStatuses\0225.google.cloud.dataform.v1.FetchFileGitStatusesRequ"
- + "est\0326.google.cloud.dataform.v1.FetchFile"
- + "GitStatusesResponse\"Z\202\323\344\223\002T\022R/v1/{name=p"
- + "rojects/*/locations/*/repositories/*/workspaces/*}:fetchFileGitStatuses\022\335\001\n"
- + "\023FetchGitAheadBehind\0224.google.cloud.dataform."
- + "v1.FetchGitAheadBehindRequest\0325.google.cloud.dataform.v1.FetchGitAheadBehindResp"
- + "onse\"Y\202\323\344\223\002S\022Q/v1/{name=projects/*/locat"
- + "ions/*/repositories/*/workspaces/*}:fetchGitAheadBehind\022\334\001\n"
- + "\026CommitWorkspaceChanges\0227.google.cloud.dataform.v1.CommitWork"
- + "spaceChangesRequest\0328.google.cloud.dataf"
- + "orm.v1.CommitWorkspaceChangesResponse\"O\202"
- + "\323\344\223\002I\"D/v1/{name=projects/*/locations/*/"
- + "repositories/*/workspaces/*}:commit:\001*\022\330\001\n"
- + "\025ResetWorkspaceChanges\0226.google.cloud.dataform.v1.ResetWorkspaceChangesRequest"
- + "\0327.google.cloud.dataform.v1.ResetWorkspa"
- + "ceChangesResponse\"N\202\323\344\223\002H\"C/v1/{name=pro"
- + "jects/*/locations/*/repositories/*/workspaces/*}:reset:\001*\022\312\001\n\r"
- + "FetchFileDiff\022..google.cloud.dataform.v1.FetchFileDiffRequ"
- + "est\032/.google.cloud.dataform.v1.FetchFile"
- + "DiffResponse\"X\202\323\344\223\002R\022P/v1/{workspace=pro"
- + "jects/*/locations/*/repositories/*/workspaces/*}:fetchFileDiff\022\356\001\n"
- + "\026QueryDirectoryContents\0227.google.cloud.dataform.v1.Que"
- + "ryDirectoryContentsRequest\0328.google.cloud.dataform.v1.QueryDirectoryContentsResp"
- + "onse\"a\202\323\344\223\002[\022Y/v1/{workspace=projects/*/"
- + "locations/*/repositories/*/workspaces/*}:queryDirectoryContents\022\302\001\n"
- + "\013SearchFiles\022,.google.cloud.dataform.v1.SearchFilesRe"
- + "quest\032-.google.cloud.dataform.v1.SearchF"
- + "ilesResponse\"V\202\323\344\223\002P\022N/v1/{workspace=pro"
- + "jects/*/locations/*/repositories/*/workspaces/*}:searchFiles\022\315\001\n\r"
- + "MakeDirectory\022..google.cloud.dataform.v1.MakeDirectoryR"
- + "equest\032/.google.cloud.dataform.v1.MakeDi"
- + "rectoryResponse\"[\202\323\344\223\002U\"P/v1/{workspace="
- + "projects/*/locations/*/repositories/*/workspaces/*}:makeDirectory:\001*\022\325\001\n"
- + "\017RemoveDirectory\0220.google.cloud.dataform.v1.Remo"
- + "veDirectoryRequest\0321.google.cloud.datafo"
- + "rm.v1.RemoveDirectoryResponse\"]\202\323\344\223\002W\"R/"
+ + "\020DeleteRepository\0221.google.cloud.dataform.v1.DeleteRepository"
+ + "Request\032\026.google.protobuf.Empty\"?\332A\004name"
+ + "\202\323\344\223\0022*0/v1/{name=projects/*/locations/*/repositories/*}\022\372\001\n"
+ + "\016MoveRepository\022/.google.cloud.dataform.v1.MoveRepositoryReq"
+ + "uest\032\035.google.longrunning.Operation\"\227\001\312A/\n"
+ + "\025google.protobuf.Empty\022\026MoveRepository"
+ + "Metadata\332A\"name,destination_containing_f"
+ + "older\202\323\344\223\002:\"5/v1/{name=projects/*/locations/*/repositories/*}:move:\001*\022\322\001\n"
+ + "\027CommitRepositoryChanges\0228.google.cloud.datafor"
+ + "m.v1.CommitRepositoryChangesRequest\0329.google.cloud.dataform.v1.CommitRepositoryC"
+ + "hangesResponse\"B\202\323\344\223\002<\"7/v1/{name=projec"
+ + "ts/*/locations/*/repositories/*}:commit:\001*\022\302\001\n"
+ + "\022ReadRepositoryFile\0223.google.cloud.dataform.v1.ReadRepositoryFileRequest\0324"
+ + ".google.cloud.dataform.v1.ReadRepository"
+ + "FileResponse\"A\202\323\344\223\002;\0229/v1/{name=projects"
+ + "/*/locations/*/repositories/*}:readFile\022\372\001\n"
+ + " QueryRepositoryDirectoryContents\022A.google.cloud.dataform.v1.QueryRepositoryD"
+ + "irectoryContentsRequest\032B.google.cloud.dataform.v1.QueryRepositoryDirectoryConte"
+ + "ntsResponse\"O\202\323\344\223\002I\022G/v1/{name=projects/"
+ + "*/locations/*/repositories/*}:queryDirectoryContents\022\322\001\n"
+ + "\026FetchRepositoryHistory\0227.google.cloud.dataform.v1.FetchReposito"
+ + "ryHistoryRequest\0328.google.cloud.dataform"
+ + ".v1.FetchRepositoryHistoryResponse\"E\202\323\344\223"
+ + "\002?\022=/v1/{name=projects/*/locations/*/repositories/*}:fetchHistory\022\202\002\n"
+ + "\"ComputeRepositoryAccessTokenStatus\022C.google.cloud."
+ + "dataform.v1.ComputeRepositoryAccessTokenStatusRequest\032D.google.cloud.dataform.v1"
+ + ".ComputeRepositoryAccessTokenStatusRespo"
+ + "nse\"Q\202\323\344\223\002K\022I/v1/{name=projects/*/locati"
+ + "ons/*/repositories/*}:computeAccessTokenStatus\022\320\001\n"
+ + "\023FetchRemoteBranches\0224.google.cloud.dataform.v1.FetchRemoteBranchesReq"
+ + "uest\0325.google.cloud.dataform.v1.FetchRem"
+ + "oteBranchesResponse\"L\202\323\344\223\002F\022D/v1/{name=p"
+ + "rojects/*/locations/*/repositories/*}:fetchRemoteBranches\022\303\001\n"
+ + "\016ListWorkspaces\022/.google.cloud.dataform.v1.ListWorkspacesRe"
+ + "quest\0320.google.cloud.dataform.v1.ListWor"
+ + "kspacesResponse\"N\332A\006parent\202\323\344\223\002?\022=/v1/{p"
+ + "arent=projects/*/locations/*/repositories/*}/workspaces\022\260\001\n"
+ + "\014GetWorkspace\022-.google.cloud.dataform.v1.GetWorkspaceRequest\032"
+ + "#.google.cloud.dataform.v1.Workspace\"L\332A"
+ + "\004name\202\323\344\223\002?\022=/v1/{name=projects/*/locations/*/repositories/*/workspaces/*}\022\332\001\n"
+ + "\017CreateWorkspace\0220.google.cloud.dataform.v"
+ + "1.CreateWorkspaceRequest\032#.google.cloud."
+ + "dataform.v1.Workspace\"p\332A\035parent,workspa"
+ + "ce,workspace_id\202\323\344\223\002J\"=/v1/{parent=proje"
+ + "cts/*/locations/*/repositories/*}/workspaces:\tworkspace\022\251\001\n"
+ + "\017DeleteWorkspace\0220.google.cloud.dataform.v1.DeleteWorkspaceRe"
+ + "quest\032\026.google.protobuf.Empty\"L\332A\004name\202\323"
+ + "\344\223\002?*=/v1/{name=projects/*/locations/*/repositories/*/workspaces/*}\022\341\001\n"
+ + "\022InstallNpmPackages\0223.google.cloud.dataform.v1.In"
+ + "stallNpmPackagesRequest\0324.google.cloud.d"
+ + "ataform.v1.InstallNpmPackagesResponse\"`\202"
+ + "\323\344\223\002Z\"U/v1/{workspace=projects/*/locatio"
+ + "ns/*/repositories/*/workspaces/*}:installNpmPackages:\001*\022\302\001\n"
+ + "\016PullGitCommits\022/.google.cloud.dataform.v1.PullGitCommitsRequ"
+ + "est\0320.google.cloud.dataform.v1.PullGitCo"
+ + "mmitsResponse\"M\202\323\344\223\002G\"B/v1/{name=project"
+ + "s/*/locations/*/repositories/*/workspaces/*}:pull:\001*\022\302\001\n"
+ + "\016PushGitCommits\022/.google.cloud.dataform.v1.PushGitCommitsRequest"
+ + "\0320.google.cloud.dataform.v1.PushGitCommi"
+ + "tsResponse\"M\202\323\344\223\002G\"B/v1/{name=projects/*"
+ + "/locations/*/repositories/*/workspaces/*}:push:\001*\022\341\001\n"
+ + "\024FetchFileGitStatuses\0225.google.cloud.dataform.v1.FetchFileGitStatus"
+ + "esRequest\0326.google.cloud.dataform.v1.Fet"
+ + "chFileGitStatusesResponse\"Z\202\323\344\223\002T\022R/v1/{"
+ + "name=projects/*/locations/*/repositories"
+ + "/*/workspaces/*}:fetchFileGitStatuses\022\335\001\n"
+ + "\023FetchGitAheadBehind\0224.google.cloud.dat"
+ + "aform.v1.FetchGitAheadBehindRequest\0325.google.cloud.dataform.v1.FetchGitAheadBehi"
+ + "ndResponse\"Y\202\323\344\223\002S\022Q/v1/{name=projects/*"
+ + "/locations/*/repositories/*/workspaces/*}:fetchGitAheadBehind\022\334\001\n"
+ + "\026CommitWorkspaceChanges\0227.google.cloud.dataform.v1.Comm"
+ + "itWorkspaceChangesRequest\0328.google.cloud.dataform.v1.CommitWorkspaceChangesRespo"
+ + "nse\"O\202\323\344\223\002I\"D/v1/{name=projects/*/locati"
+ + "ons/*/repositories/*/workspaces/*}:commit:\001*\022\330\001\n"
+ + "\025ResetWorkspaceChanges\0226.google.cloud.dataform.v1.ResetWorkspaceChangesR"
+ + "equest\0327.google.cloud.dataform.v1.ResetW"
+ + "orkspaceChangesResponse\"N\202\323\344\223\002H\"C/v1/{na"
+ + "me=projects/*/locations/*/repositories/*/workspaces/*}:reset:\001*\022\312\001\n\r"
+ + "FetchFileDiff\022..google.cloud.dataform.v1.FetchFileDi"
+ + "ffRequest\032/.google.cloud.dataform.v1.Fet"
+ + "chFileDiffResponse\"X\202\323\344\223\002R\022P/v1/{workspa"
+ + "ce=projects/*/locations/*/repositories/*/workspaces/*}:fetchFileDiff\022\356\001\n"
+ + "\026QueryDirectoryContents\0227.google.cloud.dataform."
+ + "v1.QueryDirectoryContentsRequest\0328.google.cloud.dataform.v1.QueryDirectoryConten"
+ + "tsResponse\"a\202\323\344\223\002[\022Y/v1/{workspace=proje"
+ + "cts/*/locations/*/repositories/*/workspaces/*}:queryDirectoryContents\022\302\001\n"
+ + "\013SearchFiles\022,.google.cloud.dataform.v1.SearchF"
+ + "ilesRequest\032-.google.cloud.dataform.v1.S"
+ + "earchFilesResponse\"V\202\323\344\223\002P\022N/v1/{workspa"
+ + "ce=projects/*/locations/*/repositories/*/workspaces/*}:searchFiles\022\315\001\n\r"
+ + "MakeDirectory\022..google.cloud.dataform.v1.MakeDire"
+ + "ctoryRequest\032/.google.cloud.dataform.v1."
+ + "MakeDirectoryResponse\"[\202\323\344\223\002U\"P/v1/{work"
+ + "space=projects/*/locations/*/repositories/*/workspaces/*}:makeDirectory:\001*\022\325\001\n"
+ + "\017RemoveDirectory\0220.google.cloud.dataform.v"
+ + "1.RemoveDirectoryRequest\0321.google.cloud."
+ + "dataform.v1.RemoveDirectoryResponse\"]\202\323\344"
+ + "\223\002W\"R/v1/{workspace=projects/*/locations"
+ + "/*/repositories/*/workspaces/*}:removeDirectory:\001*\022\315\001\n\r"
+ + "MoveDirectory\022..google.cloud.dataform.v1.MoveDirectoryRequest\032/.g"
+ + "oogle.cloud.dataform.v1.MoveDirectoryRes"
+ + "ponse\"[\202\323\344\223\002U\"P/v1/{workspace=projects/*"
+ + "/locations/*/repositories/*/workspaces/*}:moveDirectory:\001*\022\266\001\n"
+ + "\010ReadFile\022).google.cloud.dataform.v1.ReadFileRequest\032*.goo"
+ + "gle.cloud.dataform.v1.ReadFileResponse\"S"
+ + "\202\323\344\223\002M\022K/v1/{workspace=projects/*/locati"
+ + "ons/*/repositories/*/workspaces/*}:readFile\022\301\001\n\n"
+ + "RemoveFile\022+.google.cloud.dataform.v1.RemoveFileRequest\032,.google.cloud.d"
+ + "ataform.v1.RemoveFileResponse\"X\202\323\344\223\002R\"M/"
+ "v1/{workspace=projects/*/locations/*/rep"
- + "ositories/*/workspaces/*}:removeDirectory:\001*\022\315\001\n\r"
- + "MoveDirectory\022..google.cloud.dataform.v1.MoveDirectoryRequest\032/.google."
- + "cloud.dataform.v1.MoveDirectoryResponse\""
- + "[\202\323\344\223\002U\"P/v1/{workspace=projects/*/locat"
- + "ions/*/repositories/*/workspaces/*}:moveDirectory:\001*\022\266\001\n"
- + "\010ReadFile\022).google.cloud.dataform.v1.ReadFileRequest\032*.google.cl"
- + "oud.dataform.v1.ReadFileResponse\"S\202\323\344\223\002M"
- + "\022K/v1/{workspace=projects/*/locations/*/"
- + "repositories/*/workspaces/*}:readFile\022\301\001\n\n"
- + "RemoveFile\022+.google.cloud.dataform.v1.RemoveFileRequest\032,.google.cloud.datafor"
- + "m.v1.RemoveFileResponse\"X\202\323\344\223\002R\"M/v1/{wo"
- + "rkspace=projects/*/locations/*/repositories/*/workspaces/*}:removeFile:\001*\022\271\001\n"
- + "\010MoveFile\022).google.cloud.dataform.v1.MoveFi"
- + "leRequest\032*.google.cloud.dataform.v1.Mov"
- + "eFileResponse\"V\202\323\344\223\002P\"K/v1/{workspace=pr"
- + "ojects/*/locations/*/repositories/*/workspaces/*}:moveFile:\001*\022\275\001\n"
- + "\tWriteFile\022*.google.cloud.dataform.v1.WriteFileRequest\032"
- + "+.google.cloud.dataform.v1.WriteFileResp"
- + "onse\"W\202\323\344\223\002Q\"L/v1/{workspace=projects/*/"
- + "locations/*/repositories/*/workspaces/*}:writeFile:\001*\022\323\001\n"
- + "\022ListReleaseConfigs\0223.google.cloud.dataform.v1.ListReleaseConfi"
- + "gsRequest\0324.google.cloud.dataform.v1.Lis"
- + "tReleaseConfigsResponse\"R\332A\006parent\202\323\344\223\002C"
- + "\022A/v1/{parent=projects/*/locations/*/repositories/*}/releaseConfigs\022\300\001\n"
- + "\020GetReleaseConfig\0221.google.cloud.dataform.v1.GetR"
- + "eleaseConfigRequest\032\'.google.cloud.dataf"
- + "orm.v1.ReleaseConfig\"P\332A\004name\202\323\344\223\002C\022A/v1"
- + "/{name=projects/*/locations/*/repositories/*/releaseConfigs/*}\022\372\001\n"
- + "\023CreateReleaseConfig\0224.google.cloud.dataform.v1.Create"
- + "ReleaseConfigRequest\032\'.google.cloud.data"
- + "form.v1.ReleaseConfig\"\203\001\332A\'parent,releas"
- + "e_config,release_config_id\202\323\344\223\002S\"A/v1/{p"
- + "arent=projects/*/locations/*/repositories/*}/releaseConfigs:\016release_config\022\374\001\n"
- + "\023UpdateReleaseConfig\0224.google.cloud.dataf"
- + "orm.v1.UpdateReleaseConfigRequest\032\'.goog"
- + "le.cloud.dataform.v1.ReleaseConfig\"\205\001\332A\032"
- + "release_config,update_mask\202\323\344\223\002b2P/v1/{r"
- + "elease_config.name=projects/*/locations/"
- + "*/repositories/*/releaseConfigs/*}:\016release_config\022\265\001\n"
- + "\023DeleteReleaseConfig\0224.google.cloud.dataform.v1.DeleteReleaseConfi"
- + "gRequest\032\026.google.protobuf.Empty\"P\332A\004nam"
- + "e\202\323\344\223\002C*A/v1/{name=projects/*/locations/*/repositories/*/releaseConfigs/*}\022\343\001\n"
- + "\026ListCompilationResults\0227.google.cloud.dat"
- + "aform.v1.ListCompilationResultsRequest\0328.google.cloud.dataform.v1.ListCompilatio"
- + "nResultsResponse\"V\332A\006parent\202\323\344\223\002G\022E/v1/{"
- + "parent=projects/*/locations/*/repositories/*}/compilationResults\022\320\001\n"
- + "\024GetCompilationResult\0225.google.cloud.dataform.v1.Get"
- + "CompilationResultRequest\032+.google.cloud."
- + "dataform.v1.CompilationResult\"T\332A\004name\202\323"
- + "\344\223\002G\022E/v1/{name=projects/*/locations/*/repositories/*/compilationResults/*}\022\377\001\n"
- + "\027CreateCompilationResult\0228.google.cloud.d"
- + "ataform.v1.CreateCompilationResultRequest\032+.google.cloud.dataform.v1.Compilation"
- + "Result\"}\332A\031parent,compilation_result\202\323\344\223"
- + "\002[\"E/v1/{parent=projects/*/locations/*/r"
- + "epositories/*}/compilationResults:\022compilation_result\022\365\001\n"
- + "\035QueryCompilationResultActions\022>.google.cloud.dataform.v1.Query"
- + "CompilationResultActionsRequest\032?.google.cloud.dataform.v1.QueryCompilationResul"
- + "tActionsResponse\"S\202\323\344\223\002M\022K/v1/{name=proj"
- + "ects/*/locations/*/repositories/*/compilationResults/*}:query\022\327\001\n"
- + "\023ListWorkflowConfigs\0224.google.cloud.dataform.v1.ListWor"
- + "kflowConfigsRequest\0325.google.cloud.dataf"
- + "orm.v1.ListWorkflowConfigsResponse\"S\332A\006p"
- + "arent\202\323\344\223\002D\022B/v1/{parent=projects/*/loca"
- + "tions/*/repositories/*}/workflowConfigs\022\304\001\n"
- + "\021GetWorkflowConfig\0222.google.cloud.dataform.v1.GetWorkflowConfigRequest\032(.goog"
- + "le.cloud.dataform.v1.WorkflowConfig\"Q\332A\004"
- + "name\202\323\344\223\002D\022B/v1/{name=projects/*/locatio"
- + "ns/*/repositories/*/workflowConfigs/*}\022\201\002\n"
- + "\024CreateWorkflowConfig\0225.google.cloud.d"
- + "ataform.v1.CreateWorkflowConfigRequest\032(.google.cloud.dataform.v1.WorkflowConfig"
- + "\"\207\001\332A)parent,workflow_config,workflow_co"
- + "nfig_id\202\323\344\223\002U\"B/v1/{parent=projects/*/lo"
- + "cations/*/repositories/*}/workflowConfigs:\017workflow_config\022\203\002\n"
- + "\024UpdateWorkflowConfig\0225.google.cloud.dataform.v1.UpdateWor"
- + "kflowConfigRequest\032(.google.cloud.datafo"
- + "rm.v1.WorkflowConfig\"\211\001\332A\033workflow_confi"
- + "g,update_mask\202\323\344\223\002e2R/v1/{workflow_confi"
- + "g.name=projects/*/locations/*/repositori"
- + "es/*/workflowConfigs/*}:\017workflow_config\022\270\001\n"
- + "\024DeleteWorkflowConfig\0225.google.cloud.dataform.v1.DeleteWorkflowConfigRequest"
- + "\032\026.google.protobuf.Empty\"Q\332A\004name\202\323\344\223\002D*"
- + "B/v1/{name=projects/*/locations/*/repositories/*/workflowConfigs/*}\022\347\001\n"
- + "\027ListWorkflowInvocations\0228.google.cloud.dataform."
- + "v1.ListWorkflowInvocationsRequest\0329.google.cloud.dataform.v1.ListWorkflowInvocat"
- + "ionsResponse\"W\332A\006parent\202\323\344\223\002H\022F/v1/{pare"
- + "nt=projects/*/locations/*/repositories/*}/workflowInvocations\022\324\001\n"
- + "\025GetWorkflowInvocation\0226.google.cloud.dataform.v1.GetWo"
- + "rkflowInvocationRequest\032,.google.cloud.d"
- + "ataform.v1.WorkflowInvocation\"U\332A\004name\202\323"
- + "\344\223\002H\022F/v1/{name=projects/*/locations/*/repositories/*/workflowInvocations/*}\022\206\002\n"
- + "\030CreateWorkflowInvocation\0229.google.cloud.dataform.v1.CreateWorkflowInvocationReq"
- + "uest\032,.google.cloud.dataform.v1.Workflow"
- + "Invocation\"\200\001\332A\032parent,workflow_invocati"
- + "on\202\323\344\223\002]\"F/v1/{parent=projects/*/locatio"
- + "ns/*/repositories/*}/workflowInvocations:\023workflow_invocation\022\304\001\n"
- + "\030DeleteWorkflowInvocation\0229.google.cloud.dataform.v1.De"
- + "leteWorkflowInvocationRequest\032\026.google.p"
- + "rotobuf.Empty\"U\332A\004name\202\323\344\223\002H*F/v1/{name="
- + "projects/*/locations/*/repositories/*/workflowInvocations/*}\022\353\001\n"
- + "\030CancelWorkflowInvocation\0229.google.cloud.dataform.v1.Can"
- + "celWorkflowInvocationRequest\032:.google.cloud.dataform.v1.CancelWorkflowInvocation"
- + "Response\"X\202\323\344\223\002R\"M/v1/{name=projects/*/l"
- + "ocations/*/repositories/*/workflowInvocations/*}:cancel:\001*\022\371\001\n"
- + "\036QueryWorkflowInvocationActions\022?.google.cloud.dataform.v1"
- + ".QueryWorkflowInvocationActionsRequest\032@.google.cloud.dataform.v1.QueryWorkflowI"
- + "nvocationActionsResponse\"T\202\323\344\223\002N\022L/v1/{n"
- + "ame=projects/*/locations/*/repositories/*/workflowInvocations/*}:query\022\222\001\n"
+ + "ositories/*/workspaces/*}:removeFile:\001*\022\271\001\n"
+ + "\010MoveFile\022).google.cloud.dataform.v1.MoveFileRequest\032*.google.cloud.dataform."
+ + "v1.MoveFileResponse\"V\202\323\344\223\002P\"K/v1/{worksp"
+ + "ace=projects/*/locations/*/repositories/*/workspaces/*}:moveFile:\001*\022\275\001\n"
+ + "\tWriteFile\022*.google.cloud.dataform.v1.WriteFileRe"
+ + "quest\032+.google.cloud.dataform.v1.WriteFi"
+ + "leResponse\"W\202\323\344\223\002Q\"L/v1/{workspace=proje"
+ + "cts/*/locations/*/repositories/*/workspaces/*}:writeFile:\001*\022\323\001\n"
+ + "\022ListReleaseConfigs\0223.google.cloud.dataform.v1.ListReleas"
+ + "eConfigsRequest\0324.google.cloud.dataform."
+ + "v1.ListReleaseConfigsResponse\"R\332A\006parent"
+ + "\202\323\344\223\002C\022A/v1/{parent=projects/*/locations/*/repositories/*}/releaseConfigs\022\300\001\n"
+ + "\020GetReleaseConfig\0221.google.cloud.dataform.v"
+ + "1.GetReleaseConfigRequest\032\'.google.cloud"
+ + ".dataform.v1.ReleaseConfig\"P\332A\004name\202\323\344\223\002"
+ + "C\022A/v1/{name=projects/*/locations/*/repositories/*/releaseConfigs/*}\022\372\001\n"
+ + "\023CreateReleaseConfig\0224.google.cloud.dataform.v1."
+ + "CreateReleaseConfigRequest\032\'.google.clou"
+ + "d.dataform.v1.ReleaseConfig\"\203\001\332A\'parent,"
+ + "release_config,release_config_id\202\323\344\223\002S\"A"
+ + "/v1/{parent=projects/*/locations/*/repos"
+ + "itories/*}/releaseConfigs:\016release_config\022\374\001\n"
+ + "\023UpdateReleaseConfig\0224.google.cloud.dataform.v1.UpdateReleaseConfigRequest\032"
+ + "\'.google.cloud.dataform.v1.ReleaseConfig"
+ + "\"\205\001\332A\032release_config,update_mask\202\323\344\223\002b2P"
+ + "/v1/{release_config.name=projects/*/loca"
+ + "tions/*/repositories/*/releaseConfigs/*}:\016release_config\022\265\001\n"
+ + "\023DeleteReleaseConfig\0224.google.cloud.dataform.v1.DeleteReleas"
+ + "eConfigRequest\032\026.google.protobuf.Empty\"P"
+ + "\332A\004name\202\323\344\223\002C*A/v1/{name=projects/*/loca"
+ + "tions/*/repositories/*/releaseConfigs/*}\022\343\001\n"
+ + "\026ListCompilationResults\0227.google.cloud.dataform.v1.ListCompilationResultsReq"
+ + "uest\0328.google.cloud.dataform.v1.ListComp"
+ + "ilationResultsResponse\"V\332A\006parent\202\323\344\223\002G\022"
+ + "E/v1/{parent=projects/*/locations/*/repositories/*}/compilationResults\022\320\001\n"
+ + "\024GetCompilationResult\0225.google.cloud.dataform."
+ + "v1.GetCompilationResultRequest\032+.google."
+ + "cloud.dataform.v1.CompilationResult\"T\332A\004"
+ + "name\202\323\344\223\002G\022E/v1/{name=projects/*/locatio"
+ + "ns/*/repositories/*/compilationResults/*}\022\377\001\n"
+ + "\027CreateCompilationResult\0228.google.cloud.dataform.v1.CreateCompilationResult"
+ + "Request\032+.google.cloud.dataform.v1.Compi"
+ + "lationResult\"}\332A\031parent,compilation_resu"
+ + "lt\202\323\344\223\002[\"E/v1/{parent=projects/*/locatio"
+ + "ns/*/repositories/*}/compilationResults:\022compilation_result\022\365\001\n"
+ + "\035QueryCompilationResultActions\022>.google.cloud.dataform.v1"
+ + ".QueryCompilationResultActionsRequest\032?.google.cloud.dataform.v1.QueryCompilatio"
+ + "nResultActionsResponse\"S\202\323\344\223\002M\022K/v1/{nam"
+ + "e=projects/*/locations/*/repositories/*/compilationResults/*}:query\022\327\001\n"
+ + "\023ListWorkflowConfigs\0224.google.cloud.dataform.v1.L"
+ + "istWorkflowConfigsRequest\0325.google.cloud.dataform.v1.ListWorkflowConfigsResponse"
+ + "\"S\332A\006parent\202\323\344\223\002D\022B/v1/{parent=projects/"
+ + "*/locations/*/repositories/*}/workflowConfigs\022\304\001\n"
+ + "\021GetWorkflowConfig\0222.google.cloud.dataform.v1.GetWorkflowConfigRequest\032"
+ + "(.google.cloud.dataform.v1.WorkflowConfi"
+ + "g\"Q\332A\004name\202\323\344\223\002D\022B/v1/{name=projects/*/l"
+ + "ocations/*/repositories/*/workflowConfigs/*}\022\201\002\n"
+ + "\024CreateWorkflowConfig\0225.google.cloud.dataform.v1.CreateWorkflowConfigReq"
+ + "uest\032(.google.cloud.dataform.v1.Workflow"
+ + "Config\"\207\001\332A)parent,workflow_config,workf"
+ + "low_config_id\202\323\344\223\002U\"B/v1/{parent=project"
+ + "s/*/locations/*/repositories/*}/workflowConfigs:\017workflow_config\022\203\002\n"
+ + "\024UpdateWorkflowConfig\0225.google.cloud.dataform.v1.Upd"
+ + "ateWorkflowConfigRequest\032(.google.cloud."
+ + "dataform.v1.WorkflowConfig\"\211\001\332A\033workflow"
+ + "_config,update_mask\202\323\344\223\002e2R/v1/{workflow"
+ + "_config.name=projects/*/locations/*/repo"
+ + "sitories/*/workflowConfigs/*}:\017workflow_config\022\270\001\n"
+ + "\024DeleteWorkflowConfig\0225.google.cloud.dataform.v1.DeleteWorkflowConfigR"
+ + "equest\032\026.google.protobuf.Empty\"Q\332A\004name\202"
+ + "\323\344\223\002D*B/v1/{name=projects/*/locations/*/repositories/*/workflowConfigs/*}\022\347\001\n"
+ + "\027ListWorkflowInvocations\0228.google.cloud.dat"
+ + "aform.v1.ListWorkflowInvocationsRequest\0329.google.cloud.dataform.v1.ListWorkflowI"
+ + "nvocationsResponse\"W\332A\006parent\202\323\344\223\002H\022F/v1"
+ + "/{parent=projects/*/locations/*/repositories/*}/workflowInvocations\022\324\001\n"
+ + "\025GetWorkflowInvocation\0226.google.cloud.dataform.v1"
+ + ".GetWorkflowInvocationRequest\032,.google.c"
+ + "loud.dataform.v1.WorkflowInvocation\"U\332A\004"
+ + "name\202\323\344\223\002H\022F/v1/{name=projects/*/locatio"
+ + "ns/*/repositories/*/workflowInvocations/*}\022\206\002\n"
+ + "\030CreateWorkflowInvocation\0229.google.cloud.dataform.v1.CreateWorkflowInvocat"
+ + "ionRequest\032,.google.cloud.dataform.v1.Wo"
+ + "rkflowInvocation\"\200\001\332A\032parent,workflow_in"
+ + "vocation\202\323\344\223\002]\"F/v1/{parent=projects/*/l"
+ + "ocations/*/repositories/*}/workflowInvocations:\023workflow_invocation\022\304\001\n"
+ + "\030DeleteWorkflowInvocation\0229.google.cloud.dataform"
+ + ".v1.DeleteWorkflowInvocationRequest\032\026.go"
+ + "ogle.protobuf.Empty\"U\332A\004name\202\323\344\223\002H*F/v1/"
+ + "{name=projects/*/locations/*/repositories/*/workflowInvocations/*}\022\353\001\n"
+ + "\030CancelWorkflowInvocation\0229.google.cloud.dataform."
+ + "v1.CancelWorkflowInvocationRequest\032:.google.cloud.dataform.v1.CancelWorkflowInvo"
+ + "cationResponse\"X\202\323\344\223\002R\"M/v1/{name=projec"
+ + "ts/*/locations/*/repositories/*/workflowInvocations/*}:cancel:\001*\022\371\001\n"
+ + "\036QueryWorkflowInvocationActions\022?.google.cloud.dataf"
+ + "orm.v1.QueryWorkflowInvocationActionsRequest\032@.google.cloud.dataform.v1.QueryWor"
+ + "kflowInvocationActionsResponse\"T\202\323\344\223\002N\022L"
+ + "/v1/{name=projects/*/locations/*/repositories/*/workflowInvocations/*}:query\022\222\001\n"
+ "\tGetConfig\022*.google.cloud.dataform.v1.GetConfigRequest\032"
- + " .google.cloud.dataform.v1.Conf"
- + "ig\"7\332A\004name\202\323\344\223\002*\022(/v1/{name=projects/*/locations/*/config}\022\265\001\n"
+ + " .google.cloud.dataform.v"
+ + "1.Config\"7\332A\004name\202\323\344\223\002*\022(/v1/{name=projects/*/locations/*/config}\022\265\001\n"
+ "\014UpdateConfig\022-.google.cloud.dataform.v1.UpdateConfigRequest\032"
- + " .google.cloud.dataform.v1.Config\"T\332"
- + "A\022config,update_mask\202\323\344\223\00292//v1/{config."
- + "name=projects/*/locations/*/config}:\006con",
- "fig\022\367\002\n\014GetIamPolicy\022\".google.iam.v1.Get"
- + "IamPolicyRequest\032\025.google.iam.v1.Policy\""
- + "\253\002\332A\010resource\202\323\344\223\002\231\002\022A/v1/{resource=proj"
- + "ects/*/locations/*/repositories/*}:getIa"
- + "mPolicyZP\022N/v1/{resource=projects/*/loca"
- + "tions/*/repositories/*/workspaces/*}:get"
- + "IamPolicyZ>\022\022string folder_id = 3 [deprecated = true];
*
* @deprecated google.cloud.dataform.v1beta1.CreateFolderRequest.folder_id is deprecated. See
- * google/cloud/dataform/v1beta1/dataform.proto;l=3907
+ * google/cloud/dataform/v1beta1/dataform.proto;l=3909
* @return The folderId.
*/
@java.lang.Override
@@ -238,7 +238,7 @@ public java.lang.String getFolderId() {
* string folder_id = 3 [deprecated = true];
*
* @deprecated google.cloud.dataform.v1beta1.CreateFolderRequest.folder_id is deprecated. See
- * google/cloud/dataform/v1beta1/dataform.proto;l=3907
+ * google/cloud/dataform/v1beta1/dataform.proto;l=3909
* @return The bytes for folderId.
*/
@java.lang.Override
@@ -986,7 +986,7 @@ public com.google.cloud.dataform.v1beta1.FolderOrBuilder getFolderOrBuilder() {
* string folder_id = 3 [deprecated = true];
*
* @deprecated google.cloud.dataform.v1beta1.CreateFolderRequest.folder_id is deprecated. See
- * google/cloud/dataform/v1beta1/dataform.proto;l=3907
+ * google/cloud/dataform/v1beta1/dataform.proto;l=3909
* @return The folderId.
*/
@java.lang.Deprecated
@@ -1015,7 +1015,7 @@ public java.lang.String getFolderId() {
* string folder_id = 3 [deprecated = true];
*
* @deprecated google.cloud.dataform.v1beta1.CreateFolderRequest.folder_id is deprecated. See
- * google/cloud/dataform/v1beta1/dataform.proto;l=3907
+ * google/cloud/dataform/v1beta1/dataform.proto;l=3909
* @return The bytes for folderId.
*/
@java.lang.Deprecated
@@ -1044,7 +1044,7 @@ public com.google.protobuf.ByteString getFolderIdBytes() {
* string folder_id = 3 [deprecated = true];
*
* @deprecated google.cloud.dataform.v1beta1.CreateFolderRequest.folder_id is deprecated. See
- * google/cloud/dataform/v1beta1/dataform.proto;l=3907
+ * google/cloud/dataform/v1beta1/dataform.proto;l=3909
* @param value The folderId to set.
* @return This builder for chaining.
*/
@@ -1072,7 +1072,7 @@ public Builder setFolderId(java.lang.String value) {
* string folder_id = 3 [deprecated = true];
*
* @deprecated google.cloud.dataform.v1beta1.CreateFolderRequest.folder_id is deprecated. See
- * google/cloud/dataform/v1beta1/dataform.proto;l=3907
+ * google/cloud/dataform/v1beta1/dataform.proto;l=3909
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -1096,7 +1096,7 @@ public Builder clearFolderId() {
* string folder_id = 3 [deprecated = true];
*
* @deprecated google.cloud.dataform.v1beta1.CreateFolderRequest.folder_id is deprecated. See
- * google/cloud/dataform/v1beta1/dataform.proto;l=3907
+ * google/cloud/dataform/v1beta1/dataform.proto;l=3909
* @param value The bytes for folderId to set.
* @return This builder for chaining.
*/
diff --git a/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateFolderRequestOrBuilder.java b/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateFolderRequestOrBuilder.java
index 415c0cdb7e7b..48c8a790d3e4 100644
--- a/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateFolderRequestOrBuilder.java
+++ b/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateFolderRequestOrBuilder.java
@@ -114,7 +114,7 @@ public interface CreateFolderRequestOrBuilder
* string folder_id = 3 [deprecated = true];
*
* @deprecated google.cloud.dataform.v1beta1.CreateFolderRequest.folder_id is deprecated. See
- * google/cloud/dataform/v1beta1/dataform.proto;l=3907
+ * google/cloud/dataform/v1beta1/dataform.proto;l=3909
* @return The folderId.
*/
@java.lang.Deprecated
@@ -133,7 +133,7 @@ public interface CreateFolderRequestOrBuilder
* string folder_id = 3 [deprecated = true];
*
* @deprecated google.cloud.dataform.v1beta1.CreateFolderRequest.folder_id is deprecated. See
- * google/cloud/dataform/v1beta1/dataform.proto;l=3907
+ * google/cloud/dataform/v1beta1/dataform.proto;l=3909
* @return The bytes for folderId.
*/
@java.lang.Deprecated
diff --git a/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateTeamFolderRequest.java b/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateTeamFolderRequest.java
index 5c6a8655a393..e8e56632a60a 100644
--- a/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateTeamFolderRequest.java
+++ b/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateTeamFolderRequest.java
@@ -208,7 +208,7 @@ public com.google.cloud.dataform.v1beta1.TeamFolderOrBuilder getTeamFolderOrBuil
* string team_folder_id = 3 [deprecated = true];
*
* @deprecated google.cloud.dataform.v1beta1.CreateTeamFolderRequest.team_folder_id is deprecated.
- * See google/cloud/dataform/v1beta1/dataform.proto;l=4219
+ * See google/cloud/dataform/v1beta1/dataform.proto;l=4221
* @return The teamFolderId.
*/
@java.lang.Override
@@ -238,7 +238,7 @@ public java.lang.String getTeamFolderId() {
* string team_folder_id = 3 [deprecated = true];
*
* @deprecated google.cloud.dataform.v1beta1.CreateTeamFolderRequest.team_folder_id is deprecated.
- * See google/cloud/dataform/v1beta1/dataform.proto;l=4219
+ * See google/cloud/dataform/v1beta1/dataform.proto;l=4221
* @return The bytes for teamFolderId.
*/
@java.lang.Override
@@ -988,7 +988,7 @@ public com.google.cloud.dataform.v1beta1.TeamFolderOrBuilder getTeamFolderOrBuil
* string team_folder_id = 3 [deprecated = true];
*
* @deprecated google.cloud.dataform.v1beta1.CreateTeamFolderRequest.team_folder_id is
- * deprecated. See google/cloud/dataform/v1beta1/dataform.proto;l=4219
+ * deprecated. See google/cloud/dataform/v1beta1/dataform.proto;l=4221
* @return The teamFolderId.
*/
@java.lang.Deprecated
@@ -1017,7 +1017,7 @@ public java.lang.String getTeamFolderId() {
* string team_folder_id = 3 [deprecated = true];
*
* @deprecated google.cloud.dataform.v1beta1.CreateTeamFolderRequest.team_folder_id is
- * deprecated. See google/cloud/dataform/v1beta1/dataform.proto;l=4219
+ * deprecated. See google/cloud/dataform/v1beta1/dataform.proto;l=4221
* @return The bytes for teamFolderId.
*/
@java.lang.Deprecated
@@ -1046,7 +1046,7 @@ public com.google.protobuf.ByteString getTeamFolderIdBytes() {
* string team_folder_id = 3 [deprecated = true];
*
* @deprecated google.cloud.dataform.v1beta1.CreateTeamFolderRequest.team_folder_id is
- * deprecated. See google/cloud/dataform/v1beta1/dataform.proto;l=4219
+ * deprecated. See google/cloud/dataform/v1beta1/dataform.proto;l=4221
* @param value The teamFolderId to set.
* @return This builder for chaining.
*/
@@ -1074,7 +1074,7 @@ public Builder setTeamFolderId(java.lang.String value) {
* string team_folder_id = 3 [deprecated = true];
*
* @deprecated google.cloud.dataform.v1beta1.CreateTeamFolderRequest.team_folder_id is
- * deprecated. See google/cloud/dataform/v1beta1/dataform.proto;l=4219
+ * deprecated. See google/cloud/dataform/v1beta1/dataform.proto;l=4221
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -1098,7 +1098,7 @@ public Builder clearTeamFolderId() {
* string team_folder_id = 3 [deprecated = true];
*
* @deprecated google.cloud.dataform.v1beta1.CreateTeamFolderRequest.team_folder_id is
- * deprecated. See google/cloud/dataform/v1beta1/dataform.proto;l=4219
+ * deprecated. See google/cloud/dataform/v1beta1/dataform.proto;l=4221
* @param value The bytes for teamFolderId to set.
* @return This builder for chaining.
*/
diff --git a/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateTeamFolderRequestOrBuilder.java b/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateTeamFolderRequestOrBuilder.java
index 07ac432e4be3..332462edeae2 100644
--- a/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateTeamFolderRequestOrBuilder.java
+++ b/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateTeamFolderRequestOrBuilder.java
@@ -114,7 +114,7 @@ public interface CreateTeamFolderRequestOrBuilder
* string team_folder_id = 3 [deprecated = true];
*
* @deprecated google.cloud.dataform.v1beta1.CreateTeamFolderRequest.team_folder_id is deprecated.
- * See google/cloud/dataform/v1beta1/dataform.proto;l=4219
+ * See google/cloud/dataform/v1beta1/dataform.proto;l=4221
* @return The teamFolderId.
*/
@java.lang.Deprecated
@@ -133,7 +133,7 @@ public interface CreateTeamFolderRequestOrBuilder
* string team_folder_id = 3 [deprecated = true];
*
* @deprecated google.cloud.dataform.v1beta1.CreateTeamFolderRequest.team_folder_id is deprecated.
- * See google/cloud/dataform/v1beta1/dataform.proto;l=4219
+ * See google/cloud/dataform/v1beta1/dataform.proto;l=4221
* @return The bytes for teamFolderId.
*/
@java.lang.Deprecated
diff --git a/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java b/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java
index 527dbed6afac..7418631d5520 100644
--- a/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java
+++ b/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java
@@ -1611,7 +1611,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "&dataform.googleapis.com/WorkflowConfig\022cprojects/{project}/locat"
+ "ions/{location}/repositories/{repository"
+ "}/workflowConfigs/{workflow_config}*\017workflowConfigs2\016workflowConfigB\024\n"
- + "\022_internal_metadata\"\325\005\n"
+ + "\022_internal_metadata\"\333\005\n"
+ "\020InvocationConfig\022D\n"
+ "\020included_targets\030\001"
+ " \003(\0132%.google.cloud.dataform.v1beta1.TargetB\003\340A\001\022\032\n\r"
@@ -1632,7 +1632,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\032QUERY_PRIORITY_UNSPECIFIED\020\000\022\017\n"
+ "\013INTERACTIVE\020\001\022\t\n"
+ "\005BATCH\020\002B\021\n"
- + "\017_query_priority\"\211\001\n"
+ + "\017_query_priorityJ\004\010\013\020\014\"\211\001\n"
+ "\032ListWorkflowConfigsRequest\022:\n"
+ "\006parent\030\001 \001(\tB*\340A\002\372A$\n"
+ "\"dataform.googleapis.com/Repository\022\026\n"
@@ -1649,13 +1649,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\033CreateWorkflowConfigRequest\022:\n"
+ "\006parent\030\001 \001(\tB*\340A\002\372A$\n"
+ "\"dataform.googleapis.com/Repository\022K\n"
- + "\017workflow_config\030\002 \001(\0132-.g"
- + "oogle.cloud.dataform.v1beta1.WorkflowConfigB\003\340A\002\022\037\n"
+ + "\017workflow_config\030\002 \001"
+ + "(\0132-.google.cloud.dataform.v1beta1.WorkflowConfigB\003\340A\002\022\037\n"
+ "\022workflow_config_id\030\003 \001(\tB\003\340A\002\"\240\001\n"
+ "\033UpdateWorkflowConfigRequest\0224\n"
+ "\013update_mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\022K\n"
- + "\017workflow_config\030\002 \001(\0132-.googl"
- + "e.cloud.dataform.v1beta1.WorkflowConfigB\003\340A\002\"[\n"
+ + "\017workflow_config\030\002 \001(\0132-"
+ + ".google.cloud.dataform.v1beta1.WorkflowConfigB\003\340A\002\"[\n"
+ "\033DeleteWorkflowConfigRequest\022<\n"
+ "\004name\030\001 \001(\tB.\340A\002\372A(\n"
+ "&dataform.googleapis.com/WorkflowConfig\"\365\010\n"
@@ -1665,21 +1665,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\017workflow_config\030\006 \001(\tB.\340A\005\372A(\n"
+ "&dataform.googleapis.com/WorkflowConfigH\000\022\021\n"
+ "\004name\030\001 \001(\tB\003\340A\003\022O\n"
- + "\021invocation_config\030\003 \001"
- + "(\0132/.google.cloud.dataform.v1beta1.InvocationConfigB\003\340A\005\022K\n"
- + "\005state\030\004 \001(\01627.google"
- + ".cloud.dataform.v1beta1.WorkflowInvocation.StateB\003\340A\003\0225\n"
+ + "\021invocation_config\030\003"
+ + " \001(\0132/.google.cloud.dataform.v1beta1.InvocationConfigB\003\340A\005\022K\n"
+ + "\005state\030\004 \001(\01627."
+ + "google.cloud.dataform.v1beta1.WorkflowInvocation.StateB\003\340A\003\0225\n"
+ "\021invocation_timing\030\005 \001(\0132\025.google.type.IntervalB\003\340A\003\022V\n"
+ "\033resolved_compilation_result\030\007 \001(\tB1\340A\003\372A+\n"
+ ")dataform.googleapis.com/CompilationResult\022V\n"
- + "\025data_encryption_state\030\010 \001(\01322.google.clo"
- + "ud.dataform.v1beta1.DataEncryptionStateB\003\340A\003\022#\n"
+ + "\025data_encryption_state\030\010 \001(\01322.goog"
+ + "le.cloud.dataform.v1beta1.DataEncryptionStateB\003\340A\003\022#\n"
+ "\021internal_metadata\030\t \001(\tB\003\340A\003H\001\210\001\001\022^\n"
+ "\031private_resource_metadata\030\n"
- + " \001(\01326.g"
- + "oogle.cloud.dataform.v1beta1.PrivateResourceMetadataB\003\340A\003\022K\n"
- + "\017pipeline_config\030\013 \001"
- + "(\0132-.google.cloud.dataform.v1beta1.PipelineConfigB\003\340A\003\"d\n"
+ + " \001"
+ + "(\01326.google.cloud.dataform.v1beta1.PrivateResourceMetadataB\003\340A\003\022K\n"
+ + "\017pipeline_config\030\013"
+ + " \001(\0132-.google.cloud.dataform.v1beta1.PipelineConfigB\003\340A\003\"d\n"
+ "\005State\022\025\n"
+ "\021STATE_UNSPECIFIED\020\000\022\013\n"
+ "\007RUNNING\020\001\022\r\n"
@@ -1687,9 +1687,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\tCANCELLED\020\003\022\n\n"
+ "\006FAILED\020\004\022\r\n"
+ "\tCANCELING\020\005:\306\001\352A\302\001\n"
- + "*dataform.googleapis.com/WorkflowInvocation\022kprojects/{project}/locations/{l"
- + "ocation}/repositories/{repository}/workf"
- + "lowInvocations/{workflow_invocation}*\023workflowInvocations2\022workflowInvocationB\024\n"
+ + "*dataform.googleapis.com/WorkflowInvocation\022kprojects/{project}/locati"
+ + "ons/{location}/repositories/{repository}/workflowInvocations/{workflow_invocatio"
+ + "n}*\023workflowInvocations2\022workflowInvocationB\024\n"
+ "\022compilation_sourceB\024\n"
+ "\022_internal_metadata\"\271\001\n"
+ "\036ListWorkflowInvocationsRequest\022:\n"
@@ -1720,18 +1720,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "*dataform.googleapis.com/WorkflowInvocation\"\"\n"
+ " CancelWorkflowInvocationResponse\"\371\020\n"
+ "\030WorkflowInvocationAction\022f\n"
- + "\017bigquery_action\030\006 \001(\0132F.google.cloud.dataform.v1beta1.Work"
- + "flowInvocationAction.BigQueryActionB\003\340A\003H\000\022f\n"
- + "\017notebook_action\030\010 \001(\0132F.google.clo"
- + "ud.dataform.v1beta1.WorkflowInvocationAction.NotebookActionB\003\340A\003H\000\022u\n"
- + "\027data_preparation_action\030\t \001(\0132M.google.cloud.dataf"
- + "orm.v1beta1.WorkflowInvocationAction.DataPreparationActionB\003\340A\003H\000\022:\n"
- + "\006target\030\001 \001("
- + "\0132%.google.cloud.dataform.v1beta1.TargetB\003\340A\003\022D\n"
- + "\020canonical_target\030\002"
- + " \001(\0132%.google.cloud.dataform.v1beta1.TargetB\003\340A\003\022Q\n"
- + "\005state\030\004 \001(\0162=.google.cloud.dataform.v1bet"
- + "a1.WorkflowInvocationAction.StateB\003\340A\003\022\033\n"
+ + "\017bigquery_action\030\006 \001(\0132F.google.cloud.dataform.v1beta"
+ + "1.WorkflowInvocationAction.BigQueryActionB\003\340A\003H\000\022f\n"
+ + "\017notebook_action\030\010 \001(\0132F.goog"
+ + "le.cloud.dataform.v1beta1.WorkflowInvocationAction.NotebookActionB\003\340A\003H\000\022u\n"
+ + "\027data_preparation_action\030\t \001(\0132M.google.cloud"
+ + ".dataform.v1beta1.WorkflowInvocationAction.DataPreparationActionB\003\340A\003H\000\022:\n"
+ + "\006target\030\001"
+ + " \001(\0132%.google.cloud.dataform.v1beta1.TargetB\003\340A\003\022D\n"
+ + "\020canonical_target\030\002 \001(\0132%."
+ + "google.cloud.dataform.v1beta1.TargetB\003\340A\003\022Q\n"
+ + "\005state\030\004 \001(\0162=.google.cloud.dataform"
+ + ".v1beta1.WorkflowInvocationAction.StateB\003\340A\003\022\033\n"
+ "\016failure_reason\030\007 \001(\tB\003\340A\003\0225\n"
+ "\021invocation_timing\030\005 \001(\0132\025.google.type.IntervalB\003\340A\003\022#\n"
+ "\021internal_metadata\030\n"
@@ -1745,29 +1745,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\tfile_path\030\003 \001(\tB\003\340A\003\032\251\t\n"
+ "\025DataPreparationAction\022\034\n\r"
+ "contents_yaml\030\002 \001(\tB\003\340A\003H\000\022y\n"
- + "\014contents_sql\030\006 \001(\0132a.google.clo"
- + "ud.dataform.v1beta1.WorkflowInvocationAc"
- + "tion.DataPreparationAction.ActionSqlDefinitionH\000\022\032\n\r"
+ + "\014contents_sql\030\006 \001(\0132a.google.cloud.dataform.v1beta1.WorkflowInvoca"
+ + "tionAction.DataPreparationAction.ActionSqlDefinitionH\000\022\032\n\r"
+ "generated_sql\030\003 \001(\tB\003\340A\003\022\023\n"
+ "\006job_id\030\004 \001(\tB\003\340A\003\032\216\002\n"
+ "\023ActionSqlDefinition\022\r\n"
+ "\005query\030\001 \001(\t\022s\n"
- + "\013error_table\030\002 \001(\0132^.google.cloud.dataform.v1beta1.WorkflowIn"
- + "vocationAction.DataPreparationAction.ActionErrorTable\022s\n"
- + "\013load_config\030\003 \001(\0132^.google.cloud.dataform.v1beta1.WorkflowInvoc"
- + "ationAction.DataPreparationAction.ActionLoadConfig\032a\n"
+ + "\013error_table\030\002 \001(\0132^.google.cloud.dataform.v1beta1.Work"
+ + "flowInvocationAction.DataPreparationAction.ActionErrorTable\022s\n"
+ + "\013load_config\030\003 \001(\0132^.google.cloud.dataform.v1beta1.Workflo"
+ + "wInvocationAction.DataPreparationAction.ActionLoadConfig\032a\n"
+ "\020ActionErrorTable\0225\n"
+ "\006target\030\001 \001(\0132%.google.cloud.dataform.v1beta1.Target\022\026\n"
+ "\016retention_days\030\002 \001(\005\032\376\003\n"
+ "\020ActionLoadConfig\022u\n"
- + "\007replace\030\001 \001(\0132b.google.cloud.dataform.v1beta1.WorkflowInvocationAc"
- + "tion.DataPreparationAction.ActionSimpleLoadModeH\000\022t\n"
- + "\006append\030\002 \001(\0132b.google.cloud.dataform.v1beta1.WorkflowInvocationActi"
- + "on.DataPreparationAction.ActionSimpleLoadModeH\000\022z\n"
- + "\007maximum\030\003 \001(\0132g.google.cloud.dataform.v1beta1.WorkflowInvocationActio"
- + "n.DataPreparationAction.ActionIncrementalLoadModeH\000\022y\n"
- + "\006unique\030\004 \001(\0132g.google.cloud.dataform.v1beta1.WorkflowInvocationAc"
- + "tion.DataPreparationAction.ActionIncrementalLoadModeH\000B\006\n"
+ + "\007replace\030\001 \001(\0132b.google.cloud.dataform.v1beta1.WorkflowInvoca"
+ + "tionAction.DataPreparationAction.ActionSimpleLoadModeH\000\022t\n"
+ + "\006append\030\002 \001(\0132b.google.cloud.dataform.v1beta1.WorkflowInvocati"
+ + "onAction.DataPreparationAction.ActionSimpleLoadModeH\000\022z\n"
+ + "\007maximum\030\003 \001(\0132g.google.cloud.dataform.v1beta1.WorkflowInvocatio"
+ + "nAction.DataPreparationAction.ActionIncrementalLoadModeH\000\022y\n"
+ + "\006unique\030\004 \001(\0132g.google.cloud.dataform.v1beta1.WorkflowInvoca"
+ + "tionAction.DataPreparationAction.ActionIncrementalLoadModeH\000B\006\n"
+ "\004mode\032\026\n"
+ "\024ActionSimpleLoadMode\032+\n"
+ "\031ActionIncrementalLoadMode\022\016\n"
@@ -1789,16 +1788,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n"
+ "page_token\030\003 \001(\tB\003\340A\001\"\237\001\n"
+ "&QueryWorkflowInvocationActionsResponse\022\\\n"
- + "\033workflow_invocation_actions\030\001 \003(\01327"
- + ".google.cloud.dataform.v1beta1.WorkflowInvocationAction\022\027\n"
+ + "\033workflow_invocation_actions\030\001"
+ + " \003(\01327.google.cloud.dataform.v1beta1.WorkflowInvocationAction\022\027\n"
+ "\017next_page_token\030\002 \001(\t\"\205\002\n"
+ "\006Config\022\021\n"
+ "\004name\030\001 \001(\tB\003\340A\010\022G\n"
+ "\024default_kms_key_name\030\002 \001(\tB)\340A\001\372A#\n"
+ "!cloudkms.googleapis.com/CryptoKey\022#\n"
+ "\021internal_metadata\030\007 \001(\tB\003\340A\003H\000\210\001\001:d\352Aa\n"
- + "\036dataform.googleapis.com/Config\022.projects/{project}/lo"
- + "cations/{location}/config*\007configs2\006configB\024\n"
+ + "\036dataform.googleapis.com/Config\022.projects/{proje"
+ + "ct}/locations/{location}/config*\007configs2\006configB\024\n"
+ "\022_internal_metadata\"H\n"
+ "\020GetConfigRequest\0224\n"
+ "\004name\030\001 \001(\tB&\340A\002\372A \n"
@@ -1817,15 +1816,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\013update_time\030\006 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022#\n"
+ "\021internal_metadata\030\007 \001(\tB\003\340A\003H\000\210\001\001\022\'\n"
+ "\025creator_iam_principal\030\010 \001(\tB\003\340A\003H\001\210\001\001:n\352Ak\n"
- + "\036dataform.googleapis.com/Folder\0228projects/{project}/"
- + "locations/{location}/folders/{folder}*\007folders2\006folderB\024\n"
+ + "\036dataform.googleapis.com/Folder\0228projects/{pro"
+ + "ject}/locations/{location}/folders/{folder}*\007folders2\006folderB\024\n"
+ "\022_internal_metadataB\030\n"
+ "\026_creator_iam_principal\"\243\001\n"
+ "\023CreateFolderRequest\0229\n"
+ "\006parent\030\001 \001(\tB)\340A\002\372A#\n"
+ "!locations.googleapis.com/Location\022:\n"
- + "\006folder\030\002 \001("
- + "\0132%.google.cloud.dataform.v1beta1.FolderB\003\340A\002\022\025\n"
+ + "\006folder\030\002"
+ + " \001(\0132%.google.cloud.dataform.v1beta1.FolderB\003\340A\002\022\025\n"
+ "\tfolder_id\030\003 \001(\tB\002\030\001\"\234\001\n"
+ "\021MoveFolderRequest\0224\n"
+ "\004name\030\001 \001(\tB&\340A\002\372A \n"
@@ -1853,8 +1852,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\013create_time\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221\n"
+ "\010end_time\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\023\n"
+ "\006target\030\003 \001(\tB\003\340A\003\022Q\n"
- + "\005state\030\004 \001(\0162=.google.cloud.dataform",
- ".v1beta1.DeleteFolderTreeMetadata.StateB\003\340A\003\022\035\n"
+ + "\005state\030\004 \001(\0162=.google.cloud.da",
+ "taform.v1beta1.DeleteFolderTreeMetadata.StateB\003\340A\003\022\035\n"
+ "\020percent_complete\030\005 \001(\005B\003\340A\003\"[\n"
+ "\005State\022\025\n"
+ "\021STATE_UNSPECIFIED\020\000\022\017\n"
@@ -1870,8 +1869,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\010order_by\030\004 \001(\tB\003\340A\001\022\023\n"
+ "\006filter\030\005 \001(\tB\003\340A\001\"\262\002\n"
+ "\033QueryFolderContentsResponse\022_\n"
- + "\007entries\030\001 \003(\0132N."
- + "google.cloud.dataform.v1beta1.QueryFolderContentsResponse.FolderContentsEntry\022\027\n"
+ + "\007entries\030\001 \003(\0132N.google.cloud.dataform.v1beta1.Quer"
+ + "yFolderContentsResponse.FolderContentsEntry\022\027\n"
+ "\017next_page_token\030\002 \001(\t\032\230\001\n"
+ "\023FolderContentsEntry\0227\n"
+ "\006folder\030\001 \001(\0132%.google.cloud.dataform.v1beta1.FolderH\000\022?\n\n"
@@ -1885,8 +1884,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\010order_by\030\004 \001(\tB\003\340A\001\022\023\n"
+ "\006filter\030\005 \001(\tB\003\340A\001\"\262\002\n"
+ "\035QueryUserRootContentsResponse\022_\n"
- + "\007entries\030\001 \003(\0132N.google.cloud.dataform."
- + "v1beta1.QueryUserRootContentsResponse.RootContentsEntry\022\027\n"
+ + "\007entries\030\001 \003(\0132N.google.cloud.dat"
+ + "aform.v1beta1.QueryUserRootContentsResponse.RootContentsEntry\022\027\n"
+ "\017next_page_token\030\002 \001(\t\032\226\001\n"
+ "\021RootContentsEntry\0227\n"
+ "\006folder\030\001 \001(\0132%.google.cloud.dataform.v1beta1.FolderH\000\022?\n\n"
@@ -1900,8 +1899,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\021internal_metadata\030\005 \001(\tB\003\340A\003H\000\210\001\001\022\'\n"
+ "\025creator_iam_principal\030\006 \001("
+ "\tB\003\340A\003H\001\210\001\001:\204\001\352A\200\001\n"
- + "\"dataform.googleapis.com/TeamFolder\022Aprojects/{project}/locations/{locat"
- + "ion}/teamFolders/{team_folder}*\013teamFolders2\n"
+ + "\"dataform.googleapis.com/TeamFolder\022Aprojects/{project}/locations/"
+ + "{location}/teamFolders/{team_folder}*\013teamFolders2\n"
+ "teamFolderB\024\n"
+ "\022_internal_metadataB\030\n"
+ "\026_creator_iam_principal\"\265\001\n"
@@ -1916,8 +1915,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\"dataform.googleapis.com/TeamFolder\"\224\001\n"
+ "\027UpdateTeamFolderRequest\0224\n"
+ "\013update_mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\022C\n"
- + "\013team_folder\030\002 \001(\0132).googl"
- + "e.cloud.dataform.v1beta1.TeamFolderB\003\340A\002\"S\n"
+ + "\013team_folder\030\002 \001(\0132)"
+ + ".google.cloud.dataform.v1beta1.TeamFolderB\003\340A\002\"S\n"
+ "\027DeleteTeamFolderRequest\0228\n"
+ "\004name\030\001 \001(\tB*\340A\002\372A$\n"
+ "\"dataform.googleapis.com/TeamFolder\"\276\001\n"
@@ -1929,8 +1928,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\010order_by\030\004 \001(\tB\003\340A\001\022\023\n"
+ "\006filter\030\005 \001(\tB\003\340A\001\"\302\002\n"
+ "\037QueryTeamFolderContentsResponse\022g\n"
- + "\007entries\030\001 \003(\0132V.google.cloud.dataform.v1be"
- + "ta1.QueryTeamFolderContentsResponse.TeamFolderContentsEntry\022\027\n"
+ + "\007entries\030\001 \003(\0132V.google.cloud.datafor"
+ + "m.v1beta1.QueryTeamFolderContentsResponse.TeamFolderContentsEntry\022\027\n"
+ "\017next_page_token\030\002 \001(\t\032\234\001\n"
+ "\027TeamFolderContentsEntry\0227\n"
+ "\006folder\030\001 \001(\0132%.google.cloud.dataform.v1beta1.FolderH\000\022?\n\n"
@@ -1939,14 +1938,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\030SearchTeamFoldersRequest\022;\n"
+ "\010location\030\001 \001(\tB)\340A\002\372A#\n"
+ "!locations.googleapis.com/Location\022\026\n"
- + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n"
- + "\n"
+ + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n"
+ "page_token\030\003 \001(\tB\003\340A\001\022\025\n"
+ "\010order_by\030\004 \001(\tB\003\340A\001\022\023\n"
+ "\006filter\030\005 \001(\tB\003\340A\001\"\373\001\n"
+ "\031SearchTeamFoldersResponse\022`\n"
- + "\007results\030\001 \003(\0132O.goog"
- + "le.cloud.dataform.v1beta1.SearchTeamFoldersResponse.TeamFolderSearchResult\022\027\n"
+ + "\007results\030\001 \003(\0132O.google.cloud.dataform.v1beta1.SearchTe"
+ + "amFoldersResponse.TeamFolderSearchResult\022\027\n"
+ "\017next_page_token\030\002 \001(\t\032c\n"
+ "\026TeamFolderSearchResult\022@\n"
+ "\013team_folder\030\002"
@@ -1969,22 +1967,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\013create_time\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221\n"
+ "\010end_time\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\023\n"
+ "\006target\030\003 \001(\tB\003\340A\003\022J\n"
- + "\005state\030\004 \001(\0162;.google.clou"
- + "d.dataform.v1beta1.MoveRepositoryMetadata.State\022\030\n"
+ + "\005state\030\004 \001(\0162;.googl"
+ + "e.cloud.dataform.v1beta1.MoveRepositoryMetadata.State\022\030\n"
+ "\020percent_complete\030\005 \001(\005\"Y\n"
+ "\005State\022\025\n"
+ "\021STATE_UNSPECIFIED\020\000\022\017\n"
+ "\013INITIALIZED\020\001\022\017\n"
+ "\013IN_PROGRESS\020\002\022\013\n"
- + "\007SUCCESS\020\003\022\n\n"
+ + "\007SUCCESS\020\003\022\n"
+ + "\n"
+ "\006FAILED\020\004\"\341\003\n"
+ "#DeleteRepositoryLongRunningMetadata\0224\n"
+ "\013create_time\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221\n"
+ "\010end_time\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022:\n"
+ "\006target\030\003 \001(\tB*\340A\003\372A$\n"
+ "\"dataform.googleapis.com/Repository\022\\\n"
- + "\005state\030\004 \001(\0162H.google.cloud."
- + "dataform.v1beta1.DeleteRepositoryLongRunningMetadata.StateB\003\340A\003\022\035\n"
+ + "\005state\030\004 \001(\0162H.google."
+ + "cloud.dataform.v1beta1.DeleteRepositoryLongRunningMetadata.StateB\003\340A\003\022\035\n"
+ "\020percent_complete\030\005 \001(\005B\003\340A\003\022\"\n"
+ "\025child_resources_count\030\006 \001(\003B\003\340A\003\022,\n"
+ "\037remaining_child_resources_count\030\007 \001(\003B\003\340A\003\"F\n"
@@ -1996,8 +1995,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\035FetchWorkspaceBranchesRequest\0227\n"
+ "\004name\030\001 \001(\tB)\340A\002\372A#\n"
+ "!dataform.googleapis.com/Workspace\022^\n"
- + "\006filter\030\002 \001(\0162I.go"
- + "ogle.cloud.dataform.v1beta1.FetchWorkspaceBranchesRequest.BranchFilterB\003\340A\001\022\026\n"
+ + "\006filter\030\002 \001(\0162I.google.cloud.dataform.v1beta1.FetchW"
+ + "orkspaceBranchesRequest.BranchFilterB\003\340A\001\022\026\n"
+ "\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\n"
+ "page_token\030\004 \001(\tB\003\340A\001\"W\n"
+ "\014BranchFilter\022\035\n"
@@ -2022,432 +2021,431 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\035DIRECTORY_CONTENTS_VIEW_BASIC\020\001\022$\n"
+ " DIRECTORY_CONTENTS_VIEW_METADATA\020\0022\267\221\001\n"
+ "\010Dataform\022\264\001\n\r"
- + "GetTeamFolder\0223.google.cloud.dataform.v1be"
- + "ta1.GetTeamFolderRequest\032).google.cloud."
- + "dataform.v1beta1.TeamFolder\"C\332A\004name\202\323\344\223"
- + "\0026\0224/v1beta1/{name=projects/*/locations/*/teamFolders/*}\022\325\001\n"
- + "\020CreateTeamFolder\0226.google.cloud.dataform.v1beta1.CreateTeam"
- + "FolderRequest\032).google.cloud.dataform.v1"
- + "beta1.TeamFolder\"^\332A\022parent,team_folder\202"
- + "\323\344\223\002C\"4/v1beta1/{parent=projects/*/locations/*}/teamFolders:\013team_folder\022\346\001\n"
- + "\020UpdateTeamFolder\0226.google.cloud.dataform.v1"
- + "beta1.UpdateTeamFolderRequest\032).google.c"
- + "loud.dataform.v1beta1.TeamFolder\"o\332A\027tea"
- + "m_folder,update_mask\202\323\344\223\002O2@/v1beta1/{te"
- + "am_folder.name=projects/*/locations/*/teamFolders/*}:\013team_folder\022\247\001\n"
- + "\020DeleteTeamFolder\0226.google.cloud.dataform.v1beta1.D"
- + "eleteTeamFolderRequest\032\026.google.protobuf"
- + ".Empty\"C\332A\004name\202\323\344\223\0026*4/v1beta1/{name=projects/*/locations/*/teamFolders/*}\022\377\001\n"
- + "\024DeleteTeamFolderTree\022:.google.cloud.data"
- + "form.v1beta1.DeleteTeamFolderTreeRequest\032\035.google.longrunning.Operation\"\213\001\312A1\n"
+ + "GetTeamFolder\0223.google.cloud.dataform.v1beta1.GetTeamFolderRequest\032).google."
+ + "cloud.dataform.v1beta1.TeamFolder\"C\332A\004na"
+ + "me\202\323\344\223\0026\0224/v1beta1/{name=projects/*/locations/*/teamFolders/*}\022\325\001\n"
+ + "\020CreateTeamFolder\0226.google.cloud.dataform.v1beta1.Crea"
+ + "teTeamFolderRequest\032).google.cloud.dataf"
+ + "orm.v1beta1.TeamFolder\"^\332A\022parent,team_f"
+ + "older\202\323\344\223\002C\"4/v1beta1/{parent=projects/*"
+ + "/locations/*}/teamFolders:\013team_folder\022\346\001\n"
+ + "\020UpdateTeamFolder\0226.google.cloud.dataf"
+ + "orm.v1beta1.UpdateTeamFolderRequest\032).google.cloud.dataform.v1beta1.TeamFolder\"o"
+ + "\332A\027team_folder,update_mask\202\323\344\223\002O2@/v1bet"
+ + "a1/{team_folder.name=projects/*/locations/*/teamFolders/*}:\013team_folder\022\247\001\n"
+ + "\020DeleteTeamFolder\0226.google.cloud.dataform.v1b"
+ + "eta1.DeleteTeamFolderRequest\032\026.google.pr"
+ + "otobuf.Empty\"C\332A\004name\202\323\344\223\0026*4/v1beta1/{n"
+ + "ame=projects/*/locations/*/teamFolders/*}\022\377\001\n"
+ + "\024DeleteTeamFolderTree\022:.google.cloud.dataform.v1beta1.DeleteTeamFolderTreeR"
+ + "equest\032\035.google.longrunning.Operation\"\213\001\312A1\n"
+ "\025google.protobuf.Empty\022\030DeleteFolderTreeMetadata\332A\n"
- + "name,force\202\323\344\223\002D\"?/v1beta1/{nam"
- + "e=projects/*/locations/*/teamFolders/*}:deleteTree:\001*\022\371\001\n"
- + "\027QueryTeamFolderContents\022=.google.cloud.dataform.v1beta1.QueryT"
- + "eamFolderContentsRequest\032>.google.cloud.dataform.v1beta1.QueryTeamFolderContents"
- + "Response\"_\332A\013team_folder\202\323\344\223\002K\022I/v1beta1"
- + "/{team_folder=projects/*/locations/*/teamFolders/*}:queryContents\022\315\001\n"
- + "\021SearchTeamFolders\0227.google.cloud.dataform.v1beta1."
- + "SearchTeamFoldersRequest\0328.google.cloud.dataform.v1beta1.SearchTeamFoldersRespon"
- + "se\"E\202\323\344\223\002?\022=/v1beta1/{location=projects/*/locations/*}/teamFolders:search\022\244\001\n"
- + "\tGetFolder\022/.google.cloud.dataform.v1beta1."
- + "GetFolderRequest\032%.google.cloud.dataform"
- + ".v1beta1.Folder\"?\332A\004name\202\323\344\223\0022\0220/v1beta1"
- + "/{name=projects/*/locations/*/folders/*}\022\273\001\n"
- + "\014CreateFolder\0222.google.cloud.datafor"
- + "m.v1beta1.CreateFolderRequest\032%.google.cloud.dataform.v1beta1.Folder\"P\332A\r"
- + "parent,"
- + "folder\202\323\344\223\002:\"0/v1beta1/{parent=projects/*/locations/*}/folders:\006folder\022\307\001\n"
- + "\014UpdateFolder\0222.google.cloud.dataform.v1beta1."
- + "UpdateFolderRequest\032%.google.cloud.dataf"
- + "orm.v1beta1.Folder\"\\\332A\022folder,update_mas"
- + "k\202\323\344\223\002A27/v1beta1/{folder.name=projects/*/locations/*/folders/*}:\006folder\022\233\001\n"
- + "\014DeleteFolder\0222.google.cloud.dataform.v1beta"
- + "1.DeleteFolderRequest\032\026.google.protobuf."
- + "Empty\"?\332A\004name\202\323\344\223\0022*0/v1beta1/{name=projects/*/locations/*/folders/*}\022\363\001\n"
- + "\020DeleteFolderTree\0226.google.cloud.dataform.v1be"
- + "ta1.DeleteFolderTreeRequest\032\035.google.longrunning.Operation\"\207\001\312A1\n"
+ + "name,force\202\323\344\223\002D\"?/v1beta"
+ + "1/{name=projects/*/locations/*/teamFolders/*}:deleteTree:\001*\022\371\001\n"
+ + "\027QueryTeamFolderContents\022=.google.cloud.dataform.v1beta1."
+ + "QueryTeamFolderContentsRequest\032>.google.cloud.dataform.v1beta1.QueryTeamFolderCo"
+ + "ntentsResponse\"_\332A\013team_folder\202\323\344\223\002K\022I/v"
+ + "1beta1/{team_folder=projects/*/locations/*/teamFolders/*}:queryContents\022\315\001\n"
+ + "\021SearchTeamFolders\0227.google.cloud.dataform.v1"
+ + "beta1.SearchTeamFoldersRequest\0328.google.cloud.dataform.v1beta1.SearchTeamFolders"
+ + "Response\"E\202\323\344\223\002?\022=/v1beta1/{location=pro"
+ + "jects/*/locations/*}/teamFolders:search\022\244\001\n"
+ + "\tGetFolder\022/.google.cloud.dataform.v1beta1.GetFolderRequest\032%.google.cloud.da"
+ + "taform.v1beta1.Folder\"?\332A\004name\202\323\344\223\0022\0220/v"
+ + "1beta1/{name=projects/*/locations/*/folders/*}\022\273\001\n"
+ + "\014CreateFolder\0222.google.cloud.d"
+ + "ataform.v1beta1.CreateFolderRequest\032%.google.cloud.dataform.v1beta1.Folder\"P\332A\r"
+ + "parent,folder\202\323\344\223\002:\"0/v1beta1/{parent=projects/*/locations/*}/folders:\006folder\022\307\001\n"
+ + "\014UpdateFolder\0222.google.cloud.dataform.v1"
+ + "beta1.UpdateFolderRequest\032%.google.cloud"
+ + ".dataform.v1beta1.Folder\"\\\332A\022folder,upda"
+ + "te_mask\202\323\344\223\002A27/v1beta1/{folder.name=pro"
+ + "jects/*/locations/*/folders/*}:\006folder\022\233\001\n"
+ + "\014DeleteFolder\0222.google.cloud.dataform."
+ + "v1beta1.DeleteFolderRequest\032\026.google.pro"
+ + "tobuf.Empty\"?\332A\004name\202\323\344\223\0022*0/v1beta1/{name=projects/*/locations/*/folders/*}\022\363\001\n"
+ + "\020DeleteFolderTree\0226.google.cloud.datafor"
+ + "m.v1beta1.DeleteFolderTreeRequest\032\035.google.longrunning.Operation\"\207\001\312A1\n"
+ "\025google.protobuf.Empty\022\030DeleteFolderTreeMetadata\332A\n"
- + "name,force\202\323\344\223\002@\";/v1beta1/{name=projects/*/locations/*/folders/*}:deleteTree:\001*\022\345\001\n"
- + "\023QueryFolderContents\0229.google.cloud.data"
- + "form.v1beta1.QueryFolderContentsRequest\032:.google.cloud.dataform.v1beta1.QueryFol"
- + "derContentsResponse\"W\332A\006folder\202\323\344\223\002H\022F/v"
- + "1beta1/{folder=projects/*/locations/*/folders/*}:queryFolderContents\022\347\001\n"
- + "\025QueryUserRootContents\022;.google.cloud.dataform.v"
- + "1beta1.QueryUserRootContentsRequest\032<.google.cloud.dataform.v1beta1.QueryUserRoo"
- + "tContentsResponse\"S\332A\010location\202\323\344\223\002B\022@/v"
- + "1beta1/{location=projects/*/locations/*}:queryUserRootContents\022\363\001\n\n"
- + "MoveFolder\0220.google.cloud.dataform.v1beta1.MoveFolder"
- + "Request\032\035.google.longrunning.Operation\"\223\001\312A+\n"
- + "\025google.protobuf.Empty\022\022MoveFolderM"
- + "etadata\332A\"name,destination_containing_fo"
- + "lder\202\323\344\223\002:\"5/v1beta1/{name=projects/*/locations/*/folders/*}:move:\001*\022\313\001\n"
- + "\020ListRepositories\0226.google.cloud.dataform.v1beta"
- + "1.ListRepositoriesRequest\0327.google.cloud.dataform.v1beta1.ListRepositoriesRespon"
- + "se\"F\332A\006parent\202\323\344\223\0027\0225/v1beta1/{parent=projects/*/locations/*}/repositories\022\265\001\n\r"
- + "GetRepository\0223.google.cloud.dataform.v1b"
- + "eta1.GetRepositoryRequest\032).google.cloud"
- + ".dataform.v1beta1.Repository\"D\332A\004name\202\323\344"
- + "\223\0027\0225/v1beta1/{name=projects/*/locations/*/repositories/*}\022\342\001\n"
- + "\020CreateRepository\0226.google.cloud.dataform.v1beta1.CreateRe"
- + "positoryRequest\032).google.cloud.dataform."
- + "v1beta1.Repository\"k\332A\037parent,repository"
- + ",repository_id\202\323\344\223\002C\"5/v1beta1/{parent=projects/*/locations/*}/repositories:\n"
+ + "name,force\202\323\344\223\002@\";/v1beta1/{name=proje"
+ + "cts/*/locations/*/folders/*}:deleteTree:\001*\022\345\001\n"
+ + "\023QueryFolderContents\0229.google.cloud.dataform.v1beta1.QueryFolderContentsRe"
+ + "quest\032:.google.cloud.dataform.v1beta1.Qu"
+ + "eryFolderContentsResponse\"W\332A\006folder\202\323\344\223"
+ + "\002H\022F/v1beta1/{folder=projects/*/locations/*/folders/*}:queryFolderContents\022\347\001\n"
+ + "\025QueryUserRootContents\022;.google.cloud.data"
+ + "form.v1beta1.QueryUserRootContentsRequest\032<.google.cloud.dataform.v1beta1.QueryU"
+ + "serRootContentsResponse\"S\332A\010location\202\323\344\223"
+ + "\002B\022@/v1beta1/{location=projects/*/locations/*}:queryUserRootContents\022\363\001\n\n"
+ + "MoveFolder\0220.google.cloud.dataform.v1beta1.Move"
+ + "FolderRequest\032\035.google.longrunning.Operation\"\223\001\312A+\n"
+ + "\025google.protobuf.Empty\022\022MoveFolderMetadata\332A\"name,destination_contain"
+ + "ing_folder\202\323\344\223\002:\"5/v1beta1/{name=projects/*/locations/*/folders/*}:move:\001*\022\313\001\n"
+ + "\020ListRepositories\0226.google.cloud.dataform."
+ + "v1beta1.ListRepositoriesRequest\0327.google.cloud.dataform.v1beta1.ListRepositories"
+ + "Response\"F\332A\006parent\202\323\344\223\0027\0225/v1beta1/{par"
+ + "ent=projects/*/locations/*}/repositories\022\265\001\n\r"
+ + "GetRepository\0223.google.cloud.dataform.v1beta1.GetRepositoryRequest\032).google"
+ + ".cloud.dataform.v1beta1.Repository\"D\332A\004n"
+ + "ame\202\323\344\223\0027\0225/v1beta1/{name=projects/*/locations/*/repositories/*}\022\342\001\n"
+ + "\020CreateRepository\0226.google.cloud.dataform.v1beta1.Cr"
+ + "eateRepositoryRequest\032).google.cloud.dat"
+ + "aform.v1beta1.Repository\"k\332A\037parent,repo"
+ + "sitory,repository_id\202\323\344\223\002C\"5/v1beta1/{pa"
+ + "rent=projects/*/locations/*}/repositories:\n"
+ "repository\022\344\001\n"
- + "\020UpdateRepository\0226.google.cloud.dataform.v1beta1.UpdateRepositoryReq"
- + "uest\032).google.cloud.dataform.v1beta1.Rep"
- + "ository\"m\332A\026repository,update_mask\202\323\344\223\002N"
- + "2@/v1beta1/{repository.name=projects/*/locations/*/repositories/*}:\n"
+ + "\020UpdateRepository\0226.google.cloud.dataform.v1beta1.UpdateReposit"
+ + "oryRequest\032).google.cloud.dataform.v1bet"
+ + "a1.Repository\"m\332A\026repository,update_mask"
+ + "\202\323\344\223\002N2@/v1beta1/{repository.name=projects/*/locations/*/repositories/*}:\n"
+ "repository\022\250\001\n"
- + "\020DeleteRepository\0226.google.cloud.dataf"
- + "orm.v1beta1.DeleteRepositoryRequest\032\026.go"
- + "ogle.protobuf.Empty\"D\332A\004name\202\323\344\223\0027*5/v1b"
- + "eta1/{name=projects/*/locations/*/repositories/*}\022\256\002\n"
- + "\033DeleteRepositoryLongRunning\022A.google.cloud.dataform.v1beta1.Delete"
- + "RepositoryLongRunningRequest\032\035.google.longrunning.Operation\"\254\001\312AJ\n"
+ + "\020DeleteRepository\0226.google.cloud.dataform.v1beta1.DeleteRepositoryReques"
+ + "t\032\026.google.protobuf.Empty\"D\332A\004name\202\323\344\223\0027"
+ + "*5/v1beta1/{name=projects/*/locations/*/repositories/*}\022\256\002\n"
+ + "\033DeleteRepositoryLongRunning\022A.google.cloud.dataform.v1beta1."
+ + "DeleteRepositoryLongRunningRequest\032\035.google.longrunning.Operation\"\254\001\312AJ\n"
+ "#DeleteRepositoryLongRunningResponse\022#DeleteRepositoryLongRunningMetadata\332A\n"
- + "name,force\202\323\344\223\002L\"G"
- + "/v1beta1/{name=projects/*/locations/*/repositories/*}:deleteLongRunning:\001*\022\204\002\n"
- + "\016MoveRepository\0224.google.cloud.dataform.v1"
- + "beta1.MoveRepositoryRequest\032\035.google.longrunning.Operation\"\234\001\312A/\n"
- + "\025google.protobuf.Empty\022\026MoveRepositoryMetadata\332A\"name,d"
- + "estination_containing_folder\202\323\344\223\002?\":/v1b"
- + "eta1/{name=projects/*/locations/*/repositories/*}:move:\001*\022\341\001\n"
- + "\027CommitRepositoryChanges\022=.google.cloud.dataform.v1beta1.Co"
- + "mmitRepositoryChangesRequest\032>.google.cloud.dataform.v1beta1.CommitRepositoryCha"
- + "ngesResponse\"G\202\323\344\223\002A\"/v1be"
- + "ta1/{name=projects/*/locations/*/repositories/*}:readFile\022\211\002\n"
- + " QueryRepositoryDirectoryContents\022F.google.cloud.dataform.v"
- + "1beta1.QueryRepositoryDirectoryContentsRequest\032G.google.cloud.dataform.v1beta1.Q"
- + "ueryRepositoryDirectoryContentsResponse\""
- + "T\202\323\344\223\002N\022L/v1beta1/{name=projects/*/locat"
- + "ions/*/repositories/*}:queryDirectoryContents\022\341\001\n"
- + "\026FetchRepositoryHistory\022<.google.cloud.dataform.v1beta1.FetchRepository"
- + "HistoryRequest\032=.google.cloud.dataform.v"
- + "1beta1.FetchRepositoryHistoryResponse\"J\202"
- + "\323\344\223\002D\022B/v1beta1/{name=projects/*/locations/*/repositories/*}:fetchHistory\022\221\002\n"
- + "\"ComputeRepositoryAccessTokenStatus\022H.googl"
- + "e.cloud.dataform.v1beta1.ComputeRepositoryAccessTokenStatusRequest\032I.google.clou"
- + "d.dataform.v1beta1.ComputeRepositoryAcce"
- + "ssTokenStatusResponse\"V\202\323\344\223\002P\022N/v1beta1/"
- + "{name=projects/*/locations/*/repositories/*}:computeAccessTokenStatus\022\337\001\n"
- + "\023FetchRemoteBranches\0229.google.cloud.dataform.v1"
- + "beta1.FetchRemoteBranchesRequest\032:.google.cloud.dataform.v1beta1.FetchRemoteBran"
- + "chesResponse\"Q\202\323\344\223\002K\022I/v1beta1/{name=pro"
- + "jects/*/locations/*/repositories/*}:fetchRemoteBranches\022\322\001\n"
- + "\016ListWorkspaces\0224.google.cloud.dataform.v1beta1.ListWorkspace"
- + "sRequest\0325.google.cloud.dataform.v1beta1"
- + ".ListWorkspacesResponse\"S\332A\006parent\202\323\344\223\002D"
- + "\022B/v1beta1/{parent=projects/*/locations/*/repositories/*}/workspaces\022\277\001\n"
- + "\014GetWorkspace\0222.google.cloud.dataform.v1beta1.Ge"
- + "tWorkspaceRequest\032(.google.cloud.datafor"
- + "m.v1beta1.Workspace\"Q\332A\004name\202\323\344\223\002D\022B/v1b"
- + "eta1/{name=projects/*/locations/*/repositories/*/workspaces/*}\022\351\001\n"
- + "\017CreateWorkspace\0225.google.cloud.dataform.v1beta1.Creat"
- + "eWorkspaceRequest\032(.google.cloud.datafor"
- + "m.v1beta1.Workspace\"u\332A\035parent,workspace"
- + ",workspace_id\202\323\344\223\002O\"B/v1beta1/{parent=pr"
- + "ojects/*/locations/*/repositories/*}/workspaces:\tworkspace\022\263\001\n"
- + "\017DeleteWorkspace\0225.google.cloud.dataform.v1beta1.DeleteWor"
- + "kspaceRequest\032\026.google.protobuf.Empty\"Q\332"
- + "A\004name\202\323\344\223\002D*B/v1beta1/{name=projects/*/"
- + "locations/*/repositories/*/workspaces/*}\022\360\001\n"
- + "\022InstallNpmPackages\0228.google.cloud.dataform.v1beta1.InstallNpmPackagesReques"
- + "t\0329.google.cloud.dataform.v1beta1.Instal"
- + "lNpmPackagesResponse\"e\202\323\344\223\002_\"Z/v1beta1/{"
- + "workspace=projects/*/locations/*/reposit"
- + "ories/*/workspaces/*}:installNpmPackages:\001*\022\321\001\n"
- + "\016PullGitCommits\0224.google.cloud.dataform.v1beta1.PullGitCommitsRequest\0325.g"
- + "oogle.cloud.dataform.v1beta1.PullGitComm"
- + "itsResponse\"R\202\323\344\223\002L\"G/v1beta1/{name=proj"
- + "ects/*/locations/*/repositories/*/workspaces/*}:pull:\001*\022\347\001\n"
- + "\021SyncWorkspaceRefs\0227.google.cloud.dataform.v1beta1.SyncWorksp"
- + "aceRefsRequest\0328.google.cloud.dataform.v"
- + "1beta1.SyncWorkspaceRefsResponse\"_\202\323\344\223\002Y"
- + "\"T/v1beta1/{name=projects/*/locations/*/"
- + "repositories/*/workspaces/*}:syncWorkspaceRefs:\001*\022\357\001\n"
- + "\026FetchWorkspaceBranches\022<.google.cloud.dataform.v1beta1.FetchWorksp"
- + "aceBranchesRequest\032=.google.cloud.dataform.v1beta1.FetchWorkspaceBranchesRespons"
- + "e\"X\202\323\344\223\002R\022P/v1beta1/{name=projects/*/loc"
- + "ations/*/repositories/*/workspaces/*}:fetchBranches\022\323\001\n"
- + "\014DeleteBranch\0222.google.cloud.dataform.v1beta1.DeleteBranchRequest"
- + "\0323.google.cloud.dataform.v1beta1.DeleteB"
- + "ranchResponse\"Z\202\323\344\223\002T\"O/v1beta1/{name=pr"
- + "ojects/*/locations/*/repositories/*/workspaces/*}:deleteBranch:\001*\022\310\001\n"
- + "\027CheckoutWorkspaceBranch\022=.google.cloud.dataform.v1"
- + "beta1.CheckoutWorkspaceBranchRequest\032\026.g"
- + "oogle.protobuf.Empty\"V\202\323\344\223\002P\"K/v1beta1/{"
- + "name=projects/*/locations/*/repositories/*/workspaces/*}:checkout:\001*\022\203\002\n"
- + "\033FetchCurrentWorkspaceBranch\022A.google.cloud.data"
- + "form.v1beta1.FetchCurrentWorkspaceBranchRequest\032B.google.cloud.dataform.v1beta1."
- + "FetchCurrentWorkspaceBranchResponse\"]\202\323\344"
- + "\223\002W\022U/v1beta1/{name=projects/*/locations"
- + "/*/repositories/*/workspaces/*}:fetchCurrentBranch\022\321\001\n"
- + "\016PushGitCommits\0224.google.cloud.dataform.v1beta1.PushGitCommitsRequ"
- + "est\0325.google.cloud.dataform.v1beta1.Push"
- + "GitCommitsResponse\"R\202\323\344\223\002L\"G/v1beta1/{na"
- + "me=projects/*/locations/*/repositories/*/workspaces/*}:push:\001*\022\360\001\n"
- + "\024FetchFileGitStatuses\022:.google.cloud.dataform.v1beta1."
- + "FetchFileGitStatusesRequest\032;.google.cloud.dataform.v1beta1.FetchFileGitStatuses"
- + "Response\"_\202\323\344\223\002Y\022W/v1beta1/{name=project"
- + "s/*/locations/*/repositories/*/workspaces/*}:fetchFileGitStatuses\022\354\001\n"
- + "\023FetchGitAheadBehind\0229.google.cloud.dataform.v1beta"
- + "1.FetchGitAheadBehindRequest\032:.google.cloud.dataform.v1beta1.FetchGitAheadBehind"
- + "Response\"^\202\323\344\223\002X\022V/v1beta1/{name=project"
- + "s/*/locations/*/repositories/*/workspaces/*}:fetchGitAheadBehind\022\353\001\n"
- + "\026CommitWorkspaceChanges\022<.google.cloud.dataform.v1be"
- + "ta1.CommitWorkspaceChangesRequest\032=.google.cloud.dataform.v1beta1.CommitWorkspac"
- + "eChangesResponse\"T\202\323\344\223\002N\"I/v1beta1/{name"
- + "=projects/*/locations/*/repositories/*/workspaces/*}:commit:\001*\022\347\001\n"
- + "\025ResetWorkspaceChanges\022;.google.cloud.dataform.v1beta1"
- + ".ResetWorkspaceChangesRequest\032<.google.cloud.dataform.v1beta1.ResetWorkspaceChan"
- + "gesResponse\"S\202\323\344\223\002M\"H/v1beta1/{name=proj"
- + "ects/*/locations/*/repositories/*/workspaces/*}:reset:\001*\022\331\001\n\r"
- + "FetchFileDiff\0223.google.cloud.dataform.v1beta1.FetchFileDiff"
- + "Request\0324.google.cloud.dataform.v1beta1."
- + "FetchFileDiffResponse\"]\202\323\344\223\002W\022U/v1beta1/"
- + "{workspace=projects/*/locations/*/repositories/*/workspaces/*}:fetchFileDiff\022\375\001\n"
- + "\026QueryDirectoryContents\022<.google.cloud.dataform.v1beta1.QueryDirectoryContentsRe"
- + "quest\032=.google.cloud.dataform.v1beta1.Qu"
- + "eryDirectoryContentsResponse\"f\202\323\344\223\002`\022^/v"
- + "1beta1/{workspace=projects/*/locations/*"
- + "/repositories/*/workspaces/*}:queryDirectoryContents\022\321\001\n"
- + "\013SearchFiles\0221.google.cloud.dataform.v1beta1.SearchFilesRequest\032"
- + "2.google.cloud.dataform.v1beta1.SearchFi"
- + "lesResponse\"[\202\323\344\223\002U\022S/v1beta1/{workspace"
- + "=projects/*/locations/*/repositories/*/workspaces/*}:searchFiles\022\334\001\n\r"
- + "MakeDirectory\0223.google.cloud.dataform.v1beta1.MakeD"
- + "irectoryRequest\0324.google.cloud.dataform."
- + "v1beta1.MakeDirectoryResponse\"`\202\323\344\223\002Z\"U/"
- + "v1beta1/{workspace=projects/*/locations/"
- + "*/repositories/*/workspaces/*}:makeDirectory:\001*\022\344\001\n"
- + "\017RemoveDirectory\0225.google.cloud.dataform.v1beta1.RemoveDirectoryReque"
- + "st\0326.google.cloud.dataform.v1beta1.Remov"
- + "eDirectoryResponse\"b\202\323\344\223\002\\\"W/v1beta1/{wo"
- + "rkspace=projects/*/locations/*/repositor",
- "ies/*/workspaces/*}:removeDirectory:\001*\022\334"
- + "\001\n\rMoveDirectory\0223.google.cloud.dataform"
- + ".v1beta1.MoveDirectoryRequest\0324.google.c"
- + "loud.dataform.v1beta1.MoveDirectoryRespo"
- + "nse\"`\202\323\344\223\002Z\"U/v1beta1/{workspace=project"
- + "s/*/locations/*/repositories/*/workspace"
- + "s/*}:moveDirectory:\001*\022\305\001\n\010ReadFile\022..goo"
- + "gle.cloud.dataform.v1beta1.ReadFileReque"
- + "st\032/.google.cloud.dataform.v1beta1.ReadF"
- + "ileResponse\"X\202\323\344\223\002R\022P/v1beta1/{workspace"
- + "=projects/*/locations/*/repositories/*/w"
- + "orkspaces/*}:readFile\022\320\001\n\nRemoveFile\0220.g"
- + "oogle.cloud.dataform.v1beta1.RemoveFileR"
- + "equest\0321.google.cloud.dataform.v1beta1.R"
- + "emoveFileResponse\"]\202\323\344\223\002W\"R/v1beta1/{wor"
+ + "name,force\202\323\344\223\002L\"G/v1beta1/{name=projects/*/location"
+ + "s/*/repositories/*}:deleteLongRunning:\001*\022\204\002\n"
+ + "\016MoveRepository\0224.google.cloud.dataf"
+ + "orm.v1beta1.MoveRepositoryRequest\032\035.google.longrunning.Operation\"\234\001\312A/\n"
+ + "\025google.protobuf.Empty\022\026MoveRepositoryMetadata\332A\""
+ + "name,destination_containing_folder\202\323\344\223\002?"
+ + "\":/v1beta1/{name=projects/*/locations/*/repositories/*}:move:\001*\022\341\001\n"
+ + "\027CommitRepositoryChanges\022=.google.cloud.dataform.v1be"
+ + "ta1.CommitRepositoryChangesRequest\032>.google.cloud.dataform.v1beta1.CommitReposit"
+ + "oryChangesResponse\"G\202\323\344\223\002A\"/v1beta1/{name=projects/*/locations/*/repositories/*}:readFile\022\211\002\n"
+ + " QueryRepositoryDirectoryContents\022F.google.cloud.data"
+ + "form.v1beta1.QueryRepositoryDirectoryContentsRequest\032G.google.cloud.dataform.v1b"
+ + "eta1.QueryRepositoryDirectoryContentsRes"
+ + "ponse\"T\202\323\344\223\002N\022L/v1beta1/{name=projects/*"
+ + "/locations/*/repositories/*}:queryDirectoryContents\022\341\001\n"
+ + "\026FetchRepositoryHistory\022<.google.cloud.dataform.v1beta1.FetchRepo"
+ + "sitoryHistoryRequest\032=.google.cloud.dataform.v1beta1.FetchRepositoryHistoryRespo"
+ + "nse\"J\202\323\344\223\002D\022B/v1beta1/{name=projects/*/l"
+ + "ocations/*/repositories/*}:fetchHistory\022\221\002\n"
+ + "\"ComputeRepositoryAccessTokenStatus\022H.google.cloud.dataform.v1beta1.ComputeRe"
+ + "positoryAccessTokenStatusRequest\032I.google.cloud.dataform.v1beta1.ComputeReposito"
+ + "ryAccessTokenStatusResponse\"V\202\323\344\223\002P\022N/v1"
+ + "beta1/{name=projects/*/locations/*/repositories/*}:computeAccessTokenStatus\022\337\001\n"
+ + "\023FetchRemoteBranches\0229.google.cloud.dataf"
+ + "orm.v1beta1.FetchRemoteBranchesRequest\032:.google.cloud.dataform.v1beta1.FetchRemo"
+ + "teBranchesResponse\"Q\202\323\344\223\002K\022I/v1beta1/{na"
+ + "me=projects/*/locations/*/repositories/*}:fetchRemoteBranches\022\322\001\n"
+ + "\016ListWorkspaces\0224.google.cloud.dataform.v1beta1.ListWor"
+ + "kspacesRequest\0325.google.cloud.dataform.v"
+ + "1beta1.ListWorkspacesResponse\"S\332A\006parent"
+ + "\202\323\344\223\002D\022B/v1beta1/{parent=projects/*/locations/*/repositories/*}/workspaces\022\277\001\n"
+ + "\014GetWorkspace\0222.google.cloud.dataform.v1be"
+ + "ta1.GetWorkspaceRequest\032(.google.cloud.d"
+ + "ataform.v1beta1.Workspace\"Q\332A\004name\202\323\344\223\002D"
+ + "\022B/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}\022\351\001\n"
+ + "\017CreateWorkspace\0225.google.cloud.dataform.v1beta1"
+ + ".CreateWorkspaceRequest\032(.google.cloud.d"
+ + "ataform.v1beta1.Workspace\"u\332A\035parent,wor"
+ + "kspace,workspace_id\202\323\344\223\002O\"B/v1beta1/{par"
+ + "ent=projects/*/locations/*/repositories/*}/workspaces:\tworkspace\022\263\001\n"
+ + "\017DeleteWorkspace\0225.google.cloud.dataform.v1beta1.Del"
+ + "eteWorkspaceRequest\032\026.google.protobuf.Em"
+ + "pty\"Q\332A\004name\202\323\344\223\002D*B/v1beta1/{name=proje"
+ + "cts/*/locations/*/repositories/*/workspaces/*}\022\360\001\n"
+ + "\022InstallNpmPackages\0228.google.cloud.dataform.v1beta1.InstallNpmPackages"
+ + "Request\0329.google.cloud.dataform.v1beta1."
+ + "InstallNpmPackagesResponse\"e\202\323\344\223\002_\"Z/v1b"
+ + "eta1/{workspace=projects/*/locations/*/r"
+ + "epositories/*/workspaces/*}:installNpmPackages:\001*\022\321\001\n"
+ + "\016PullGitCommits\0224.google.cloud.dataform.v1beta1.PullGitCommitsReque"
+ + "st\0325.google.cloud.dataform.v1beta1.PullG"
+ + "itCommitsResponse\"R\202\323\344\223\002L\"G/v1beta1/{nam"
+ + "e=projects/*/locations/*/repositories/*/workspaces/*}:pull:\001*\022\347\001\n"
+ + "\021SyncWorkspaceRefs\0227.google.cloud.dataform.v1beta1.Sync"
+ + "WorkspaceRefsRequest\0328.google.cloud.dataform.v1beta1.SyncWorkspaceRefsResponse\"_"
+ + "\202\323\344\223\002Y\"T/v1beta1/{name=projects/*/locati"
+ + "ons/*/repositories/*/workspaces/*}:syncWorkspaceRefs:\001*\022\357\001\n"
+ + "\026FetchWorkspaceBranches\022<.google.cloud.dataform.v1beta1.Fetch"
+ + "WorkspaceBranchesRequest\032=.google.cloud.dataform.v1beta1.FetchWorkspaceBranchesR"
+ + "esponse\"X\202\323\344\223\002R\022P/v1beta1/{name=projects"
+ + "/*/locations/*/repositories/*/workspaces/*}:fetchBranches\022\323\001\n"
+ + "\014DeleteBranch\0222.google.cloud.dataform.v1beta1.DeleteBranchR"
+ + "equest\0323.google.cloud.dataform.v1beta1.D"
+ + "eleteBranchResponse\"Z\202\323\344\223\002T\"O/v1beta1/{n"
+ + "ame=projects/*/locations/*/repositories/*/workspaces/*}:deleteBranch:\001*\022\310\001\n"
+ + "\027CheckoutWorkspaceBranch\022=.google.cloud.dataf"
+ + "orm.v1beta1.CheckoutWorkspaceBranchReque"
+ + "st\032\026.google.protobuf.Empty\"V\202\323\344\223\002P\"K/v1b"
+ + "eta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:checkout:\001*\022\203\002\n"
+ + "\033FetchCurrentWorkspaceBranch\022A.google.clou"
+ + "d.dataform.v1beta1.FetchCurrentWorkspaceBranchRequest\032B.google.cloud.dataform.v1"
+ + "beta1.FetchCurrentWorkspaceBranchRespons"
+ + "e\"]\202\323\344\223\002W\022U/v1beta1/{name=projects/*/loc"
+ + "ations/*/repositories/*/workspaces/*}:fetchCurrentBranch\022\321\001\n"
+ + "\016PushGitCommits\0224.google.cloud.dataform.v1beta1.PushGitCommi"
+ + "tsRequest\0325.google.cloud.dataform.v1beta"
+ + "1.PushGitCommitsResponse\"R\202\323\344\223\002L\"G/v1bet"
+ + "a1/{name=projects/*/locations/*/repositories/*/workspaces/*}:push:\001*\022\360\001\n"
+ + "\024FetchFileGitStatuses\022:.google.cloud.dataform.v1"
+ + "beta1.FetchFileGitStatusesRequest\032;.google.cloud.dataform.v1beta1.FetchFileGitSt"
+ + "atusesResponse\"_\202\323\344\223\002Y\022W/v1beta1/{name=p"
+ + "rojects/*/locations/*/repositories/*/workspaces/*}:fetchFileGitStatuses\022\354\001\n"
+ + "\023FetchGitAheadBehind\0229.google.cloud.dataform."
+ + "v1beta1.FetchGitAheadBehindRequest\032:.google.cloud.dataform.v1beta1.FetchGitAhead"
+ + "BehindResponse\"^\202\323\344\223\002X\022V/v1beta1/{name=p"
+ + "rojects/*/locations/*/repositories/*/workspaces/*}:fetchGitAheadBehind\022\353\001\n"
+ + "\026CommitWorkspaceChanges\022<.google.cloud.datafor"
+ + "m.v1beta1.CommitWorkspaceChangesRequest\032=.google.cloud.dataform.v1beta1.CommitWo"
+ + "rkspaceChangesResponse\"T\202\323\344\223\002N\"I/v1beta1"
+ + "/{name=projects/*/locations/*/repositories/*/workspaces/*}:commit:\001*\022\347\001\n"
+ + "\025ResetWorkspaceChanges\022;.google.cloud.dataform.v"
+ + "1beta1.ResetWorkspaceChangesRequest\032<.google.cloud.dataform.v1beta1.ResetWorkspa"
+ + "ceChangesResponse\"S\202\323\344\223\002M\"H/v1beta1/{nam"
+ + "e=projects/*/locations/*/repositories/*/workspaces/*}:reset:\001*\022\331\001\n\r"
+ + "FetchFileDiff\0223.google.cloud.dataform.v1beta1.FetchFi"
+ + "leDiffRequest\0324.google.cloud.dataform.v1"
+ + "beta1.FetchFileDiffResponse\"]\202\323\344\223\002W\022U/v1"
+ + "beta1/{workspace=projects/*/locations/*/"
+ + "repositories/*/workspaces/*}:fetchFileDiff\022\375\001\n"
+ + "\026QueryDirectoryContents\022<.google.cloud.dataform.v1beta1.QueryDirectoryCont"
+ + "entsRequest\032=.google.cloud.dataform.v1be"
+ + "ta1.QueryDirectoryContentsResponse\"f\202\323\344\223"
+ + "\002`\022^/v1beta1/{workspace=projects/*/locat"
+ + "ions/*/repositories/*/workspaces/*}:queryDirectoryContents\022\321\001\n"
+ + "\013SearchFiles\0221.google.cloud.dataform.v1beta1.SearchFilesRe"
+ + "quest\0322.google.cloud.dataform.v1beta1.Se"
+ + "archFilesResponse\"[\202\323\344\223\002U\022S/v1beta1/{wor"
+ + "kspace=projects/*/locations/*/repositories/*/workspaces/*}:searchFiles\022\334\001\n\r"
+ + "MakeDirectory\0223.google.cloud.dataform.v1beta1"
+ + ".MakeDirectoryRequest\0324.google.cloud.dat"
+ + "aform.v1beta1.MakeDirectoryResponse\"`\202\323\344"
+ + "\223\002Z\"U/v1beta1/{workspace=projects/*/loca"
+ + "tions/*/repositories/*/workspaces/*}:makeDirectory:\001*\022\344\001\n"
+ + "\017RemoveDirectory\0225.google.cloud.dataform.v1beta1.RemoveDirector"
+ + "yRequest\0326.google.cloud.dataform.v1beta1"
+ + ".RemoveDirectoryResponse\"b\202\323\344\223\002\\\"W/v1bet"
+ + "a1/{workspace=projects/*/locations/*/rep",
+ "ositories/*/workspaces/*}:removeDirector"
+ + "y:\001*\022\334\001\n\rMoveDirectory\0223.google.cloud.da"
+ + "taform.v1beta1.MoveDirectoryRequest\0324.go"
+ + "ogle.cloud.dataform.v1beta1.MoveDirector"
+ + "yResponse\"`\202\323\344\223\002Z\"U/v1beta1/{workspace=p"
+ + "rojects/*/locations/*/repositories/*/wor"
+ + "kspaces/*}:moveDirectory:\001*\022\305\001\n\010ReadFile"
+ + "\022..google.cloud.dataform.v1beta1.ReadFil"
+ + "eRequest\032/.google.cloud.dataform.v1beta1"
+ + ".ReadFileResponse\"X\202\323\344\223\002R\022P/v1beta1/{wor"
+ "kspace=projects/*/locations/*/repositori"
- + "es/*/workspaces/*}:removeFile:\001*\022\310\001\n\010Mov"
- + "eFile\022..google.cloud.dataform.v1beta1.Mo"
- + "veFileRequest\032/.google.cloud.dataform.v1"
- + "beta1.MoveFileResponse\"[\202\323\344\223\002U\"P/v1beta1"
- + "/{workspace=projects/*/locations/*/repos"
- + "itories/*/workspaces/*}:moveFile:\001*\022\314\001\n\t"
- + "WriteFile\022/.google.cloud.dataform.v1beta"
- + "1.WriteFileRequest\0320.google.cloud.datafo"
- + "rm.v1beta1.WriteFileResponse\"\\\202\323\344\223\002V\"Q/v"
+ + "es/*/workspaces/*}:readFile\022\320\001\n\nRemoveFi"
+ + "le\0220.google.cloud.dataform.v1beta1.Remov"
+ + "eFileRequest\0321.google.cloud.dataform.v1b"
+ + "eta1.RemoveFileResponse\"]\202\323\344\223\002W\"R/v1beta"
+ + "1/{workspace=projects/*/locations/*/repo"
+ + "sitories/*/workspaces/*}:removeFile:\001*\022\310"
+ + "\001\n\010MoveFile\022..google.cloud.dataform.v1be"
+ + "ta1.MoveFileRequest\032/.google.cloud.dataf"
+ + "orm.v1beta1.MoveFileResponse\"[\202\323\344\223\002U\"P/v"
+ "1beta1/{workspace=projects/*/locations/*"
- + "/repositories/*/workspaces/*}:writeFile:"
- + "\001*\022\342\001\n\022ListReleaseConfigs\0228.google.cloud"
- + ".dataform.v1beta1.ListReleaseConfigsRequ"
- + "est\0329.google.cloud.dataform.v1beta1.List"
- + "ReleaseConfigsResponse\"W\332A\006parent\202\323\344\223\002H\022"
- + "F/v1beta1/{parent=projects/*/locations/*"
- + "/repositories/*}/releaseConfigs\022\317\001\n\020GetR"
- + "eleaseConfig\0226.google.cloud.dataform.v1b"
- + "eta1.GetReleaseConfigRequest\032,.google.cl"
- + "oud.dataform.v1beta1.ReleaseConfig\"U\332A\004n"
- + "ame\202\323\344\223\002H\022F/v1beta1/{name=projects/*/loc"
- + "ations/*/repositories/*/releaseConfigs/*"
- + "}\022\211\002\n\023CreateReleaseConfig\0229.google.cloud"
- + ".dataform.v1beta1.CreateReleaseConfigReq"
- + "uest\032,.google.cloud.dataform.v1beta1.Rel"
- + "easeConfig\"\210\001\332A\'parent,release_config,re"
- + "lease_config_id\202\323\344\223\002X\"F/v1beta1/{parent="
- + "projects/*/locations/*/repositories/*}/r"
- + "eleaseConfigs:\016release_config\022\213\002\n\023Update"
- + "ReleaseConfig\0229.google.cloud.dataform.v1"
- + "beta1.UpdateReleaseConfigRequest\032,.googl"
- + "e.cloud.dataform.v1beta1.ReleaseConfig\"\212"
- + "\001\332A\032release_config,update_mask\202\323\344\223\002g2U/v"
- + "1beta1/{release_config.name=projects/*/l"
- + "ocations/*/repositories/*/releaseConfigs"
- + "/*}:\016release_config\022\277\001\n\023DeleteReleaseCon"
- + "fig\0229.google.cloud.dataform.v1beta1.Dele"
- + "teReleaseConfigRequest\032\026.google.protobuf"
- + ".Empty\"U\332A\004name\202\323\344\223\002H*F/v1beta1/{name=pr"
- + "ojects/*/locations/*/repositories/*/rele"
- + "aseConfigs/*}\022\362\001\n\026ListCompilationResults"
- + "\022<.google.cloud.dataform.v1beta1.ListCom"
- + "pilationResultsRequest\032=.google.cloud.da"
- + "taform.v1beta1.ListCompilationResultsRes"
- + "ponse\"[\332A\006parent\202\323\344\223\002L\022J/v1beta1/{parent"
- + "=projects/*/locations/*/repositories/*}/"
- + "compilationResults\022\337\001\n\024GetCompilationRes"
- + "ult\022:.google.cloud.dataform.v1beta1.GetC"
- + "ompilationResultRequest\0320.google.cloud.d"
- + "ataform.v1beta1.CompilationResult\"Y\332A\004na"
- + "me\202\323\344\223\002L\022J/v1beta1/{name=projects/*/loca"
- + "tions/*/repositories/*/compilationResult"
- + "s/*}\022\217\002\n\027CreateCompilationResult\022=.googl"
- + "e.cloud.dataform.v1beta1.CreateCompilati"
- + "onResultRequest\0320.google.cloud.dataform."
- + "v1beta1.CompilationResult\"\202\001\332A\031parent,co"
- + "mpilation_result\202\323\344\223\002`\"J/v1beta1/{parent"
- + "=projects/*/locations/*/repositories/*}/"
- + "compilationResults:\022compilation_result\022\204"
- + "\002\n\035QueryCompilationResultActions\022C.googl"
- + "e.cloud.dataform.v1beta1.QueryCompilatio"
- + "nResultActionsRequest\032D.google.cloud.dat"
- + "aform.v1beta1.QueryCompilationResultActi"
- + "onsResponse\"X\202\323\344\223\002R\022P/v1beta1/{name=proj"
- + "ects/*/locations/*/repositories/*/compil"
- + "ationResults/*}:query\022\346\001\n\023ListWorkflowCo"
- + "nfigs\0229.google.cloud.dataform.v1beta1.Li"
- + "stWorkflowConfigsRequest\032:.google.cloud."
- + "dataform.v1beta1.ListWorkflowConfigsResp"
- + "onse\"X\332A\006parent\202\323\344\223\002I\022G/v1beta1/{parent="
- + "projects/*/locations/*/repositories/*}/w"
- + "orkflowConfigs\022\323\001\n\021GetWorkflowConfig\0227.g"
- + "oogle.cloud.dataform.v1beta1.GetWorkflow"
- + "ConfigRequest\032-.google.cloud.dataform.v1"
- + "beta1.WorkflowConfig\"V\332A\004name\202\323\344\223\002I\022G/v1"
- + "beta1/{name=projects/*/locations/*/repos"
- + "itories/*/workflowConfigs/*}\022\220\002\n\024CreateW"
- + "orkflowConfig\022:.google.cloud.dataform.v1"
- + "beta1.CreateWorkflowConfigRequest\032-.goog"
- + "le.cloud.dataform.v1beta1.WorkflowConfig"
- + "\"\214\001\332A)parent,workflow_config,workflow_co"
- + "nfig_id\202\323\344\223\002Z\"G/v1beta1/{parent=projects"
- + "/*/locations/*/repositories/*}/workflowC"
- + "onfigs:\017workflow_config\022\222\002\n\024UpdateWorkfl"
- + "owConfig\022:.google.cloud.dataform.v1beta1"
- + ".UpdateWorkflowConfigRequest\032-.google.cl"
- + "oud.dataform.v1beta1.WorkflowConfig\"\216\001\332A"
- + "\033workflow_config,update_mask\202\323\344\223\002j2W/v1b"
- + "eta1/{workflow_config.name=projects/*/lo"
- + "cations/*/repositories/*/workflowConfigs"
- + "/*}:\017workflow_config\022\302\001\n\024DeleteWorkflowC"
- + "onfig\022:.google.cloud.dataform.v1beta1.De"
- + "leteWorkflowConfigRequest\032\026.google.proto"
- + "buf.Empty\"V\332A\004name\202\323\344\223\002I*G/v1beta1/{name"
- + "=projects/*/locations/*/repositories/*/w"
- + "orkflowConfigs/*}\022\366\001\n\027ListWorkflowInvoca"
- + "tions\022=.google.cloud.dataform.v1beta1.Li"
- + "stWorkflowInvocationsRequest\032>.google.cl"
- + "oud.dataform.v1beta1.ListWorkflowInvocat"
- + "ionsResponse\"\\\332A\006parent\202\323\344\223\002M\022K/v1beta1/"
- + "{parent=projects/*/locations/*/repositor"
- + "ies/*}/workflowInvocations\022\343\001\n\025GetWorkfl"
- + "owInvocation\022;.google.cloud.dataform.v1b"
- + "eta1.GetWorkflowInvocationRequest\0321.goog"
- + "le.cloud.dataform.v1beta1.WorkflowInvoca"
- + "tion\"Z\332A\004name\202\323\344\223\002M\022K/v1beta1/{name=proj"
- + "ects/*/locations/*/repositories/*/workfl"
- + "owInvocations/*}\022\225\002\n\030CreateWorkflowInvoc"
- + "ation\022>.google.cloud.dataform.v1beta1.Cr"
- + "eateWorkflowInvocationRequest\0321.google.c"
- + "loud.dataform.v1beta1.WorkflowInvocation"
- + "\"\205\001\332A\032parent,workflow_invocation\202\323\344\223\002b\"K"
- + "/v1beta1/{parent=projects/*/locations/*/"
- + "repositories/*}/workflowInvocations:\023wor"
- + "kflow_invocation\022\316\001\n\030DeleteWorkflowInvoc"
- + "ation\022>.google.cloud.dataform.v1beta1.De"
- + "leteWorkflowInvocationRequest\032\026.google.p"
- + "rotobuf.Empty\"Z\332A\004name\202\323\344\223\002M*K/v1beta1/{"
+ + "/repositories/*/workspaces/*}:moveFile:\001"
+ + "*\022\314\001\n\tWriteFile\022/.google.cloud.dataform."
+ + "v1beta1.WriteFileRequest\0320.google.cloud."
+ + "dataform.v1beta1.WriteFileResponse\"\\\202\323\344\223"
+ + "\002V\"Q/v1beta1/{workspace=projects/*/locat"
+ + "ions/*/repositories/*/workspaces/*}:writ"
+ + "eFile:\001*\022\342\001\n\022ListReleaseConfigs\0228.google"
+ + ".cloud.dataform.v1beta1.ListReleaseConfi"
+ + "gsRequest\0329.google.cloud.dataform.v1beta"
+ + "1.ListReleaseConfigsResponse\"W\332A\006parent\202"
+ + "\323\344\223\002H\022F/v1beta1/{parent=projects/*/locat"
+ + "ions/*/repositories/*}/releaseConfigs\022\317\001"
+ + "\n\020GetReleaseConfig\0226.google.cloud.datafo"
+ + "rm.v1beta1.GetReleaseConfigRequest\032,.goo"
+ + "gle.cloud.dataform.v1beta1.ReleaseConfig"
+ + "\"U\332A\004name\202\323\344\223\002H\022F/v1beta1/{name=projects"
+ + "/*/locations/*/repositories/*/releaseCon"
+ + "figs/*}\022\211\002\n\023CreateReleaseConfig\0229.google"
+ + ".cloud.dataform.v1beta1.CreateReleaseCon"
+ + "figRequest\032,.google.cloud.dataform.v1bet"
+ + "a1.ReleaseConfig\"\210\001\332A\'parent,release_con"
+ + "fig,release_config_id\202\323\344\223\002X\"F/v1beta1/{p"
+ + "arent=projects/*/locations/*/repositorie"
+ + "s/*}/releaseConfigs:\016release_config\022\213\002\n\023"
+ + "UpdateReleaseConfig\0229.google.cloud.dataf"
+ + "orm.v1beta1.UpdateReleaseConfigRequest\032,"
+ + ".google.cloud.dataform.v1beta1.ReleaseCo"
+ + "nfig\"\212\001\332A\032release_config,update_mask\202\323\344\223"
+ + "\002g2U/v1beta1/{release_config.name=projec"
+ + "ts/*/locations/*/repositories/*/releaseC"
+ + "onfigs/*}:\016release_config\022\277\001\n\023DeleteRele"
+ + "aseConfig\0229.google.cloud.dataform.v1beta"
+ + "1.DeleteReleaseConfigRequest\032\026.google.pr"
+ + "otobuf.Empty\"U\332A\004name\202\323\344\223\002H*F/v1beta1/{n"
+ + "ame=projects/*/locations/*/repositories/"
+ + "*/releaseConfigs/*}\022\362\001\n\026ListCompilationR"
+ + "esults\022<.google.cloud.dataform.v1beta1.L"
+ + "istCompilationResultsRequest\032=.google.cl"
+ + "oud.dataform.v1beta1.ListCompilationResu"
+ + "ltsResponse\"[\332A\006parent\202\323\344\223\002L\022J/v1beta1/{"
+ + "parent=projects/*/locations/*/repositori"
+ + "es/*}/compilationResults\022\337\001\n\024GetCompilat"
+ + "ionResult\022:.google.cloud.dataform.v1beta"
+ + "1.GetCompilationResultRequest\0320.google.c"
+ + "loud.dataform.v1beta1.CompilationResult\""
+ + "Y\332A\004name\202\323\344\223\002L\022J/v1beta1/{name=projects/"
+ + "*/locations/*/repositories/*/compilation"
+ + "Results/*}\022\217\002\n\027CreateCompilationResult\022="
+ + ".google.cloud.dataform.v1beta1.CreateCom"
+ + "pilationResultRequest\0320.google.cloud.dat"
+ + "aform.v1beta1.CompilationResult\"\202\001\332A\031par"
+ + "ent,compilation_result\202\323\344\223\002`\"J/v1beta1/{"
+ + "parent=projects/*/locations/*/repositori"
+ + "es/*}/compilationResults:\022compilation_re"
+ + "sult\022\204\002\n\035QueryCompilationResultActions\022C"
+ + ".google.cloud.dataform.v1beta1.QueryComp"
+ + "ilationResultActionsRequest\032D.google.clo"
+ + "ud.dataform.v1beta1.QueryCompilationResu"
+ + "ltActionsResponse\"X\202\323\344\223\002R\022P/v1beta1/{nam"
+ + "e=projects/*/locations/*/repositories/*/"
+ + "compilationResults/*}:query\022\346\001\n\023ListWork"
+ + "flowConfigs\0229.google.cloud.dataform.v1be"
+ + "ta1.ListWorkflowConfigsRequest\032:.google."
+ + "cloud.dataform.v1beta1.ListWorkflowConfi"
+ + "gsResponse\"X\332A\006parent\202\323\344\223\002I\022G/v1beta1/{p"
+ + "arent=projects/*/locations/*/repositorie"
+ + "s/*}/workflowConfigs\022\323\001\n\021GetWorkflowConf"
+ + "ig\0227.google.cloud.dataform.v1beta1.GetWo"
+ + "rkflowConfigRequest\032-.google.cloud.dataf"
+ + "orm.v1beta1.WorkflowConfig\"V\332A\004name\202\323\344\223\002"
+ + "I\022G/v1beta1/{name=projects/*/locations/*"
+ + "/repositories/*/workflowConfigs/*}\022\220\002\n\024C"
+ + "reateWorkflowConfig\022:.google.cloud.dataf"
+ + "orm.v1beta1.CreateWorkflowConfigRequest\032"
+ + "-.google.cloud.dataform.v1beta1.Workflow"
+ + "Config\"\214\001\332A)parent,workflow_config,workf"
+ + "low_config_id\202\323\344\223\002Z\"G/v1beta1/{parent=pr"
+ + "ojects/*/locations/*/repositories/*}/wor"
+ + "kflowConfigs:\017workflow_config\022\222\002\n\024Update"
+ + "WorkflowConfig\022:.google.cloud.dataform.v"
+ + "1beta1.UpdateWorkflowConfigRequest\032-.goo"
+ + "gle.cloud.dataform.v1beta1.WorkflowConfi"
+ + "g\"\216\001\332A\033workflow_config,update_mask\202\323\344\223\002j"
+ + "2W/v1beta1/{workflow_config.name=project"
+ + "s/*/locations/*/repositories/*/workflowC"
+ + "onfigs/*}:\017workflow_config\022\302\001\n\024DeleteWor"
+ + "kflowConfig\022:.google.cloud.dataform.v1be"
+ + "ta1.DeleteWorkflowConfigRequest\032\026.google"
+ + ".protobuf.Empty\"V\332A\004name\202\323\344\223\002I*G/v1beta1"
+ + "/{name=projects/*/locations/*/repositori"
+ + "es/*/workflowConfigs/*}\022\366\001\n\027ListWorkflow"
+ + "Invocations\022=.google.cloud.dataform.v1be"
+ + "ta1.ListWorkflowInvocationsRequest\032>.goo"
+ + "gle.cloud.dataform.v1beta1.ListWorkflowI"
+ + "nvocationsResponse\"\\\332A\006parent\202\323\344\223\002M\022K/v1"
+ + "beta1/{parent=projects/*/locations/*/rep"
+ + "ositories/*}/workflowInvocations\022\343\001\n\025Get"
+ + "WorkflowInvocation\022;.google.cloud.datafo"
+ + "rm.v1beta1.GetWorkflowInvocationRequest\032"
+ + "1.google.cloud.dataform.v1beta1.Workflow"
+ + "Invocation\"Z\332A\004name\202\323\344\223\002M\022K/v1beta1/{nam"
+ + "e=projects/*/locations/*/repositories/*/"
+ + "workflowInvocations/*}\022\225\002\n\030CreateWorkflo"
+ + "wInvocation\022>.google.cloud.dataform.v1be"
+ + "ta1.CreateWorkflowInvocationRequest\0321.go"
+ + "ogle.cloud.dataform.v1beta1.WorkflowInvo"
+ + "cation\"\205\001\332A\032parent,workflow_invocation\202\323"
+ + "\344\223\002b\"K/v1beta1/{parent=projects/*/locati"
+ + "ons/*/repositories/*}/workflowInvocation"
+ + "s:\023workflow_invocation\022\316\001\n\030DeleteWorkflo"
+ + "wInvocation\022>.google.cloud.dataform.v1be"
+ + "ta1.DeleteWorkflowInvocationRequest\032\026.go"
+ + "ogle.protobuf.Empty\"Z\332A\004name\202\323\344\223\002M*K/v1b"
+ + "eta1/{name=projects/*/locations/*/reposi"
+ + "tories/*/workflowInvocations/*}\022\372\001\n\030Canc"
+ + "elWorkflowInvocation\022>.google.cloud.data"
+ + "form.v1beta1.CancelWorkflowInvocationReq"
+ + "uest\032?.google.cloud.dataform.v1beta1.Can"
+ + "celWorkflowInvocationResponse\"]\202\323\344\223\002W\"R/"
+ + "v1beta1/{name=projects/*/locations/*/rep"
+ + "ositories/*/workflowInvocations/*}:cance"
+ + "l:\001*\022\210\002\n\036QueryWorkflowInvocationActions\022"
+ + "D.google.cloud.dataform.v1beta1.QueryWor"
+ + "kflowInvocationActionsRequest\032E.google.c"
+ + "loud.dataform.v1beta1.QueryWorkflowInvoc"
+ + "ationActionsResponse\"Y\202\323\344\223\002S\022Q/v1beta1/{"
+ "name=projects/*/locations/*/repositories"
- + "/*/workflowInvocations/*}\022\372\001\n\030CancelWork"
- + "flowInvocation\022>.google.cloud.dataform.v"
- + "1beta1.CancelWorkflowInvocationRequest\032?"
- + ".google.cloud.dataform.v1beta1.CancelWor"
- + "kflowInvocationResponse\"]\202\323\344\223\002W\"R/v1beta"
- + "1/{name=projects/*/locations/*/repositor"
- + "ies/*/workflowInvocations/*}:cancel:\001*\022\210"
- + "\002\n\036QueryWorkflowInvocationActions\022D.goog"
- + "le.cloud.dataform.v1beta1.QueryWorkflowI"
- + "nvocationActionsRequest\032E.google.cloud.d"
- + "ataform.v1beta1.QueryWorkflowInvocationA"
- + "ctionsResponse\"Y\202\323\344\223\002S\022Q/v1beta1/{name=p"
- + "rojects/*/locations/*/repositories/*/wor"
- + "kflowInvocations/*}:query\022\241\001\n\tGetConfig\022"
- + "/.google.cloud.dataform.v1beta1.GetConfi"
- + "gRequest\032%.google.cloud.dataform.v1beta1"
- + ".Config\"<\332A\004name\202\323\344\223\002/\022-/v1beta1/{name=p"
- + "rojects/*/locations/*/config}\022\304\001\n\014Update"
- + "Config\0222.google.cloud.dataform.v1beta1.U"
- + "pdateConfigRequest\032%.google.cloud.datafo"
- + "rm.v1beta1.Config\"Y\332A\022config,update_mask"
- + "\202\323\344\223\002>24/v1beta1/{config.name=projects/*"
- + "/locations/*/config}:\006config\022\213\003\n\014GetIamP"
- + "olicy\022\".google.iam.v1.GetIamPolicyReques"
- + "t\032\025.google.iam.v1.Policy\"\277\002\332A\010resource\202\323"
- + "\344\223\002\255\002\022F/v1beta1/{resource=projects/*/loc"
- + "ations/*/repositories/*}:getIamPolicyZU\022"
- + "S/v1beta1/{resource=projects/*/locations"
- + "/*/repositories/*/workspaces/*}:getIamPo"
- + "licyZC\022A/v1beta1/{resource=projects/*/lo"
- + "cations/*/folders/*}:getIamPolicyZG\022E/v1"
- + "beta1/{resource=projects/*/locations/*/t"
- + "eamFolders/*}:getIamPolicy\022\214\003\n\014SetIamPol"
- + "icy\022\".google.iam.v1.SetIamPolicyRequest\032"
- + "\025.google.iam.v1.Policy\"\300\002\202\323\344\223\002\271\002\"F/v1bet"
- + "a1/{resource=projects/*/locations/*/repo"
- + "sitories/*}:setIamPolicy:\001*ZX\"S/v1beta1/"
+ + "/*/workflowInvocations/*}:query\022\241\001\n\tGetC"
+ + "onfig\022/.google.cloud.dataform.v1beta1.Ge"
+ + "tConfigRequest\032%.google.cloud.dataform.v"
+ + "1beta1.Config\"<\332A\004name\202\323\344\223\002/\022-/v1beta1/{"
+ + "name=projects/*/locations/*/config}\022\304\001\n\014"
+ + "UpdateConfig\0222.google.cloud.dataform.v1b"
+ + "eta1.UpdateConfigRequest\032%.google.cloud."
+ + "dataform.v1beta1.Config\"Y\332A\022config,updat"
+ + "e_mask\202\323\344\223\002>24/v1beta1/{config.name=proj"
+ + "ects/*/locations/*/config}:\006config\022\213\003\n\014G"
+ + "etIamPolicy\022\".google.iam.v1.GetIamPolicy"
+ + "Request\032\025.google.iam.v1.Policy\"\277\002\332A\010reso"
+ + "urce\202\323\344\223\002\255\002\022F/v1beta1/{resource=projects"
+ + "/*/locations/*/repositories/*}:getIamPol"
+ + "icyZU\022S/v1beta1/{resource=projects/*/loc"
+ + "ations/*/repositories/*/workspaces/*}:ge"
+ + "tIamPolicyZC\022A/v1beta1/{resource=project"
+ + "s/*/locations/*/folders/*}:getIamPolicyZ"
+ + "G\022E/v1beta1/{resource=projects/*/locatio"
+ + "ns/*/teamFolders/*}:getIamPolicy\022\214\003\n\014Set"
+ + "IamPolicy\022\".google.iam.v1.SetIamPolicyRe"
+ + "quest\032\025.google.iam.v1.Policy\"\300\002\202\323\344\223\002\271\002\"F"
+ + "/v1beta1/{resource=projects/*/locations/"
+ + "*/repositories/*}:setIamPolicy:\001*ZX\"S/v1"
+ + "beta1/{resource=projects/*/locations/*/r"
+ + "epositories/*/workspaces/*}:setIamPolicy"
+ + ":\001*ZF\"A/v1beta1/{resource=projects/*/loc"
+ + "ations/*/folders/*}:setIamPolicy:\001*ZJ\"E/"
+ + "v1beta1/{resource=projects/*/locations/*"
+ + "/teamFolders/*}:setIamPolicy:\001*\022\304\003\n\022Test"
+ + "IamPermissions\022(.google.iam.v1.TestIamPe"
+ + "rmissionsRequest\032).google.iam.v1.TestIam"
+ + "PermissionsResponse\"\330\002\202\323\344\223\002\321\002\"L/v1beta1/"
+ "{resource=projects/*/locations/*/reposit"
- + "ories/*/workspaces/*}:setIamPolicy:\001*ZF\""
- + "A/v1beta1/{resource=projects/*/locations"
- + "/*/folders/*}:setIamPolicy:\001*ZJ\"E/v1beta"
- + "1/{resource=projects/*/locations/*/teamF"
- + "olders/*}:setIamPolicy:\001*\022\304\003\n\022TestIamPer"
- + "missions\022(.google.iam.v1.TestIamPermissi"
- + "onsRequest\032).google.iam.v1.TestIamPermis"
- + "sionsResponse\"\330\002\202\323\344\223\002\321\002\"L/v1beta1/{resou"
- + "rce=projects/*/locations/*/repositories/"
- + "*}:testIamPermissions:\001*Z^\"Y/v1beta1/{re"
- + "source=projects/*/locations/*/repositori"
- + "es/*/workspaces/*}:testIamPermissions:\001*"
- + "ZL\"G/v1beta1/{resource=projects/*/locati"
- + "ons/*/folders/*}:testIamPermissions:\001*ZP"
- + "\"K/v1beta1/{resource=projects/*/location"
- + "s/*/teamFolders/*}:testIamPermissions:\001*"
- + "\032t\312A\027dataform.googleapis.com\322AWhttps://w"
- + "ww.googleapis.com/auth/bigquery,https://"
- + "www.googleapis.com/auth/cloud-platformB\232"
- + "\010\n!com.google.cloud.dataform.v1beta1B\rDa"
- + "taformProtoP\001Z=cloud.google.com/go/dataf"
- + "orm/apiv1beta1/dataformpb;dataformpb\252\002\035G"
- + "oogle.Cloud.Dataform.V1Beta1\312\002\035Google\\Cl"
- + "oud\\Dataform\\V1beta1\352\002 Google::Cloud::Da"
- + "taform::V1beta1\352Ad\n*secretmanager.google"
- + "apis.com/SecretVersion\0226projects/{projec"
- + "t}/secrets/{secret}/versions/{version}\352A"
- + "x\n!cloudkms.googleapis.com/CryptoKey\022Spr"
- + "ojects/{project}/locations/{location}/ke"
- + "yRings/{key_ring}/cryptoKeys/{crypto_key"
- + "}\352A\246\001\n(cloudkms.googleapis.com/CryptoKey"
- + "Version\022zprojects/{project}/locations/{l"
- + "ocation}/keyRings/{key_ring}/cryptoKeys/"
- + "{crypto_key}/cryptoKeyVersions/{crypto_k"
- + "ey_version}\352A\221\001\n1aiplatform.googleapis.c"
- + "om/NotebookRuntimeTemplate\022\\projects/{pr"
- + "oject}/locations/{location}/notebookRunt"
- + "imeTemplates/{notebook_runtime_template}"
- + "\352A~\n!dataplex.googleapis.com/EntryLink\022Y"
- + "projects/{project}/locations/{location}/"
- + "entryGroups/{entry_group}/entryLinks/{en"
- + "try_link}\352A\236\001\n1developerconnect.googleap"
- + "is.com/GitRepositoryLink\022iprojects/{proj"
- + "ect}/locations/{location}/connections/{c"
- + "onnection}/gitRepositoryLinks/{git_repos"
- + "itory_link}b\006proto3"
+ + "ories/*}:testIamPermissions:\001*Z^\"Y/v1bet"
+ + "a1/{resource=projects/*/locations/*/repo"
+ + "sitories/*/workspaces/*}:testIamPermissi"
+ + "ons:\001*ZL\"G/v1beta1/{resource=projects/*/"
+ + "locations/*/folders/*}:testIamPermission"
+ + "s:\001*ZP\"K/v1beta1/{resource=projects/*/lo"
+ + "cations/*/teamFolders/*}:testIamPermissi"
+ + "ons:\001*\032t\312A\027dataform.googleapis.com\322AWhtt"
+ + "ps://www.googleapis.com/auth/bigquery,ht"
+ + "tps://www.googleapis.com/auth/cloud-plat"
+ + "formB\232\010\n!com.google.cloud.dataform.v1bet"
+ + "a1B\rDataformProtoP\001Z=cloud.google.com/go"
+ + "/dataform/apiv1beta1/dataformpb;dataform"
+ + "pb\252\002\035Google.Cloud.Dataform.V1Beta1\312\002\035Goo"
+ + "gle\\Cloud\\Dataform\\V1beta1\352\002 Google::Clo"
+ + "ud::Dataform::V1beta1\352Ad\n*secretmanager."
+ + "googleapis.com/SecretVersion\0226projects/{"
+ + "project}/secrets/{secret}/versions/{vers"
+ + "ion}\352Ax\n!cloudkms.googleapis.com/CryptoK"
+ + "ey\022Sprojects/{project}/locations/{locati"
+ + "on}/keyRings/{key_ring}/cryptoKeys/{cryp"
+ + "to_key}\352A\246\001\n(cloudkms.googleapis.com/Cry"
+ + "ptoKeyVersion\022zprojects/{project}/locati"
+ + "ons/{location}/keyRings/{key_ring}/crypt"
+ + "oKeys/{crypto_key}/cryptoKeyVersions/{cr"
+ + "ypto_key_version}\352A\221\001\n1aiplatform.google"
+ + "apis.com/NotebookRuntimeTemplate\022\\projec"
+ + "ts/{project}/locations/{location}/notebo"
+ + "okRuntimeTemplates/{notebook_runtime_tem"
+ + "plate}\352A~\n!dataplex.googleapis.com/Entry"
+ + "Link\022Yprojects/{project}/locations/{loca"
+ + "tion}/entryGroups/{entry_group}/entryLin"
+ + "ks/{entry_link}\352A\236\001\n1developerconnect.go"
+ + "ogleapis.com/GitRepositoryLink\022iprojects"
+ + "/{project}/locations/{location}/connecti"
+ + "ons/{connection}/gitRepositoryLinks/{git"
+ + "_repository_link}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/proto/google/cloud/dataform/v1beta1/dataform.proto b/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/proto/google/cloud/dataform/v1beta1/dataform.proto
index ad594d0e1b8e..506849f2ba4f 100644
--- a/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/proto/google/cloud/dataform/v1beta1/dataform.proto
+++ b/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/proto/google/cloud/dataform/v1beta1/dataform.proto
@@ -3294,6 +3294,8 @@ message InvocationConfig {
// https://cloud.google.com/bigquery/docs/running-queries#queries.
optional QueryPriority query_priority = 9
[(google.api.field_behavior) = OPTIONAL];
+
+ reserved 11;
}
// `ListWorkflowConfigs` request message.
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Fulfillment.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Fulfillment.java
index ba4ac270d20d..04ba63ad3963 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Fulfillment.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Fulfillment.java
@@ -69,6 +69,7 @@ private Fulfillment() {
messages_ = java.util.Collections.emptyList();
webhook_ = "";
tag_ = "";
+ codeBlockFunction_ = "";
setParameterActions_ = java.util.Collections.emptyList();
conditionalCases_ = java.util.Collections.emptyList();
generators_ = java.util.Collections.emptyList();
@@ -6372,6 +6373,63 @@ public com.google.protobuf.ByteString getTagBytes() {
}
}
+ public static final int CODE_BLOCK_FUNCTION_FIELD_NUMBER = 17;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object codeBlockFunction_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the code block function to execute, if this is a code
+ * block fulfillment. The code block itself is implied by the fulfillment's
+ * parent, e.g. a playbook.
+ *
+ *
+ * string code_block_function = 17 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The codeBlockFunction.
+ */
+ @java.lang.Override
+ public java.lang.String getCodeBlockFunction() {
+ java.lang.Object ref = codeBlockFunction_;
+ 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();
+ codeBlockFunction_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the code block function to execute, if this is a code
+ * block fulfillment. The code block itself is implied by the fulfillment's
+ * parent, e.g. a playbook.
+ *
+ *
+ * string code_block_function = 17 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for codeBlockFunction.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getCodeBlockFunctionBytes() {
+ java.lang.Object ref = codeBlockFunction_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ codeBlockFunction_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
public static final int SET_PARAMETER_ACTIONS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
@@ -6760,6 +6818,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < generators_.size(); i++) {
output.writeMessage(13, generators_.get(i));
}
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(codeBlockFunction_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 17, codeBlockFunction_);
+ }
getUnknownFields().writeTo(output);
}
@@ -6797,6 +6858,9 @@ public int getSerializedSize() {
for (int i = 0; i < generators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, generators_.get(i));
}
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(codeBlockFunction_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(17, codeBlockFunction_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -6817,6 +6881,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getWebhook().equals(other.getWebhook())) return false;
if (getReturnPartialResponses() != other.getReturnPartialResponses()) return false;
if (!getTag().equals(other.getTag())) return false;
+ if (!getCodeBlockFunction().equals(other.getCodeBlockFunction())) return false;
if (!getSetParameterActionsList().equals(other.getSetParameterActionsList())) return false;
if (!getConditionalCasesList().equals(other.getConditionalCasesList())) return false;
if (hasAdvancedSettings() != other.hasAdvancedSettings()) return false;
@@ -6846,6 +6911,8 @@ public int hashCode() {
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPartialResponses());
hash = (37 * hash) + TAG_FIELD_NUMBER;
hash = (53 * hash) + getTag().hashCode();
+ hash = (37 * hash) + CODE_BLOCK_FUNCTION_FIELD_NUMBER;
+ hash = (53 * hash) + getCodeBlockFunction().hashCode();
if (getSetParameterActionsCount() > 0) {
hash = (37 * hash) + SET_PARAMETER_ACTIONS_FIELD_NUMBER;
hash = (53 * hash) + getSetParameterActionsList().hashCode();
@@ -7041,20 +7108,21 @@ public Builder clear() {
webhook_ = "";
returnPartialResponses_ = false;
tag_ = "";
+ codeBlockFunction_ = "";
if (setParameterActionsBuilder_ == null) {
setParameterActions_ = java.util.Collections.emptyList();
} else {
setParameterActions_ = null;
setParameterActionsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000020);
if (conditionalCasesBuilder_ == null) {
conditionalCases_ = java.util.Collections.emptyList();
} else {
conditionalCases_ = null;
conditionalCasesBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000040);
advancedSettings_ = null;
if (advancedSettingsBuilder_ != null) {
advancedSettingsBuilder_.dispose();
@@ -7067,7 +7135,7 @@ public Builder clear() {
generators_ = null;
generatorsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
@@ -7114,27 +7182,27 @@ private void buildPartialRepeatedFields(com.google.cloud.dialogflow.cx.v3.Fulfil
result.messages_ = messagesBuilder_.build();
}
if (setParameterActionsBuilder_ == null) {
- if (((bitField0_ & 0x00000010) != 0)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
setParameterActions_ = java.util.Collections.unmodifiableList(setParameterActions_);
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000020);
}
result.setParameterActions_ = setParameterActions_;
} else {
result.setParameterActions_ = setParameterActionsBuilder_.build();
}
if (conditionalCasesBuilder_ == null) {
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000040) != 0)) {
conditionalCases_ = java.util.Collections.unmodifiableList(conditionalCases_);
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000040);
}
result.conditionalCases_ = conditionalCases_;
} else {
result.conditionalCases_ = conditionalCasesBuilder_.build();
}
if (generatorsBuilder_ == null) {
- if (((bitField0_ & 0x00000100) != 0)) {
+ if (((bitField0_ & 0x00000200) != 0)) {
generators_ = java.util.Collections.unmodifiableList(generators_);
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000200);
}
result.generators_ = generators_;
} else {
@@ -7153,13 +7221,16 @@ private void buildPartial0(com.google.cloud.dialogflow.cx.v3.Fulfillment result)
if (((from_bitField0_ & 0x00000008) != 0)) {
result.tag_ = tag_;
}
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.codeBlockFunction_ = codeBlockFunction_;
+ }
int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000040) != 0)) {
+ if (((from_bitField0_ & 0x00000080) != 0)) {
result.advancedSettings_ =
advancedSettingsBuilder_ == null ? advancedSettings_ : advancedSettingsBuilder_.build();
to_bitField0_ |= 0x00000001;
}
- if (((from_bitField0_ & 0x00000080) != 0)) {
+ if (((from_bitField0_ & 0x00000100) != 0)) {
result.enableGenerativeFallback_ = enableGenerativeFallback_;
}
result.bitField0_ |= to_bitField0_;
@@ -7217,11 +7288,16 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3.Fulfillment other) {
bitField0_ |= 0x00000008;
onChanged();
}
+ if (!other.getCodeBlockFunction().isEmpty()) {
+ codeBlockFunction_ = other.codeBlockFunction_;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ }
if (setParameterActionsBuilder_ == null) {
if (!other.setParameterActions_.isEmpty()) {
if (setParameterActions_.isEmpty()) {
setParameterActions_ = other.setParameterActions_;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureSetParameterActionsIsMutable();
setParameterActions_.addAll(other.setParameterActions_);
@@ -7234,7 +7310,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3.Fulfillment other) {
setParameterActionsBuilder_.dispose();
setParameterActionsBuilder_ = null;
setParameterActions_ = other.setParameterActions_;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000020);
setParameterActionsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
? internalGetSetParameterActionsFieldBuilder()
@@ -7248,7 +7324,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3.Fulfillment other) {
if (!other.conditionalCases_.isEmpty()) {
if (conditionalCases_.isEmpty()) {
conditionalCases_ = other.conditionalCases_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureConditionalCasesIsMutable();
conditionalCases_.addAll(other.conditionalCases_);
@@ -7261,7 +7337,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3.Fulfillment other) {
conditionalCasesBuilder_.dispose();
conditionalCasesBuilder_ = null;
conditionalCases_ = other.conditionalCases_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000040);
conditionalCasesBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
? internalGetConditionalCasesFieldBuilder()
@@ -7281,7 +7357,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3.Fulfillment other) {
if (!other.generators_.isEmpty()) {
if (generators_.isEmpty()) {
generators_ = other.generators_;
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureGeneratorsIsMutable();
generators_.addAll(other.generators_);
@@ -7294,7 +7370,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3.Fulfillment other) {
generatorsBuilder_.dispose();
generatorsBuilder_ = null;
generators_ = other.generators_;
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000200);
generatorsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
? internalGetGeneratorsFieldBuilder()
@@ -7388,7 +7464,7 @@ public Builder mergeFrom(
{
input.readMessage(
internalGetAdvancedSettingsFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
break;
} // case 58
case 64:
@@ -7400,7 +7476,7 @@ public Builder mergeFrom(
case 96:
{
enableGenerativeFallback_ = input.readBool();
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
break;
} // case 96
case 106:
@@ -7417,6 +7493,12 @@ public Builder mergeFrom(
}
break;
} // case 106
+ case 138:
+ {
+ codeBlockFunction_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 138
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -8148,16 +8230,137 @@ public Builder setTagBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private java.lang.Object codeBlockFunction_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the code block function to execute, if this is a code
+ * block fulfillment. The code block itself is implied by the fulfillment's
+ * parent, e.g. a playbook.
+ *
+ *
+ * string code_block_function = 17 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The codeBlockFunction.
+ */
+ public java.lang.String getCodeBlockFunction() {
+ java.lang.Object ref = codeBlockFunction_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ codeBlockFunction_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the code block function to execute, if this is a code
+ * block fulfillment. The code block itself is implied by the fulfillment's
+ * parent, e.g. a playbook.
+ *
+ *
+ * string code_block_function = 17 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for codeBlockFunction.
+ */
+ public com.google.protobuf.ByteString getCodeBlockFunctionBytes() {
+ java.lang.Object ref = codeBlockFunction_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ codeBlockFunction_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the code block function to execute, if this is a code
+ * block fulfillment. The code block itself is implied by the fulfillment's
+ * parent, e.g. a playbook.
+ *
+ *
+ * string code_block_function = 17 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The codeBlockFunction to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCodeBlockFunction(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ codeBlockFunction_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the code block function to execute, if this is a code
+ * block fulfillment. The code block itself is implied by the fulfillment's
+ * parent, e.g. a playbook.
+ *
+ *
+ * string code_block_function = 17 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearCodeBlockFunction() {
+ codeBlockFunction_ = getDefaultInstance().getCodeBlockFunction();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the code block function to execute, if this is a code
+ * block fulfillment. The code block itself is implied by the fulfillment's
+ * parent, e.g. a playbook.
+ *
+ *
+ * string code_block_function = 17 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for codeBlockFunction to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCodeBlockFunctionBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ codeBlockFunction_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
private java.util.List
setParameterActions_ = java.util.Collections.emptyList();
private void ensureSetParameterActionsIsMutable() {
- if (!((bitField0_ & 0x00000010) != 0)) {
+ if (!((bitField0_ & 0x00000020) != 0)) {
setParameterActions_ =
new java.util.ArrayList<
com.google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction>(
setParameterActions_);
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
}
}
@@ -8414,7 +8617,7 @@ public Builder addAllSetParameterActions(
public Builder clearSetParameterActions() {
if (setParameterActionsBuilder_ == null) {
setParameterActions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
setParameterActionsBuilder_.clear();
@@ -8568,7 +8771,7 @@ public Builder removeSetParameterActions(int index) {
com.google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction.Builder,
com.google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterActionOrBuilder>(
setParameterActions_,
- ((bitField0_ & 0x00000010) != 0),
+ ((bitField0_ & 0x00000020) != 0),
getParentForChildren(),
isClean());
setParameterActions_ = null;
@@ -8580,11 +8783,11 @@ public Builder removeSetParameterActions(int index) {
conditionalCases_ = java.util.Collections.emptyList();
private void ensureConditionalCasesIsMutable() {
- if (!((bitField0_ & 0x00000020) != 0)) {
+ if (!((bitField0_ & 0x00000040) != 0)) {
conditionalCases_ =
new java.util.ArrayList(
conditionalCases_);
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000040;
}
}
@@ -8840,7 +9043,7 @@ public Builder addAllConditionalCases(
public Builder clearConditionalCases() {
if (conditionalCasesBuilder_ == null) {
conditionalCases_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
conditionalCasesBuilder_.clear();
@@ -8992,7 +9195,7 @@ public Builder removeConditionalCases(int index) {
com.google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Builder,
com.google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCasesOrBuilder>(
conditionalCases_,
- ((bitField0_ & 0x00000020) != 0),
+ ((bitField0_ & 0x00000040) != 0),
getParentForChildren(),
isClean());
conditionalCases_ = null;
@@ -9020,7 +9223,7 @@ public Builder removeConditionalCases(int index) {
* @return Whether the advancedSettings field is set.
*/
public boolean hasAdvancedSettings() {
- return ((bitField0_ & 0x00000040) != 0);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
@@ -9064,7 +9267,7 @@ public Builder setAdvancedSettings(com.google.cloud.dialogflow.cx.v3.AdvancedSet
} else {
advancedSettingsBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -9086,7 +9289,7 @@ public Builder setAdvancedSettings(
} else {
advancedSettingsBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -9103,7 +9306,7 @@ public Builder setAdvancedSettings(
*/
public Builder mergeAdvancedSettings(com.google.cloud.dialogflow.cx.v3.AdvancedSettings value) {
if (advancedSettingsBuilder_ == null) {
- if (((bitField0_ & 0x00000040) != 0)
+ if (((bitField0_ & 0x00000080) != 0)
&& advancedSettings_ != null
&& advancedSettings_
!= com.google.cloud.dialogflow.cx.v3.AdvancedSettings.getDefaultInstance()) {
@@ -9115,7 +9318,7 @@ public Builder mergeAdvancedSettings(com.google.cloud.dialogflow.cx.v3.AdvancedS
advancedSettingsBuilder_.mergeFrom(value);
}
if (advancedSettings_ != null) {
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
}
return this;
@@ -9132,7 +9335,7 @@ public Builder mergeAdvancedSettings(com.google.cloud.dialogflow.cx.v3.AdvancedS
* .google.cloud.dialogflow.cx.v3.AdvancedSettings advanced_settings = 7;
*/
public Builder clearAdvancedSettings() {
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000080);
advancedSettings_ = null;
if (advancedSettingsBuilder_ != null) {
advancedSettingsBuilder_.dispose();
@@ -9153,7 +9356,7 @@ public Builder clearAdvancedSettings() {
* .google.cloud.dialogflow.cx.v3.AdvancedSettings advanced_settings = 7;
*/
public com.google.cloud.dialogflow.cx.v3.AdvancedSettings.Builder getAdvancedSettingsBuilder() {
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
return internalGetAdvancedSettingsFieldBuilder().getBuilder();
}
@@ -9247,7 +9450,7 @@ public boolean getEnableGenerativeFallback() {
public Builder setEnableGenerativeFallback(boolean value) {
enableGenerativeFallback_ = value;
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -9268,7 +9471,7 @@ public Builder setEnableGenerativeFallback(boolean value) {
* @return This builder for chaining.
*/
public Builder clearEnableGenerativeFallback() {
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000100);
enableGenerativeFallback_ = false;
onChanged();
return this;
@@ -9278,11 +9481,11 @@ public Builder clearEnableGenerativeFallback() {
generators_ = java.util.Collections.emptyList();
private void ensureGeneratorsIsMutable() {
- if (!((bitField0_ & 0x00000100) != 0)) {
+ if (!((bitField0_ & 0x00000200) != 0)) {
generators_ =
new java.util.ArrayList<
com.google.cloud.dialogflow.cx.v3.Fulfillment.GeneratorSettings>(generators_);
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000200;
}
}
@@ -9528,7 +9731,7 @@ public Builder addAllGenerators(
public Builder clearGenerators() {
if (generatorsBuilder_ == null) {
generators_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
} else {
generatorsBuilder_.clear();
@@ -9672,7 +9875,7 @@ public Builder removeGenerators(int index) {
com.google.cloud.dialogflow.cx.v3.Fulfillment.GeneratorSettings,
com.google.cloud.dialogflow.cx.v3.Fulfillment.GeneratorSettings.Builder,
com.google.cloud.dialogflow.cx.v3.Fulfillment.GeneratorSettingsOrBuilder>(
- generators_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean());
+ generators_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean());
generators_ = null;
}
return generatorsBuilder_;
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillmentOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillmentOrBuilder.java
index 7a64eeea02b9..cfe974af8792 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillmentOrBuilder.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillmentOrBuilder.java
@@ -171,6 +171,36 @@ public interface FulfillmentOrBuilder
*/
com.google.protobuf.ByteString getTagBytes();
+ /**
+ *
+ *
+ *
+ * Optional. The name of the code block function to execute, if this is a code
+ * block fulfillment. The code block itself is implied by the fulfillment's
+ * parent, e.g. a playbook.
+ *
+ *
+ * string code_block_function = 17 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The codeBlockFunction.
+ */
+ java.lang.String getCodeBlockFunction();
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the code block function to execute, if this is a code
+ * block fulfillment. The code block itself is implied by the fulfillment's
+ * parent, e.g. a playbook.
+ *
+ *
+ * string code_block_function = 17 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for codeBlockFunction.
+ */
+ com.google.protobuf.ByteString getCodeBlockFunctionBytes();
+
/**
*
*
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillmentProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillmentProto.java
index 26590b6e2406..e630c2ec398a 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillmentProto.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/FulfillmentProto.java
@@ -84,45 +84,46 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "gflow/cx/v3/advanced_settings.proto\0324goo"
+ "gle/cloud/dialogflow/cx/v3/response_mess"
+ "age.proto\032\034google/protobuf/struct.proto\""
- + "\277\n\n\013Fulfillment\022@\n\010messages\030\001 \003(\0132..goog"
+ + "\341\n\n\013Fulfillment\022@\n\010messages\030\001 \003(\0132..goog"
+ "le.cloud.dialogflow.cx.v3.ResponseMessag"
+ "e\0227\n\007webhook\030\002 \001(\tB&\372A#\n!dialogflow.goog"
+ "leapis.com/Webhook\022 \n\030return_partial_res"
- + "ponses\030\010 \001(\010\022\013\n\003tag\030\003 \001(\t\022\\\n\025set_paramet"
- + "er_actions\030\004 \003(\0132=.google.cloud.dialogfl"
- + "ow.cx.v3.Fulfillment.SetParameterAction\022"
- + "V\n\021conditional_cases\030\005 \003(\0132;.google.clou"
- + "d.dialogflow.cx.v3.Fulfillment.Condition"
- + "alCases\022J\n\021advanced_settings\030\007 \001(\0132/.goo"
- + "gle.cloud.dialogflow.cx.v3.AdvancedSetti"
- + "ngs\022\"\n\032enable_generative_fallback\030\014 \001(\010\022"
- + "P\n\ngenerators\030\r \003(\0132<.google.cloud.dialo"
- + "gflow.cx.v3.Fulfillment.GeneratorSetting"
- + "s\032N\n\022SetParameterAction\022\021\n\tparameter\030\001 \001"
- + "(\t\022%\n\005value\030\002 \001(\0132\026.google.protobuf.Valu"
- + "e\032\243\003\n\020ConditionalCases\022O\n\005cases\030\001 \003(\0132@."
- + "google.cloud.dialogflow.cx.v3.Fulfillmen"
- + "t.ConditionalCases.Case\032\275\002\n\004Case\022\021\n\tcond"
- + "ition\030\001 \001(\t\022b\n\014case_content\030\002 \003(\0132L.goog"
- + "le.cloud.dialogflow.cx.v3.Fulfillment.Co"
- + "nditionalCases.Case.CaseContent\032\275\001\n\013Case"
- + "Content\022A\n\007message\030\001 \001(\0132..google.cloud."
- + "dialogflow.cx.v3.ResponseMessageH\000\022W\n\020ad"
- + "ditional_cases\030\002 \001(\0132;.google.cloud.dial"
+ + "ponses\030\010 \001(\010\022\013\n\003tag\030\003 \001(\t\022 \n\023code_block_"
+ + "function\030\021 \001(\tB\003\340A\001\022\\\n\025set_parameter_act"
+ + "ions\030\004 \003(\0132=.google.cloud.dialogflow.cx."
+ + "v3.Fulfillment.SetParameterAction\022V\n\021con"
+ + "ditional_cases\030\005 \003(\0132;.google.cloud.dial"
+ "ogflow.cx.v3.Fulfillment.ConditionalCase"
- + "sH\000B\022\n\020cases_or_message\032\227\002\n\021GeneratorSet"
- + "tings\022>\n\tgenerator\030\001 \001(\tB+\340A\002\372A%\n#dialog"
- + "flow.googleapis.com/Generator\022k\n\020input_p"
- + "arameters\030\002 \003(\0132Q.google.cloud.dialogflo"
- + "w.cx.v3.Fulfillment.GeneratorSettings.In"
- + "putParametersEntry\022\035\n\020output_parameter\030\003"
- + " \001(\tB\003\340A\002\0326\n\024InputParametersEntry\022\013\n\003key"
- + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\263\001\n!com.google"
- + ".cloud.dialogflow.cx.v3B\020FulfillmentProt"
- + "oP\001Z1cloud.google.com/go/dialogflow/cx/a"
- + "piv3/cxpb;cxpb\242\002\002DF\252\002\035Google.Cloud.Dialo"
- + "gflow.Cx.V3\352\002!Google::Cloud::Dialogflow:"
- + ":CX::V3b\006proto3"
+ + "s\022J\n\021advanced_settings\030\007 \001(\0132/.google.cl"
+ + "oud.dialogflow.cx.v3.AdvancedSettings\022\"\n"
+ + "\032enable_generative_fallback\030\014 \001(\010\022P\n\ngen"
+ + "erators\030\r \003(\0132<.google.cloud.dialogflow."
+ + "cx.v3.Fulfillment.GeneratorSettings\032N\n\022S"
+ + "etParameterAction\022\021\n\tparameter\030\001 \001(\t\022%\n\005"
+ + "value\030\002 \001(\0132\026.google.protobuf.Value\032\243\003\n\020"
+ + "ConditionalCases\022O\n\005cases\030\001 \003(\0132@.google"
+ + ".cloud.dialogflow.cx.v3.Fulfillment.Cond"
+ + "itionalCases.Case\032\275\002\n\004Case\022\021\n\tcondition\030"
+ + "\001 \001(\t\022b\n\014case_content\030\002 \003(\0132L.google.clo"
+ + "ud.dialogflow.cx.v3.Fulfillment.Conditio"
+ + "nalCases.Case.CaseContent\032\275\001\n\013CaseConten"
+ + "t\022A\n\007message\030\001 \001(\0132..google.cloud.dialog"
+ + "flow.cx.v3.ResponseMessageH\000\022W\n\020addition"
+ + "al_cases\030\002 \001(\0132;.google.cloud.dialogflow"
+ + ".cx.v3.Fulfillment.ConditionalCasesH\000B\022\n"
+ + "\020cases_or_message\032\227\002\n\021GeneratorSettings\022"
+ + ">\n\tgenerator\030\001 \001(\tB+\340A\002\372A%\n#dialogflow.g"
+ + "oogleapis.com/Generator\022k\n\020input_paramet"
+ + "ers\030\002 \003(\0132Q.google.cloud.dialogflow.cx.v"
+ + "3.Fulfillment.GeneratorSettings.InputPar"
+ + "ametersEntry\022\035\n\020output_parameter\030\003 \001(\tB\003"
+ + "\340A\002\0326\n\024InputParametersEntry\022\013\n\003key\030\001 \001(\t"
+ + "\022\r\n\005value\030\002 \001(\t:\0028\001B\263\001\n!com.google.cloud"
+ + ".dialogflow.cx.v3B\020FulfillmentProtoP\001Z1c"
+ + "loud.google.com/go/dialogflow/cx/apiv3/c"
+ + "xpb;cxpb\242\002\002DF\252\002\035Google.Cloud.Dialogflow."
+ + "Cx.V3\352\002!Google::Cloud::Dialogflow::CX::V"
+ + "3b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -144,6 +145,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Webhook",
"ReturnPartialResponses",
"Tag",
+ "CodeBlockFunction",
"SetParameterActions",
"ConditionalCases",
"AdvancedSettings",
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Intent.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Intent.java
index 58aa103b450d..d5cd920dac22 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Intent.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/Intent.java
@@ -4502,7 +4502,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
*
*
* Human readable description for better understanding an intent like its
- * scope, content, result etc. Maximum character limit: 140 characters.
+ * scope, content, result etc. Maximum character limit: 1000 characters.
*
*
* string description = 8;
@@ -4527,7 +4527,7 @@ public java.lang.String getDescription() {
*
*
* Human readable description for better understanding an intent like its
- * scope, content, result etc. Maximum character limit: 140 characters.
+ * scope, content, result etc. Maximum character limit: 1000 characters.
*
*
* string description = 8;
@@ -6683,7 +6683,7 @@ public Builder putAllLabels(java.util.Map va
*
*
* Human readable description for better understanding an intent like its
- * scope, content, result etc. Maximum character limit: 140 characters.
+ * scope, content, result etc. Maximum character limit: 1000 characters.
*
*
* string description = 8;
@@ -6707,7 +6707,7 @@ public java.lang.String getDescription() {
*
*
* Human readable description for better understanding an intent like its
- * scope, content, result etc. Maximum character limit: 140 characters.
+ * scope, content, result etc. Maximum character limit: 1000 characters.
*
*
* string description = 8;
@@ -6731,7 +6731,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* Human readable description for better understanding an intent like its
- * scope, content, result etc. Maximum character limit: 140 characters.
+ * scope, content, result etc. Maximum character limit: 1000 characters.
*
*
* string description = 8;
@@ -6754,7 +6754,7 @@ public Builder setDescription(java.lang.String value) {
*
*
* Human readable description for better understanding an intent like its
- * scope, content, result etc. Maximum character limit: 140 characters.
+ * scope, content, result etc. Maximum character limit: 1000 characters.
*
*
* string description = 8;
@@ -6773,7 +6773,7 @@ public Builder clearDescription() {
*
*
* Human readable description for better understanding an intent like its
- * scope, content, result etc. Maximum character limit: 140 characters.
+ * scope, content, result etc. Maximum character limit: 1000 characters.
*
*
* string description = 8;
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/IntentOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/IntentOrBuilder.java
index 6dcdad299ba5..46760367c929 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/IntentOrBuilder.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/IntentOrBuilder.java
@@ -376,7 +376,7 @@ java.lang.String getLabelsOrDefault(
*
*
* Human readable description for better understanding an intent like its
- * scope, content, result etc. Maximum character limit: 140 characters.
+ * scope, content, result etc. Maximum character limit: 1000 characters.
*
*
* string description = 8;
@@ -390,7 +390,7 @@ java.lang.String getLabelsOrDefault(
*
*
* Human readable description for better understanding an intent like its
- * scope, content, result etc. Maximum character limit: 140 characters.
+ * scope, content, result etc. Maximum character limit: 1000 characters.
*
*
* string description = 8;
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/fulfillment.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/fulfillment.proto
index 6b29e1bca452..df408036f5ed 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/fulfillment.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/fulfillment.proto
@@ -148,6 +148,11 @@ message Fulfillment {
// This field is required if `webhook` is specified.
string tag = 3;
+ // Optional. The name of the code block function to execute, if this is a code
+ // block fulfillment. The code block itself is implied by the fulfillment's
+ // parent, e.g. a playbook.
+ string code_block_function = 17 [(google.api.field_behavior) = OPTIONAL];
+
// Set parameter values before executing the webhook.
repeated SetParameterAction set_parameter_actions = 4;
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/intent.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/intent.proto
index 38e3d9fb8332..d5d0ed948598 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/intent.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/intent.proto
@@ -279,7 +279,7 @@ message Intent {
map labels = 7;
// Human readable description for better understanding an intent like its
- // scope, content, result etc. Maximum character limit: 140 characters.
+ // scope, content, result etc. Maximum character limit: 1000 characters.
string description = 8;
// Optional. Matching DTMF pattern for the intent.
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Fulfillment.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Fulfillment.java
index 07cd1e7abc30..611a765be895 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Fulfillment.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Fulfillment.java
@@ -71,6 +71,7 @@ private Fulfillment() {
messages_ = java.util.Collections.emptyList();
webhook_ = "";
tag_ = "";
+ codeBlockFunction_ = "";
setParameterActions_ = java.util.Collections.emptyList();
conditionalCases_ = java.util.Collections.emptyList();
generators_ = java.util.Collections.emptyList();
@@ -6479,6 +6480,63 @@ public com.google.protobuf.ByteString getTagBytes() {
}
}
+ public static final int CODE_BLOCK_FUNCTION_FIELD_NUMBER = 17;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object codeBlockFunction_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the code block function to execute, if this is a code
+ * block fulfillment. The code block itself is implied by the fulfillment's
+ * parent, e.g. a playbook.
+ *
+ *
+ * string code_block_function = 17 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The codeBlockFunction.
+ */
+ @java.lang.Override
+ public java.lang.String getCodeBlockFunction() {
+ java.lang.Object ref = codeBlockFunction_;
+ 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();
+ codeBlockFunction_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the code block function to execute, if this is a code
+ * block fulfillment. The code block itself is implied by the fulfillment's
+ * parent, e.g. a playbook.
+ *
+ *
+ * string code_block_function = 17 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for codeBlockFunction.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getCodeBlockFunctionBytes() {
+ java.lang.Object ref = codeBlockFunction_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ codeBlockFunction_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
public static final int SET_PARAMETER_ACTIONS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
@@ -6873,6 +6931,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < generators_.size(); i++) {
output.writeMessage(13, generators_.get(i));
}
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(codeBlockFunction_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 17, codeBlockFunction_);
+ }
getUnknownFields().writeTo(output);
}
@@ -6910,6 +6971,9 @@ public int getSerializedSize() {
for (int i = 0; i < generators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, generators_.get(i));
}
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(codeBlockFunction_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(17, codeBlockFunction_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -6930,6 +6994,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getWebhook().equals(other.getWebhook())) return false;
if (getReturnPartialResponses() != other.getReturnPartialResponses()) return false;
if (!getTag().equals(other.getTag())) return false;
+ if (!getCodeBlockFunction().equals(other.getCodeBlockFunction())) return false;
if (!getSetParameterActionsList().equals(other.getSetParameterActionsList())) return false;
if (!getConditionalCasesList().equals(other.getConditionalCasesList())) return false;
if (hasAdvancedSettings() != other.hasAdvancedSettings()) return false;
@@ -6959,6 +7024,8 @@ public int hashCode() {
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPartialResponses());
hash = (37 * hash) + TAG_FIELD_NUMBER;
hash = (53 * hash) + getTag().hashCode();
+ hash = (37 * hash) + CODE_BLOCK_FUNCTION_FIELD_NUMBER;
+ hash = (53 * hash) + getCodeBlockFunction().hashCode();
if (getSetParameterActionsCount() > 0) {
hash = (37 * hash) + SET_PARAMETER_ACTIONS_FIELD_NUMBER;
hash = (53 * hash) + getSetParameterActionsList().hashCode();
@@ -7156,20 +7223,21 @@ public Builder clear() {
webhook_ = "";
returnPartialResponses_ = false;
tag_ = "";
+ codeBlockFunction_ = "";
if (setParameterActionsBuilder_ == null) {
setParameterActions_ = java.util.Collections.emptyList();
} else {
setParameterActions_ = null;
setParameterActionsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000020);
if (conditionalCasesBuilder_ == null) {
conditionalCases_ = java.util.Collections.emptyList();
} else {
conditionalCases_ = null;
conditionalCasesBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000040);
advancedSettings_ = null;
if (advancedSettingsBuilder_ != null) {
advancedSettingsBuilder_.dispose();
@@ -7182,7 +7250,7 @@ public Builder clear() {
generators_ = null;
generatorsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
@@ -7230,27 +7298,27 @@ private void buildPartialRepeatedFields(
result.messages_ = messagesBuilder_.build();
}
if (setParameterActionsBuilder_ == null) {
- if (((bitField0_ & 0x00000010) != 0)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
setParameterActions_ = java.util.Collections.unmodifiableList(setParameterActions_);
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000020);
}
result.setParameterActions_ = setParameterActions_;
} else {
result.setParameterActions_ = setParameterActionsBuilder_.build();
}
if (conditionalCasesBuilder_ == null) {
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000040) != 0)) {
conditionalCases_ = java.util.Collections.unmodifiableList(conditionalCases_);
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000040);
}
result.conditionalCases_ = conditionalCases_;
} else {
result.conditionalCases_ = conditionalCasesBuilder_.build();
}
if (generatorsBuilder_ == null) {
- if (((bitField0_ & 0x00000100) != 0)) {
+ if (((bitField0_ & 0x00000200) != 0)) {
generators_ = java.util.Collections.unmodifiableList(generators_);
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000200);
}
result.generators_ = generators_;
} else {
@@ -7269,13 +7337,16 @@ private void buildPartial0(com.google.cloud.dialogflow.cx.v3beta1.Fulfillment re
if (((from_bitField0_ & 0x00000008) != 0)) {
result.tag_ = tag_;
}
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.codeBlockFunction_ = codeBlockFunction_;
+ }
int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000040) != 0)) {
+ if (((from_bitField0_ & 0x00000080) != 0)) {
result.advancedSettings_ =
advancedSettingsBuilder_ == null ? advancedSettings_ : advancedSettingsBuilder_.build();
to_bitField0_ |= 0x00000001;
}
- if (((from_bitField0_ & 0x00000080) != 0)) {
+ if (((from_bitField0_ & 0x00000100) != 0)) {
result.enableGenerativeFallback_ = enableGenerativeFallback_;
}
result.bitField0_ |= to_bitField0_;
@@ -7334,11 +7405,16 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.Fulfillment othe
bitField0_ |= 0x00000008;
onChanged();
}
+ if (!other.getCodeBlockFunction().isEmpty()) {
+ codeBlockFunction_ = other.codeBlockFunction_;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ }
if (setParameterActionsBuilder_ == null) {
if (!other.setParameterActions_.isEmpty()) {
if (setParameterActions_.isEmpty()) {
setParameterActions_ = other.setParameterActions_;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureSetParameterActionsIsMutable();
setParameterActions_.addAll(other.setParameterActions_);
@@ -7351,7 +7427,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.Fulfillment othe
setParameterActionsBuilder_.dispose();
setParameterActionsBuilder_ = null;
setParameterActions_ = other.setParameterActions_;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000020);
setParameterActionsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
? internalGetSetParameterActionsFieldBuilder()
@@ -7365,7 +7441,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.Fulfillment othe
if (!other.conditionalCases_.isEmpty()) {
if (conditionalCases_.isEmpty()) {
conditionalCases_ = other.conditionalCases_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureConditionalCasesIsMutable();
conditionalCases_.addAll(other.conditionalCases_);
@@ -7378,7 +7454,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.Fulfillment othe
conditionalCasesBuilder_.dispose();
conditionalCasesBuilder_ = null;
conditionalCases_ = other.conditionalCases_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000040);
conditionalCasesBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
? internalGetConditionalCasesFieldBuilder()
@@ -7398,7 +7474,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.Fulfillment othe
if (!other.generators_.isEmpty()) {
if (generators_.isEmpty()) {
generators_ = other.generators_;
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureGeneratorsIsMutable();
generators_.addAll(other.generators_);
@@ -7411,7 +7487,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.Fulfillment othe
generatorsBuilder_.dispose();
generatorsBuilder_ = null;
generators_ = other.generators_;
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000200);
generatorsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
? internalGetGeneratorsFieldBuilder()
@@ -7507,7 +7583,7 @@ public Builder mergeFrom(
{
input.readMessage(
internalGetAdvancedSettingsFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
break;
} // case 58
case 64:
@@ -7519,7 +7595,7 @@ public Builder mergeFrom(
case 96:
{
enableGenerativeFallback_ = input.readBool();
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
break;
} // case 96
case 106:
@@ -7537,6 +7613,12 @@ public Builder mergeFrom(
}
break;
} // case 106
+ case 138:
+ {
+ codeBlockFunction_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 138
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -8275,16 +8357,137 @@ public Builder setTagBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private java.lang.Object codeBlockFunction_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the code block function to execute, if this is a code
+ * block fulfillment. The code block itself is implied by the fulfillment's
+ * parent, e.g. a playbook.
+ *
+ *
+ * string code_block_function = 17 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The codeBlockFunction.
+ */
+ public java.lang.String getCodeBlockFunction() {
+ java.lang.Object ref = codeBlockFunction_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ codeBlockFunction_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the code block function to execute, if this is a code
+ * block fulfillment. The code block itself is implied by the fulfillment's
+ * parent, e.g. a playbook.
+ *
+ *
+ * string code_block_function = 17 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for codeBlockFunction.
+ */
+ public com.google.protobuf.ByteString getCodeBlockFunctionBytes() {
+ java.lang.Object ref = codeBlockFunction_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ codeBlockFunction_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the code block function to execute, if this is a code
+ * block fulfillment. The code block itself is implied by the fulfillment's
+ * parent, e.g. a playbook.
+ *
+ *
+ * string code_block_function = 17 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The codeBlockFunction to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCodeBlockFunction(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ codeBlockFunction_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the code block function to execute, if this is a code
+ * block fulfillment. The code block itself is implied by the fulfillment's
+ * parent, e.g. a playbook.
+ *
+ *
+ * string code_block_function = 17 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearCodeBlockFunction() {
+ codeBlockFunction_ = getDefaultInstance().getCodeBlockFunction();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the code block function to execute, if this is a code
+ * block fulfillment. The code block itself is implied by the fulfillment's
+ * parent, e.g. a playbook.
+ *
+ *
+ * string code_block_function = 17 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for codeBlockFunction to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCodeBlockFunctionBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ codeBlockFunction_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
private java.util.List
setParameterActions_ = java.util.Collections.emptyList();
private void ensureSetParameterActionsIsMutable() {
- if (!((bitField0_ & 0x00000010) != 0)) {
+ if (!((bitField0_ & 0x00000020) != 0)) {
setParameterActions_ =
new java.util.ArrayList<
com.google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction>(
setParameterActions_);
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
}
}
@@ -8544,7 +8747,7 @@ public Builder addAllSetParameterActions(
public Builder clearSetParameterActions() {
if (setParameterActionsBuilder_ == null) {
setParameterActions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
setParameterActionsBuilder_.clear();
@@ -8700,7 +8903,7 @@ public Builder removeSetParameterActions(int index) {
com.google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction.Builder,
com.google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterActionOrBuilder>(
setParameterActions_,
- ((bitField0_ & 0x00000010) != 0),
+ ((bitField0_ & 0x00000020) != 0),
getParentForChildren(),
isClean());
setParameterActions_ = null;
@@ -8712,12 +8915,12 @@ public Builder removeSetParameterActions(int index) {
conditionalCases_ = java.util.Collections.emptyList();
private void ensureConditionalCasesIsMutable() {
- if (!((bitField0_ & 0x00000020) != 0)) {
+ if (!((bitField0_ & 0x00000040) != 0)) {
conditionalCases_ =
new java.util.ArrayList<
com.google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases>(
conditionalCases_);
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000040;
}
}
@@ -8977,7 +9180,7 @@ public Builder addAllConditionalCases(
public Builder clearConditionalCases() {
if (conditionalCasesBuilder_ == null) {
conditionalCases_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
conditionalCasesBuilder_.clear();
@@ -9132,7 +9335,7 @@ public Builder removeConditionalCases(int index) {
com.google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Builder,
com.google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCasesOrBuilder>(
conditionalCases_,
- ((bitField0_ & 0x00000020) != 0),
+ ((bitField0_ & 0x00000040) != 0),
getParentForChildren(),
isClean());
conditionalCases_ = null;
@@ -9160,7 +9363,7 @@ public Builder removeConditionalCases(int index) {
* @return Whether the advancedSettings field is set.
*/
public boolean hasAdvancedSettings() {
- return ((bitField0_ & 0x00000040) != 0);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
@@ -9205,7 +9408,7 @@ public Builder setAdvancedSettings(
} else {
advancedSettingsBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -9227,7 +9430,7 @@ public Builder setAdvancedSettings(
} else {
advancedSettingsBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -9245,7 +9448,7 @@ public Builder setAdvancedSettings(
public Builder mergeAdvancedSettings(
com.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings value) {
if (advancedSettingsBuilder_ == null) {
- if (((bitField0_ & 0x00000040) != 0)
+ if (((bitField0_ & 0x00000080) != 0)
&& advancedSettings_ != null
&& advancedSettings_
!= com.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.getDefaultInstance()) {
@@ -9257,7 +9460,7 @@ public Builder mergeAdvancedSettings(
advancedSettingsBuilder_.mergeFrom(value);
}
if (advancedSettings_ != null) {
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
}
return this;
@@ -9274,7 +9477,7 @@ public Builder mergeAdvancedSettings(
* .google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 7;
*/
public Builder clearAdvancedSettings() {
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000080);
advancedSettings_ = null;
if (advancedSettingsBuilder_ != null) {
advancedSettingsBuilder_.dispose();
@@ -9296,7 +9499,7 @@ public Builder clearAdvancedSettings() {
*/
public com.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.Builder
getAdvancedSettingsBuilder() {
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
return internalGetAdvancedSettingsFieldBuilder().getBuilder();
}
@@ -9390,7 +9593,7 @@ public boolean getEnableGenerativeFallback() {
public Builder setEnableGenerativeFallback(boolean value) {
enableGenerativeFallback_ = value;
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -9411,7 +9614,7 @@ public Builder setEnableGenerativeFallback(boolean value) {
* @return This builder for chaining.
*/
public Builder clearEnableGenerativeFallback() {
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000100);
enableGenerativeFallback_ = false;
onChanged();
return this;
@@ -9421,11 +9624,11 @@ public Builder clearEnableGenerativeFallback() {
generators_ = java.util.Collections.emptyList();
private void ensureGeneratorsIsMutable() {
- if (!((bitField0_ & 0x00000100) != 0)) {
+ if (!((bitField0_ & 0x00000200) != 0)) {
generators_ =
new java.util.ArrayList<
com.google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings>(generators_);
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000200;
}
}
@@ -9685,7 +9888,7 @@ public Builder addAllGenerators(
public Builder clearGenerators() {
if (generatorsBuilder_ == null) {
generators_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
} else {
generatorsBuilder_.clear();
@@ -9839,7 +10042,7 @@ public Builder removeGenerators(int index) {
com.google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings,
com.google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettings.Builder,
com.google.cloud.dialogflow.cx.v3beta1.Fulfillment.GeneratorSettingsOrBuilder>(
- generators_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean());
+ generators_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean());
generators_ = null;
}
return generatorsBuilder_;
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillmentOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillmentOrBuilder.java
index ec01297e4f17..82efdcbfed30 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillmentOrBuilder.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillmentOrBuilder.java
@@ -171,6 +171,36 @@ public interface FulfillmentOrBuilder
*/
com.google.protobuf.ByteString getTagBytes();
+ /**
+ *
+ *
+ *
+ * Optional. The name of the code block function to execute, if this is a code
+ * block fulfillment. The code block itself is implied by the fulfillment's
+ * parent, e.g. a playbook.
+ *
+ *
+ * string code_block_function = 17 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The codeBlockFunction.
+ */
+ java.lang.String getCodeBlockFunction();
+
+ /**
+ *
+ *
+ *
+ * Optional. The name of the code block function to execute, if this is a code
+ * block fulfillment. The code block itself is implied by the fulfillment's
+ * parent, e.g. a playbook.
+ *
+ *
+ * string code_block_function = 17 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for codeBlockFunction.
+ */
+ com.google.protobuf.ByteString getCodeBlockFunctionBytes();
+
/**
*
*
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillmentProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillmentProto.java
index 4c27736fd479..3fd75148ecab 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillmentProto.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillmentProto.java
@@ -84,47 +84,48 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "loud/dialogflow/cx/v3beta1/advanced_sett"
+ "ings.proto\0329google/cloud/dialogflow/cx/v"
+ "3beta1/response_message.proto\032\034google/pr"
- + "otobuf/struct.proto\"\361\n\n\013Fulfillment\022E\n\010m"
+ + "otobuf/struct.proto\"\223\013\n\013Fulfillment\022E\n\010m"
+ "essages\030\001 \003(\01323.google.cloud.dialogflow."
+ "cx.v3beta1.ResponseMessage\0227\n\007webhook\030\002 "
+ "\001(\tB&\372A#\n!dialogflow.googleapis.com/Webh"
+ "ook\022 \n\030return_partial_responses\030\010 \001(\010\022\013\n"
- + "\003tag\030\003 \001(\t\022a\n\025set_parameter_actions\030\004 \003("
- + "\0132B.google.cloud.dialogflow.cx.v3beta1.F"
- + "ulfillment.SetParameterAction\022[\n\021conditi"
- + "onal_cases\030\005 \003(\0132@.google.cloud.dialogfl"
- + "ow.cx.v3beta1.Fulfillment.ConditionalCas"
- + "es\022O\n\021advanced_settings\030\007 \001(\01324.google.c"
- + "loud.dialogflow.cx.v3beta1.AdvancedSetti"
- + "ngs\022\"\n\032enable_generative_fallback\030\014 \001(\010\022"
- + "U\n\ngenerators\030\r \003(\0132A.google.cloud.dialo"
- + "gflow.cx.v3beta1.Fulfillment.GeneratorSe"
- + "ttings\032N\n\022SetParameterAction\022\021\n\tparamete"
- + "r\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.google.protobuf"
- + ".Value\032\267\003\n\020ConditionalCases\022T\n\005cases\030\001 \003"
- + "(\0132E.google.cloud.dialogflow.cx.v3beta1."
- + "Fulfillment.ConditionalCases.Case\032\314\002\n\004Ca"
- + "se\022\021\n\tcondition\030\001 \001(\t\022g\n\014case_content\030\002 "
- + "\003(\0132Q.google.cloud.dialogflow.cx.v3beta1"
- + ".Fulfillment.ConditionalCases.Case.CaseC"
- + "ontent\032\307\001\n\013CaseContent\022F\n\007message\030\001 \001(\0132"
- + "3.google.cloud.dialogflow.cx.v3beta1.Res"
- + "ponseMessageH\000\022\\\n\020additional_cases\030\002 \001(\013"
- + "2@.google.cloud.dialogflow.cx.v3beta1.Fu"
- + "lfillment.ConditionalCasesH\000B\022\n\020cases_or"
- + "_message\032\234\002\n\021GeneratorSettings\022>\n\tgenera"
- + "tor\030\001 \001(\tB+\340A\002\372A%\n#dialogflow.googleapis"
- + ".com/Generator\022p\n\020input_parameters\030\002 \003(\013"
- + "2V.google.cloud.dialogflow.cx.v3beta1.Fu"
- + "lfillment.GeneratorSettings.InputParamet"
- + "ersEntry\022\035\n\020output_parameter\030\003 \001(\tB\003\340A\002\032"
- + "6\n\024InputParametersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005"
- + "value\030\002 \001(\t:\0028\001B\307\001\n&com.google.cloud.dia"
- + "logflow.cx.v3beta1B\020FulfillmentProtoP\001Z6"
- + "cloud.google.com/go/dialogflow/cx/apiv3b"
- + "eta1/cxpb;cxpb\242\002\002DF\252\002\"Google.Cloud.Dialo"
- + "gflow.Cx.V3Beta1\352\002&Google::Cloud::Dialog"
- + "flow::CX::V3beta1b\006proto3"
+ + "\003tag\030\003 \001(\t\022 \n\023code_block_function\030\021 \001(\tB"
+ + "\003\340A\001\022a\n\025set_parameter_actions\030\004 \003(\0132B.go"
+ + "ogle.cloud.dialogflow.cx.v3beta1.Fulfill"
+ + "ment.SetParameterAction\022[\n\021conditional_c"
+ + "ases\030\005 \003(\0132@.google.cloud.dialogflow.cx."
+ + "v3beta1.Fulfillment.ConditionalCases\022O\n\021"
+ + "advanced_settings\030\007 \001(\01324.google.cloud.d"
+ + "ialogflow.cx.v3beta1.AdvancedSettings\022\"\n"
+ + "\032enable_generative_fallback\030\014 \001(\010\022U\n\ngen"
+ + "erators\030\r \003(\0132A.google.cloud.dialogflow."
+ + "cx.v3beta1.Fulfillment.GeneratorSettings"
+ + "\032N\n\022SetParameterAction\022\021\n\tparameter\030\001 \001("
+ + "\t\022%\n\005value\030\002 \001(\0132\026.google.protobuf.Value"
+ + "\032\267\003\n\020ConditionalCases\022T\n\005cases\030\001 \003(\0132E.g"
+ + "oogle.cloud.dialogflow.cx.v3beta1.Fulfil"
+ + "lment.ConditionalCases.Case\032\314\002\n\004Case\022\021\n\t"
+ + "condition\030\001 \001(\t\022g\n\014case_content\030\002 \003(\0132Q."
+ + "google.cloud.dialogflow.cx.v3beta1.Fulfi"
+ + "llment.ConditionalCases.Case.CaseContent"
+ + "\032\307\001\n\013CaseContent\022F\n\007message\030\001 \001(\01323.goog"
+ + "le.cloud.dialogflow.cx.v3beta1.ResponseM"
+ + "essageH\000\022\\\n\020additional_cases\030\002 \001(\0132@.goo"
+ + "gle.cloud.dialogflow.cx.v3beta1.Fulfillm"
+ + "ent.ConditionalCasesH\000B\022\n\020cases_or_messa"
+ + "ge\032\234\002\n\021GeneratorSettings\022>\n\tgenerator\030\001 "
+ + "\001(\tB+\340A\002\372A%\n#dialogflow.googleapis.com/G"
+ + "enerator\022p\n\020input_parameters\030\002 \003(\0132V.goo"
+ + "gle.cloud.dialogflow.cx.v3beta1.Fulfillm"
+ + "ent.GeneratorSettings.InputParametersEnt"
+ + "ry\022\035\n\020output_parameter\030\003 \001(\tB\003\340A\002\0326\n\024Inp"
+ + "utParametersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030"
+ + "\002 \001(\t:\0028\001B\307\001\n&com.google.cloud.dialogflo"
+ + "w.cx.v3beta1B\020FulfillmentProtoP\001Z6cloud."
+ + "google.com/go/dialogflow/cx/apiv3beta1/c"
+ + "xpb;cxpb\242\002\002DF\252\002\"Google.Cloud.Dialogflow."
+ + "Cx.V3Beta1\352\002&Google::Cloud::Dialogflow::"
+ + "CX::V3beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -146,6 +147,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Webhook",
"ReturnPartialResponses",
"Tag",
+ "CodeBlockFunction",
"SetParameterActions",
"ConditionalCases",
"AdvancedSettings",
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java
index ff5ab6cd59bb..1bc376f3b1e0 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Intent.java
@@ -4544,7 +4544,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
*
*
* Human readable description for better understanding an intent like its
- * scope, content, result etc. Maximum character limit: 140 characters.
+ * scope, content, result etc. Maximum character limit: 1000 characters.
*
*
* string description = 8;
@@ -4569,7 +4569,7 @@ public java.lang.String getDescription() {
*
*
* Human readable description for better understanding an intent like its
- * scope, content, result etc. Maximum character limit: 140 characters.
+ * scope, content, result etc. Maximum character limit: 1000 characters.
*
*
* string description = 8;
@@ -6752,7 +6752,7 @@ public Builder putAllLabels(java.util.Map va
*
*
* Human readable description for better understanding an intent like its
- * scope, content, result etc. Maximum character limit: 140 characters.
+ * scope, content, result etc. Maximum character limit: 1000 characters.
*
*
* string description = 8;
@@ -6776,7 +6776,7 @@ public java.lang.String getDescription() {
*
*
* Human readable description for better understanding an intent like its
- * scope, content, result etc. Maximum character limit: 140 characters.
+ * scope, content, result etc. Maximum character limit: 1000 characters.
*
*
* string description = 8;
@@ -6800,7 +6800,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* Human readable description for better understanding an intent like its
- * scope, content, result etc. Maximum character limit: 140 characters.
+ * scope, content, result etc. Maximum character limit: 1000 characters.
*
*
* string description = 8;
@@ -6823,7 +6823,7 @@ public Builder setDescription(java.lang.String value) {
*
*
* Human readable description for better understanding an intent like its
- * scope, content, result etc. Maximum character limit: 140 characters.
+ * scope, content, result etc. Maximum character limit: 1000 characters.
*
*
* string description = 8;
@@ -6842,7 +6842,7 @@ public Builder clearDescription() {
*
*
* Human readable description for better understanding an intent like its
- * scope, content, result etc. Maximum character limit: 140 characters.
+ * scope, content, result etc. Maximum character limit: 1000 characters.
*
*
* string description = 8;
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentOrBuilder.java
index cc47e7136098..b97029818779 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentOrBuilder.java
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/IntentOrBuilder.java
@@ -378,7 +378,7 @@ java.lang.String getLabelsOrDefault(
*
*
* Human readable description for better understanding an intent like its
- * scope, content, result etc. Maximum character limit: 140 characters.
+ * scope, content, result etc. Maximum character limit: 1000 characters.
*
*
* string description = 8;
@@ -392,7 +392,7 @@ java.lang.String getLabelsOrDefault(
*
*
* Human readable description for better understanding an intent like its
- * scope, content, result etc. Maximum character limit: 140 characters.
+ * scope, content, result etc. Maximum character limit: 1000 characters.
*
*
* string description = 8;
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/fulfillment.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/fulfillment.proto
index 76cfacf1b337..9a7a8fb89469 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/fulfillment.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/fulfillment.proto
@@ -150,6 +150,11 @@ message Fulfillment {
// This field is required if `webhook` is specified.
string tag = 3;
+ // Optional. The name of the code block function to execute, if this is a code
+ // block fulfillment. The code block itself is implied by the fulfillment's
+ // parent, e.g. a playbook.
+ string code_block_function = 17 [(google.api.field_behavior) = OPTIONAL];
+
// Set parameter values before executing the webhook.
repeated SetParameterAction set_parameter_actions = 4;
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto
index 18701c220c17..97ae95e0216f 100644
--- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto
+++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/intent.proto
@@ -281,7 +281,7 @@ message Intent {
map labels = 7;
// Human readable description for better understanding an intent like its
- // scope, content, result etc. Maximum character limit: 140 characters.
+ // scope, content, result etc. Maximum character limit: 1000 characters.
string description = 8;
// Optional. Matching DTMF pattern for the intent.
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/CompanionAgentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/CompanionAgentsClient.java
new file mode 100644
index 000000000000..2398c74d8d80
--- /dev/null
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/CompanionAgentsClient.java
@@ -0,0 +1,1340 @@
+/*
+ * 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.v2beta1;
+
+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.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.v2beta1.stub.CompanionAgentsStub;
+import com.google.cloud.dialogflow.v2beta1.stub.CompanionAgentsStubSettings;
+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;
+import org.jspecify.annotations.NullMarked;
+import org.jspecify.annotations.Nullable;
+
+// AUTO-GENERATED DOCUMENTATION AND CLASS.
+/**
+ * Service Description: Service for managing companion agents.
+ *
+ * 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * CompanionAgent companionAgent = CompanionAgent.newBuilder().build();
+ * String companionAgentId = "companionAgentId-580252076";
+ * CompanionAgent response =
+ * companionAgentsClient.createCompanionAgent(parent, companionAgent, companionAgentId);
+ * }
+ * }
+ *
+ * Note: close() needs to be called on the CompanionAgentsClient 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
+ *
+ *
+ * CreateCompanionAgent
+ * Creates a companion agent.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * createCompanionAgent(CreateCompanionAgentRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * createCompanionAgent(LocationName parent, CompanionAgent companionAgent, String companionAgentId)
+ *
createCompanionAgent(String parent, CompanionAgent companionAgent, String companionAgentId)
+ *
+ * Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *
+ * createCompanionAgentCallable()
+ *
+ *
+ *
+ *
+ * GetCompanionAgent
+ * Gets a companion agent.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * getCompanionAgent(GetCompanionAgentRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * getCompanionAgent(CompanionAgentName name)
+ *
getCompanionAgent(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.
+ *
+ * getCompanionAgentCallable()
+ *
+ *
+ *
+ *
+ * UpdateCompanionAgent
+ * Updates a companion agent.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * updateCompanionAgent(UpdateCompanionAgentRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * updateCompanionAgent(CompanionAgent companionAgent, 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.
+ *
+ * updateCompanionAgentCallable()
+ *
+ *
+ *
+ *
+ * DeleteCompanionAgent
+ * Deletes a companion agent.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * deleteCompanionAgent(DeleteCompanionAgentRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * deleteCompanionAgent(CompanionAgentName name)
+ *
deleteCompanionAgent(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.
+ *
+ * deleteCompanionAgentCallable()
+ *
+ *
+ *
+ *
+ * ListCompanionAgents
+ * Lists companion agents.
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *
+ * listCompanionAgents(ListCompanionAgentsRequest request)
+ *
+ * "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *
+ * listCompanionAgents(LocationName parent)
+ *
listCompanionAgents(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.
+ *
+ * listCompanionAgentsPagedCallable()
+ *
listCompanionAgentsCallable()
+ *
+ *
+ *
+ *
+ * ListLocations
+ * Lists information about the supported locations for this service.
+ *
This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field: ***Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project.
+ *
For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version.
+ *
+ * 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 CompanionAgentsSettings 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
+ * CompanionAgentsSettings companionAgentsSettings =
+ * CompanionAgentsSettings.newBuilder()
+ * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ * .build();
+ * CompanionAgentsClient companionAgentsClient =
+ * CompanionAgentsClient.create(companionAgentsSettings);
+ * }
+ *
+ * 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
+ * CompanionAgentsSettings companionAgentsSettings =
+ * CompanionAgentsSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * CompanionAgentsClient companionAgentsClient =
+ * CompanionAgentsClient.create(companionAgentsSettings);
+ * }
+ *
+ * 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
+ * CompanionAgentsSettings companionAgentsSettings =
+ * CompanionAgentsSettings.newHttpJsonBuilder().build();
+ * CompanionAgentsClient companionAgentsClient =
+ * CompanionAgentsClient.create(companionAgentsSettings);
+ * }
+ *
+ * Please refer to the GitHub repository's samples for more quickstart code snippets.
+ */
+@NullMarked
+@BetaApi
+@Generated("by gapic-generator-java")
+public class CompanionAgentsClient implements BackgroundResource {
+ private final @Nullable CompanionAgentsSettings settings;
+ private final CompanionAgentsStub stub;
+
+ /** Constructs an instance of CompanionAgentsClient with default settings. */
+ public static final CompanionAgentsClient create() throws IOException {
+ return create(CompanionAgentsSettings.newBuilder().build());
+ }
+
+ /**
+ * Constructs an instance of CompanionAgentsClient, 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 CompanionAgentsClient create(CompanionAgentsSettings settings)
+ throws IOException {
+ return new CompanionAgentsClient(settings);
+ }
+
+ /**
+ * Constructs an instance of CompanionAgentsClient, using the given stub for making calls. This is
+ * for advanced usage - prefer using create(CompanionAgentsSettings).
+ */
+ public static final CompanionAgentsClient create(CompanionAgentsStub stub) {
+ return new CompanionAgentsClient(stub);
+ }
+
+ /**
+ * Constructs an instance of CompanionAgentsClient, 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 CompanionAgentsClient(CompanionAgentsSettings settings) throws IOException {
+ this.settings = settings;
+ this.stub = ((CompanionAgentsStubSettings) settings.getStubSettings()).createStub();
+ }
+
+ protected CompanionAgentsClient(CompanionAgentsStub stub) {
+ this.settings = null;
+ this.stub = stub;
+ }
+
+ public final @Nullable CompanionAgentsSettings getSettings() {
+ return settings;
+ }
+
+ public CompanionAgentsStub getStub() {
+ return stub;
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a companion 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * CompanionAgent companionAgent = CompanionAgent.newBuilder().build();
+ * String companionAgentId = "companionAgentId-580252076";
+ * CompanionAgent response =
+ * companionAgentsClient.createCompanionAgent(parent, companionAgent, companionAgentId);
+ * }
+ * }
+ *
+ * @param parent Required. Resource identifier of the project creating the companion agent.
+ * Format: `projects/{project}/locations/{location}`
+ * @param companionAgent Required. The companion agent to create.
+ * @param companionAgentId Optional. The resource ID of the companion agent to create. If not
+ * provided, the server will auto-generate a resource ID.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final CompanionAgent createCompanionAgent(
+ @Nullable LocationName parent, CompanionAgent companionAgent, String companionAgentId) {
+ CreateCompanionAgentRequest request =
+ CreateCompanionAgentRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .setCompanionAgent(companionAgent)
+ .setCompanionAgentId(companionAgentId)
+ .build();
+ return createCompanionAgent(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a companion 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * CompanionAgent companionAgent = CompanionAgent.newBuilder().build();
+ * String companionAgentId = "companionAgentId-580252076";
+ * CompanionAgent response =
+ * companionAgentsClient.createCompanionAgent(parent, companionAgent, companionAgentId);
+ * }
+ * }
+ *
+ * @param parent Required. Resource identifier of the project creating the companion agent.
+ * Format: `projects/{project}/locations/{location}`
+ * @param companionAgent Required. The companion agent to create.
+ * @param companionAgentId Optional. The resource ID of the companion agent to create. If not
+ * provided, the server will auto-generate a resource ID.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final CompanionAgent createCompanionAgent(
+ String parent, CompanionAgent companionAgent, String companionAgentId) {
+ CreateCompanionAgentRequest request =
+ CreateCompanionAgentRequest.newBuilder()
+ .setParent(parent)
+ .setCompanionAgent(companionAgent)
+ .setCompanionAgentId(companionAgentId)
+ .build();
+ return createCompanionAgent(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a companion 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * CreateCompanionAgentRequest request =
+ * CreateCompanionAgentRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setCompanionAgent(CompanionAgent.newBuilder().build())
+ * .setCompanionAgentId("companionAgentId-580252076")
+ * .build();
+ * CompanionAgent response = companionAgentsClient.createCompanionAgent(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 CompanionAgent createCompanionAgent(CreateCompanionAgentRequest request) {
+ return createCompanionAgentCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a companion 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * CreateCompanionAgentRequest request =
+ * CreateCompanionAgentRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setCompanionAgent(CompanionAgent.newBuilder().build())
+ * .setCompanionAgentId("companionAgentId-580252076")
+ * .build();
+ * ApiFuture future =
+ * companionAgentsClient.createCompanionAgentCallable().futureCall(request);
+ * // Do something.
+ * CompanionAgent response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ createCompanionAgentCallable() {
+ return stub.createCompanionAgentCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a companion 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * CompanionAgentName name =
+ * CompanionAgentName.of("[PROJECT]", "[LOCATION]", "[COMPANION_AGENT]");
+ * CompanionAgent response = companionAgentsClient.getCompanionAgent(name);
+ * }
+ * }
+ *
+ * @param name Required. The unique resource identifier of the CompanionAgent to get all
+ * information for. Format:
+ * `projects/{project}/locations/{location}/companionAgents/{companion_agent}`. Contains the
+ * information about the project_id, location_id, companion_agent_id
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final CompanionAgent getCompanionAgent(@Nullable CompanionAgentName name) {
+ GetCompanionAgentRequest request =
+ GetCompanionAgentRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ return getCompanionAgent(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a companion 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * String name =
+ * CompanionAgentName.of("[PROJECT]", "[LOCATION]", "[COMPANION_AGENT]").toString();
+ * CompanionAgent response = companionAgentsClient.getCompanionAgent(name);
+ * }
+ * }
+ *
+ * @param name Required. The unique resource identifier of the CompanionAgent to get all
+ * information for. Format:
+ * `projects/{project}/locations/{location}/companionAgents/{companion_agent}`. Contains the
+ * information about the project_id, location_id, companion_agent_id
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final CompanionAgent getCompanionAgent(String name) {
+ GetCompanionAgentRequest request = GetCompanionAgentRequest.newBuilder().setName(name).build();
+ return getCompanionAgent(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a companion 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * GetCompanionAgentRequest request =
+ * GetCompanionAgentRequest.newBuilder()
+ * .setName(
+ * CompanionAgentName.of("[PROJECT]", "[LOCATION]", "[COMPANION_AGENT]").toString())
+ * .build();
+ * CompanionAgent response = companionAgentsClient.getCompanionAgent(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 CompanionAgent getCompanionAgent(GetCompanionAgentRequest request) {
+ return getCompanionAgentCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets a companion 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * GetCompanionAgentRequest request =
+ * GetCompanionAgentRequest.newBuilder()
+ * .setName(
+ * CompanionAgentName.of("[PROJECT]", "[LOCATION]", "[COMPANION_AGENT]").toString())
+ * .build();
+ * ApiFuture future =
+ * companionAgentsClient.getCompanionAgentCallable().futureCall(request);
+ * // Do something.
+ * CompanionAgent response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable getCompanionAgentCallable() {
+ return stub.getCompanionAgentCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a companion 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * CompanionAgent companionAgent = CompanionAgent.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * CompanionAgent response =
+ * companionAgentsClient.updateCompanionAgent(companionAgent, updateMask);
+ * }
+ * }
+ *
+ * @param companionAgent Required. The Companion Agent to update.
+ * @param updateMask Optional. Update mask for Companion Agent.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final CompanionAgent updateCompanionAgent(
+ CompanionAgent companionAgent, FieldMask updateMask) {
+ UpdateCompanionAgentRequest request =
+ UpdateCompanionAgentRequest.newBuilder()
+ .setCompanionAgent(companionAgent)
+ .setUpdateMask(updateMask)
+ .build();
+ return updateCompanionAgent(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a companion 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * UpdateCompanionAgentRequest request =
+ * UpdateCompanionAgentRequest.newBuilder()
+ * .setCompanionAgent(CompanionAgent.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * CompanionAgent response = companionAgentsClient.updateCompanionAgent(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 CompanionAgent updateCompanionAgent(UpdateCompanionAgentRequest request) {
+ return updateCompanionAgentCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a companion 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * UpdateCompanionAgentRequest request =
+ * UpdateCompanionAgentRequest.newBuilder()
+ * .setCompanionAgent(CompanionAgent.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * companionAgentsClient.updateCompanionAgentCallable().futureCall(request);
+ * // Do something.
+ * CompanionAgent response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ updateCompanionAgentCallable() {
+ return stub.updateCompanionAgentCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a companion 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * CompanionAgentName name =
+ * CompanionAgentName.of("[PROJECT]", "[LOCATION]", "[COMPANION_AGENT]");
+ * companionAgentsClient.deleteCompanionAgent(name);
+ * }
+ * }
+ *
+ * @param name Required. The unique resource identifier of the CompanionAgent to delete. Format:
+ * `projects/{project}/locations/{location}/companionAgents/{companion_agent}`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteCompanionAgent(@Nullable CompanionAgentName name) {
+ DeleteCompanionAgentRequest request =
+ DeleteCompanionAgentRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ deleteCompanionAgent(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a companion 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * String name =
+ * CompanionAgentName.of("[PROJECT]", "[LOCATION]", "[COMPANION_AGENT]").toString();
+ * companionAgentsClient.deleteCompanionAgent(name);
+ * }
+ * }
+ *
+ * @param name Required. The unique resource identifier of the CompanionAgent to delete. Format:
+ * `projects/{project}/locations/{location}/companionAgents/{companion_agent}`.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteCompanionAgent(String name) {
+ DeleteCompanionAgentRequest request =
+ DeleteCompanionAgentRequest.newBuilder().setName(name).build();
+ deleteCompanionAgent(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a companion 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * DeleteCompanionAgentRequest request =
+ * DeleteCompanionAgentRequest.newBuilder()
+ * .setName(
+ * CompanionAgentName.of("[PROJECT]", "[LOCATION]", "[COMPANION_AGENT]").toString())
+ * .build();
+ * companionAgentsClient.deleteCompanionAgent(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 deleteCompanionAgent(DeleteCompanionAgentRequest request) {
+ deleteCompanionAgentCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a companion 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * DeleteCompanionAgentRequest request =
+ * DeleteCompanionAgentRequest.newBuilder()
+ * .setName(
+ * CompanionAgentName.of("[PROJECT]", "[LOCATION]", "[COMPANION_AGENT]").toString())
+ * .build();
+ * ApiFuture future =
+ * companionAgentsClient.deleteCompanionAgentCallable().futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable deleteCompanionAgentCallable() {
+ return stub.deleteCompanionAgentCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists companion agents.
+ *
+ * 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * for (CompanionAgent element :
+ * companionAgentsClient.listCompanionAgents(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The parent resource name to list the companion agents for. Format:
+ * `projects/{project}/locations/{location}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListCompanionAgentsPagedResponse listCompanionAgents(@Nullable LocationName parent) {
+ ListCompanionAgentsRequest request =
+ ListCompanionAgentsRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listCompanionAgents(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists companion agents.
+ *
+ * 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * for (CompanionAgent element :
+ * companionAgentsClient.listCompanionAgents(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The parent resource name to list the companion agents for. Format:
+ * `projects/{project}/locations/{location}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListCompanionAgentsPagedResponse listCompanionAgents(String parent) {
+ ListCompanionAgentsRequest request =
+ ListCompanionAgentsRequest.newBuilder().setParent(parent).build();
+ return listCompanionAgents(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists companion agents.
+ *
+ * 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * ListCompanionAgentsRequest request =
+ * ListCompanionAgentsRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (CompanionAgent element :
+ * companionAgentsClient.listCompanionAgents(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 ListCompanionAgentsPagedResponse listCompanionAgents(
+ ListCompanionAgentsRequest request) {
+ return listCompanionAgentsPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists companion agents.
+ *
+ * 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * ListCompanionAgentsRequest request =
+ * ListCompanionAgentsRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future =
+ * companionAgentsClient.listCompanionAgentsPagedCallable().futureCall(request);
+ * // Do something.
+ * for (CompanionAgent element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listCompanionAgentsPagedCallable() {
+ return stub.listCompanionAgentsPagedCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists companion agents.
+ *
+ * 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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * ListCompanionAgentsRequest request =
+ * ListCompanionAgentsRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListCompanionAgentsResponse response =
+ * companionAgentsClient.listCompanionAgentsCallable().call(request);
+ * for (CompanionAgent element : response.getCompanionAgentsList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listCompanionAgentsCallable() {
+ return stub.listCompanionAgentsCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists information about the supported locations for this service.
+ *
+ * This method lists locations based on the resource scope provided inthe
+ * [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field:
+ * ***Global locations**: If `name` is empty, the method lists thepublic
+ * locations available to all projects. * **Project-specificlocations**: If
+ * `name` follows the format`projects/{project}`, the method lists locations visible to
+ * thatspecific project. This includes public, private, or otherproject-specific locations enabled
+ * for the project.
+ *
+ *
For gRPC and client library implementations, the resource name ispassed as the `name` field.
+ * For direct service calls, the resourcename isincorporated into the request path based on the
+ * specific serviceimplementation and version.
+ *
+ *
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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (Location element : companionAgentsClient.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.
+ *
+ * This method lists locations based on the resource scope provided inthe
+ * [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field:
+ * ***Global locations**: If `name` is empty, the method lists thepublic
+ * locations available to all projects. * **Project-specificlocations**: If
+ * `name` follows the format`projects/{project}`, the method lists locations visible to
+ * thatspecific project. This includes public, private, or otherproject-specific locations enabled
+ * for the project.
+ *
+ *
For gRPC and client library implementations, the resource name ispassed as the `name` field.
+ * For direct service calls, the resourcename isincorporated into the request path based on the
+ * specific serviceimplementation and version.
+ *
+ *
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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future =
+ * companionAgentsClient.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.
+ *
+ * This method lists locations based on the resource scope provided inthe
+ * [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field:
+ * ***Global locations**: If `name` is empty, the method lists thepublic
+ * locations available to all projects. * **Project-specificlocations**: If
+ * `name` follows the format`projects/{project}`, the method lists locations visible to
+ * thatspecific project. This includes public, private, or otherproject-specific locations enabled
+ * for the project.
+ *
+ *
For gRPC and client library implementations, the resource name ispassed as the `name` field.
+ * For direct service calls, the resourcename isincorporated into the request path based on the
+ * specific serviceimplementation and version.
+ *
+ *
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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListLocationsResponse response =
+ * companionAgentsClient.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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+ * Location response = companionAgentsClient.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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+ * ApiFuture future = companionAgentsClient.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 ListCompanionAgentsPagedResponse
+ extends AbstractPagedListResponse<
+ ListCompanionAgentsRequest,
+ ListCompanionAgentsResponse,
+ CompanionAgent,
+ ListCompanionAgentsPage,
+ ListCompanionAgentsFixedSizeCollection> {
+
+ public static ApiFuture createAsync(
+ PageContext
+ context,
+ ApiFuture futureResponse) {
+ ApiFuture futurePage =
+ ListCompanionAgentsPage.createEmptyPage().createPageAsync(context, futureResponse);
+ return ApiFutures.transform(
+ futurePage,
+ input -> new ListCompanionAgentsPagedResponse(input),
+ MoreExecutors.directExecutor());
+ }
+
+ private ListCompanionAgentsPagedResponse(ListCompanionAgentsPage page) {
+ super(page, ListCompanionAgentsFixedSizeCollection.createEmptyCollection());
+ }
+ }
+
+ public static class ListCompanionAgentsPage
+ extends AbstractPage<
+ ListCompanionAgentsRequest,
+ ListCompanionAgentsResponse,
+ CompanionAgent,
+ ListCompanionAgentsPage> {
+
+ private ListCompanionAgentsPage(
+ @Nullable
+ PageContext
+ context,
+ @Nullable ListCompanionAgentsResponse response) {
+ super(context, response);
+ }
+
+ private static ListCompanionAgentsPage createEmptyPage() {
+ return new ListCompanionAgentsPage(null, null);
+ }
+
+ @Override
+ protected ListCompanionAgentsPage createPage(
+ @Nullable
+ PageContext
+ context,
+ @Nullable ListCompanionAgentsResponse response) {
+ return new ListCompanionAgentsPage(context, response);
+ }
+
+ @Override
+ public ApiFuture createPageAsync(
+ @Nullable
+ PageContext
+ context,
+ ApiFuture futureResponse) {
+ return super.createPageAsync(context, futureResponse);
+ }
+ }
+
+ public static class ListCompanionAgentsFixedSizeCollection
+ extends AbstractFixedSizeCollection<
+ ListCompanionAgentsRequest,
+ ListCompanionAgentsResponse,
+ CompanionAgent,
+ ListCompanionAgentsPage,
+ ListCompanionAgentsFixedSizeCollection> {
+
+ private ListCompanionAgentsFixedSizeCollection(
+ @Nullable List pages, int collectionSize) {
+ super(pages, collectionSize);
+ }
+
+ private static ListCompanionAgentsFixedSizeCollection createEmptyCollection() {
+ return new ListCompanionAgentsFixedSizeCollection(null, 0);
+ }
+
+ @Override
+ protected ListCompanionAgentsFixedSizeCollection createCollection(
+ @Nullable List pages, int collectionSize) {
+ return new ListCompanionAgentsFixedSizeCollection(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(
+ @Nullable PageContext context,
+ @Nullable ListLocationsResponse response) {
+ super(context, response);
+ }
+
+ private static ListLocationsPage createEmptyPage() {
+ return new ListLocationsPage(null, null);
+ }
+
+ @Override
+ protected ListLocationsPage createPage(
+ @Nullable PageContext context,
+ @Nullable ListLocationsResponse response) {
+ return new ListLocationsPage(context, response);
+ }
+
+ @Override
+ public ApiFuture createPageAsync(
+ @Nullable PageContext context,
+ ApiFuture futureResponse) {
+ return super.createPageAsync(context, futureResponse);
+ }
+ }
+
+ public static class ListLocationsFixedSizeCollection
+ extends AbstractFixedSizeCollection<
+ ListLocationsRequest,
+ ListLocationsResponse,
+ Location,
+ ListLocationsPage,
+ ListLocationsFixedSizeCollection> {
+
+ private ListLocationsFixedSizeCollection(
+ @Nullable List pages, int collectionSize) {
+ super(pages, collectionSize);
+ }
+
+ private static ListLocationsFixedSizeCollection createEmptyCollection() {
+ return new ListLocationsFixedSizeCollection(null, 0);
+ }
+
+ @Override
+ protected ListLocationsFixedSizeCollection createCollection(
+ @Nullable List pages, int collectionSize) {
+ return new ListLocationsFixedSizeCollection(pages, collectionSize);
+ }
+ }
+}
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/CompanionAgentsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/CompanionAgentsSettings.java
new file mode 100644
index 000000000000..29959343c1b0
--- /dev/null
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/CompanionAgentsSettings.java
@@ -0,0 +1,303 @@
+/*
+ * 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.v2beta1;
+
+import static com.google.cloud.dialogflow.v2beta1.CompanionAgentsClient.ListCompanionAgentsPagedResponse;
+import static com.google.cloud.dialogflow.v2beta1.CompanionAgentsClient.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.v2beta1.stub.CompanionAgentsStubSettings;
+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;
+import org.jspecify.annotations.NullMarked;
+import org.jspecify.annotations.Nullable;
+
+// AUTO-GENERATED DOCUMENTATION AND CLASS.
+/**
+ * Settings class to configure an instance of {@link CompanionAgentsClient}.
+ *
+ * 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 createCompanionAgent:
+ *
+ *
{@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
+ * CompanionAgentsSettings.Builder companionAgentsSettingsBuilder =
+ * CompanionAgentsSettings.newBuilder();
+ * companionAgentsSettingsBuilder
+ * .createCompanionAgentSettings()
+ * .setRetrySettings(
+ * companionAgentsSettingsBuilder
+ * .createCompanionAgentSettings()
+ * .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());
+ * CompanionAgentsSettings companionAgentsSettings = companionAgentsSettingsBuilder.build();
+ * }
+ *
+ * Please refer to the [Client Side Retry
+ * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting
+ * retries.
+ */
+@NullMarked
+@BetaApi
+@Generated("by gapic-generator-java")
+public class CompanionAgentsSettings extends ClientSettings {
+
+ /** Returns the object with the settings used for calls to createCompanionAgent. */
+ public UnaryCallSettings
+ createCompanionAgentSettings() {
+ return ((CompanionAgentsStubSettings) getStubSettings()).createCompanionAgentSettings();
+ }
+
+ /** Returns the object with the settings used for calls to getCompanionAgent. */
+ public UnaryCallSettings getCompanionAgentSettings() {
+ return ((CompanionAgentsStubSettings) getStubSettings()).getCompanionAgentSettings();
+ }
+
+ /** Returns the object with the settings used for calls to updateCompanionAgent. */
+ public UnaryCallSettings
+ updateCompanionAgentSettings() {
+ return ((CompanionAgentsStubSettings) getStubSettings()).updateCompanionAgentSettings();
+ }
+
+ /** Returns the object with the settings used for calls to deleteCompanionAgent. */
+ public UnaryCallSettings deleteCompanionAgentSettings() {
+ return ((CompanionAgentsStubSettings) getStubSettings()).deleteCompanionAgentSettings();
+ }
+
+ /** Returns the object with the settings used for calls to listCompanionAgents. */
+ public PagedCallSettings<
+ ListCompanionAgentsRequest, ListCompanionAgentsResponse, ListCompanionAgentsPagedResponse>
+ listCompanionAgentsSettings() {
+ return ((CompanionAgentsStubSettings) getStubSettings()).listCompanionAgentsSettings();
+ }
+
+ /** Returns the object with the settings used for calls to listLocations. */
+ public PagedCallSettings
+ listLocationsSettings() {
+ return ((CompanionAgentsStubSettings) getStubSettings()).listLocationsSettings();
+ }
+
+ /** Returns the object with the settings used for calls to getLocation. */
+ public UnaryCallSettings getLocationSettings() {
+ return ((CompanionAgentsStubSettings) getStubSettings()).getLocationSettings();
+ }
+
+ public static final CompanionAgentsSettings create(CompanionAgentsStubSettings stub)
+ throws IOException {
+ return new CompanionAgentsSettings.Builder(stub.toBuilder()).build();
+ }
+
+ /** Returns a builder for the default ExecutorProvider for this service. */
+ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() {
+ return CompanionAgentsStubSettings.defaultExecutorProviderBuilder();
+ }
+
+ /** Returns the default service endpoint. */
+ public static String getDefaultEndpoint() {
+ return CompanionAgentsStubSettings.getDefaultEndpoint();
+ }
+
+ /** Returns the default service scopes. */
+ public static List getDefaultServiceScopes() {
+ return CompanionAgentsStubSettings.getDefaultServiceScopes();
+ }
+
+ /** Returns a builder for the default credentials for this service. */
+ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
+ return CompanionAgentsStubSettings.defaultCredentialsProviderBuilder();
+ }
+
+ /** Returns a builder for the default gRPC ChannelProvider for this service. */
+ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() {
+ return CompanionAgentsStubSettings.defaultGrpcTransportProviderBuilder();
+ }
+
+ /** Returns a builder for the default REST ChannelProvider for this service. */
+ @BetaApi
+ public static InstantiatingHttpJsonChannelProvider.Builder
+ defaultHttpJsonTransportProviderBuilder() {
+ return CompanionAgentsStubSettings.defaultHttpJsonTransportProviderBuilder();
+ }
+
+ public static TransportChannelProvider defaultTransportChannelProvider() {
+ return CompanionAgentsStubSettings.defaultTransportChannelProvider();
+ }
+
+ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
+ return CompanionAgentsStubSettings.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(@Nullable 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 CompanionAgentsSettings(Builder settingsBuilder) throws IOException {
+ super(settingsBuilder);
+ }
+
+ /** Builder for CompanionAgentsSettings. */
+ public static class Builder extends ClientSettings.Builder {
+
+ protected Builder() throws IOException {
+ this(((ClientContext) null));
+ }
+
+ protected Builder(@Nullable ClientContext clientContext) {
+ super(CompanionAgentsStubSettings.newBuilder(clientContext));
+ }
+
+ protected Builder(CompanionAgentsSettings settings) {
+ super(settings.getStubSettings().toBuilder());
+ }
+
+ protected Builder(CompanionAgentsStubSettings.Builder stubSettings) {
+ super(stubSettings);
+ }
+
+ private static Builder createDefault() {
+ return new Builder(CompanionAgentsStubSettings.newBuilder());
+ }
+
+ private static Builder createHttpJsonDefault() {
+ return new Builder(CompanionAgentsStubSettings.newHttpJsonBuilder());
+ }
+
+ public CompanionAgentsStubSettings.Builder getStubSettingsBuilder() {
+ return ((CompanionAgentsStubSettings.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 createCompanionAgent. */
+ public UnaryCallSettings.Builder
+ createCompanionAgentSettings() {
+ return getStubSettingsBuilder().createCompanionAgentSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to getCompanionAgent. */
+ public UnaryCallSettings.Builder
+ getCompanionAgentSettings() {
+ return getStubSettingsBuilder().getCompanionAgentSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to updateCompanionAgent. */
+ public UnaryCallSettings.Builder
+ updateCompanionAgentSettings() {
+ return getStubSettingsBuilder().updateCompanionAgentSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to deleteCompanionAgent. */
+ public UnaryCallSettings.Builder
+ deleteCompanionAgentSettings() {
+ return getStubSettingsBuilder().deleteCompanionAgentSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to listCompanionAgents. */
+ public PagedCallSettings.Builder<
+ ListCompanionAgentsRequest,
+ ListCompanionAgentsResponse,
+ ListCompanionAgentsPagedResponse>
+ listCompanionAgentsSettings() {
+ return getStubSettingsBuilder().listCompanionAgentsSettings();
+ }
+
+ /** 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 CompanionAgentsSettings build() throws IOException {
+ return new CompanionAgentsSettings(this);
+ }
+ }
+}
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsClient.java
index b54c51651cf1..a5a8eaca541c 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsClient.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsClient.java
@@ -186,6 +186,16 @@
*
StreamingReactiveCompanionSuggestions
External streaming API for human-agent queries to the companion bot.
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *streamingReactiveCompanionSuggestionsCallable() + *
BidiStreamingAnalyzeContent
Bidirectional endless streaming version of [StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent].
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 (ParticipantsClient participantsClient = ParticipantsClient.create()) {
+ * BidiStream<
+ * StreamingReactiveCompanionSuggestionsRequest,
+ * StreamingReactiveCompanionSuggestionsResponse>
+ * bidiStream = participantsClient.streamingReactiveCompanionSuggestionsCallable().call();
+ * StreamingReactiveCompanionSuggestionsRequest request =
+ * StreamingReactiveCompanionSuggestionsRequest.newBuilder()
+ * .setParticipant(
+ * ParticipantName.ofProjectConversationParticipantName(
+ * "[PROJECT]", "[CONVERSATION]", "[PARTICIPANT]")
+ * .toString())
+ * .build();
+ * bidiStream.send(request);
+ * for (StreamingReactiveCompanionSuggestionsResponse response : bidiStream) {
+ * // Do something when a response is received.
+ * }
+ * }
+ * }
+ */
+ public final BidiStreamingCallable<
+ StreamingReactiveCompanionSuggestionsRequest,
+ StreamingReactiveCompanionSuggestionsResponse>
+ streamingReactiveCompanionSuggestionsCallable() {
+ return stub.streamingReactiveCompanionSuggestionsCallable();
+ }
+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Bidirectional endless streaming version of
diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsSettings.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsSettings.java
index 7b01ec4aec0f..b2bfefc24e9e 100644
--- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsSettings.java
+++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsSettings.java
@@ -131,6 +131,17 @@ public UnaryCallSettings======================= CompanionAgentsClient ======================= + * + *
Service Description: Service for managing companion agents. + * + *
Sample for CompanionAgentsClient: + * + *
{@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 (CompanionAgentsClient companionAgentsClient = CompanionAgentsClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * CompanionAgent companionAgent = CompanionAgent.newBuilder().build();
+ * String companionAgentId = "companionAgentId-580252076";
+ * CompanionAgent response =
+ * companionAgentsClient.createCompanionAgent(parent, companionAgent, companionAgentId);
+ * }
+ * }
+ *
* ======================= ContextsClient ======================= * *
Service Description: Service for managing [Contexts][google.cloud.dialogflow.v2beta1.Context]. diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/CompanionAgentsStub.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/CompanionAgentsStub.java new file mode 100644 index 000000000000..d4c5f2a18137 --- /dev/null +++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/CompanionAgentsStub.java @@ -0,0 +1,92 @@ +/* + * 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.v2beta1.stub; + +import static com.google.cloud.dialogflow.v2beta1.CompanionAgentsClient.ListCompanionAgentsPagedResponse; +import static com.google.cloud.dialogflow.v2beta1.CompanionAgentsClient.ListLocationsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.dialogflow.v2beta1.CompanionAgent; +import com.google.cloud.dialogflow.v2beta1.CreateCompanionAgentRequest; +import com.google.cloud.dialogflow.v2beta1.DeleteCompanionAgentRequest; +import com.google.cloud.dialogflow.v2beta1.GetCompanionAgentRequest; +import com.google.cloud.dialogflow.v2beta1.ListCompanionAgentsRequest; +import com.google.cloud.dialogflow.v2beta1.ListCompanionAgentsResponse; +import com.google.cloud.dialogflow.v2beta1.UpdateCompanionAgentRequest; +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 javax.annotation.Generated; +import org.jspecify.annotations.NullMarked; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the CompanionAgents service API. + * + *
This class is for advanced usage and reflects the underlying API directly.
+ */
+@NullMarked
+@BetaApi
+@Generated("by gapic-generator-java")
+public abstract class CompanionAgentsStub implements BackgroundResource {
+
+ public UnaryCallable The default instance has everything set to sensible defaults:
+ *
+ * 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 createCompanionAgent:
+ *
+ * Note: This method does not support applying settings to streaming methods.
+ */
+ public Builder applyToAllUnaryMethods(
+ ApiFunction This class is for advanced usage.
+ */
+@NullMarked
+@BetaApi
+@Generated("by gapic-generator-java")
+public class GrpcCompanionAgentsCallableFactory implements GrpcStubCallableFactory {
+
+ @Override
+ public This class is for advanced usage and reflects the underlying API directly.
+ */
+@NullMarked
+@BetaApi
+@Generated("by gapic-generator-java")
+public class GrpcCompanionAgentsStub extends CompanionAgentsStub {
+ private static final MethodDescriptor This class is for advanced usage.
+ */
+@NullMarked
+@BetaApi
+@Generated("by gapic-generator-java")
+public class HttpJsonCompanionAgentsCallableFactory
+ implements HttpJsonStubCallableFactory This class is for advanced usage and reflects the underlying API directly.
+ */
+@NullMarked
+@BetaApi
+@Generated("by gapic-generator-java")
+public class HttpJsonCompanionAgentsStub extends CompanionAgentsStub {
+ private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build();
+
+ private static final ApiMethodDescriptor
+ *
+ *
+ * {@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
+ * CompanionAgentsStubSettings.Builder companionAgentsSettingsBuilder =
+ * CompanionAgentsStubSettings.newBuilder();
+ * companionAgentsSettingsBuilder
+ * .createCompanionAgentSettings()
+ * .setRetrySettings(
+ * companionAgentsSettingsBuilder
+ * .createCompanionAgentSettings()
+ * .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());
+ * CompanionAgentsStubSettings companionAgentsSettings = companionAgentsSettingsBuilder.build();
+ * }
+ *
+ * Please refer to the [Client Side Retry
+ * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting
+ * retries.
+ */
+@NullMarked
+@BetaApi
+@Generated("by gapic-generator-java")
+@SuppressWarnings("CanonicalDuration")
+public class CompanionAgentsStubSettings extends StubSettings