Class UpdateNodePoolRequest.Builder (0.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateNodePoolRequest build()
Returns
TypeDescription
UpdateNodePoolRequest

buildPartial()

public UpdateNodePoolRequest buildPartial()
Returns
TypeDescription
UpdateNodePoolRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNodePool()

public UpdateNodePoolRequest.Builder clearNodePool()

The updated node pool.

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

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UpdateNodePoolRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateNodePoolRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNodePool()

public NodePool getNodePool()

The updated node pool.

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

Returns
TypeDescription
NodePool

The nodePool.

getNodePoolBuilder()

public NodePool.Builder getNodePoolBuilder()

The updated node pool.

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

Returns
TypeDescription
NodePool.Builder

getNodePoolOrBuilder()

public NodePoolOrBuilder getNodePoolOrBuilder()

The updated node pool.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder

hasNodePool()

public boolean hasNodePool()

The updated node pool.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateNodePoolRequest other)

public UpdateNodePoolRequest.Builder mergeFrom(UpdateNodePoolRequest other)
Parameter
NameDescription
otherUpdateNodePoolRequest
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateNodePoolRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueNodePool
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateNodePoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateNodePoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The requestId to set.

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

The bytes for requestId to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateNodePoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateNodePoolRequest.Builder