Class HardwareInstallationInfo

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

@Generated public final class HardwareInstallationInfo extends com.google.protobuf.GeneratedMessage implements HardwareInstallationInfoOrBuilder
 Information for installation of a Hardware.
 
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo
See Also:
  • Field Details

    • RACK_LOCATION_FIELD_NUMBER

      public static final int RACK_LOCATION_FIELD_NUMBER
      See Also:
    • POWER_DISTANCE_METERS_FIELD_NUMBER

      public static final int POWER_DISTANCE_METERS_FIELD_NUMBER
      See Also:
    • SWITCH_DISTANCE_METERS_FIELD_NUMBER

      public static final int SWITCH_DISTANCE_METERS_FIELD_NUMBER
      See Also:
    • RACK_UNIT_DIMENSIONS_FIELD_NUMBER

      public static final int RACK_UNIT_DIMENSIONS_FIELD_NUMBER
      See Also:
    • RACK_SPACE_FIELD_NUMBER

      public static final int RACK_SPACE_FIELD_NUMBER
      See Also:
    • RACK_TYPE_FIELD_NUMBER

      public static final int RACK_TYPE_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
    • getRackLocation

      public String getRackLocation()
       Required. Location of the rack in the site e.g. Floor 2, Room 201, Row 7,
       Rack 3.
       
      string rack_location = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRackLocation in interface HardwareInstallationInfoOrBuilder
      Returns:
      The rackLocation.
    • getRackLocationBytes

      public com.google.protobuf.ByteString getRackLocationBytes()
       Required. Location of the rack in the site e.g. Floor 2, Room 201, Row 7,
       Rack 3.
       
      string rack_location = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRackLocationBytes in interface HardwareInstallationInfoOrBuilder
      Returns:
      The bytes for rackLocation.
    • getPowerDistanceMeters

      public int getPowerDistanceMeters()
       Required. Distance from the power outlet in meters.
       
      int32 power_distance_meters = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPowerDistanceMeters in interface HardwareInstallationInfoOrBuilder
      Returns:
      The powerDistanceMeters.
    • getSwitchDistanceMeters

      public int getSwitchDistanceMeters()
       Required. Distance from the network switch in meters.
       
      int32 switch_distance_meters = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSwitchDistanceMeters in interface HardwareInstallationInfoOrBuilder
      Returns:
      The switchDistanceMeters.
    • hasRackUnitDimensions

      public boolean hasRackUnitDimensions()
       Required. Dimensions of the rack unit.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Dimensions rack_unit_dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasRackUnitDimensions in interface HardwareInstallationInfoOrBuilder
      Returns:
      Whether the rackUnitDimensions field is set.
    • getRackUnitDimensions

      public Dimensions getRackUnitDimensions()
       Required. Dimensions of the rack unit.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Dimensions rack_unit_dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRackUnitDimensions in interface HardwareInstallationInfoOrBuilder
      Returns:
      The rackUnitDimensions.
    • getRackUnitDimensionsOrBuilder

      public DimensionsOrBuilder getRackUnitDimensionsOrBuilder()
       Required. Dimensions of the rack unit.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Dimensions rack_unit_dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRackUnitDimensionsOrBuilder in interface HardwareInstallationInfoOrBuilder
    • hasRackSpace

      public boolean hasRackSpace()
       Required. Rack space allocated for the hardware.
       
      .google.cloud.gdchardwaremanagement.v1alpha.RackSpace rack_space = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasRackSpace in interface HardwareInstallationInfoOrBuilder
      Returns:
      Whether the rackSpace field is set.
    • getRackSpace

      public RackSpace getRackSpace()
       Required. Rack space allocated for the hardware.
       
      .google.cloud.gdchardwaremanagement.v1alpha.RackSpace rack_space = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRackSpace in interface HardwareInstallationInfoOrBuilder
      Returns:
      The rackSpace.
    • getRackSpaceOrBuilder

      public RackSpaceOrBuilder getRackSpaceOrBuilder()
       Required. Rack space allocated for the hardware.
       
      .google.cloud.gdchardwaremanagement.v1alpha.RackSpace rack_space = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRackSpaceOrBuilder in interface HardwareInstallationInfoOrBuilder
    • getRackTypeValue

      public int getRackTypeValue()
       Required. Type of the rack.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo.RackType rack_type = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRackTypeValue in interface HardwareInstallationInfoOrBuilder
      Returns:
      The enum numeric value on the wire for rackType.
    • getRackType

      public HardwareInstallationInfo.RackType getRackType()
       Required. Type of the rack.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo.RackType rack_type = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRackType in interface HardwareInstallationInfoOrBuilder
      Returns:
      The rackType.
    • 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 HardwareInstallationInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static HardwareInstallationInfo.Builder newBuilder()
    • newBuilder

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

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

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

      public static HardwareInstallationInfo getDefaultInstance()
    • parser

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

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