public final class NodeTemplateNodeTypeFlexibility extends GeneratedMessageV3 implements NodeTemplateNodeTypeFlexibilityOrBuilder
Protobuf type google.cloud.compute.v1.NodeTemplateNodeTypeFlexibility
Static Fields
CPUS_FIELD_NUMBER
public static final int CPUS_FIELD_NUMBER
Field Value
LOCAL_SSD_FIELD_NUMBER
public static final int LOCAL_SSD_FIELD_NUMBER
Field Value
MEMORY_FIELD_NUMBER
public static final int MEMORY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static NodeTemplateNodeTypeFlexibility getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static NodeTemplateNodeTypeFlexibility.Builder newBuilder()
Returns
newBuilder(NodeTemplateNodeTypeFlexibility prototype)
public static NodeTemplateNodeTypeFlexibility.Builder newBuilder(NodeTemplateNodeTypeFlexibility prototype)
Parameter
Returns
public static NodeTemplateNodeTypeFlexibility parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static NodeTemplateNodeTypeFlexibility parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static NodeTemplateNodeTypeFlexibility parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NodeTemplateNodeTypeFlexibility parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static NodeTemplateNodeTypeFlexibility parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodeTemplateNodeTypeFlexibility parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NodeTemplateNodeTypeFlexibility parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static NodeTemplateNodeTypeFlexibility parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NodeTemplateNodeTypeFlexibility parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static NodeTemplateNodeTypeFlexibility parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static NodeTemplateNodeTypeFlexibility parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NodeTemplateNodeTypeFlexibility parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<NodeTemplateNodeTypeFlexibility> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
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
getParserForType()
public Parser<NodeTemplateNodeTypeFlexibility> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public NodeTemplateNodeTypeFlexibility.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NodeTemplateNodeTypeFlexibility.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public NodeTemplateNodeTypeFlexibility.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions