public static final class CreateDeploymentGroupRequest.Builder extends GeneratedMessage.Builder<CreateDeploymentGroupRequest.Builder> implements CreateDeploymentGroupRequestOrBuilderA request to create a deployment group
Protobuf type google.cloud.config.v1.CreateDeploymentGroupRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateDeploymentGroupRequest.BuilderImplements
CreateDeploymentGroupRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateDeploymentGroupRequest build()| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest |
|
buildPartial()
public CreateDeploymentGroupRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest |
|
clear()
public CreateDeploymentGroupRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest.Builder |
|
clearDeploymentGroup()
public CreateDeploymentGroupRequest.Builder clearDeploymentGroup()Required. [Deployment Group][] resource to create
.google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest.Builder |
|
clearDeploymentGroupId()
public CreateDeploymentGroupRequest.Builder clearDeploymentGroupId()Required. The deployment group ID.
string deployment_group_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest.Builder |
This builder for chaining. |
clearParent()
public CreateDeploymentGroupRequest.Builder clearParent()Required. The parent in whose context the Deployment Group is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest.Builder |
This builder for chaining. |
clearRequestId()
public CreateDeploymentGroupRequest.Builder clearRequestId()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 = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateDeploymentGroupRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest |
|
getDeploymentGroup()
public DeploymentGroup getDeploymentGroup()Required. [Deployment Group][] resource to create
.google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DeploymentGroup |
The deploymentGroup. |
getDeploymentGroupBuilder()
public DeploymentGroup.Builder getDeploymentGroupBuilder()Required. [Deployment Group][] resource to create
.google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DeploymentGroup.Builder |
|
getDeploymentGroupId()
public String getDeploymentGroupId()Required. The deployment group ID.
string deployment_group_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The deploymentGroupId. |
getDeploymentGroupIdBytes()
public ByteString getDeploymentGroupIdBytes()Required. The deployment group ID.
string deployment_group_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for deploymentGroupId. |
getDeploymentGroupOrBuilder()
public DeploymentGroupOrBuilder getDeploymentGroupOrBuilder()Required. [Deployment Group][] resource to create
.google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DeploymentGroupOrBuilder |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. The parent in whose context the Deployment Group is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The parent in whose context the Deployment Group is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getRequestId()
public 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 = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()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 = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestId. |
hasDeploymentGroup()
public boolean hasDeploymentGroup()Required. [Deployment Group][] resource to create
.google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the deploymentGroup field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDeploymentGroup(DeploymentGroup value)
public CreateDeploymentGroupRequest.Builder mergeDeploymentGroup(DeploymentGroup value)Required. [Deployment Group][] resource to create
.google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DeploymentGroup |
| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest.Builder |
|
mergeFrom(CreateDeploymentGroupRequest other)
public CreateDeploymentGroupRequest.Builder mergeFrom(CreateDeploymentGroupRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateDeploymentGroupRequest |
| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateDeploymentGroupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateDeploymentGroupRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest.Builder |
|
setDeploymentGroup(DeploymentGroup value)
public CreateDeploymentGroupRequest.Builder setDeploymentGroup(DeploymentGroup value)Required. [Deployment Group][] resource to create
.google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DeploymentGroup |
| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest.Builder |
|
setDeploymentGroup(DeploymentGroup.Builder builderForValue)
public CreateDeploymentGroupRequest.Builder setDeploymentGroup(DeploymentGroup.Builder builderForValue)Required. [Deployment Group][] resource to create
.google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DeploymentGroup.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest.Builder |
|
setDeploymentGroupId(String value)
public CreateDeploymentGroupRequest.Builder setDeploymentGroupId(String value)Required. The deployment group ID.
string deployment_group_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe deploymentGroupId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest.Builder |
This builder for chaining. |
setDeploymentGroupIdBytes(ByteString value)
public CreateDeploymentGroupRequest.Builder setDeploymentGroupIdBytes(ByteString value)Required. The deployment group ID.
string deployment_group_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for deploymentGroupId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateDeploymentGroupRequest.Builder setParent(String value)Required. The parent in whose context the Deployment Group is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateDeploymentGroupRequest.Builder setParentBytes(ByteString value)Required. The parent in whose context the Deployment Group is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest.Builder |
This builder for chaining. |
setRequestId(String value)
public CreateDeploymentGroupRequest.Builder setRequestId(String value)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 = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateDeploymentGroupRequest.Builder setRequestIdBytes(ByteString value)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 = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDeploymentGroupRequest.Builder |
This builder for chaining. |