public final class ComputeEngineShapeDescriptor extends GeneratedMessageV3 implements ComputeEngineShapeDescriptorOrBuilder
Compute Engine target shape descriptor.
Protobuf type google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
LOGICAL_CORE_COUNT_FIELD_NUMBER
public static final int LOGICAL_CORE_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MACHINE_TYPE_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MEMORY_MB_FIELD_NUMBER
public static final int MEMORY_MB_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PHYSICAL_CORE_COUNT_FIELD_NUMBER
public static final int PHYSICAL_CORE_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SERIES_FIELD_NUMBER
public static final int SERIES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STORAGE_FIELD_NUMBER
public static final int STORAGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ComputeEngineShapeDescriptor getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ComputeEngineShapeDescriptor.Builder newBuilder()
newBuilder(ComputeEngineShapeDescriptor prototype)
public static ComputeEngineShapeDescriptor.Builder newBuilder(ComputeEngineShapeDescriptor prototype)
public static ComputeEngineShapeDescriptor parseDelimitedFrom(InputStream input)
public static ComputeEngineShapeDescriptor parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ComputeEngineShapeDescriptor parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineShapeDescriptor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ComputeEngineShapeDescriptor parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineShapeDescriptor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineShapeDescriptor parseFrom(CodedInputStream input)
public static ComputeEngineShapeDescriptor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineShapeDescriptor parseFrom(InputStream input)
public static ComputeEngineShapeDescriptor parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ComputeEngineShapeDescriptor parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineShapeDescriptor parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ComputeEngineShapeDescriptor> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ComputeEngineShapeDescriptor getDefaultInstanceForType()
getLogicalCoreCount()
public int getLogicalCoreCount()
Number of logical cores.
int32 logical_core_count = 3;
Returns |
---|
Type | Description |
int | The logicalCoreCount.
|
getMachineType()
public String getMachineType()
Compute Engine machine type.
string machine_type = 5;
Returns |
---|
Type | Description |
String | The machineType.
|
getMachineTypeBytes()
public ByteString getMachineTypeBytes()
Compute Engine machine type.
string machine_type = 5;
Returns |
---|
Type | Description |
ByteString | The bytes for machineType.
|
getMemoryMb()
Memory in mebibytes.
int32 memory_mb = 1;
Returns |
---|
Type | Description |
int | The memoryMb.
|
getParserForType()
public Parser<ComputeEngineShapeDescriptor> getParserForType()
Overrides
getPhysicalCoreCount()
public int getPhysicalCoreCount()
Number of physical cores.
int32 physical_core_count = 2;
Returns |
---|
Type | Description |
int | The physicalCoreCount.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSeries()
public String getSeries()
Compute Engine machine series.
string series = 4;
Returns |
---|
Type | Description |
String | The series.
|
getSeriesBytes()
public ByteString getSeriesBytes()
Compute Engine machine series.
string series = 4;
Returns |
---|
Type | Description |
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 |
---|
Name | Description |
index | int
|
getStorageCount()
public int getStorageCount()
Compute Engine storage. Never empty.
repeated .google.cloud.migrationcenter.v1.ComputeStorageDescriptor storage = 6;
Returns |
---|
Type | Description |
int | |
getStorageList()
public List<ComputeStorageDescriptor> getStorageList()
Compute Engine storage. Never empty.
repeated .google.cloud.migrationcenter.v1.ComputeStorageDescriptor storage = 6;
getStorageOrBuilder(int index)
public ComputeStorageDescriptorOrBuilder getStorageOrBuilder(int index)
Compute Engine storage. Never empty.
repeated .google.cloud.migrationcenter.v1.ComputeStorageDescriptor storage = 6;
Parameter |
---|
Name | Description |
index | int
|
getStorageOrBuilderList()
public List<? extends ComputeStorageDescriptorOrBuilder> getStorageOrBuilderList()
Compute Engine storage. Never empty.
repeated .google.cloud.migrationcenter.v1.ComputeStorageDescriptor storage = 6;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.migrationcenter.v1.ComputeStorageDescriptorOrBuilder> | |
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ComputeEngineShapeDescriptor.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComputeEngineShapeDescriptor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ComputeEngineShapeDescriptor.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides