Class IgnoreJobRequest.Builder (1.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IgnoreJobRequest build()
Returns
TypeDescription
IgnoreJobRequest

buildPartial()

public IgnoreJobRequest buildPartial()
Returns
TypeDescription
IgnoreJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public IgnoreJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
IgnoreJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public IgnoreJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
IgnoreJobRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public IgnoreJobRequest getDefaultInstanceForType()
Returns
TypeDescription
IgnoreJobRequest

getDescriptorForType()

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

public IgnoreJobRequest.Builder mergeFrom(IgnoreJobRequest other)
Parameter
NameDescription
otherIgnoreJobRequest
Returns
TypeDescription
IgnoreJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public IgnoreJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The jobId to set.

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

The bytes for jobId to set.

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

The phaseId to set.

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

The bytes for phaseId to set.

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

The rollout to set.

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

The bytes for rollout to set.

Returns
TypeDescription
IgnoreJobRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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