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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SoleTenantNodeType.BuilderImplements
SoleTenantNodeTypeOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public SoleTenantNodeType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
SoleTenantNodeType.Builder |
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 |
clone()
public SoleTenantNodeType.Builder clone()
Returns | |
---|---|
Type | Description |
SoleTenantNodeType.Builder |
getDefaultInstanceForType()
public SoleTenantNodeType getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SoleTenantNodeType |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SoleTenantNodeType.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
SoleTenantNodeType.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SoleTenantNodeType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SoleTenantNodeType.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final SoleTenantNodeType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SoleTenantNodeType.Builder |