public static final class UpdateNodeRequest.Builder extends GeneratedMessageV3.Builder<UpdateNodeRequest.Builder> implements UpdateNodeRequestOrBuilder
Request for UpdateNode.
Protobuf type google.cloud.tpu.v2alpha1.UpdateNodeRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateNodeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateNodeRequest build()
Returns
buildPartial()
public UpdateNodeRequest buildPartial()
Returns
clear()
public UpdateNodeRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateNodeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateNodeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public UpdateNodeRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateNodeRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
Type | Description |
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
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
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
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateNodeRequest other)
public UpdateNodeRequest.Builder mergeFrom(UpdateNodeRequest other)
Parameter
Returns
public UpdateNodeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateNodeRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateNodeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateNodeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateNodeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateNodeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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