Class SoleTenantNodeType.Builder (0.9.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SoleTenantNodeType build()
Returns
TypeDescription
SoleTenantNodeType

buildPartial()

public SoleTenantNodeType buildPartial()
Returns
TypeDescription
SoleTenantNodeType

clear()

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

clearField(Descriptors.FieldDescriptor field)

public SoleTenantNodeType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SoleTenantNodeType.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SoleTenantNodeType getDefaultInstanceForType()
Returns
TypeDescription
SoleTenantNodeType

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nodeName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SoleTenantNodeType other)

public SoleTenantNodeType.Builder mergeFrom(SoleTenantNodeType other)
Parameter
NameDescription
otherSoleTenantNodeType
Returns
TypeDescription
SoleTenantNodeType.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SoleTenantNodeType.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SoleTenantNodeType.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public SoleTenantNodeType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nodeName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nodeName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SoleTenantNodeType.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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