public static final class DeployApplicationRequest.Builder extends GeneratedMessage.Builder<DeployApplicationRequest.Builder> implements DeployApplicationRequestOrBuilderMessage for deploying an application.
Protobuf type google.cloud.designcenter.v1.DeployApplicationRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeployApplicationRequest.BuilderImplements
DeployApplicationRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeployApplicationRequest build()| Returns | |
|---|---|
| Type | Description |
DeployApplicationRequest |
|
buildPartial()
public DeployApplicationRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DeployApplicationRequest |
|
clear()
public DeployApplicationRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeployApplicationRequest.Builder |
|
clearName()
public DeployApplicationRequest.Builder clearName() Required. The application name.
Format:
projects/$project/locations/$location/spaces/$space/applications/$application
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeployApplicationRequest.Builder |
This builder for chaining. |
clearReplace()
public DeployApplicationRequest.Builder clearReplace() Optional. Flag to update the existing deployment. If not set or false,
deploy will fail if application state is in the DEPLOYED state.
bool replace = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeployApplicationRequest.Builder |
This builder for chaining. |
clearServiceAccount()
public DeployApplicationRequest.Builder clearServiceAccount()Optional. The email address of the service account to use for this deployment.
- If provided, this service account will be used to execute the deployment process, taking precedence over any service_account specified on the Application resource.
- The caller must have the 'iam.serviceAccounts.actAs' permission on this service account.
- If this field is omitted, the system will use the 'service_account' defined within the Application resource.
- We recommend that you provide a service account here or on the Application resource. If you don't provide a service account, the deployment will fail. Format: projects/{PROJECT}/serviceAccounts/{EMAIL_ADDRESS}
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeployApplicationRequest.Builder |
This builder for chaining. |
clearValidateOnly()
public DeployApplicationRequest.Builder clearValidateOnly()Optional. If set to true, the request is validated, but no actual deployment will occur. See https://google.aip.dev/163 for more details.
bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeployApplicationRequest.Builder |
This builder for chaining. |
clearWorkerPool()
public DeployApplicationRequest.Builder clearWorkerPool()Optional. The user-specified Worker Pool resource in which the Cloud Build job will execute. Format: projects/{project}/locations/{location}/workerPools/{workerPoolId} If this flag is omitted, the worker pool already defined on the application will be used. If no worker pool is defined on the application, the default Cloud Build worker pool is used. The worker pool must exist in the same region as the application.
string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeployApplicationRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeployApplicationRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeployApplicationRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Required. The application name.
Format:
projects/$project/locations/$location/spaces/$space/applications/$application
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. The application name.
Format:
projects/$project/locations/$location/spaces/$space/applications/$application
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getReplace()
public boolean getReplace() Optional. Flag to update the existing deployment. If not set or false,
deploy will fail if application state is in the DEPLOYED state.
bool replace = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The replace. |
getServiceAccount()
public String getServiceAccount()Optional. The email address of the service account to use for this deployment.
- If provided, this service account will be used to execute the deployment process, taking precedence over any service_account specified on the Application resource.
- The caller must have the 'iam.serviceAccounts.actAs' permission on this service account.
- If this field is omitted, the system will use the 'service_account' defined within the Application resource.
- We recommend that you provide a service account here or on the Application resource. If you don't provide a service account, the deployment will fail. Format: projects/{PROJECT}/serviceAccounts/{EMAIL_ADDRESS}
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The serviceAccount. |
getServiceAccountBytes()
public ByteString getServiceAccountBytes()Optional. The email address of the service account to use for this deployment.
- If provided, this service account will be used to execute the deployment process, taking precedence over any service_account specified on the Application resource.
- The caller must have the 'iam.serviceAccounts.actAs' permission on this service account.
- If this field is omitted, the system will use the 'service_account' defined within the Application resource.
- We recommend that you provide a service account here or on the Application resource. If you don't provide a service account, the deployment will fail. Format: projects/{PROJECT}/serviceAccounts/{EMAIL_ADDRESS}
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceAccount. |
getValidateOnly()
public boolean getValidateOnly()Optional. If set to true, the request is validated, but no actual deployment will occur. See https://google.aip.dev/163 for more details.
bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The validateOnly. |
getWorkerPool()
public String getWorkerPool()Optional. The user-specified Worker Pool resource in which the Cloud Build job will execute. Format: projects/{project}/locations/{location}/workerPools/{workerPoolId} If this flag is omitted, the worker pool already defined on the application will be used. If no worker pool is defined on the application, the default Cloud Build worker pool is used. The worker pool must exist in the same region as the application.
string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The workerPool. |
getWorkerPoolBytes()
public ByteString getWorkerPoolBytes()Optional. The user-specified Worker Pool resource in which the Cloud Build job will execute. Format: projects/{project}/locations/{location}/workerPools/{workerPoolId} If this flag is omitted, the worker pool already defined on the application will be used. If no worker pool is defined on the application, the default Cloud Build worker pool is used. The worker pool must exist in the same region as the application.
string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for workerPool. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeployApplicationRequest other)
public DeployApplicationRequest.Builder mergeFrom(DeployApplicationRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeployApplicationRequest |
| Returns | |
|---|---|
| Type | Description |
DeployApplicationRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeployApplicationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeployApplicationRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeployApplicationRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeployApplicationRequest.Builder |
|
setName(String value)
public DeployApplicationRequest.Builder setName(String value) Required. The application name.
Format:
projects/$project/locations/$location/spaces/$space/applications/$application
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DeployApplicationRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DeployApplicationRequest.Builder setNameBytes(ByteString value) Required. The application name.
Format:
projects/$project/locations/$location/spaces/$space/applications/$application
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 |
DeployApplicationRequest.Builder |
This builder for chaining. |
setReplace(boolean value)
public DeployApplicationRequest.Builder setReplace(boolean value) Optional. Flag to update the existing deployment. If not set or false,
deploy will fail if application state is in the DEPLOYED state.
bool replace = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe replace to set. |
| Returns | |
|---|---|
| Type | Description |
DeployApplicationRequest.Builder |
This builder for chaining. |
setServiceAccount(String value)
public DeployApplicationRequest.Builder setServiceAccount(String value)Optional. The email address of the service account to use for this deployment.
- If provided, this service account will be used to execute the deployment process, taking precedence over any service_account specified on the Application resource.
- The caller must have the 'iam.serviceAccounts.actAs' permission on this service account.
- If this field is omitted, the system will use the 'service_account' defined within the Application resource.
- We recommend that you provide a service account here or on the Application resource. If you don't provide a service account, the deployment will fail. Format: projects/{PROJECT}/serviceAccounts/{EMAIL_ADDRESS}
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serviceAccount to set. |
| Returns | |
|---|---|
| Type | Description |
DeployApplicationRequest.Builder |
This builder for chaining. |
setServiceAccountBytes(ByteString value)
public DeployApplicationRequest.Builder setServiceAccountBytes(ByteString value)Optional. The email address of the service account to use for this deployment.
- If provided, this service account will be used to execute the deployment process, taking precedence over any service_account specified on the Application resource.
- The caller must have the 'iam.serviceAccounts.actAs' permission on this service account.
- If this field is omitted, the system will use the 'service_account' defined within the Application resource.
- We recommend that you provide a service account here or on the Application resource. If you don't provide a service account, the deployment will fail. Format: projects/{PROJECT}/serviceAccounts/{EMAIL_ADDRESS}
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serviceAccount to set. |
| Returns | |
|---|---|
| Type | Description |
DeployApplicationRequest.Builder |
This builder for chaining. |
setValidateOnly(boolean value)
public DeployApplicationRequest.Builder setValidateOnly(boolean value)Optional. If set to true, the request is validated, but no actual deployment will occur. See https://google.aip.dev/163 for more details.
bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe validateOnly to set. |
| Returns | |
|---|---|
| Type | Description |
DeployApplicationRequest.Builder |
This builder for chaining. |
setWorkerPool(String value)
public DeployApplicationRequest.Builder setWorkerPool(String value)Optional. The user-specified Worker Pool resource in which the Cloud Build job will execute. Format: projects/{project}/locations/{location}/workerPools/{workerPoolId} If this flag is omitted, the worker pool already defined on the application will be used. If no worker pool is defined on the application, the default Cloud Build worker pool is used. The worker pool must exist in the same region as the application.
string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe workerPool to set. |
| Returns | |
|---|---|
| Type | Description |
DeployApplicationRequest.Builder |
This builder for chaining. |
setWorkerPoolBytes(ByteString value)
public DeployApplicationRequest.Builder setWorkerPoolBytes(ByteString value)Optional. The user-specified Worker Pool resource in which the Cloud Build job will execute. Format: projects/{project}/locations/{location}/workerPools/{workerPoolId} If this flag is omitted, the worker pool already defined on the application will be used. If no worker pool is defined on the application, the default Cloud Build worker pool is used. The worker pool must exist in the same region as the application.
string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for workerPool to set. |
| Returns | |
|---|---|
| Type | Description |
DeployApplicationRequest.Builder |
This builder for chaining. |