Class SoleTenantNodeType.Builder (0.24.0)

public static final class SoleTenantNodeType.Builder extends GeneratedMessageV3.Builder<SoleTenantNodeType.Builder> implements SoleTenantNodeTypeOrBuilder

A Sole Tenant node type.

Protobuf type google.cloud.migrationcenter.v1.SoleTenantNodeType

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SoleTenantNodeType build()
Returns
Type Description
SoleTenantNodeType

buildPartial()

public SoleTenantNodeType buildPartial()
Returns
Type Description
SoleTenantNodeType

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNodeName()

public SoleTenantNodeType.Builder clearNodeName()

Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes

string node_name = 1;

Returns
Type Description
SoleTenantNodeType.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SoleTenantNodeType getDefaultInstanceForType()
Returns
Type Description
SoleTenantNodeType

getDescriptorForType()

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

getNodeName()

public String getNodeName()

Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes

string node_name = 1;

Returns
Type Description
String

The nodeName.

getNodeNameBytes()

public ByteString getNodeNameBytes()

Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes

string node_name = 1;

Returns
Type Description
ByteString

The bytes for nodeName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SoleTenantNodeType other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNodeName(String value)

public SoleTenantNodeType.Builder setNodeName(String value)

Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes

string node_name = 1;

Parameter
Name Description
value String

The nodeName to set.

Returns
Type Description
SoleTenantNodeType.Builder

This builder for chaining.

setNodeNameBytes(ByteString value)

public SoleTenantNodeType.Builder setNodeNameBytes(ByteString value)

Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes

string node_name = 1;

Parameter
Name Description
value ByteString

The bytes for nodeName to set.

Returns
Type Description
SoleTenantNodeType.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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