- 1.63.0 (latest)
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class NodeTemplateNodeTypeFlexibility.Builder extends GeneratedMessageV3.Builder<NodeTemplateNodeTypeFlexibility.Builder> implements NodeTemplateNodeTypeFlexibilityOrBuilder
Protobuf type google.cloud.compute.v1.NodeTemplateNodeTypeFlexibility
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NodeTemplateNodeTypeFlexibility.BuilderImplements
NodeTemplateNodeTypeFlexibilityOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeTemplateNodeTypeFlexibility.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder |
build()
public NodeTemplateNodeTypeFlexibility build()
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility |
buildPartial()
public NodeTemplateNodeTypeFlexibility buildPartial()
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility |
clear()
public NodeTemplateNodeTypeFlexibility.Builder clear()
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder |
clearCpus()
public NodeTemplateNodeTypeFlexibility.Builder clearCpus()
optional string cpus = 3060683;
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NodeTemplateNodeTypeFlexibility.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder |
clearLocalSsd()
public NodeTemplateNodeTypeFlexibility.Builder clearLocalSsd()
optional string local_ssd = 405741360;
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder | This builder for chaining. |
clearMemory()
public NodeTemplateNodeTypeFlexibility.Builder clearMemory()
optional string memory = 532856065;
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeTemplateNodeTypeFlexibility.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder |
clone()
public NodeTemplateNodeTypeFlexibility.Builder clone()
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder |
getCpus()
public String 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()
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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()
public boolean 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 | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(NodeTemplateNodeTypeFlexibility other)
public NodeTemplateNodeTypeFlexibility.Builder mergeFrom(NodeTemplateNodeTypeFlexibility other)
Parameter | |
---|---|
Name | Description |
other | NodeTemplateNodeTypeFlexibility |
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NodeTemplateNodeTypeFlexibility.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NodeTemplateNodeTypeFlexibility.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeTemplateNodeTypeFlexibility.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder |
setCpus(String value)
public NodeTemplateNodeTypeFlexibility.Builder setCpus(String value)
optional string cpus = 3060683;
Parameter | |
---|---|
Name | Description |
value | String The cpus to set. |
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder | This builder for chaining. |
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 | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NodeTemplateNodeTypeFlexibility.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder |
setLocalSsd(String value)
public NodeTemplateNodeTypeFlexibility.Builder setLocalSsd(String value)
optional string local_ssd = 405741360;
Parameter | |
---|---|
Name | Description |
value | String The localSsd to set. |
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder | This builder for chaining. |
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 | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder | This builder for chaining. |
setMemory(String value)
public NodeTemplateNodeTypeFlexibility.Builder setMemory(String value)
optional string memory = 532856065;
Parameter | |
---|---|
Name | Description |
value | String The memory to set. |
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder | This builder for chaining. |
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 | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeTemplateNodeTypeFlexibility.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeTemplateNodeTypeFlexibility.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NodeTemplateNodeTypeFlexibility.Builder |