public static final class DeprovisionDeploymentGroupRequest.Builder extends GeneratedMessage.Builder<DeprovisionDeploymentGroupRequest.Builder> implements DeprovisionDeploymentGroupRequestOrBuilderThe request message for the DeprovisionDeploymentGroup method.
Protobuf type google.cloud.config.v1.DeprovisionDeploymentGroupRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeprovisionDeploymentGroupRequest.BuilderImplements
DeprovisionDeploymentGroupRequestOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeprovisionDeploymentGroupRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeprovisionDeploymentGroupRequest.Builder |
|
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.DeletePolicyThe 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 |
intThe 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 |
booleanThe 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 |
StringThe 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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DeprovisionDeploymentGroupRequest.Builder |
This builder for chaining. |