Package com.google.cloud.deploy.v1
Interface DeployJobRunOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DeployJobRun,DeployJobRun.Builder
public interface DeployJobRunOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeployArtifactgetArtifact()Output only.DeployArtifactOrBuildergetArtifactOrBuilder()Output only.StringgetBuild()Output only.com.google.protobuf.ByteStringgetBuildBytes()Output only.DeployJobRun.FailureCausegetFailureCause()Output only.intgetFailureCauseValue()Output only.StringgetFailureMessage()Output only.com.google.protobuf.ByteStringgetFailureMessageBytes()Output only.DeployJobRunMetadatagetMetadata()Output only.DeployJobRunMetadataOrBuildergetMetadataOrBuilder()Output only.booleanhasArtifact()Output only.booleanhasMetadata()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getBuild
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:
- The build.
-
getBuildBytes
com.google.protobuf.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:
- The bytes for build.
-
getFailureCauseValue
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:
- The enum numeric value on the wire for failureCause.
-
getFailureCause
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:
- The failureCause.
-
getFailureMessage
String getFailureMessage()
Output only. Additional information about the deploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The failureMessage.
-
getFailureMessageBytes
com.google.protobuf.ByteString getFailureMessageBytes()
Output only. Additional information about the deploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for failureMessage.
-
hasMetadata
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:
- Whether the metadata field is set.
-
getMetadata
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:
- The metadata.
-
getMetadataOrBuilder
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];
-
hasArtifact
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:
- Whether the artifact field is set.
-
getArtifact
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:
- The artifact.
-
getArtifactOrBuilder
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];
-
-