Interface CreateNamespaceRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    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 resource name of the project and location the namespace
       will be created in.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the project and location the namespace
       will be created in.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getNamespaceId

      String getNamespaceId()
       Required. The Resource ID must be 1-63 characters long, and comply with
       <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      string namespace_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The namespaceId.
    • getNamespaceIdBytes

      com.google.protobuf.ByteString getNamespaceIdBytes()
       Required. The Resource ID must be 1-63 characters long, and comply with
       <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      string namespace_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for namespaceId.
    • hasNamespace

      boolean hasNamespace()
       Required. A namespace with initial fields set.
       
      .google.cloud.servicedirectory.v1.Namespace namespace = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the namespace field is set.
    • getNamespace

      Namespace getNamespace()
       Required. A namespace with initial fields set.
       
      .google.cloud.servicedirectory.v1.Namespace namespace = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The namespace.
    • getNamespaceOrBuilder

      NamespaceOrBuilder getNamespaceOrBuilder()
       Required. A namespace with initial fields set.
       
      .google.cloud.servicedirectory.v1.Namespace namespace = 3 [(.google.api.field_behavior) = REQUIRED];