Class IgnoreJobRequest.Builder (1.46.0)

public static final class IgnoreJobRequest.Builder extends GeneratedMessageV3.Builder<IgnoreJobRequest.Builder> implements IgnoreJobRequestOrBuilder

The request object used by IgnoreJob.

Protobuf type google.cloud.deploy.v1.IgnoreJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IgnoreJobRequest build()
Returns
Type Description
IgnoreJobRequest

buildPartial()

public IgnoreJobRequest buildPartial()
Returns
Type Description
IgnoreJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJobId()

public IgnoreJobRequest.Builder clearJobId()

Required. The job ID for the Job to ignore.

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

Returns
Type Description
IgnoreJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPhaseId()

public IgnoreJobRequest.Builder clearPhaseId()

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

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

Returns
Type Description
IgnoreJobRequest.Builder

This builder for chaining.

clearRollout()

public IgnoreJobRequest.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
Type Description
IgnoreJobRequest.Builder

This builder for chaining.

clone()

public IgnoreJobRequest.Builder clone()
Returns
Type Description
IgnoreJobRequest.Builder
Overrides

getDefaultInstanceForType()

public IgnoreJobRequest getDefaultInstanceForType()
Returns
Type Description
IgnoreJobRequest

getDescriptorForType()

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

getJobId()

public String getJobId()

Required. The job ID for the Job to ignore.

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

Returns
Type Description
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

Required. The job ID for the Job to ignore.

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

Returns
Type Description
ByteString

The bytes for jobId.

getPhaseId()

public String getPhaseId()

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

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

Returns
Type Description
String

The phaseId.

getPhaseIdBytes()

public ByteString getPhaseIdBytes()

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

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for rollout.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IgnoreJobRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobId(String value)

public IgnoreJobRequest.Builder setJobId(String value)

Required. The job ID for the Job to ignore.

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

Parameter
Name Description
value String

The jobId to set.

Returns
Type Description
IgnoreJobRequest.Builder

This builder for chaining.

setJobIdBytes(ByteString value)

public IgnoreJobRequest.Builder setJobIdBytes(ByteString value)

Required. The job ID for the Job to ignore.

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

Parameter
Name Description
value ByteString

The bytes for jobId to set.

Returns
Type Description
IgnoreJobRequest.Builder

This builder for chaining.

setPhaseId(String value)

public IgnoreJobRequest.Builder setPhaseId(String value)

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

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

Parameter
Name Description
value String

The phaseId to set.

Returns
Type Description
IgnoreJobRequest.Builder

This builder for chaining.

setPhaseIdBytes(ByteString value)

public IgnoreJobRequest.Builder setPhaseIdBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for phaseId to set.

Returns
Type Description
IgnoreJobRequest.Builder

This builder for chaining.

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

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

setRollout(String value)

public IgnoreJobRequest.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
Name Description
value String

The rollout to set.

Returns
Type Description
IgnoreJobRequest.Builder

This builder for chaining.

setRolloutBytes(ByteString value)

public IgnoreJobRequest.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
Name Description
value ByteString

The bytes for rollout to set.

Returns
Type Description
IgnoreJobRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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