Class ComputeEngineShapeDescriptor

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor
All Implemented Interfaces:
ComputeEngineShapeDescriptorOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ComputeEngineShapeDescriptor extends com.google.protobuf.GeneratedMessage implements ComputeEngineShapeDescriptorOrBuilder
 Compute Engine target shape descriptor.
 
Protobuf type google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor
See Also:
  • Field Details

    • MEMORY_MB_FIELD_NUMBER

      public static final int MEMORY_MB_FIELD_NUMBER
      See Also:
    • PHYSICAL_CORE_COUNT_FIELD_NUMBER

      public static final int PHYSICAL_CORE_COUNT_FIELD_NUMBER
      See Also:
    • LOGICAL_CORE_COUNT_FIELD_NUMBER

      public static final int LOGICAL_CORE_COUNT_FIELD_NUMBER
      See Also:
    • SERIES_FIELD_NUMBER

      public static final int SERIES_FIELD_NUMBER
      See Also:
    • MACHINE_TYPE_FIELD_NUMBER

      public static final int MACHINE_TYPE_FIELD_NUMBER
      See Also:
    • STORAGE_FIELD_NUMBER

      public static final int STORAGE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getMemoryMb

      public int getMemoryMb()
       Memory in mebibytes.
       
      int32 memory_mb = 1;
      Specified by:
      getMemoryMb in interface ComputeEngineShapeDescriptorOrBuilder
      Returns:
      The memoryMb.
    • getPhysicalCoreCount

      public int getPhysicalCoreCount()
       Number of physical cores.
       
      int32 physical_core_count = 2;
      Specified by:
      getPhysicalCoreCount in interface ComputeEngineShapeDescriptorOrBuilder
      Returns:
      The physicalCoreCount.
    • getLogicalCoreCount

      public int getLogicalCoreCount()
       Number of logical cores.
       
      int32 logical_core_count = 3;
      Specified by:
      getLogicalCoreCount in interface ComputeEngineShapeDescriptorOrBuilder
      Returns:
      The logicalCoreCount.
    • getSeries

      public String getSeries()
       Compute Engine machine series.
       
      string series = 4;
      Specified by:
      getSeries in interface ComputeEngineShapeDescriptorOrBuilder
      Returns:
      The series.
    • getSeriesBytes

      public com.google.protobuf.ByteString getSeriesBytes()
       Compute Engine machine series.
       
      string series = 4;
      Specified by:
      getSeriesBytes in interface ComputeEngineShapeDescriptorOrBuilder
      Returns:
      The bytes for series.
    • getMachineType

      public String getMachineType()
       Compute Engine machine type.
       
      string machine_type = 5;
      Specified by:
      getMachineType in interface ComputeEngineShapeDescriptorOrBuilder
      Returns:
      The machineType.
    • getMachineTypeBytes

      public com.google.protobuf.ByteString getMachineTypeBytes()
       Compute Engine machine type.
       
      string machine_type = 5;
      Specified by:
      getMachineTypeBytes in interface ComputeEngineShapeDescriptorOrBuilder
      Returns:
      The bytes for machineType.
    • getStorageList

      public List<ComputeStorageDescriptor> getStorageList()
       Compute Engine storage. Never empty.
       
      repeated .google.cloud.migrationcenter.v1.ComputeStorageDescriptor storage = 6;
      Specified by:
      getStorageList in interface ComputeEngineShapeDescriptorOrBuilder
    • getStorageOrBuilderList

      public List<? extends ComputeStorageDescriptorOrBuilder> getStorageOrBuilderList()
       Compute Engine storage. Never empty.
       
      repeated .google.cloud.migrationcenter.v1.ComputeStorageDescriptor storage = 6;
      Specified by:
      getStorageOrBuilderList in interface ComputeEngineShapeDescriptorOrBuilder
    • getStorageCount

      public int getStorageCount()
       Compute Engine storage. Never empty.
       
      repeated .google.cloud.migrationcenter.v1.ComputeStorageDescriptor storage = 6;
      Specified by:
      getStorageCount in interface ComputeEngineShapeDescriptorOrBuilder
    • getStorage

      public ComputeStorageDescriptor getStorage(int index)
       Compute Engine storage. Never empty.
       
      repeated .google.cloud.migrationcenter.v1.ComputeStorageDescriptor storage = 6;
      Specified by:
      getStorage in interface ComputeEngineShapeDescriptorOrBuilder
    • getStorageOrBuilder

      public ComputeStorageDescriptorOrBuilder getStorageOrBuilder(int index)
       Compute Engine storage. Never empty.
       
      repeated .google.cloud.migrationcenter.v1.ComputeStorageDescriptor storage = 6;
      Specified by:
      getStorageOrBuilder in interface ComputeEngineShapeDescriptorOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ComputeEngineShapeDescriptor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ComputeEngineShapeDescriptor parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ComputeEngineShapeDescriptor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ComputeEngineShapeDescriptor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ComputeEngineShapeDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ComputeEngineShapeDescriptor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ComputeEngineShapeDescriptor parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ComputeEngineShapeDescriptor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ComputeEngineShapeDescriptor parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ComputeEngineShapeDescriptor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ComputeEngineShapeDescriptor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ComputeEngineShapeDescriptor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ComputeEngineShapeDescriptor.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ComputeEngineShapeDescriptor.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ComputeEngineShapeDescriptor.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ComputeEngineShapeDescriptor getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ComputeEngineShapeDescriptor> parser()
    • getParserForType

      public com.google.protobuf.Parser<ComputeEngineShapeDescriptor> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ComputeEngineShapeDescriptor getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder