Interface HardwareGroupOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
HardwareGroup, HardwareGroup.Builder

@Generated public interface HardwareGroupOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Identifier. Name of this hardware group.
       Format:
       `projects/{project}/locations/{location}/orders/{order}/hardwareGroups/{hardware_group}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. Name of this hardware group.
       Format:
       `projects/{project}/locations/{location}/orders/{order}/hardwareGroups/{hardware_group}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. Time when this hardware group was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. Time when this hardware group was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time when this hardware group was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. Time when this hardware group was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. Time when this hardware group was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Time when this hardware group was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLabelsCount

      int getLabelsCount()
       Optional. Labels associated with this hardware group as key value pairs.
       For more information about labels, see [Create and manage
       labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional. Labels associated with this hardware group as key value pairs.
       For more information about labels, see [Create and manage
       labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. Labels associated with this hardware group as key value pairs.
       For more information about labels, see [Create and manage
       labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. Labels associated with this hardware group as key value pairs.
       For more information about labels, see [Create and manage
       labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional. Labels associated with this hardware group as key value pairs.
       For more information about labels, see [Create and manage
       labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getHardwareCount

      int getHardwareCount()
       Required. Number of hardware in this HardwareGroup.
       
      int32 hardware_count = 5 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The hardwareCount.
    • hasConfig

      boolean hasConfig()
       Required. Configuration for hardware in this HardwareGroup.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwareConfig config = 6 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the config field is set.
    • getConfig

      HardwareConfig getConfig()
       Required. Configuration for hardware in this HardwareGroup.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwareConfig config = 6 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The config.
    • getConfigOrBuilder

      HardwareConfigOrBuilder getConfigOrBuilder()
       Required. Configuration for hardware in this HardwareGroup.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwareConfig config = 6 [(.google.api.field_behavior) = REQUIRED];
    • getSite

      String getSite()
       Required. Name of the site where the hardware in this HardwareGroup will be
       delivered.
       Format: `projects/{project}/locations/{location}/sites/{site}`
       
      string site = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The site.
    • getSiteBytes

      com.google.protobuf.ByteString getSiteBytes()
       Required. Name of the site where the hardware in this HardwareGroup will be
       delivered.
       Format: `projects/{project}/locations/{location}/sites/{site}`
       
      string site = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for site.
    • getStateValue

      int getStateValue()
       Output only. Current state of this HardwareGroup.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for state.
    • getState

       Output only. Current state of this HardwareGroup.
       
      .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • getZone

      String getZone()
       Optional. Name of the zone that the hardware in this HardwareGroup belongs
       to. Format: `projects/{project}/locations/{location}/zones/{zone}`
       
      string zone = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The zone.
    • getZoneBytes

      com.google.protobuf.ByteString getZoneBytes()
       Optional. Name of the zone that the hardware in this HardwareGroup belongs
       to. Format: `projects/{project}/locations/{location}/zones/{zone}`
       
      string zone = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for zone.
    • hasRequestedInstallationDate

      @Deprecated boolean hasRequestedInstallationDate()
      Deprecated.
      google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup.requested_installation_date is deprecated. See google/cloud/gdchardwaremanagement/v1alpha/resources.proto;l=408
       Deprecated: This value is not used. Use the requested_installation_date
       field in the Order resource instead.
       
      .google.type.Date requested_installation_date = 10 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the requestedInstallationDate field is set.
    • getRequestedInstallationDate

      @Deprecated Date getRequestedInstallationDate()
      Deprecated.
      google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup.requested_installation_date is deprecated. See google/cloud/gdchardwaremanagement/v1alpha/resources.proto;l=408
       Deprecated: This value is not used. Use the requested_installation_date
       field in the Order resource instead.
       
      .google.type.Date requested_installation_date = 10 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The requestedInstallationDate.
    • getRequestedInstallationDateOrBuilder

      @Deprecated DateOrBuilder getRequestedInstallationDateOrBuilder()
      Deprecated.
       Deprecated: This value is not used. Use the requested_installation_date
       field in the Order resource instead.
       
      .google.type.Date requested_installation_date = 10 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];