public static final class UpdateNodeRequest.Builder extends GeneratedMessageV3.Builder<UpdateNodeRequest.Builder> implements UpdateNodeRequestOrBuilder
Request for UpdateNode.
Protobuf type google.cloud.tpu.v2.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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateNodeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateNodeRequest build()
buildPartial()
public UpdateNodeRequest buildPartial()
clear()
public UpdateNodeRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateNodeRequest.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateNodeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public UpdateNodeRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateNodeRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateNodeRequest other)
public UpdateNodeRequest.Builder mergeFrom(UpdateNodeRequest other)
public UpdateNodeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateNodeRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateNodeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateNodeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateNodeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateNodeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|