com.google.cloud.deploy.v1.UpdateTargetRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-deploy-v1 Show documentation
Show all versions of proto-google-cloud-deploy-v1 Show documentation
Proto library for google-cloud-deploy
The newest version!
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/deploy/v1/cloud_deploy.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.deploy.v1;
public interface UpdateTargetRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.UpdateTargetRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. Field mask is used to specify the fields to be overwritten by the
* update in the `Target` resource. The fields specified in the update_mask
* are relative to the resource, not the full request. A field will be
* overwritten if it's in the mask. If the user doesn't provide a mask then
* all fields are overwritten.
*
*
* .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the updateMask field is set.
*/
boolean hasUpdateMask();
/**
*
*
*
* Required. Field mask is used to specify the fields to be overwritten by the
* update in the `Target` resource. The fields specified in the update_mask
* are relative to the resource, not the full request. A field will be
* overwritten if it's in the mask. If the user doesn't provide a mask then
* all fields are overwritten.
*
*
* .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The updateMask.
*/
com.google.protobuf.FieldMask getUpdateMask();
/**
*
*
*
* Required. Field mask is used to specify the fields to be overwritten by the
* update in the `Target` resource. The fields specified in the update_mask
* are relative to the resource, not the full request. A field will be
* overwritten if it's in the mask. If the user doesn't provide a mask then
* all fields are overwritten.
*
*
* .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
/**
*
*
*
* Required. The `Target` to update.
*
*
* .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the target field is set.
*/
boolean hasTarget();
/**
*
*
*
* Required. The `Target` to update.
*
*
* .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The target.
*/
com.google.cloud.deploy.v1.Target getTarget();
/**
*
*
*
* Required. The `Target` to update.
*
*
* .google.cloud.deploy.v1.Target target = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.cloud.deploy.v1.TargetOrBuilder getTargetOrBuilder();
/**
*
*
*
* Optional. A request ID to identify requests. Specify a unique request ID
* so that if you must retry your request, the server knows to ignore the
* request if it has already been completed. The server guarantees that for
* at least 60 minutes after 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];
*
* @return The requestId.
*/
java.lang.String getRequestId();
/**
*
*
*
* Optional. A request ID to identify requests. Specify a unique request ID
* so that if you must retry your request, the server knows to ignore the
* request if it has already been completed. The server guarantees that for
* at least 60 minutes after 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];
*
* @return The bytes for requestId.
*/
com.google.protobuf.ByteString getRequestIdBytes();
/**
*
*
*
* Optional. If set to true, updating a `Target` that does not exist will
* result in the creation of a new `Target`.
*
*
* bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The allowMissing.
*/
boolean getAllowMissing();
/**
*
*
*
* Optional. If set to true, the request is validated and the user is provided
* with an expected result, but no actual change is made.
*
*
* bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The validateOnly.
*/
boolean getValidateOnly();
}