Class VerifyJobRun (1.45.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
Type Description
int

BUILD_FIELD_NUMBER

public static final int BUILD_FIELD_NUMBER
Field Value
Type Description
int

EVENT_LOG_PATH_FIELD_NUMBER

public static final int EVENT_LOG_PATH_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

Static Methods

getDefaultInstance()

public static VerifyJobRun getDefaultInstance()
Returns
Type Description
VerifyJobRun

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VerifyJobRun.Builder newBuilder()
Returns
Type Description
VerifyJobRun.Builder

newBuilder(VerifyJobRun prototype)

public static VerifyJobRun.Builder newBuilder(VerifyJobRun prototype)
Parameter
Name Description
prototype VerifyJobRun
Returns
Type Description
VerifyJobRun.Builder

parseDelimitedFrom(InputStream input)

public static VerifyJobRun parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VerifyJobRun
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VerifyJobRun parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyJobRun
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VerifyJobRun parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VerifyJobRun
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VerifyJobRun parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyJobRun
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VerifyJobRun parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VerifyJobRun
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VerifyJobRun parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyJobRun
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VerifyJobRun parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VerifyJobRun
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VerifyJobRun parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyJobRun
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VerifyJobRun parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VerifyJobRun
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VerifyJobRun parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyJobRun
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VerifyJobRun parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VerifyJobRun
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VerifyJobRun parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyJobRun
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VerifyJobRun> parser()
Returns
Type Description
Parser<VerifyJobRun>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for build.

getDefaultInstanceForType()

public VerifyJobRun getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for failureMessage.

getParserForType()

public Parser<VerifyJobRun> getParserForType()
Returns
Type Description
Parser<VerifyJobRun>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VerifyJobRun.Builder newBuilderForType()
Returns
Type Description
VerifyJobRun.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VerifyJobRun.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VerifyJobRun.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VerifyJobRun.Builder toBuilder()
Returns
Type Description
VerifyJobRun.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException