Class CancelRolloutRequest.Builder (1.37.0)

public static final class CancelRolloutRequest.Builder extends GeneratedMessageV3.Builder<CancelRolloutRequest.Builder> implements CancelRolloutRequestOrBuilder

The request object used by CancelRollout.

Protobuf type google.cloud.deploy.v1.CancelRolloutRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CancelRolloutRequest build()
Returns
TypeDescription
CancelRolloutRequest

buildPartial()

public CancelRolloutRequest buildPartial()
Returns
TypeDescription
CancelRolloutRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public CancelRolloutRequest.Builder clearName()

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

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

Returns
TypeDescription
CancelRolloutRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CancelRolloutRequest getDefaultInstanceForType()
Returns
TypeDescription
CancelRolloutRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

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

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CancelRolloutRequest other)

public CancelRolloutRequest.Builder mergeFrom(CancelRolloutRequest other)
Parameter
NameDescription
otherCancelRolloutRequest
Returns
TypeDescription
CancelRolloutRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public CancelRolloutRequest.Builder setName(String value)

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

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
CancelRolloutRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CancelRolloutRequest.Builder setNameBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
CancelRolloutRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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