Class MachineDetails

  • All Implemented Interfaces:
    MachineDetailsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class MachineDetails
    extends com.google.protobuf.GeneratedMessageV3
    implements MachineDetailsOrBuilder
     Details of a machine.
     
    Protobuf type google.cloud.migrationcenter.v1.MachineDetails
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getUuidBytes

        public com.google.protobuf.ByteString getUuidBytes()
         Machine unique identifier.
         
        string uuid = 1;
        Specified by:
        getUuidBytes in interface MachineDetailsOrBuilder
        Returns:
        The bytes for uuid.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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​(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
      • 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.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
      • getDefaultInstanceForType

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