public final class ComputeEngineShapeDescriptor extends GeneratedMessageV3 implements ComputeEngineShapeDescriptorOrBuilder
Compute Engine target shape descriptor.
Protobuf type google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ComputeEngineShapeDescriptorImplements
ComputeEngineShapeDescriptorOrBuilderStatic 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()
Returns | |
---|---|
Type | Description |
ComputeEngineShapeDescriptor |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ComputeEngineShapeDescriptor.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ComputeEngineShapeDescriptor.Builder |
newBuilder(ComputeEngineShapeDescriptor prototype)
public static ComputeEngineShapeDescriptor.Builder newBuilder(ComputeEngineShapeDescriptor prototype)
Parameter | |
---|---|
Name | Description |
prototype |
ComputeEngineShapeDescriptor |
Returns | |
---|---|
Type | Description |
ComputeEngineShapeDescriptor.Builder |
parseDelimitedFrom(InputStream input)
public static ComputeEngineShapeDescriptor parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
ComputeEngineShapeDescriptor |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineShapeDescriptor parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeEngineShapeDescriptor |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ComputeEngineShapeDescriptor parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
ComputeEngineShapeDescriptor |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineShapeDescriptor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeEngineShapeDescriptor |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ComputeEngineShapeDescriptor parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
ComputeEngineShapeDescriptor |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineShapeDescriptor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeEngineShapeDescriptor |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ComputeEngineShapeDescriptor parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
ComputeEngineShapeDescriptor |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineShapeDescriptor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeEngineShapeDescriptor |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ComputeEngineShapeDescriptor parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
ComputeEngineShapeDescriptor |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineShapeDescriptor parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeEngineShapeDescriptor |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ComputeEngineShapeDescriptor parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
ComputeEngineShapeDescriptor |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineShapeDescriptor parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeEngineShapeDescriptor |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ComputeEngineShapeDescriptor> parser()
Returns | |
---|---|
Type | Description |
Parser<ComputeEngineShapeDescriptor> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public ComputeEngineShapeDescriptor getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ComputeEngineShapeDescriptor |
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()
public int getMemoryMb()
Memory in mebibytes.
int32 memory_mb = 1;
Returns | |
---|---|
Type | Description |
int |
The memoryMb. |
getParserForType()
public Parser<ComputeEngineShapeDescriptor> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ComputeEngineShapeDescriptor> |
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 |
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 |
Returns | |
---|---|
Type | Description |
ComputeStorageDescriptor |
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;
Returns | |
---|---|
Type | Description |
List<ComputeStorageDescriptor> |
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 |
Returns | |
---|---|
Type | Description |
ComputeStorageDescriptorOrBuilder |
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()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ComputeEngineShapeDescriptor.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ComputeEngineShapeDescriptor.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComputeEngineShapeDescriptor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
ComputeEngineShapeDescriptor.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ComputeEngineShapeDescriptor.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ComputeEngineShapeDescriptor.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |