Interface DeployJobRunOrBuilder (1.43.0)

public interface DeployJobRunOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArtifact()

public abstract DeployArtifact getArtifact()

Output only. The artifact of a deploy job run, if available.

.google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeployArtifact

The artifact.

getArtifactOrBuilder()

public abstract DeployArtifactOrBuilder getArtifactOrBuilder()

Output only. The artifact of a deploy job run, if available.

.google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeployArtifactOrBuilder

getBuild()

public abstract String getBuild()

Output only. The resource name of the Cloud Build Build object that is used to deploy. Format is projects/{project}/locations/{location}/builds/{build}.

string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The build.

getBuildBytes()

public abstract ByteString getBuildBytes()

Output only. The resource name of the Cloud Build Build object that is used to deploy. Format is projects/{project}/locations/{location}/builds/{build}.

string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for build.

getFailureCause()

public abstract DeployJobRun.FailureCause getFailureCause()

Output only. The reason the deploy failed. This will always be unspecified while the deploy is in progress or if it succeeded.

.google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeployJobRun.FailureCause

The failureCause.

getFailureCauseValue()

public abstract int getFailureCauseValue()

Output only. The reason the deploy failed. This will always be unspecified while the deploy is in progress or if it succeeded.

.google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for failureCause.

getFailureMessage()

public abstract String getFailureMessage()

Output only. Additional information about the deploy failure, if available.

string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The failureMessage.

getFailureMessageBytes()

public abstract ByteString getFailureMessageBytes()

Output only. Additional information about the deploy failure, if available.

string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for failureMessage.

getMetadata()

public abstract DeployJobRunMetadata getMetadata()

Output only. Metadata containing information about the deploy job run.

.google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeployJobRunMetadata

The metadata.

getMetadataOrBuilder()

public abstract DeployJobRunMetadataOrBuilder getMetadataOrBuilder()

Output only. Metadata containing information about the deploy job run.

.google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeployJobRunMetadataOrBuilder

hasArtifact()

public abstract boolean hasArtifact()

Output only. The artifact of a deploy job run, if available.

.google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the artifact field is set.

hasMetadata()

public abstract boolean hasMetadata()

Output only. Metadata containing information about the deploy job run.

.google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the metadata field is set.