Class VerifyJobRun (1.9.0)

public final class VerifyJobRun extends GeneratedMessageV3 implements VerifyJobRunOrBuilder

VerifyJobRun contains information specific to a verify JobRun.

Protobuf type google.cloud.deploy.v1.VerifyJobRun

Static Fields

ARTIFACT_URI_FIELD_NUMBER

public static final int ARTIFACT_URI_FIELD_NUMBER
Field Value
TypeDescription
int

BUILD_FIELD_NUMBER

public static final int BUILD_FIELD_NUMBER
Field Value
TypeDescription
int

EVENT_LOG_PATH_FIELD_NUMBER

public static final int EVENT_LOG_PATH_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 VerifyJobRun getDefaultInstance()
Returns
TypeDescription
VerifyJobRun

getDescriptor()

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

newBuilder()

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

newBuilder(VerifyJobRun prototype)

public static VerifyJobRun.Builder newBuilder(VerifyJobRun prototype)
Parameter
NameDescription
prototypeVerifyJobRun
Returns
TypeDescription
VerifyJobRun.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getArtifactUri()

public String getArtifactUri()

Output only. URI of a directory containing the verify artifacts. This contains the Skaffold event log.

string artifact_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The artifactUri.

getArtifactUriBytes()

public ByteString getArtifactUriBytes()

Output only. URI of a directory containing the verify artifacts. This contains the Skaffold event log.

string artifact_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for artifactUri.

getBuild()

public String getBuild()

Output only. The resource name of the Cloud Build Build object that is used to verify. 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 verify. 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 VerifyJobRun getDefaultInstanceForType()
Returns
TypeDescription
VerifyJobRun

getEventLogPath()

public String getEventLogPath()

Output only. File path of the Skaffold event log relative to the artifact URI.

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

Returns
TypeDescription
String

The eventLogPath.

getEventLogPathBytes()

public ByteString getEventLogPathBytes()

Output only. File path of the Skaffold event log relative to the artifact URI.

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

Returns
TypeDescription
ByteString

The bytes for eventLogPath.

getFailureCause()

public VerifyJobRun.FailureCause getFailureCause()

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

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

Returns
TypeDescription
VerifyJobRun.FailureCause

The failureCause.

getFailureCauseValue()

public int getFailureCauseValue()

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

.google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.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 verify failure, if available.

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

Returns
TypeDescription
String

The failureMessage.

getFailureMessageBytes()

public ByteString getFailureMessageBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for failureMessage.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 VerifyJobRun.Builder newBuilderForType()
Returns
TypeDescription
VerifyJobRun.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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