Class UpdateNodeRequest.Builder (2.5.0)

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

Request for UpdateNode.

Protobuf type google.cloud.tpu.v2alpha1.UpdateNodeRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateNodeRequest build()
Returns
TypeDescription
UpdateNodeRequest

buildPartial()

public UpdateNodeRequest buildPartial()
Returns
TypeDescription
UpdateNodeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNode()

public UpdateNodeRequest.Builder clearNode()

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

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

Returns
TypeDescription
UpdateNodeRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateNodeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateNodeRequest.Builder
Overrides

clearUpdateMask()

public UpdateNodeRequest.Builder clearUpdateMask()

Required. Mask of fields from Node to update. Supported fields: None.

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

Returns
TypeDescription
UpdateNodeRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateNodeRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateNodeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNode()

public Node getNode()

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

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

Returns
TypeDescription
Node

The node.

getNodeBuilder()

public Node.Builder getNodeBuilder()

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

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

Returns
TypeDescription
Node.Builder

getNodeOrBuilder()

public NodeOrBuilder getNodeOrBuilder()

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

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

Returns
TypeDescription
NodeOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask of fields from Node to update. Supported fields: None.

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

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Mask of fields from Node to update. Supported fields: None.

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

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask of fields from Node to update. Supported fields: None.

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

Returns
TypeDescription
FieldMaskOrBuilder

hasNode()

public boolean hasNode()

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

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

Returns
TypeDescription
boolean

Whether the node field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Mask of fields from Node to update. Supported fields: None.

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

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

public UpdateNodeRequest.Builder mergeFrom(UpdateNodeRequest other)
Parameter
NameDescription
otherUpdateNodeRequest
Returns
TypeDescription
UpdateNodeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateNodeRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v2alpha1.Node node = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueNode
Returns
TypeDescription
UpdateNodeRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateNodeRequest.Builder mergeUpdateMask(FieldMask value)

Required. Mask of fields from Node to update. Supported fields: None.

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

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateNodeRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateNodeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v2alpha1.Node node = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueNode
Returns
TypeDescription
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.v2alpha1.Node node = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueNode.Builder
Returns
TypeDescription
UpdateNodeRequest.Builder

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

public UpdateNodeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateNodeRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateNodeRequest.Builder setUpdateMask(FieldMask value)

Required. Mask of fields from Node to update. Supported fields: None.

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

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateNodeRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateNodeRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Mask of fields from Node to update. Supported fields: None.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateNodeRequest.Builder