Class UpdateNodePoolRequest.Builder (0.40.0)

public static final class UpdateNodePoolRequest.Builder extends GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder> implements UpdateNodePoolRequestOrBuilder

Updates a node pool.

Protobuf type google.cloud.edgecontainer.v1.UpdateNodePoolRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateNodePoolRequest build()
Returns
Type Description
UpdateNodePoolRequest

buildPartial()

public UpdateNodePoolRequest buildPartial()
Returns
Type Description
UpdateNodePoolRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNodePool()

public UpdateNodePoolRequest.Builder clearNodePool()

The updated node pool.

.google.cloud.edgecontainer.v1.NodePool node_pool = 2;

Returns
Type Description
UpdateNodePoolRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequestId()

public UpdateNodePoolRequest.Builder clearRequestId()

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if request_id is provided.

string request_id = 3;

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

clearUpdateMask()

public UpdateNodePoolRequest.Builder clearUpdateMask()

Field mask is used to specify the fields to be overwritten in the NodePool resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1;

Returns
Type Description
UpdateNodePoolRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateNodePoolRequest getDefaultInstanceForType()
Returns
Type Description
UpdateNodePoolRequest

getDescriptorForType()

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

getNodePool()

public NodePool getNodePool()

The updated node pool.

.google.cloud.edgecontainer.v1.NodePool node_pool = 2;

Returns
Type Description
NodePool

The nodePool.

getNodePoolBuilder()

public NodePool.Builder getNodePoolBuilder()

The updated node pool.

.google.cloud.edgecontainer.v1.NodePool node_pool = 2;

Returns
Type Description
NodePool.Builder

getNodePoolOrBuilder()

public NodePoolOrBuilder getNodePoolOrBuilder()

The updated node pool.

.google.cloud.edgecontainer.v1.NodePool node_pool = 2;

Returns
Type Description
NodePoolOrBuilder

getRequestId()

public String getRequestId()

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if request_id is provided.

string request_id = 3;

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if request_id is provided.

string request_id = 3;

Returns
Type Description
ByteString

The bytes for requestId.

getUpdateMask()

public FieldMask getUpdateMask()

Field mask is used to specify the fields to be overwritten in the NodePool resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Field mask is used to specify the fields to be overwritten in the NodePool resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Field mask is used to specify the fields to be overwritten in the NodePool resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1;

Returns
Type Description
FieldMaskOrBuilder

hasNodePool()

public boolean hasNodePool()

The updated node pool.

.google.cloud.edgecontainer.v1.NodePool node_pool = 2;

Returns
Type Description
boolean

Whether the nodePool field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Field mask is used to specify the fields to be overwritten in the NodePool resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateNodePoolRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNodePool(NodePool value)

public UpdateNodePoolRequest.Builder mergeNodePool(NodePool value)

The updated node pool.

.google.cloud.edgecontainer.v1.NodePool node_pool = 2;

Parameter
Name Description
value NodePool
Returns
Type Description
UpdateNodePoolRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateNodePoolRequest.Builder mergeUpdateMask(FieldMask value)

Field mask is used to specify the fields to be overwritten in the NodePool resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateNodePoolRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNodePool(NodePool value)

public UpdateNodePoolRequest.Builder setNodePool(NodePool value)

The updated node pool.

.google.cloud.edgecontainer.v1.NodePool node_pool = 2;

Parameter
Name Description
value NodePool
Returns
Type Description
UpdateNodePoolRequest.Builder

setNodePool(NodePool.Builder builderForValue)

public UpdateNodePoolRequest.Builder setNodePool(NodePool.Builder builderForValue)

The updated node pool.

.google.cloud.edgecontainer.v1.NodePool node_pool = 2;

Parameter
Name Description
builderForValue NodePool.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

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

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

setRequestId(String value)

public UpdateNodePoolRequest.Builder setRequestId(String value)

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if request_id is provided.

string request_id = 3;

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public UpdateNodePoolRequest.Builder setRequestIdBytes(ByteString value)

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if request_id is provided.

string request_id = 3;

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateNodePoolRequest.Builder setUpdateMask(FieldMask value)

Field mask is used to specify the fields to be overwritten in the NodePool resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateNodePoolRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateNodePoolRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Field mask is used to specify the fields to be overwritten in the NodePool resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateNodePoolRequest.Builder