Class DeploymentMetadata.Builder (0.3.0)

public static final class DeploymentMetadata.Builder extends GeneratedMessage.Builder<DeploymentMetadata.Builder> implements DeploymentMetadataOrBuilder

Deployment information for the application.

Protobuf type google.cloud.designcenter.v1.DeploymentMetadata

Static Methods

getDescriptor()

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

Methods

addAllComponentOutputParameters(Iterable<? extends ComponentOutputParameters> values)

public DeploymentMetadata.Builder addAllComponentOutputParameters(Iterable<? extends ComponentOutputParameters> values)

Output only. The component output parameters of the deployment.

repeated .google.cloud.designcenter.v1.ComponentOutputParameters component_output_parameters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.designcenter.v1.ComponentOutputParameters>
Returns
Type Description
DeploymentMetadata.Builder

addComponentOutputParameters(ComponentOutputParameters value)

public DeploymentMetadata.Builder addComponentOutputParameters(ComponentOutputParameters value)

Output only. The component output parameters of the deployment.

repeated .google.cloud.designcenter.v1.ComponentOutputParameters component_output_parameters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ComponentOutputParameters
Returns
Type Description
DeploymentMetadata.Builder

addComponentOutputParameters(ComponentOutputParameters.Builder builderForValue)

public DeploymentMetadata.Builder addComponentOutputParameters(ComponentOutputParameters.Builder builderForValue)

Output only. The component output parameters of the deployment.

repeated .google.cloud.designcenter.v1.ComponentOutputParameters component_output_parameters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ComponentOutputParameters.Builder
Returns
Type Description
DeploymentMetadata.Builder

addComponentOutputParameters(int index, ComponentOutputParameters value)

public DeploymentMetadata.Builder addComponentOutputParameters(int index, ComponentOutputParameters value)

Output only. The component output parameters of the deployment.

repeated .google.cloud.designcenter.v1.ComponentOutputParameters component_output_parameters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ComponentOutputParameters
Returns
Type Description
DeploymentMetadata.Builder

addComponentOutputParameters(int index, ComponentOutputParameters.Builder builderForValue)

public DeploymentMetadata.Builder addComponentOutputParameters(int index, ComponentOutputParameters.Builder builderForValue)

Output only. The component output parameters of the deployment.

repeated .google.cloud.designcenter.v1.ComponentOutputParameters component_output_parameters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ComponentOutputParameters.Builder
Returns
Type Description
DeploymentMetadata.Builder

addComponentOutputParametersBuilder()

public ComponentOutputParameters.Builder addComponentOutputParametersBuilder()

Output only. The component output parameters of the deployment.

repeated .google.cloud.designcenter.v1.ComponentOutputParameters component_output_parameters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ComponentOutputParameters.Builder

addComponentOutputParametersBuilder(int index)

public ComponentOutputParameters.Builder addComponentOutputParametersBuilder(int index)

Output only. The component output parameters of the deployment.

repeated .google.cloud.designcenter.v1.ComponentOutputParameters component_output_parameters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ComponentOutputParameters.Builder

build()

public DeploymentMetadata build()
Returns
Type Description
DeploymentMetadata

buildPartial()

public DeploymentMetadata buildPartial()
Returns
Type Description
DeploymentMetadata

clear()

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

clearApplicationOutputParameters()

public DeploymentMetadata.Builder clearApplicationOutputParameters()

Output only. The application output parameters of the deployment.

.google.cloud.designcenter.v1.ApplicationOutputParameters application_output_parameters = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentMetadata.Builder

clearBuild()

public DeploymentMetadata.Builder clearBuild()

Output only. Cloud Build instance UUID associated with this deployment.

string build = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentMetadata.Builder

This builder for chaining.

clearComponentOutputParameters()

public DeploymentMetadata.Builder clearComponentOutputParameters()

Output only. The component output parameters of the deployment.

repeated .google.cloud.designcenter.v1.ComponentOutputParameters component_output_parameters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentMetadata.Builder

clearError()

public DeploymentMetadata.Builder clearError()

Output only. The error associated with the deployment.

.google.cloud.designcenter.v1.DeploymentError error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentMetadata.Builder

clearRetryAttempts()

public DeploymentMetadata.Builder clearRetryAttempts()

Output only. The attempted number of deployment retries.

int32 retry_attempts = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentMetadata.Builder

This builder for chaining.

clearRevision()

public DeploymentMetadata.Builder clearRevision()

Output only. The revision of the deployment associated with the Application.

string revision = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentMetadata.Builder

This builder for chaining.

clearWorkerPool()

public DeploymentMetadata.Builder clearWorkerPool()

Output only. The user-specified Cloud Build worker pool resource used, which the system uses to deploy the application. Format: projects/{project}/locations/{location}/workerPools/{workerPoolId}.

string worker_pool = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentMetadata.Builder

This builder for chaining.

getApplicationOutputParameters()

public ApplicationOutputParameters getApplicationOutputParameters()

Output only. The application output parameters of the deployment.

.google.cloud.designcenter.v1.ApplicationOutputParameters application_output_parameters = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ApplicationOutputParameters

The applicationOutputParameters.

getApplicationOutputParametersBuilder()

public ApplicationOutputParameters.Builder getApplicationOutputParametersBuilder()

Output only. The application output parameters of the deployment.

.google.cloud.designcenter.v1.ApplicationOutputParameters application_output_parameters = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ApplicationOutputParameters.Builder

getApplicationOutputParametersOrBuilder()

public ApplicationOutputParametersOrBuilder getApplicationOutputParametersOrBuilder()

Output only. The application output parameters of the deployment.

.google.cloud.designcenter.v1.ApplicationOutputParameters application_output_parameters = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ApplicationOutputParametersOrBuilder

getBuild()

public String getBuild()

Output only. Cloud Build instance UUID associated with this deployment.

string build = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The build.

getBuildBytes()

public ByteString getBuildBytes()

Output only. Cloud Build instance UUID associated with this deployment.

string build = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for build.

getComponentOutputParameters(int index)

public ComponentOutputParameters getComponentOutputParameters(int index)

Output only. The component output parameters of the deployment.

repeated .google.cloud.designcenter.v1.ComponentOutputParameters component_output_parameters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ComponentOutputParameters

getComponentOutputParametersBuilder(int index)

public ComponentOutputParameters.Builder getComponentOutputParametersBuilder(int index)

Output only. The component output parameters of the deployment.

repeated .google.cloud.designcenter.v1.ComponentOutputParameters component_output_parameters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ComponentOutputParameters.Builder

getComponentOutputParametersBuilderList()

public List<ComponentOutputParameters.Builder> getComponentOutputParametersBuilderList()

Output only. The component output parameters of the deployment.

repeated .google.cloud.designcenter.v1.ComponentOutputParameters component_output_parameters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getComponentOutputParametersCount()

public int getComponentOutputParametersCount()

Output only. The component output parameters of the deployment.

repeated .google.cloud.designcenter.v1.ComponentOutputParameters component_output_parameters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getComponentOutputParametersList()

public List<ComponentOutputParameters> getComponentOutputParametersList()

Output only. The component output parameters of the deployment.

repeated .google.cloud.designcenter.v1.ComponentOutputParameters component_output_parameters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ComponentOutputParameters>

getComponentOutputParametersOrBuilder(int index)

public ComponentOutputParametersOrBuilder getComponentOutputParametersOrBuilder(int index)

Output only. The component output parameters of the deployment.

repeated .google.cloud.designcenter.v1.ComponentOutputParameters component_output_parameters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ComponentOutputParametersOrBuilder

getComponentOutputParametersOrBuilderList()

public List<? extends ComponentOutputParametersOrBuilder> getComponentOutputParametersOrBuilderList()

Output only. The component output parameters of the deployment.

repeated .google.cloud.designcenter.v1.ComponentOutputParameters component_output_parameters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.ComponentOutputParametersOrBuilder>

getDefaultInstanceForType()

public DeploymentMetadata getDefaultInstanceForType()
Returns
Type Description
DeploymentMetadata

getDescriptorForType()

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

getError()

public DeploymentError getError()

Output only. The error associated with the deployment.

.google.cloud.designcenter.v1.DeploymentError error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentError

The error.

getErrorBuilder()

public DeploymentError.Builder getErrorBuilder()

Output only. The error associated with the deployment.

.google.cloud.designcenter.v1.DeploymentError error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentError.Builder

getErrorOrBuilder()

public DeploymentErrorOrBuilder getErrorOrBuilder()

Output only. The error associated with the deployment.

.google.cloud.designcenter.v1.DeploymentError error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentErrorOrBuilder

getRetryAttempts()

public int getRetryAttempts()

Output only. The attempted number of deployment retries.

int32 retry_attempts = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The retryAttempts.

getRevision()

public String getRevision()

Output only. The revision of the deployment associated with the Application.

string revision = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The revision.

getRevisionBytes()

public ByteString getRevisionBytes()

Output only. The revision of the deployment associated with the Application.

string revision = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for revision.

getWorkerPool()

public String getWorkerPool()

Output only. The user-specified Cloud Build worker pool resource used, which the system uses to deploy the application. Format: projects/{project}/locations/{location}/workerPools/{workerPoolId}.

string worker_pool = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The workerPool.

getWorkerPoolBytes()

public ByteString getWorkerPoolBytes()

Output only. The user-specified Cloud Build worker pool resource used, which the system uses to deploy the application. Format: projects/{project}/locations/{location}/workerPools/{workerPoolId}.

string worker_pool = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for workerPool.

hasApplicationOutputParameters()

public boolean hasApplicationOutputParameters()

Output only. The application output parameters of the deployment.

.google.cloud.designcenter.v1.ApplicationOutputParameters application_output_parameters = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the applicationOutputParameters field is set.

hasError()

public boolean hasError()

Output only. The error associated with the deployment.

.google.cloud.designcenter.v1.DeploymentError error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the error field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeApplicationOutputParameters(ApplicationOutputParameters value)

public DeploymentMetadata.Builder mergeApplicationOutputParameters(ApplicationOutputParameters value)

Output only. The application output parameters of the deployment.

