Class DeploymentMetadata (0.3.0)

public final class DeploymentMetadata extends GeneratedMessage implements DeploymentMetadataOrBuilder

Deployment information for the application.

Protobuf type google.cloud.designcenter.v1.DeploymentMetadata

Static Fields

APPLICATION_OUTPUT_PARAMETERS_FIELD_NUMBER

public static final int APPLICATION_OUTPUT_PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

BUILD_FIELD_NUMBER

public static final int BUILD_FIELD_NUMBER
Field Value
Type Description
int

COMPONENT_OUTPUT_PARAMETERS_FIELD_NUMBER

public static final int COMPONENT_OUTPUT_PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
Type Description
int

RETRY_ATTEMPTS_FIELD_NUMBER

public static final int RETRY_ATTEMPTS_FIELD_NUMBER
Field Value
Type Description
int

REVISION_FIELD_NUMBER

public static final int REVISION_FIELD_NUMBER
Field Value
Type Description
int

WORKER_POOL_FIELD_NUMBER

public static final int WORKER_POOL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeploymentMetadata getDefaultInstance()
Returns
Type Description
DeploymentMetadata

getDescriptor()

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

newBuilder()

public static DeploymentMetadata.Builder newBuilder()
Returns
Type Description
DeploymentMetadata.Builder

newBuilder(DeploymentMetadata prototype)

public static DeploymentMetadata.Builder newBuilder(DeploymentMetadata prototype)
Parameter
Name Description
prototype DeploymentMetadata
Returns
Type Description
DeploymentMetadata.Builder

parseDelimitedFrom(InputStream input)

public static DeploymentMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DeploymentMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeploymentMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeploymentMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DeploymentMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DeploymentMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DeploymentMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeploymentMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DeploymentMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DeploymentMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DeploymentMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeploymentMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DeploymentMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DeploymentMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DeploymentMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeploymentMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DeploymentMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DeploymentMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeploymentMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeploymentMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DeploymentMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DeploymentMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DeploymentMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeploymentMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DeploymentMetadata> parser()
Returns
Type Description
Parser<DeploymentMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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

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

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.

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

getParserForType()

public Parser<DeploymentMetadata> getParserForType()
Returns
Type Description
Parser<DeploymentMetadata>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DeploymentMetadata.Builder newBuilderForType()
Returns
Type Description
DeploymentMetadata.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DeploymentMetadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DeploymentMetadata.Builder
Overrides

toBuilder()

public DeploymentMetadata.Builder toBuilder()
Returns
Type Description
DeploymentMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException