Interface CreateHardwareRequestOrBuilder

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

@Generated public interface CreateHardwareRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getParent

      String getParent()
       Required. The project and location to create hardware in.
       Format: `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The project and location to create hardware in.
       Format: `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getHardwareId

      String getHardwareId()
       Optional. ID used to uniquely identify the Hardware within its parent
       scope. This field should contain at most 63 characters and must start with
       lowercase characters.
       Only lowercase characters, numbers and `-` are accepted.
       The `-` character cannot be the first or the last one.
       A system generated ID will be used if the field is not set.
      
       The hardware.name field in the request will be ignored.
       
      string hardware_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The hardwareId.
    • getHardwareIdBytes

      com.google.protobuf.ByteString getHardwareIdBytes()
       Optional. ID used to uniquely identify the Hardware within its parent
       scope. This field should contain at most 63 characters and must start with
       lowercase characters.
       Only lowercase characters, numbers and `-` are accepted.
       The `-` character cannot be the first or the last one.
       A system generated ID will be used if the field is not set.
      
       The hardware.name field in the request will be ignored.
       
      string hardware_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for hardwareId.
    • hasHardware

      boolean hasHardware()
       Required. The resource to create.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Hardware hardware = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the hardware field is set.
    • getHardware

      Hardware getHardware()
       Required. The resource to create.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Hardware hardware = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The hardware.
    • getHardwareOrBuilder

      HardwareOrBuilder getHardwareOrBuilder()
       Required. The resource to create.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Hardware hardware = 3 [(.google.api.field_behavior) = REQUIRED];