Class MachineSeries (0.23.0)

public final class MachineSeries extends GeneratedMessageV3 implements MachineSeriesOrBuilder

A Compute Engine machine series.

Protobuf type google.cloud.migrationcenter.v1.MachineSeries

Static Fields

CODE_FIELD_NUMBER

public static final int CODE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MachineSeries getDefaultInstance()
Returns
TypeDescription
MachineSeries

getDescriptor()

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

newBuilder()

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

newBuilder(MachineSeries prototype)

public static MachineSeries.Builder newBuilder(MachineSeries prototype)
Parameter
NameDescription
prototypeMachineSeries
Returns
TypeDescription
MachineSeries.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCode()

public String getCode()

Code to identify a Compute Engine machine series. Consult https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for more details on the available series.

string code = 1;

Returns
TypeDescription
String

The code.

getCodeBytes()

public ByteString getCodeBytes()

Code to identify a Compute Engine machine series. Consult https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for more details on the available series.

string code = 1;

Returns
TypeDescription
ByteString

The bytes for code.

getDefaultInstanceForType()

public MachineSeries getDefaultInstanceForType()
Returns
TypeDescription
MachineSeries

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 MachineSeries.Builder newBuilderForType()
Returns
TypeDescription
MachineSeries.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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