Class UpdateNodeRequest.Builder (2.50.0)

public static final class UpdateNodeRequest.Builder extends GeneratedMessageV3.Builder<UpdateNodeRequest.Builder> implements UpdateNodeRequestOrBuilder

Request for UpdateNode.

Protobuf type google.cloud.tpu.v2.UpdateNodeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateNodeRequest build()
Returns
Type Description
UpdateNodeRequest

buildPartial()

public UpdateNodeRequest buildPartial()
Returns
Type Description
UpdateNodeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNode()

public UpdateNodeRequest.Builder clearNode()

Required. The node. Only fields specified in update_mask are updated.

.google.cloud.tpu.v2.Node node = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateNodeRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateNodeRequest.Builder clearUpdateMask()

Required. Mask of fields from Node to update. Supported fields: [description, tags, labels, metadata, network_config.enable_external_ips].

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateNodeRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateNodeRequest getDefaultInstanceForType()
Returns
Type Description
UpdateNodeRequest

getDescriptorForType()

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

getNode()

public Node getNode()

Required. The node. Only fields specified in update_mask are updated.

.google.cloud.tpu.v2.Node node = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Node

The node.

getNodeBuilder()

public Node.Builder getNodeBuilder()

Required. The node. Only fields specified in update_mask are updated.

.google.cloud.tpu.v2.Node node = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Node.Builder

getNodeOrBuilder()

public NodeOrBuilder getNodeOrBuilder()

Required. The node. Only fields specified in update_mask are updated.

.google.cloud.tpu.v2.Node node = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NodeOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask of fields from Node to update. Supported fields: [description, tags, labels, metadata, network_config.enable_external_ips].

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Mask of fields from Node to update. Supported fields: [description, tags, labels, metadata, network_config.enable_external_ips].

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask of fields from Node to update. Supported fields: [description, tags, labels, metadata, network_config.enable_external_ips].

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasNode()

public boolean hasNode()

Required. The node. Only fields specified in update_mask are updated.

.google.cloud.tpu.v2.Node node = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the node field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Mask of fields from Node to update. Supported fields: [description, tags, labels, metadata, network_config.enable_external_ips].

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

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(UpdateNodeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNode(Node value)

public UpdateNodeRequest.Builder mergeNode(Node value)

Required. The node. Only fields specified in update_mask are updated.

.google.cloud.tpu.v2.Node node = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Node
Returns
Type Description
UpdateNodeRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateNodeRequest.Builder mergeUpdateMask(FieldMask value)

Required. Mask of fields from Node to update. Supported fields: [description, tags, labels, metadata, network_config.enable_external_ips].

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateNodeRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNode(Node value)

public UpdateNodeRequest.Builder setNode(Node value)

Required. The node. Only fields specified in update_mask are updated.

.google.cloud.tpu.v2.Node node = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Node
Returns
Type Description
UpdateNodeRequest.Builder

setNode(Node.Builder builderForValue)

public UpdateNodeRequest.Builder setNode(Node.Builder builderForValue)

Required. The node. Only fields specified in update_mask are updated.

.google.cloud.tpu.v2.Node node = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Node.Builder
Returns
Type Description
UpdateNodeRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateNodeRequest.Builder setUpdateMask(FieldMask value)

Required. Mask of fields from Node to update. Supported fields: [description, tags, labels, metadata, network_config.enable_external_ips].

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateNodeRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateNodeRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Mask of fields from Node to update. Supported fields: [description, tags, labels, metadata, network_config.enable_external_ips].

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateNodeRequest.Builder