Class SoleTenantNodeType.Builder (0.65.0)

public static final class SoleTenantNodeType.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

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.