.google.cloud.designcenter.v1.ApplicationOutputParameters application_output_parameters = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ApplicationOutputParameters
Returns
Type Description
DeploymentMetadata.Builder

mergeError(DeploymentError value)

public DeploymentMetadata.Builder mergeError(DeploymentError value)

Output only. The error associated with the deployment.

.google.cloud.designcenter.v1.DeploymentError error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DeploymentError
Returns
Type Description
DeploymentMetadata.Builder

mergeFrom(DeploymentMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeComponentOutputParameters(int index)

public DeploymentMetadata.Builder removeComponentOutputParameters(int index)

Output only. The component output parameters of the deployment.

repeated .google.cloud.designcenter.v1.ComponentOutputParameters component_output_parameters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DeploymentMetadata.Builder

setApplicationOutputParameters(ApplicationOutputParameters value)

public DeploymentMetadata.Builder setApplicationOutputParameters(ApplicationOutputParameters value)

Output only. The application output parameters of the deployment.

.google.cloud.designcenter.v1.ApplicationOutputParameters application_output_parameters = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ApplicationOutputParameters
Returns
Type Description
DeploymentMetadata.Builder

setApplicationOutputParameters(ApplicationOutputParameters.Builder builderForValue)

public DeploymentMetadata.Builder setApplicationOutputParameters(ApplicationOutputParameters.Builder builderForValue)

Output only. The application output parameters of the deployment.

.google.cloud.designcenter.v1.ApplicationOutputParameters application_output_parameters = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ApplicationOutputParameters.Builder
Returns
Type Description
DeploymentMetadata.Builder

setBuild(String value)

public DeploymentMetadata.Builder setBuild(String value)

Output only. Cloud Build instance UUID associated with this deployment.

string build = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The build to set.

Returns
Type Description
DeploymentMetadata.Builder

This builder for chaining.

setBuildBytes(ByteString value)

public DeploymentMetadata.Builder setBuildBytes(ByteString value)

Output only. Cloud Build instance UUID associated with this deployment.

string build = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for build to set.

Returns
Type Description
DeploymentMetadata.Builder

This builder for chaining.

setComponentOutputParameters(int index, ComponentOutputParameters value)

public DeploymentMetadata.Builder setComponentOutputParameters(int index, ComponentOutputParameters value)

Output only. The component output parameters of the deployment.

repeated .google.cloud.designcenter.v1.ComponentOutputParameters component_output_parameters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ComponentOutputParameters
Returns
Type Description
DeploymentMetadata.Builder

setComponentOutputParameters(int index, ComponentOutputParameters.Builder builderForValue)

public DeploymentMetadata.Builder setComponentOutputParameters(int index, ComponentOutputParameters.Builder builderForValue)

Output only. The component output parameters of the deployment.

repeated .google.cloud.designcenter.v1.ComponentOutputParameters component_output_parameters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ComponentOutputParameters.Builder
Returns
Type Description
DeploymentMetadata.Builder

setError(DeploymentError value)

public DeploymentMetadata.Builder setError(DeploymentError value)

Output only. The error associated with the deployment.

.google.cloud.designcenter.v1.DeploymentError error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DeploymentError
Returns
Type Description
DeploymentMetadata.Builder

setError(DeploymentError.Builder builderForValue)

public DeploymentMetadata.Builder setError(DeploymentError.Builder builderForValue)

Output only. The error associated with the deployment.

.google.cloud.designcenter.v1.DeploymentError error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue DeploymentError.Builder
Returns
Type Description
DeploymentMetadata.Builder

setRetryAttempts(int value)

public DeploymentMetadata.Builder setRetryAttempts(int value)

Output only. The attempted number of deployment retries.

int32 retry_attempts = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The retryAttempts to set.

Returns
Type Description
DeploymentMetadata.Builder

This builder for chaining.

setRevision(String value)

public DeploymentMetadata.Builder setRevision(String value)

Output only. The revision of the deployment associated with the Application.

string revision = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The revision to set.

Returns
Type Description
DeploymentMetadata.Builder

This builder for chaining.

setRevisionBytes(ByteString value)

public DeploymentMetadata.Builder setRevisionBytes(ByteString value)

Output only. The revision of the deployment associated with the Application.

string revision = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for revision to set.

Returns
Type Description
DeploymentMetadata.Builder

This builder for chaining.

setWorkerPool(String value)

public DeploymentMetadata.Builder setWorkerPool(String value)

Output only. The user-specified Cloud Build worker pool resource used, which the system uses to deploy the application. Format: projects/{project}/locations/{location}/workerPools/{workerPoolId}.

string worker_pool = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The workerPool to set.

Returns
Type Description
DeploymentMetadata.Builder

This builder for chaining.

setWorkerPoolBytes(ByteString value)

public DeploymentMetadata.Builder setWorkerPoolBytes(ByteString value)

Output only. The user-specified Cloud Build worker pool resource used, which the system uses to deploy the application. Format: projects/{project}/locations/{location}/workerPools/{workerPoolId}.

string worker_pool = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for workerPool to set.

Returns
Type Description
DeploymentMetadata.Builder

This builder for chaining.