Interface CreateSiteRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Required.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    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 the site 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 the site in.
       Format: `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getSiteId

      String getSiteId()
       Optional. ID used to uniquely identify the Site 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 site.name field in the request will be ignored.
       
      string site_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The siteId.
    • getSiteIdBytes

      com.google.protobuf.ByteString getSiteIdBytes()
       Optional. ID used to uniquely identify the Site 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 site.name field in the request will be ignored.
       
      string site_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for siteId.
    • hasSite

      boolean hasSite()
       Required. The site to create.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Site site = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the site field is set.
    • getSite

      Site getSite()
       Required. The site to create.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Site site = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The site.
    • getSiteOrBuilder

      SiteOrBuilder getSiteOrBuilder()
       Required. The site to create.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Site site = 3 [(.google.api.field_behavior) = REQUIRED];
    • getRequestId

      String getRequestId()
       Optional. An optional unique identifier for this request. See
       [AIP-155](https://google.aip.dev/155).
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The requestId.
    • getRequestIdBytes

      com.google.protobuf.ByteString getRequestIdBytes()
       Optional. An optional unique identifier for this request. See
       [AIP-155](https://google.aip.dev/155).
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for requestId.