Class PredeployJobRun (1.34.0)

public final class PredeployJobRun extends GeneratedMessageV3 implements PredeployJobRunOrBuilder

PredeployJobRun contains information specific to a predeploy JobRun.

Protobuf type google.cloud.deploy.v1.PredeployJobRun

Static Fields

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

Static Methods

getDefaultInstance()

public static PredeployJobRun getDefaultInstance()
Returns
TypeDescription
PredeployJobRun

getDescriptor()

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

newBuilder()

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

newBuilder(PredeployJobRun prototype)

public static PredeployJobRun.Builder newBuilder(PredeployJobRun prototype)
Parameter
NameDescription
prototypePredeployJobRun
Returns
TypeDescription
PredeployJobRun.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBuild()

public 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 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.

getDefaultInstanceForType()

public PredeployJobRun getDefaultInstanceForType()
Returns
TypeDescription
PredeployJobRun

getFailureCause()

public 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 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 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 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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 PredeployJobRun.Builder newBuilderForType()
Returns
TypeDescription
PredeployJobRun.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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