Class NodeTemplateNodeTypeFlexibility (1.34.0)

public final class NodeTemplateNodeTypeFlexibility extends GeneratedMessageV3 implements NodeTemplateNodeTypeFlexibilityOrBuilder

Protobuf type google.cloud.compute.v1.NodeTemplateNodeTypeFlexibility

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > NodeTemplateNodeTypeFlexibility

Static Fields

CPUS_FIELD_NUMBER

public static final int CPUS_FIELD_NUMBER
Field Value
TypeDescription
int

LOCAL_SSD_FIELD_NUMBER

public static final int LOCAL_SSD_FIELD_NUMBER
Field Value
TypeDescription
int

MEMORY_FIELD_NUMBER

public static final int MEMORY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NodeTemplateNodeTypeFlexibility getDefaultInstance()
Returns
TypeDescription
NodeTemplateNodeTypeFlexibility

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static NodeTemplateNodeTypeFlexibility.Builder newBuilder()
Returns
TypeDescription
NodeTemplateNodeTypeFlexibility.Builder

newBuilder(NodeTemplateNodeTypeFlexibility prototype)

public static NodeTemplateNodeTypeFlexibility.Builder newBuilder(NodeTemplateNodeTypeFlexibility prototype)
Parameter
NameDescription
prototypeNodeTemplateNodeTypeFlexibility
Returns
TypeDescription
NodeTemplateNodeTypeFlexibility.Builder

parseDelimitedFrom(InputStream input)

public static NodeTemplateNodeTypeFlexibility parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NodeTemplateNodeTypeFlexibility
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeTemplateNodeTypeFlexibility parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeTemplateNodeTypeFlexibility
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NodeTemplateNodeTypeFlexibility parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NodeTemplateNodeTypeFlexibility
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NodeTemplateNodeTypeFlexibility parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeTemplateNodeTypeFlexibility
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NodeTemplateNodeTypeFlexibility parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NodeTemplateNodeTypeFlexibility
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NodeTemplateNodeTypeFlexibility parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeTemplateNodeTypeFlexibility
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NodeTemplateNodeTypeFlexibility parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NodeTemplateNodeTypeFlexibility
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeTemplateNodeTypeFlexibility parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeTemplateNodeTypeFlexibility
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NodeTemplateNodeTypeFlexibility parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NodeTemplateNodeTypeFlexibility
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeTemplateNodeTypeFlexibility parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeTemplateNodeTypeFlexibility
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NodeTemplateNodeTypeFlexibility parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NodeTemplateNodeTypeFlexibility
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NodeTemplateNodeTypeFlexibility parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeTemplateNodeTypeFlexibility
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NodeTemplateNodeTypeFlexibility> parser()
Returns
TypeDescription
Parser<NodeTemplateNodeTypeFlexibility>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCpus()

public String getCpus()

optional string cpus = 3060683;

Returns
TypeDescription
String

The cpus.

getCpusBytes()

public ByteString getCpusBytes()

optional string cpus = 3060683;

Returns
TypeDescription
ByteString

The bytes for cpus.

getDefaultInstanceForType()

public NodeTemplateNodeTypeFlexibility getDefaultInstanceForType()
Returns
TypeDescription
NodeTemplateNodeTypeFlexibility

getLocalSsd()

public String getLocalSsd()

optional string local_ssd = 405741360;

Returns
TypeDescription
String

The localSsd.

getLocalSsdBytes()

public ByteString getLocalSsdBytes()

optional string local_ssd = 405741360;

Returns
TypeDescription
ByteString

The bytes for localSsd.

getMemory()

public String getMemory()

optional string memory = 532856065;

Returns
TypeDescription
String

The memory.

getMemoryBytes()

public ByteString getMemoryBytes()

optional string memory = 532856065;

Returns
TypeDescription
ByteString

The bytes for memory.

getParserForType()

public Parser<NodeTemplateNodeTypeFlexibility> getParserForType()
Returns
TypeDescription
Parser<NodeTemplateNodeTypeFlexibility>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCpus()

public boolean hasCpus()

optional string cpus = 3060683;

Returns
TypeDescription
boolean

Whether the cpus field is set.

hasLocalSsd()

public boolean hasLocalSsd()

optional string local_ssd = 405741360;

Returns
TypeDescription
boolean

Whether the localSsd field is set.

hasMemory()

public boolean hasMemory()

optional string memory = 532856065;

Returns
TypeDescription
boolean

Whether the memory field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NodeTemplateNodeTypeFlexibility.Builder newBuilderForType()
Returns
TypeDescription
NodeTemplateNodeTypeFlexibility.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NodeTemplateNodeTypeFlexibility.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NodeTemplateNodeTypeFlexibility.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NodeTemplateNodeTypeFlexibility.Builder toBuilder()
Returns
TypeDescription
NodeTemplateNodeTypeFlexibility.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException