Interface PostdeployJobRunOrBuilder (1.42.0)

public interface PostdeployJobRunOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBuild()

public abstract String getBuild()

Output only. The resource name of the Cloud Build Build object that is used to execute the custom actions associated with the postdeploy Job. 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 execute the custom actions associated with the postdeploy Job. 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 PostdeployJobRun.FailureCause getFailureCause()

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

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

Returns
Type Description
PostdeployJobRun.FailureCause

The failureCause.

getFailureCauseValue()

public abstract int getFailureCauseValue()

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

.google.cloud.deploy.v1.PostdeployJobRun.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 postdeploy 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 postdeploy failure, if available.

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

Returns
Type Description
ByteString

The bytes for failureMessage.