Class RetryJobRequest.Builder (1.15.0)

public static final class RetryJobRequest.Builder extends GeneratedMessageV3.Builder<RetryJobRequest.Builder> implements RetryJobRequestOrBuilder

RetryJobRequest is the request object used by RetryJob.

Protobuf type google.cloud.deploy.v1.RetryJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RetryJobRequest build()
Returns
TypeDescription
RetryJobRequest

buildPartial()

public RetryJobRequest buildPartial()
Returns
TypeDescription
RetryJobRequest

clear()

public RetryJobRequest.Builder clear()
Returns
TypeDescription
RetryJobRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearJobId()

public RetryJobRequest.Builder clearJobId()

Required. The job ID for the Job to retry.

string job_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RetryJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPhaseId()

public RetryJobRequest.Builder clearPhaseId()

Required. The phase ID the Job to retry belongs to.

string phase_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RetryJobRequest.Builder

This builder for chaining.

clearRollout()

public RetryJobRequest.Builder clearRollout()

Required. Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/{rollout}.

string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
RetryJobRequest.Builder

This builder for chaining.

clone()

public RetryJobRequest.Builder clone()
Returns
TypeDescription
RetryJobRequest.Builder
Overrides

getDefaultInstanceForType()

public RetryJobRequest getDefaultInstanceForType()
Returns
TypeDescription
RetryJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getJobId()

public String getJobId()

Required. The job ID for the Job to retry.

string job_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

Required. The job ID for the Job to retry.

string job_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for jobId.

getPhaseId()

public String getPhaseId()

Required. The phase ID the Job to retry belongs to.

string phase_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The phaseId.

getPhaseIdBytes()

public ByteString getPhaseIdBytes()

Required. The phase ID the Job to retry belongs to.

string phase_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for phaseId.

getRollout()

public String getRollout()

Required. Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/{rollout}.

string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The rollout.

getRolloutBytes()

public ByteString getRolloutBytes()

Required. Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/{rollout}.

string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for rollout.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RetryJobRequest other)

public RetryJobRequest.Builder mergeFrom(RetryJobRequest other)
Parameter
NameDescription
otherRetryJobRequest
Returns
TypeDescription
RetryJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RetryJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RetryJobRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobId(String value)

public RetryJobRequest.Builder setJobId(String value)

Required. The job ID for the Job to retry.

string job_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The jobId to set.

Returns
TypeDescription
RetryJobRequest.Builder

This builder for chaining.

setJobIdBytes(ByteString value)

public RetryJobRequest.Builder setJobIdBytes(ByteString value)

Required. The job ID for the Job to retry.

string job_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for jobId to set.

Returns
TypeDescription
RetryJobRequest.Builder

This builder for chaining.

setPhaseId(String value)

public RetryJobRequest.Builder setPhaseId(String value)

Required. The phase ID the Job to retry belongs to.

string phase_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The phaseId to set.

Returns
TypeDescription
RetryJobRequest.Builder

This builder for chaining.

setPhaseIdBytes(ByteString value)

public RetryJobRequest.Builder setPhaseIdBytes(ByteString value)

Required. The phase ID the Job to retry belongs to.

string phase_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for phaseId to set.

Returns
TypeDescription
RetryJobRequest.Builder

This builder for chaining.

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

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

setRollout(String value)

public RetryJobRequest.Builder setRollout(String value)

Required. Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/{rollout}.

string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The rollout to set.

Returns
TypeDescription
RetryJobRequest.Builder

This builder for chaining.

setRolloutBytes(ByteString value)

public RetryJobRequest.Builder setRolloutBytes(ByteString value)

Required. Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/{rollout}.

string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for rollout to set.

Returns
TypeDescription
RetryJobRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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