Class DeployJobRun (1.25.0)

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

ARTIFACT_FIELD_NUMBER

public static final int ARTIFACT_FIELD_NUMBER
Field Value
TypeDescription
int

BUILD_FIELD_NUMBER

public static final int BUILD_FIELD_NUMBER
Field Value
TypeDescription
int

FAILURE_CAUSE_FIELD_NUMBER

public static final int FAILURE_CAUSE_FIELD_NUMBER
Field Value
TypeDescription
int

FAILURE_MESSAGE_FIELD_NUMBER

public static final int FAILURE_MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DeployJobRun getDefaultInstance()
Returns
TypeDescription
DeployJobRun

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DeployJobRun.Builder newBuilder()
Returns
TypeDescription
DeployJobRun.Builder

newBuilder(DeployJobRun prototype)

public static DeployJobRun.Builder newBuilder(DeployJobRun prototype)
Parameter
NameDescription
prototypeDeployJobRun
Returns
TypeDescription
DeployJobRun.Builder

parseDelimitedFrom(InputStream input)

public static DeployJobRun parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeployJobRun
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeployJobRun parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployJobRun
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DeployJobRun parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DeployJobRun
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DeployJobRun parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployJobRun
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DeployJobRun parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DeployJobRun
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DeployJobRun parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployJobRun
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DeployJobRun parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DeployJobRun
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DeployJobRun parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployJobRun
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DeployJobRun parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeployJobRun
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeployJobRun parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployJobRun
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DeployJobRun parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DeployJobRun
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DeployJobRun parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployJobRun
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DeployJobRun> parser()
Returns
TypeDescription
Parser<DeployJobRun>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getArtifact()

public 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
TypeDescription
DeployArtifact

The artifact.

getArtifactOrBuilder()

public 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
TypeDescription
DeployArtifactOrBuilder

getBuild()

public 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
TypeDescription
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
TypeDescription
ByteString

The bytes for build.

getDefaultInstanceForType()

public DeployJobRun getDefaultInstanceForType()
Returns
TypeDescription
DeployJobRun

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];

Returns
TypeDescription
DeployJobRun.FailureCause

The failureCause.

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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for failureMessage.

getMetadata()

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];

Returns
TypeDescription
DeployJobRunMetadata

The metadata.

getMetadataOrBuilder()

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];

Returns
TypeDescription
DeployJobRunMetadataOrBuilder

getParserForType()

public Parser<DeployJobRun> getParserForType()
Returns
TypeDescription
Parser<DeployJobRun>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasArtifact()

public 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
TypeDescription
boolean

Whether the artifact field is set.

hasMetadata()

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
TypeDescription
boolean

Whether the metadata field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DeployJobRun.Builder newBuilderForType()
Returns
TypeDescription
DeployJobRun.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DeployJobRun.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DeployJobRun.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DeployJobRun.Builder toBuilder()
Returns
TypeDescription
DeployJobRun.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException