Class DeprovisionDeploymentGroupRequest.Builder (0.68.0)

public static final class DeprovisionDeploymentGroupRequest.Builder extends GeneratedMessage.Builder<DeprovisionDeploymentGroupRequest.Builder> implements DeprovisionDeploymentGroupRequestOrBuilder

The request message for the DeprovisionDeploymentGroup method.

Protobuf type google.cloud.config.v1.DeprovisionDeploymentGroupRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DeprovisionDeploymentGroupRequest build()
Returns
Type Description
DeprovisionDeploymentGroupRequest

buildPartial()

public DeprovisionDeploymentGroupRequest buildPartial()
Returns
Type Description
DeprovisionDeploymentGroupRequest

clear()

public DeprovisionDeploymentGroupRequest.Builder clear()
Returns
Type Description
DeprovisionDeploymentGroupRequest.Builder
Overrides

clearDeletePolicy()

public DeprovisionDeploymentGroupRequest.Builder clearDeletePolicy()

Optional. Policy on how resources within each deployment should be handled during deletion. This policy is applied globally to the deletion of all deployments in this group. This corresponds to the 'delete_policy' field in DeleteDeploymentRequest.

.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeprovisionDeploymentGroupRequest.Builder

This builder for chaining.

clearForce()

public DeprovisionDeploymentGroupRequest.Builder clearForce()

Optional. If set to true, this option is propagated to the deletion of each deployment in the group. This corresponds to the 'force' field in DeleteDeploymentRequest.

bool force = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeprovisionDeploymentGroupRequest.Builder

This builder for chaining.

clearName()

public DeprovisionDeploymentGroupRequest.Builder clearName()

Required. The name of the deployment group to deprovision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
DeprovisionDeploymentGroupRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeprovisionDeploymentGroupRequest getDefaultInstanceForType()
Returns
Type Description
DeprovisionDeploymentGroupRequest

getDeletePolicy()

public DeleteDeploymentRequest.DeletePolicy getDeletePolicy()

Optional. Policy on how resources within each deployment should be handled during deletion. This policy is applied globally to the deletion of all deployments in this group. This corresponds to the 'delete_policy' field in DeleteDeploymentRequest.

.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeleteDeploymentRequest.DeletePolicy

The deletePolicy.

getDeletePolicyValue()

public int getDeletePolicyValue()

Optional. Policy on how resources within each deployment should be handled during deletion. This policy is applied globally to the deletion of all deployments in this group. This corresponds to the 'delete_policy' field in DeleteDeploymentRequest.

.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for deletePolicy.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getForce()

public boolean getForce()

Optional. If set to true, this option is propagated to the deletion of each deployment in the group. This corresponds to the 'force' field in DeleteDeploymentRequest.

bool force = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The force.

getName()

public String getName()

Required. The name of the deployment group to deprovision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the deployment group to deprovision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeprovisionDeploymentGroupRequest other)

public DeprovisionDeploymentGroupRequest.Builder mergeFrom(DeprovisionDeploymentGroupRequest other)
Parameter
Name Description
other DeprovisionDeploymentGroupRequest
Returns
Type Description
DeprovisionDeploymentGroupRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeprovisionDeploymentGroupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeprovisionDeploymentGroupRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeprovisionDeploymentGroupRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeprovisionDeploymentGroupRequest.Builder
Overrides

setDeletePolicy(DeleteDeploymentRequest.DeletePolicy value)

public DeprovisionDeploymentGroupRequest.Builder setDeletePolicy(DeleteDeploymentRequest.DeletePolicy value)

Optional. Policy on how resources within each deployment should be handled during deletion. This policy is applied globally to the deletion of all deployments in this group. This corresponds to the 'delete_policy' field in DeleteDeploymentRequest.

.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DeleteDeploymentRequest.DeletePolicy

The deletePolicy to set.

Returns
Type Description
DeprovisionDeploymentGroupRequest.Builder

This builder for chaining.

setDeletePolicyValue(int value)

public DeprovisionDeploymentGroupRequest.Builder setDeletePolicyValue(int value)

Optional. Policy on how resources within each deployment should be handled during deletion. This policy is applied globally to the deletion of all deployments in this group. This corresponds to the 'delete_policy' field in DeleteDeploymentRequest.

.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for deletePolicy to set.

Returns
Type Description
DeprovisionDeploymentGroupRequest.Builder

This builder for chaining.

setForce(boolean value)

public DeprovisionDeploymentGroupRequest.Builder setForce(boolean value)

Optional. If set to true, this option is propagated to the deletion of each deployment in the group. This corresponds to the 'force' field in DeleteDeploymentRequest.

bool force = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The force to set.

Returns
Type Description
DeprovisionDeploymentGroupRequest.Builder

This builder for chaining.

setName(String value)

public DeprovisionDeploymentGroupRequest.Builder setName(String value)

Required. The name of the deployment group to deprovision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeprovisionDeploymentGroupRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeprovisionDeploymentGroupRequest.Builder setNameBytes(ByteString value)

Required. The name of the deployment group to deprovision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeprovisionDeploymentGroupRequest.Builder

This builder for chaining.