Class DeleteAttachedClusterRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DeleteAttachedClusterRequest.Builder>
-
- com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.Builder
-
- All Implemented Interfaces:
DeleteAttachedClusterRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DeleteAttachedClusterRequest
public static final class DeleteAttachedClusterRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DeleteAttachedClusterRequest.Builder> implements DeleteAttachedClusterRequestOrBuilder
Request message for `AttachedClusters.DeleteAttachedCluster` method.
Protobuf typegoogle.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteAttachedClusterRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DeleteAttachedClusterRequestbuild()DeleteAttachedClusterRequestbuildPartial()DeleteAttachedClusterRequest.Builderclear()DeleteAttachedClusterRequest.BuilderclearAllowMissing()If set to true, and the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource is not found, the request will succeed but no action will be taken on the server and a completed [Operation][google.longrunning.Operation] will be returned.DeleteAttachedClusterRequest.BuilderclearEtag()The current etag of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].DeleteAttachedClusterRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DeleteAttachedClusterRequest.BuilderclearIgnoreErrors()If set to true, the deletion of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource will succeed even if errors occur during deleting in cluster resources.DeleteAttachedClusterRequest.BuilderclearName()Required.DeleteAttachedClusterRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DeleteAttachedClusterRequest.BuilderclearValidateOnly()If set, only validate the request, but do not actually delete the resource.DeleteAttachedClusterRequest.Builderclone()booleangetAllowMissing()If set to true, and the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource is not found, the request will succeed but no action will be taken on the server and a completed [Operation][google.longrunning.Operation] will be returned.DeleteAttachedClusterRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetEtag()The current etag of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].com.google.protobuf.ByteStringgetEtagBytes()The current etag of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].booleangetIgnoreErrors()If set to true, the deletion of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource will succeed even if errors occur during deleting in cluster resources.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.booleangetValidateOnly()If set, only validate the request, but do not actually delete the resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DeleteAttachedClusterRequest.BuildermergeFrom(DeleteAttachedClusterRequest other)DeleteAttachedClusterRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DeleteAttachedClusterRequest.BuildermergeFrom(com.google.protobuf.Message other)DeleteAttachedClusterRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DeleteAttachedClusterRequest.BuildersetAllowMissing(boolean value)If set to true, and the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource is not found, the request will succeed but no action will be taken on the server and a completed [Operation][google.longrunning.Operation] will be returned.DeleteAttachedClusterRequest.BuildersetEtag(String value)The current etag of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].DeleteAttachedClusterRequest.BuildersetEtagBytes(com.google.protobuf.ByteString value)The current etag of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].DeleteAttachedClusterRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DeleteAttachedClusterRequest.BuildersetIgnoreErrors(boolean value)If set to true, the deletion of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource will succeed even if errors occur during deleting in cluster resources.DeleteAttachedClusterRequest.BuildersetName(String value)Required.DeleteAttachedClusterRequest.BuildersetNameBytes(com.google.protobuf.ByteString value)Required.DeleteAttachedClusterRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DeleteAttachedClusterRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DeleteAttachedClusterRequest.BuildersetValidateOnly(boolean value)If set, only validate the request, but do not actually delete the resource.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteAttachedClusterRequest.Builder>
-
clear
public DeleteAttachedClusterRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteAttachedClusterRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteAttachedClusterRequest.Builder>
-
getDefaultInstanceForType
public DeleteAttachedClusterRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DeleteAttachedClusterRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DeleteAttachedClusterRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DeleteAttachedClusterRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteAttachedClusterRequest.Builder>
-
setField
public DeleteAttachedClusterRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteAttachedClusterRequest.Builder>
-
clearField
public DeleteAttachedClusterRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteAttachedClusterRequest.Builder>
-
clearOneof
public DeleteAttachedClusterRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteAttachedClusterRequest.Builder>
-
setRepeatedField
public DeleteAttachedClusterRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteAttachedClusterRequest.Builder>
-
addRepeatedField
public DeleteAttachedClusterRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteAttachedClusterRequest.Builder>
-
mergeFrom
public DeleteAttachedClusterRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeleteAttachedClusterRequest.Builder>
-
mergeFrom
public DeleteAttachedClusterRequest.Builder mergeFrom(DeleteAttachedClusterRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteAttachedClusterRequest.Builder>
-
mergeFrom
public DeleteAttachedClusterRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeleteAttachedClusterRequest.Builder>- Throws:
IOException
-
getName
public String getName()
Required. The resource name the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete. `AttachedCluster` names are formatted as `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getNamein interfaceDeleteAttachedClusterRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Required. The resource name the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete. `AttachedCluster` names are formatted as `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getNameBytesin interfaceDeleteAttachedClusterRequestOrBuilder- Returns:
- The bytes for name.
-
setName
public DeleteAttachedClusterRequest.Builder setName(String value)
Required. The resource name the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete. `AttachedCluster` names are formatted as `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public DeleteAttachedClusterRequest.Builder clearName()
Required. The resource name the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete. `AttachedCluster` names are formatted as `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
public DeleteAttachedClusterRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The resource name the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete. `AttachedCluster` names are formatted as `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getValidateOnly
public boolean getValidateOnly()
If set, only validate the request, but do not actually delete the resource.
bool validate_only = 2;- Specified by:
getValidateOnlyin interfaceDeleteAttachedClusterRequestOrBuilder- Returns:
- The validateOnly.
-
setValidateOnly
public DeleteAttachedClusterRequest.Builder setValidateOnly(boolean value)
If set, only validate the request, but do not actually delete the resource.
bool validate_only = 2;- Parameters:
value- The validateOnly to set.- Returns:
- This builder for chaining.
-
clearValidateOnly
public DeleteAttachedClusterRequest.Builder clearValidateOnly()
If set, only validate the request, but do not actually delete the resource.
bool validate_only = 2;- Returns:
- This builder for chaining.
-
getAllowMissing
public boolean getAllowMissing()
If set to true, and the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource is not found, the request will succeed but no action will be taken on the server and a completed [Operation][google.longrunning.Operation] will be returned. Useful for idempotent deletion.
bool allow_missing = 3;- Specified by:
getAllowMissingin interfaceDeleteAttachedClusterRequestOrBuilder- Returns:
- The allowMissing.
-
setAllowMissing
public DeleteAttachedClusterRequest.Builder setAllowMissing(boolean value)
If set to true, and the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource is not found, the request will succeed but no action will be taken on the server and a completed [Operation][google.longrunning.Operation] will be returned. Useful for idempotent deletion.
bool allow_missing = 3;- Parameters:
value- The allowMissing to set.- Returns:
- This builder for chaining.
-
clearAllowMissing
public DeleteAttachedClusterRequest.Builder clearAllowMissing()
If set to true, and the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource is not found, the request will succeed but no action will be taken on the server and a completed [Operation][google.longrunning.Operation] will be returned. Useful for idempotent deletion.
bool allow_missing = 3;- Returns:
- This builder for chaining.
-
getIgnoreErrors
public boolean getIgnoreErrors()
If set to true, the deletion of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource will succeed even if errors occur during deleting in cluster resources. Using this parameter may result in orphaned resources in the cluster.
bool ignore_errors = 5;- Specified by:
getIgnoreErrorsin interfaceDeleteAttachedClusterRequestOrBuilder- Returns:
- The ignoreErrors.
-
setIgnoreErrors
public DeleteAttachedClusterRequest.Builder setIgnoreErrors(boolean value)
If set to true, the deletion of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource will succeed even if errors occur during deleting in cluster resources. Using this parameter may result in orphaned resources in the cluster.
bool ignore_errors = 5;- Parameters:
value- The ignoreErrors to set.- Returns:
- This builder for chaining.
-
clearIgnoreErrors
public DeleteAttachedClusterRequest.Builder clearIgnoreErrors()
If set to true, the deletion of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource will succeed even if errors occur during deleting in cluster resources. Using this parameter may result in orphaned resources in the cluster.
bool ignore_errors = 5;- Returns:
- This builder for chaining.
-
getEtag
public String getEtag()
The current etag of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]. Allows clients to perform deletions through optimistic concurrency control. If the provided etag does not match the current etag of the cluster, the request will fail and an ABORTED error will be returned.
string etag = 4;- Specified by:
getEtagin interfaceDeleteAttachedClusterRequestOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
The current etag of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]. Allows clients to perform deletions through optimistic concurrency control. If the provided etag does not match the current etag of the cluster, the request will fail and an ABORTED error will be returned.
string etag = 4;- Specified by:
getEtagBytesin interfaceDeleteAttachedClusterRequestOrBuilder- Returns:
- The bytes for etag.
-
setEtag
public DeleteAttachedClusterRequest.Builder setEtag(String value)
The current etag of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]. Allows clients to perform deletions through optimistic concurrency control. If the provided etag does not match the current etag of the cluster, the request will fail and an ABORTED error will be returned.
string etag = 4;- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
public DeleteAttachedClusterRequest.Builder clearEtag()
The current etag of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]. Allows clients to perform deletions through optimistic concurrency control. If the provided etag does not match the current etag of the cluster, the request will fail and an ABORTED error will be returned.
string etag = 4;- Returns:
- This builder for chaining.
-
setEtagBytes
public DeleteAttachedClusterRequest.Builder setEtagBytes(com.google.protobuf.ByteString value)
The current etag of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]. Allows clients to perform deletions through optimistic concurrency control. If the provided etag does not match the current etag of the cluster, the request will fail and an ABORTED error will be returned.
string etag = 4;- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DeleteAttachedClusterRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteAttachedClusterRequest.Builder>
-
mergeUnknownFields
public final DeleteAttachedClusterRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteAttachedClusterRequest.Builder>
-
-