Send feedback
Class DeployJobRun (1.13.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.13.0keyboard_arrow_down
public final class DeployJobRun extends GeneratedMessageV3 implements DeployJobRunOrBuilder
DeployJobRun contains information specific to a deploy JobRun
.
Protobuf type google.cloud.deploy.v1.DeployJobRun
Static Fields
BUILD_FIELD_NUMBER
public static final int BUILD_FIELD_NUMBER
Field Value
Type
Description
int
FAILURE_CAUSE_FIELD_NUMBER
public static final int FAILURE_CAUSE_FIELD_NUMBER
Field Value
Type
Description
int
FAILURE_MESSAGE_FIELD_NUMBER
public static final int FAILURE_MESSAGE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int METADATA_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static DeployJobRun getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static DeployJobRun . Builder newBuilder ()
newBuilder(DeployJobRun prototype)
public static DeployJobRun . Builder newBuilder ( DeployJobRun prototype )
public static DeployJobRun parseDelimitedFrom ( InputStream input )
public static DeployJobRun parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static DeployJobRun parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DeployJobRun parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static DeployJobRun parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DeployJobRun parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static DeployJobRun parseFrom ( CodedInputStream input )
public static DeployJobRun parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static DeployJobRun parseFrom ( InputStream input )
public static DeployJobRun parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static DeployJobRun parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DeployJobRun parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<DeployJobRun> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
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 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.
getDefaultInstanceForType()
public DeployJobRun getDefaultInstanceForType ()
getFailureCause()
public 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];
getFailureCauseValue()
public 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 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 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.
public 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];
public 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];
getParserForType()
public Parser<DeployJobRun> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
public 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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public DeployJobRun . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DeployJobRun . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public DeployJobRun . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-05 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-05 UTC."],[],[]]