Class VerifyJobRun.Builder (1.21.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VerifyJobRun.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VerifyJobRun.Builder
Overrides

build()

public VerifyJobRun build()
Returns
TypeDescription
VerifyJobRun

buildPartial()

public VerifyJobRun buildPartial()
Returns
TypeDescription
VerifyJobRun

clear()

public VerifyJobRun.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
VerifyJobRun.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VerifyJobRun.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VerifyJobRun.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VerifyJobRun.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VerifyJobRun.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VerifyJobRun other)

public VerifyJobRun.Builder mergeFrom(VerifyJobRun other)
Parameter
NameDescription
otherVerifyJobRun
Returns
TypeDescription
VerifyJobRun.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VerifyJobRun.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VerifyJobRun.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VerifyJobRun.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VerifyJobRun.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VerifyJobRun.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The artifactUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for artifactUri to set.

Returns
TypeDescription
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
NameDescription
valueString

The build to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for build to set.

Returns
TypeDescription
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
NameDescription
valueString

The eventLogPath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for eventLogPath to set.

Returns
TypeDescription
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
NameDescription
valueVerifyJobRun.FailureCause

The failureCause to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The failureMessage to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for failureMessage to set.

Returns
TypeDescription
VerifyJobRun.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VerifyJobRun.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VerifyJobRun.Builder
Overrides

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

public VerifyJobRun.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VerifyJobRun.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VerifyJobRun.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VerifyJobRun.Builder
Overrides