Class MachineDetails

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

@Generated public final class MachineDetails extends com.google.protobuf.GeneratedMessage implements MachineDetailsOrBuilder
 Details of a machine.
 
Protobuf type google.cloud.migrationcenter.v1.MachineDetails
See Also:
  • Field Details

  • 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
    • getUuid

      public String getUuid()
       Machine unique identifier.
       
      string uuid = 1;
      Specified by:
      getUuid in interface MachineDetailsOrBuilder
      Returns:
      The uuid.
    • getUuidBytes

      public com.google.protobuf.ByteString getUuidBytes()
       Machine unique identifier.
       
      string uuid = 1;
      Specified by:
      getUuidBytes in interface MachineDetailsOrBuilder
      Returns:
      The bytes for uuid.
    • getMachineName

      public String getMachineName()
       Machine name.
       
      string machine_name = 2;
      Specified by:
      getMachineName in interface MachineDetailsOrBuilder
      Returns:
      The machineName.
    • getMachineNameBytes

      public com.google.protobuf.ByteString getMachineNameBytes()
       Machine name.
       
      string machine_name = 2;
      Specified by:
      getMachineNameBytes in interface MachineDetailsOrBuilder
      Returns:
      The bytes for machineName.
    • hasCreateTime

      public boolean hasCreateTime()
       Machine creation time.
       
      .google.protobuf.Timestamp create_time = 3;
      Specified by:
      hasCreateTime in interface MachineDetailsOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Machine creation time.
       
      .google.protobuf.Timestamp create_time = 3;
      Specified by:
      getCreateTime in interface MachineDetailsOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Machine creation time.
       
      .google.protobuf.Timestamp create_time = 3;
      Specified by:
      getCreateTimeOrBuilder in interface MachineDetailsOrBuilder
    • getCoreCount

      public int getCoreCount()
       Number of CPU cores in the machine. Must be non-negative.
       
      int32 core_count = 4;
      Specified by:
      getCoreCount in interface MachineDetailsOrBuilder
      Returns:
      The coreCount.
    • getMemoryMb

      public int getMemoryMb()
       The amount of memory in the machine. Must be non-negative.
       
      int32 memory_mb = 5;
      Specified by:
      getMemoryMb in interface MachineDetailsOrBuilder
      Returns:
      The memoryMb.
    • getPowerStateValue

      public int getPowerStateValue()
       Power state of the machine.
       
      .google.cloud.migrationcenter.v1.MachineDetails.PowerState power_state = 6;
      Specified by:
      getPowerStateValue in interface MachineDetailsOrBuilder
      Returns:
      The enum numeric value on the wire for powerState.
    • getPowerState

      public MachineDetails.PowerState getPowerState()
       Power state of the machine.
       
      .google.cloud.migrationcenter.v1.MachineDetails.PowerState power_state = 6;
      Specified by:
      getPowerState in interface MachineDetailsOrBuilder
      Returns:
      The powerState.
    • hasArchitecture

      public boolean hasArchitecture()
       Architecture details (vendor, CPU architecture).
       
      .google.cloud.migrationcenter.v1.MachineArchitectureDetails architecture = 7;
      Specified by:
      hasArchitecture in interface MachineDetailsOrBuilder
      Returns:
      Whether the architecture field is set.
    • getArchitecture

      public MachineArchitectureDetails getArchitecture()
       Architecture details (vendor, CPU architecture).
       
      .google.cloud.migrationcenter.v1.MachineArchitectureDetails architecture = 7;
      Specified by:
      getArchitecture in interface MachineDetailsOrBuilder
      Returns:
      The architecture.
    • getArchitectureOrBuilder

      public MachineArchitectureDetailsOrBuilder getArchitectureOrBuilder()
       Architecture details (vendor, CPU architecture).
       
      .google.cloud.migrationcenter.v1.MachineArchitectureDetails architecture = 7;
      Specified by:
      getArchitectureOrBuilder in interface MachineDetailsOrBuilder
    • hasGuestOs

      public boolean hasGuestOs()
       Guest OS information.
       
      .google.cloud.migrationcenter.v1.GuestOsDetails guest_os = 8;
      Specified by:
      hasGuestOs in interface MachineDetailsOrBuilder
      Returns:
      Whether the guestOs field is set.
    • getGuestOs

      public GuestOsDetails getGuestOs()
       Guest OS information.
       
      .google.cloud.migrationcenter.v1.GuestOsDetails guest_os = 8;
      Specified by:
      getGuestOs in interface MachineDetailsOrBuilder
      Returns:
      The guestOs.
    • getGuestOsOrBuilder

      public GuestOsDetailsOrBuilder getGuestOsOrBuilder()
       Guest OS information.
       
      .google.cloud.migrationcenter.v1.GuestOsDetails guest_os = 8;
      Specified by:
      getGuestOsOrBuilder in interface MachineDetailsOrBuilder
    • hasNetwork

      public boolean hasNetwork()
       Network details.
       
      .google.cloud.migrationcenter.v1.MachineNetworkDetails network = 9;
      Specified by:
      hasNetwork in interface MachineDetailsOrBuilder
      Returns:
      Whether the network field is set.
    • getNetwork

      public MachineNetworkDetails getNetwork()
       Network details.
       
      .google.cloud.migrationcenter.v1.MachineNetworkDetails network = 9;
      Specified by:
      getNetwork in interface MachineDetailsOrBuilder
      Returns:
      The network.
    • getNetworkOrBuilder

      public MachineNetworkDetailsOrBuilder getNetworkOrBuilder()
       Network details.
       
      .google.cloud.migrationcenter.v1.MachineNetworkDetails network = 9;
      Specified by:
      getNetworkOrBuilder in interface MachineDetailsOrBuilder
    • hasDisks

      public boolean hasDisks()
       Disk details.
       
      .google.cloud.migrationcenter.v1.MachineDiskDetails disks = 10;
      Specified by:
      hasDisks in interface MachineDetailsOrBuilder
      Returns:
      Whether the disks field is set.
    • getDisks

      public MachineDiskDetails getDisks()
       Disk details.
       
      .google.cloud.migrationcenter.v1.MachineDiskDetails disks = 10;
      Specified by:
      getDisks in interface MachineDetailsOrBuilder
      Returns:
      The disks.
    • getDisksOrBuilder

      public MachineDiskDetailsOrBuilder getDisksOrBuilder()
       Disk details.
       
      .google.cloud.migrationcenter.v1.MachineDiskDetails disks = 10;
      Specified by:
      getDisksOrBuilder in interface MachineDetailsOrBuilder
    • hasPlatform

      public boolean hasPlatform()
       Platform specific information.
       
      .google.cloud.migrationcenter.v1.PlatformDetails platform = 11;
      Specified by:
      hasPlatform in interface MachineDetailsOrBuilder
      Returns:
      Whether the platform field is set.
    • getPlatform

      public PlatformDetails getPlatform()
       Platform specific information.
       
      .google.cloud.migrationcenter.v1.PlatformDetails platform = 11;
      Specified by:
      getPlatform in interface MachineDetailsOrBuilder
      Returns:
      The platform.
    • getPlatformOrBuilder

      public PlatformDetailsOrBuilder getPlatformOrBuilder()
       Platform specific information.
       
      .google.cloud.migrationcenter.v1.PlatformDetails platform = 11;
      Specified by:
      getPlatformOrBuilder in interface MachineDetailsOrBuilder
    • 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 MachineDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static MachineDetails.Builder newBuilder()
    • newBuilder

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

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

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

      public static MachineDetails getDefaultInstance()
    • parser

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

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