Class ComputeEngineShapeDescriptor (0.9.0)

public final class ComputeEngineShapeDescriptor extends GeneratedMessageV3 implements ComputeEngineShapeDescriptorOrBuilder

Compute Engine target shape descriptor.

Protobuf type google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor

Static Fields

LOGICAL_CORE_COUNT_FIELD_NUMBER

public static final int LOGICAL_CORE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

MACHINE_TYPE_FIELD_NUMBER

public static final int MACHINE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

MEMORY_MB_FIELD_NUMBER

public static final int MEMORY_MB_FIELD_NUMBER
Field Value
TypeDescription
int

PHYSICAL_CORE_COUNT_FIELD_NUMBER

public static final int PHYSICAL_CORE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

SERIES_FIELD_NUMBER

public static final int SERIES_FIELD_NUMBER
Field Value
TypeDescription
int

STORAGE_FIELD_NUMBER

public static final int STORAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ComputeEngineShapeDescriptor getDefaultInstance()
Returns
TypeDescription
ComputeEngineShapeDescriptor

getDescriptor()

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

newBuilder()

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

newBuilder(ComputeEngineShapeDescriptor prototype)

public static ComputeEngineShapeDescriptor.Builder newBuilder(ComputeEngineShapeDescriptor prototype)
Parameter
NameDescription
prototypeComputeEngineShapeDescriptor
Returns
TypeDescription
ComputeEngineShapeDescriptor.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ComputeEngineShapeDescriptor getDefaultInstanceForType()
Returns
TypeDescription
ComputeEngineShapeDescriptor

getLogicalCoreCount()

public int getLogicalCoreCount()

Number of logical cores.

int32 logical_core_count = 3;

Returns
TypeDescription
int

The logicalCoreCount.

getMachineType()

public String getMachineType()

Compute Engine machine type.

string machine_type = 5;

Returns
TypeDescription
String

The machineType.

getMachineTypeBytes()

public ByteString getMachineTypeBytes()

Compute Engine machine type.

string machine_type = 5;

Returns
TypeDescription
ByteString

The bytes for machineType.

getMemoryMb()

public int getMemoryMb()

Memory in mebibytes.

int32 memory_mb = 1;

Returns
TypeDescription
int

The memoryMb.

getParserForType()

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

getPhysicalCoreCount()

public int getPhysicalCoreCount()

Number of physical cores.

int32 physical_core_count = 2;

Returns
TypeDescription
int

The physicalCoreCount.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSeries()

public String getSeries()

Compute Engine machine series.

string series = 4;

Returns
TypeDescription
String

The series.

getSeriesBytes()

public ByteString getSeriesBytes()

Compute Engine machine series.

string series = 4;

Returns
TypeDescription
ByteString

The bytes for series.

getStorage(int index)

public ComputeStorageDescriptor getStorage(int index)

Compute Engine storage. Never empty.

repeated .google.cloud.migrationcenter.v1.ComputeStorageDescriptor storage = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
ComputeStorageDescriptor

getStorageCount()

public int getStorageCount()

Compute Engine storage. Never empty.

repeated .google.cloud.migrationcenter.v1.ComputeStorageDescriptor storage = 6;

Returns
TypeDescription
int

getStorageList()

public List<ComputeStorageDescriptor> getStorageList()

Compute Engine storage. Never empty.

repeated .google.cloud.migrationcenter.v1.ComputeStorageDescriptor storage = 6;

Returns
TypeDescription
List<ComputeStorageDescriptor>

getStorageOrBuilder(int index)

public ComputeStorageDescriptorOrBuilder getStorageOrBuilder(int index)

Compute Engine storage. Never empty.

repeated .google.cloud.migrationcenter.v1.ComputeStorageDescriptor storage = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
ComputeStorageDescriptorOrBuilder

getStorageOrBuilderList()

public List<? extends ComputeStorageDescriptorOrBuilder> getStorageOrBuilderList()

Compute Engine storage. Never empty.

repeated .google.cloud.migrationcenter.v1.ComputeStorageDescriptor storage = 6;

Returns
TypeDescription
List<? extends com.google.cloud.migrationcenter.v1.ComputeStorageDescriptorOrBuilder>

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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