Class RollbackAwsNodePoolUpdateRequest.Builder (0.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RollbackAwsNodePoolUpdateRequest build()
Returns
TypeDescription
RollbackAwsNodePoolUpdateRequest

buildPartial()

public RollbackAwsNodePoolUpdateRequest buildPartial()
Returns
TypeDescription
RollbackAwsNodePoolUpdateRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public RollbackAwsNodePoolUpdateRequest getDefaultInstanceForType()
Returns
TypeDescription
RollbackAwsNodePoolUpdateRequest

getDescriptorForType()

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

The respectPdb.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RollbackAwsNodePoolUpdateRequest other)

public RollbackAwsNodePoolUpdateRequest.Builder mergeFrom(RollbackAwsNodePoolUpdateRequest other)
Parameter
NameDescription
otherRollbackAwsNodePoolUpdateRequest
Returns
TypeDescription
RollbackAwsNodePoolUpdateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

The respectPdb to set.

Returns
TypeDescription
RollbackAwsNodePoolUpdateRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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