Interface PredeployJobRunOrBuilder (1.22.0)

public interface PredeployJobRunOrBuilder 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 predeploy Job. Format is projects/{project}/locations/{location}/builds/{build}.

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

Returns
TypeDescription
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 predeploy Job. Format is projects/{project}/locations/{location}/builds/{build}.

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

Returns
TypeDescription
ByteString

The bytes for build.

getFailureCause()

public abstract PredeployJobRun.FailureCause getFailureCause()

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

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

Returns
TypeDescription
PredeployJobRun.FailureCause

The failureCause.

getFailureCauseValue()

public abstract int getFailureCauseValue()

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

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

Returns
TypeDescription
int

The enum numeric value on the wire for failureCause.

getFailureMessage()

public abstract String getFailureMessage()

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

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

Returns
TypeDescription
String

The failureMessage.

getFailureMessageBytes()

public abstract ByteString getFailureMessageBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for failureMessage.