public static final class NodeTemplateNodeTypeFlexibility.Builder extends GeneratedMessageV3.Builder<NodeTemplateNodeTypeFlexibility.Builder> implements NodeTemplateNodeTypeFlexibilityOrBuilder
Protobuf type google.cloud.compute.v1.NodeTemplateNodeTypeFlexibility
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeTemplateNodeTypeFlexibility.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NodeTemplateNodeTypeFlexibility build()
Returns
buildPartial()
public NodeTemplateNodeTypeFlexibility buildPartial()
Returns
clear()
public NodeTemplateNodeTypeFlexibility.Builder clear()
Returns
Overrides
clearCpus()
public NodeTemplateNodeTypeFlexibility.Builder clearCpus()
optional string cpus = 3060683;
Returns
clearField(Descriptors.FieldDescriptor field)
public NodeTemplateNodeTypeFlexibility.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLocalSsd()
public NodeTemplateNodeTypeFlexibility.Builder clearLocalSsd()
optional string local_ssd = 405741360;
Returns
clearMemory()
public NodeTemplateNodeTypeFlexibility.Builder clearMemory()
optional string memory = 532856065;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeTemplateNodeTypeFlexibility.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public NodeTemplateNodeTypeFlexibility.Builder clone()
Returns
Overrides
getCpus()
optional string cpus = 3060683;
Returns
Type | Description |
String | The cpus.
|
getCpusBytes()
public ByteString getCpusBytes()
optional string cpus = 3060683;
Returns
getDefaultInstanceForType()
public NodeTemplateNodeTypeFlexibility getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLocalSsd()
public String getLocalSsd()
optional string local_ssd = 405741360;
Returns
Type | Description |
String | The localSsd.
|
getLocalSsdBytes()
public ByteString getLocalSsdBytes()
optional string local_ssd = 405741360;
Returns
getMemory()
public String getMemory()
optional string memory = 532856065;
Returns
Type | Description |
String | The memory.
|
getMemoryBytes()
public ByteString getMemoryBytes()
optional string memory = 532856065;
Returns
hasCpus()
optional string cpus = 3060683;
Returns
Type | Description |
boolean | Whether the cpus field is set.
|
hasLocalSsd()
public boolean hasLocalSsd()
optional string local_ssd = 405741360;
Returns
Type | Description |
boolean | Whether the localSsd field is set.
|
hasMemory()
public boolean hasMemory()
optional string memory = 532856065;
Returns
Type | Description |
boolean | Whether the memory field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NodeTemplateNodeTypeFlexibility other)
public NodeTemplateNodeTypeFlexibility.Builder mergeFrom(NodeTemplateNodeTypeFlexibility other)
Parameter
Returns
public NodeTemplateNodeTypeFlexibility.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NodeTemplateNodeTypeFlexibility.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeTemplateNodeTypeFlexibility.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCpus(String value)
public NodeTemplateNodeTypeFlexibility.Builder setCpus(String value)
optional string cpus = 3060683;
Parameter
Name | Description |
value | String
The cpus to set.
|
Returns
setCpusBytes(ByteString value)
public NodeTemplateNodeTypeFlexibility.Builder setCpusBytes(ByteString value)
optional string cpus = 3060683;
Parameter
Name | Description |
value | ByteString
The bytes for cpus to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public NodeTemplateNodeTypeFlexibility.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLocalSsd(String value)
public NodeTemplateNodeTypeFlexibility.Builder setLocalSsd(String value)
optional string local_ssd = 405741360;
Parameter
Name | Description |
value | String
The localSsd to set.
|
Returns
setLocalSsdBytes(ByteString value)
public NodeTemplateNodeTypeFlexibility.Builder setLocalSsdBytes(ByteString value)
optional string local_ssd = 405741360;
Parameter
Name | Description |
value | ByteString
The bytes for localSsd to set.
|
Returns
setMemory(String value)
public NodeTemplateNodeTypeFlexibility.Builder setMemory(String value)
optional string memory = 532856065;
Parameter
Name | Description |
value | String
The memory to set.
|
Returns
setMemoryBytes(ByteString value)
public NodeTemplateNodeTypeFlexibility.Builder setMemoryBytes(ByteString value)
optional string memory = 532856065;
Parameter
Name | Description |
value | ByteString
The bytes for memory to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeTemplateNodeTypeFlexibility.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeTemplateNodeTypeFlexibility.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides