public static final class NodeTemplateNodeTypeFlexibility.Builder extends GeneratedMessageV3.Builder<NodeTemplateNodeTypeFlexibility.Builder> implements NodeTemplateNodeTypeFlexibilityOrBuilder
Protobuf type google.cloud.compute.v1.NodeTemplateNodeTypeFlexibility
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeTemplateNodeTypeFlexibility.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NodeTemplateNodeTypeFlexibility build()
buildPartial()
public NodeTemplateNodeTypeFlexibility buildPartial()
clear()
public NodeTemplateNodeTypeFlexibility.Builder clear()
Overrides
clearCpus()
public NodeTemplateNodeTypeFlexibility.Builder clearCpus()
optional string cpus = 3060683;
clearField(Descriptors.FieldDescriptor field)
public NodeTemplateNodeTypeFlexibility.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLocalSsd()
public NodeTemplateNodeTypeFlexibility.Builder clearLocalSsd()
optional string local_ssd = 405741360;
clearMemory()
public NodeTemplateNodeTypeFlexibility.Builder clearMemory()
optional string memory = 532856065;
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeTemplateNodeTypeFlexibility.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public NodeTemplateNodeTypeFlexibility.Builder clone()
Overrides
getCpus()
optional string cpus = 3060683;
Returns |
---|
Type | Description |
String | The cpus.
|
getCpusBytes()
public ByteString getCpusBytes()
optional string cpus = 3060683;
Returns |
---|
Type | Description |
ByteString | The bytes for cpus.
|
getDefaultInstanceForType()
public NodeTemplateNodeTypeFlexibility getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for localSsd.
|
getMemory()
public String getMemory()
optional string memory = 532856065;
Returns |
---|
Type | Description |
String | The memory.
|
getMemoryBytes()
public ByteString getMemoryBytes()
optional string memory = 532856065;
Returns |
---|
Type | Description |
ByteString | The bytes for memory.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(NodeTemplateNodeTypeFlexibility other)
public NodeTemplateNodeTypeFlexibility.Builder mergeFrom(NodeTemplateNodeTypeFlexibility other)
public NodeTemplateNodeTypeFlexibility.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NodeTemplateNodeTypeFlexibility.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeTemplateNodeTypeFlexibility.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCpus(String value)
public NodeTemplateNodeTypeFlexibility.Builder setCpus(String value)
optional string cpus = 3060683;
Parameter |
---|
Name | Description |
value | String
The cpus to set.
|
setCpusBytes(ByteString value)
public NodeTemplateNodeTypeFlexibility.Builder setCpusBytes(ByteString value)
optional string cpus = 3060683;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for cpus to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public NodeTemplateNodeTypeFlexibility.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLocalSsd(String value)
public NodeTemplateNodeTypeFlexibility.Builder setLocalSsd(String value)
optional string local_ssd = 405741360;
Parameter |
---|
Name | Description |
value | String
The localSsd to set.
|
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.
|
setMemory(String value)
public NodeTemplateNodeTypeFlexibility.Builder setMemory(String value)
optional string memory = 532856065;
Parameter |
---|
Name | Description |
value | String
The memory to set.
|
setMemoryBytes(ByteString value)
public NodeTemplateNodeTypeFlexibility.Builder setMemoryBytes(ByteString value)
optional string memory = 532856065;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for memory to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeTemplateNodeTypeFlexibility.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeTemplateNodeTypeFlexibility.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides