Class RollbackAwsNodePoolUpdateRequest.Builder (0.42.0)

public static final class RollbackAwsNodePoolUpdateRequest.Builder extends GeneratedMessageV3.Builder<RollbackAwsNodePoolUpdateRequest.Builder> implements RollbackAwsNodePoolUpdateRequestOrBuilder

Request message for AwsClusters.RollbackAwsNodePoolUpdate method.

Protobuf type google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RollbackAwsNodePoolUpdateRequest build()
Returns
Type Description
RollbackAwsNodePoolUpdateRequest

buildPartial()

public RollbackAwsNodePoolUpdateRequest buildPartial()
Returns
Type Description
RollbackAwsNodePoolUpdateRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public RollbackAwsNodePoolUpdateRequest.Builder clearName()

Required. The name of the AwsNodePool resource to rollback.

AwsNodePool names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>.

See Resource Names for more details on Google Cloud resource names.

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

Returns
Type Description
RollbackAwsNodePoolUpdateRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRespectPdb()

public RollbackAwsNodePoolUpdateRequest.Builder clearRespectPdb()

Optional. Option for rollback to ignore the PodDisruptionBudget when draining the node pool nodes. Default value is false.

bool respect_pdb = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RollbackAwsNodePoolUpdateRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public RollbackAwsNodePoolUpdateRequest getDefaultInstanceForType()
Returns
Type Description
RollbackAwsNodePoolUpdateRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the AwsNodePool resource to rollback.

AwsNodePool names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>.

See Resource Names for more details on Google Cloud resource names.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the AwsNodePool resource to rollback.

AwsNodePool names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>.

See Resource Names for more details on Google Cloud resource names.

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

Returns
Type Description
ByteString

The bytes for name.

getRespectPdb()

public boolean getRespectPdb()

Optional. Option for rollback to ignore the PodDisruptionBudget when draining the node pool nodes. Default value is false.

bool respect_pdb = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The respectPdb.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RollbackAwsNodePoolUpdateRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public RollbackAwsNodePoolUpdateRequest.Builder setName(String value)

Required. The name of the AwsNodePool resource to rollback.

AwsNodePool names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>.

See Resource Names for more details on Google Cloud resource names.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
RollbackAwsNodePoolUpdateRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RollbackAwsNodePoolUpdateRequest.Builder setNameBytes(ByteString value)

Required. The name of the AwsNodePool resource to rollback.

AwsNodePool names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>.

See Resource Names for more details on Google Cloud resource names.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
RollbackAwsNodePoolUpdateRequest.Builder

This builder for chaining.

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

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

setRespectPdb(boolean value)

public RollbackAwsNodePoolUpdateRequest.Builder setRespectPdb(boolean value)

Optional. Option for rollback to ignore the PodDisruptionBudget when draining the node pool nodes. Default value is false.

bool respect_pdb = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The respectPdb to set.

Returns
Type Description
RollbackAwsNodePoolUpdateRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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