Class DiskEntry

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

@Generated public final class DiskEntry extends com.google.protobuf.GeneratedMessage implements DiskEntryOrBuilder
 Single disk entry.
 
Protobuf type google.cloud.migrationcenter.v1.DiskEntry
See Also:
  • Field Details

    • CAPACITY_BYTES_FIELD_NUMBER

      public static final int CAPACITY_BYTES_FIELD_NUMBER
      See Also:
    • FREE_BYTES_FIELD_NUMBER

      public static final int FREE_BYTES_FIELD_NUMBER
      See Also:
    • DISK_LABEL_FIELD_NUMBER

      public static final int DISK_LABEL_FIELD_NUMBER
      See Also:
    • DISK_LABEL_TYPE_FIELD_NUMBER

      public static final int DISK_LABEL_TYPE_FIELD_NUMBER
      See Also:
    • INTERFACE_TYPE_FIELD_NUMBER

      public static final int INTERFACE_TYPE_FIELD_NUMBER
      See Also:
    • PARTITIONS_FIELD_NUMBER

      public static final int PARTITIONS_FIELD_NUMBER
      See Also:
    • HW_ADDRESS_FIELD_NUMBER

      public static final int HW_ADDRESS_FIELD_NUMBER
      See Also:
    • VMWARE_FIELD_NUMBER

      public static final int VMWARE_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
    • getPlatformSpecificCase

      public DiskEntry.PlatformSpecificCase getPlatformSpecificCase()
      Specified by:
      getPlatformSpecificCase in interface DiskEntryOrBuilder
    • getCapacityBytes

      public long getCapacityBytes()
       Disk capacity.
       
      int64 capacity_bytes = 1;
      Specified by:
      getCapacityBytes in interface DiskEntryOrBuilder
      Returns:
      The capacityBytes.
    • getFreeBytes

      public long getFreeBytes()
       Disk free space.
       
      int64 free_bytes = 2;
      Specified by:
      getFreeBytes in interface DiskEntryOrBuilder
      Returns:
      The freeBytes.
    • getDiskLabel

      public String getDiskLabel()
       Disk label.
       
      string disk_label = 3;
      Specified by:
      getDiskLabel in interface DiskEntryOrBuilder
      Returns:
      The diskLabel.
    • getDiskLabelBytes

      public com.google.protobuf.ByteString getDiskLabelBytes()
       Disk label.
       
      string disk_label = 3;
      Specified by:
      getDiskLabelBytes in interface DiskEntryOrBuilder
      Returns:
      The bytes for diskLabel.
    • getDiskLabelType

      public String getDiskLabelType()
       Disk label type (e.g. BIOS/GPT)
       
      string disk_label_type = 4;
      Specified by:
      getDiskLabelType in interface DiskEntryOrBuilder
      Returns:
      The diskLabelType.
    • getDiskLabelTypeBytes

      public com.google.protobuf.ByteString getDiskLabelTypeBytes()
       Disk label type (e.g. BIOS/GPT)
       
      string disk_label_type = 4;
      Specified by:
      getDiskLabelTypeBytes in interface DiskEntryOrBuilder
      Returns:
      The bytes for diskLabelType.
    • getInterfaceTypeValue

      public int getInterfaceTypeValue()
       Disks interface type.
       
      .google.cloud.migrationcenter.v1.DiskEntry.InterfaceType interface_type = 5;
      Specified by:
      getInterfaceTypeValue in interface DiskEntryOrBuilder
      Returns:
      The enum numeric value on the wire for interfaceType.
    • getInterfaceType

      public DiskEntry.InterfaceType getInterfaceType()
       Disks interface type.
       
      .google.cloud.migrationcenter.v1.DiskEntry.InterfaceType interface_type = 5;
      Specified by:
      getInterfaceType in interface DiskEntryOrBuilder
      Returns:
      The interfaceType.
    • hasPartitions

      public boolean hasPartitions()
       Partition layout.
       
      .google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
      Specified by:
      hasPartitions in interface DiskEntryOrBuilder
      Returns:
      Whether the partitions field is set.
    • getPartitions

      public DiskPartitionList getPartitions()
       Partition layout.
       
      .google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
      Specified by:
      getPartitions in interface DiskEntryOrBuilder
      Returns:
      The partitions.
    • getPartitionsOrBuilder

      public DiskPartitionListOrBuilder getPartitionsOrBuilder()
       Partition layout.
       
      .google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
      Specified by:
      getPartitionsOrBuilder in interface DiskEntryOrBuilder
    • getHwAddress

      public String getHwAddress()
       Disk hardware address (e.g. 0:1 for SCSI).
       
      string hw_address = 7;
      Specified by:
      getHwAddress in interface DiskEntryOrBuilder
      Returns:
      The hwAddress.
    • getHwAddressBytes

      public com.google.protobuf.ByteString getHwAddressBytes()
       Disk hardware address (e.g. 0:1 for SCSI).
       
      string hw_address = 7;
      Specified by:
      getHwAddressBytes in interface DiskEntryOrBuilder
      Returns:
      The bytes for hwAddress.
    • hasVmware

      public boolean hasVmware()
       VMware disk details.
       
      .google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
      Specified by:
      hasVmware in interface DiskEntryOrBuilder
      Returns:
      Whether the vmware field is set.
    • getVmware

      public VmwareDiskConfig getVmware()
       VMware disk details.
       
      .google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
      Specified by:
      getVmware in interface DiskEntryOrBuilder
      Returns:
      The vmware.
    • getVmwareOrBuilder

      public VmwareDiskConfigOrBuilder getVmwareOrBuilder()
       VMware disk details.
       
      .google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
      Specified by:
      getVmwareOrBuilder in interface DiskEntryOrBuilder
    • 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 DiskEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static DiskEntry.Builder newBuilder()
    • newBuilder

      public static DiskEntry.Builder newBuilder(DiskEntry prototype)
    • toBuilder

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

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

      public static DiskEntry getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<DiskEntry> 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 DiskEntry getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder