Class VerifyJobRun.Builder (1.41.0)

public static final class VerifyJobRun.Builder extends GeneratedMessageV3.Builder<VerifyJobRun.Builder> implements VerifyJobRunOrBuilder

VerifyJobRun contains information specific to a verify JobRun.

Protobuf type google.cloud.deploy.v1.VerifyJobRun

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VerifyJobRun.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VerifyJobRun.Builder
Overrides

build()

public VerifyJobRun build()
Returns
Type Description
VerifyJobRun

buildPartial()

public VerifyJobRun buildPartial()
Returns
Type Description
VerifyJobRun

clear()

public VerifyJobRun.Builder clear()
Returns
Type Description
VerifyJobRun.Builder
Overrides

clearArtifactUri()

public VerifyJobRun.Builder clearArtifactUri()

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
VerifyJobRun.Builder

This builder for chaining.

clearBuild()

public VerifyJobRun.Builder clearBuild()

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
VerifyJobRun.Builder

This builder for chaining.

clearEventLogPath()

public VerifyJobRun.Builder clearEventLogPath()

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
VerifyJobRun.Builder

This builder for chaining.

clearFailureCause()

public VerifyJobRun.Builder clearFailureCause()

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

This builder for chaining.

clearFailureMessage()

public VerifyJobRun.Builder clearFailureMessage()

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

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

Returns
Type Description
VerifyJobRun.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VerifyJobRun.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VerifyJobRun.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VerifyJobRun.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VerifyJobRun.Builder
Overrides

clone()

public VerifyJobRun.Builder clone()
Returns
Type Description
VerifyJobRun.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VerifyJobRun other)

public VerifyJobRun.Builder mergeFrom(VerifyJobRun other)
Parameter
Name Description
other VerifyJobRun
Returns
Type Description
VerifyJobRun.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VerifyJobRun.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyJobRun.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VerifyJobRun.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VerifyJobRun.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VerifyJobRun.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VerifyJobRun.Builder
Overrides

setArtifactUri(String value)

public VerifyJobRun.Builder setArtifactUri(String value)

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

Parameter
Name Description
value String

The artifactUri to set.

Returns
Type Description
VerifyJobRun.Builder

This builder for chaining.

setArtifactUriBytes(ByteString value)

public VerifyJobRun.Builder setArtifactUriBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for artifactUri to set.

Returns
Type Description
VerifyJobRun.Builder

This builder for chaining.

setBuild(String value)

public VerifyJobRun.Builder setBuild(String value)

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) = { ... }

Parameter
Name Description
value String

The build to set.

Returns
Type Description
VerifyJobRun.Builder

This builder for chaining.

setBuildBytes(ByteString value)

public VerifyJobRun.Builder setBuildBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for build to set.

Returns
Type Description
VerifyJobRun.Builder

This builder for chaining.

setEventLogPath(String value)

public VerifyJobRun.Builder setEventLogPath(String value)

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

Parameter
Name Description
value String

The eventLogPath to set.

Returns
Type Description
VerifyJobRun.Builder

This builder for chaining.

setEventLogPathBytes(ByteString value)

public VerifyJobRun.Builder setEventLogPathBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for eventLogPath to set.

Returns
Type Description
VerifyJobRun.Builder

This builder for chaining.

setFailureCause(VerifyJobRun.FailureCause value)

public VerifyJobRun.Builder setFailureCause(VerifyJobRun.FailureCause value)

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

Parameter
Name Description
value VerifyJobRun.FailureCause

The failureCause to set.

Returns
Type Description
VerifyJobRun.Builder

This builder for chaining.

setFailureCauseValue(int value)

public VerifyJobRun.Builder setFailureCauseValue(int value)

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

Parameter
Name Description
value int

The enum numeric value on the wire for failureCause to set.

Returns
Type Description
VerifyJobRun.Builder

This builder for chaining.

setFailureMessage(String value)

public VerifyJobRun.Builder setFailureMessage(String value)

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

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

Parameter
Name Description
value String

The failureMessage to set.

Returns
Type Description
VerifyJobRun.Builder

This builder for chaining.

setFailureMessageBytes(ByteString value)

public VerifyJobRun.Builder setFailureMessageBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for failureMessage to set.

Returns
Type Description
VerifyJobRun.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VerifyJobRun.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VerifyJobRun.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VerifyJobRun.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VerifyJobRun.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VerifyJobRun.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VerifyJobRun.Builder
Overrides