Class HardwarePhysicalInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo
All Implemented Interfaces:
HardwarePhysicalInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class HardwarePhysicalInfo extends com.google.protobuf.GeneratedMessage implements HardwarePhysicalInfoOrBuilder
 Physical properties of a hardware.
 
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo
See Also:
  • Field Details

    • POWER_RECEPTACLE_FIELD_NUMBER

      public static final int POWER_RECEPTACLE_FIELD_NUMBER
      See Also:
    • VOLTAGE_FIELD_NUMBER

      public static final int VOLTAGE_FIELD_NUMBER
      See Also:
    • AMPERES_FIELD_NUMBER

      public static final int AMPERES_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
    • getPowerReceptacleValue

      public int getPowerReceptacleValue()
       Required. The power receptacle type.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.PowerReceptacleType power_receptacle = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPowerReceptacleValue in interface HardwarePhysicalInfoOrBuilder
      Returns:
      The enum numeric value on the wire for powerReceptacle.
    • getPowerReceptacle

      public HardwarePhysicalInfo.PowerReceptacleType getPowerReceptacle()
       Required. The power receptacle type.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.PowerReceptacleType power_receptacle = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPowerReceptacle in interface HardwarePhysicalInfoOrBuilder
      Returns:
      The powerReceptacle.
    • getNetworkUplinkValue

      public int getNetworkUplinkValue()
       Required. Type of the uplink network connection.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.NetworkUplinkType network_uplink = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNetworkUplinkValue in interface HardwarePhysicalInfoOrBuilder
      Returns:
      The enum numeric value on the wire for networkUplink.
    • getNetworkUplink

      public HardwarePhysicalInfo.NetworkUplinkType getNetworkUplink()
       Required. Type of the uplink network connection.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.NetworkUplinkType network_uplink = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNetworkUplink in interface HardwarePhysicalInfoOrBuilder
      Returns:
      The networkUplink.
    • getVoltageValue

      public int getVoltageValue()
       Required. Voltage of the power supply.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.Voltage voltage = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getVoltageValue in interface HardwarePhysicalInfoOrBuilder
      Returns:
      The enum numeric value on the wire for voltage.
    • getVoltage

      public HardwarePhysicalInfo.Voltage getVoltage()
       Required. Voltage of the power supply.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.Voltage voltage = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getVoltage in interface HardwarePhysicalInfoOrBuilder
      Returns:
      The voltage.
    • getAmperesValue

      public int getAmperesValue()
       Required. Amperes of the power supply.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.Amperes amperes = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAmperesValue in interface HardwarePhysicalInfoOrBuilder
      Returns:
      The enum numeric value on the wire for amperes.
    • getAmperes

      public HardwarePhysicalInfo.Amperes getAmperes()
       Required. Amperes of the power supply.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.Amperes amperes = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAmperes in interface HardwarePhysicalInfoOrBuilder
      Returns:
      The amperes.
    • 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 HardwarePhysicalInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static HardwarePhysicalInfo.Builder newBuilder()
    • newBuilder

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

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

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

      public static HardwarePhysicalInfo getDefaultInstance()
    • parser

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

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