Interface CreateNamespaceRequestOrBuilder

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

    @Generated(value="protoc",
               comments="annotations:CreateNamespaceRequestOrBuilder.java.pb.meta")
    public interface CreateNamespaceRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsTags​(java.lang.String key)
      The tags to add to the namespace.
      java.lang.String getAsyncOperationId()
      The id to use for this async operation.
      com.google.protobuf.ByteString getAsyncOperationIdBytes()
      The id to use for this async operation.
      NamespaceSpec getSpec()
      The namespace specification.
      NamespaceSpecOrBuilder getSpecOrBuilder()
      The namespace specification.
      java.util.Map<java.lang.String,​java.lang.String> getTags()
      Deprecated.
      int getTagsCount()
      The tags to add to the namespace.
      java.util.Map<java.lang.String,​java.lang.String> getTagsMap()
      The tags to add to the namespace.
      java.lang.String getTagsOrDefault​(java.lang.String key, java.lang.String defaultValue)
      The tags to add to the namespace.
      java.lang.String getTagsOrThrow​(java.lang.String key)
      The tags to add to the namespace.
      boolean hasSpec()
      The namespace specification.
      • 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 Detail

      • hasSpec

        boolean hasSpec()
         The namespace specification.
         
        .temporal.api.cloud.namespace.v1.NamespaceSpec spec = 2;
        Returns:
        Whether the spec field is set.
      • getSpec

        NamespaceSpec getSpec()
         The namespace specification.
         
        .temporal.api.cloud.namespace.v1.NamespaceSpec spec = 2;
        Returns:
        The spec.
      • getSpecOrBuilder

        NamespaceSpecOrBuilder getSpecOrBuilder()
         The namespace specification.
         
        .temporal.api.cloud.namespace.v1.NamespaceSpec spec = 2;
      • getAsyncOperationId

        java.lang.String getAsyncOperationId()
         The id to use for this async operation.
         Optional, if not provided a random id will be generated.
         
        string async_operation_id = 3;
        Returns:
        The asyncOperationId.
      • getAsyncOperationIdBytes

        com.google.protobuf.ByteString getAsyncOperationIdBytes()
         The id to use for this async operation.
         Optional, if not provided a random id will be generated.
         
        string async_operation_id = 3;
        Returns:
        The bytes for asyncOperationId.
      • getTagsCount

        int getTagsCount()
         The tags to add to the namespace.
         Note: This field can be set by global admins or account owners only.
         
        map<string, string> tags = 4;
      • containsTags

        boolean containsTags​(java.lang.String key)
         The tags to add to the namespace.
         Note: This field can be set by global admins or account owners only.
         
        map<string, string> tags = 4;
      • getTags

        @Deprecated
        java.util.Map<java.lang.String,​java.lang.String> getTags()
        Deprecated.
        Use getTagsMap() instead.
      • getTagsMap

        java.util.Map<java.lang.String,​java.lang.String> getTagsMap()
         The tags to add to the namespace.
         Note: This field can be set by global admins or account owners only.
         
        map<string, string> tags = 4;
      • getTagsOrDefault

        java.lang.String getTagsOrDefault​(java.lang.String key,
                                          java.lang.String defaultValue)
         The tags to add to the namespace.
         Note: This field can be set by global admins or account owners only.
         
        map<string, string> tags = 4;
      • getTagsOrThrow

        java.lang.String getTagsOrThrow​(java.lang.String key)
         The tags to add to the namespace.
         Note: This field can be set by global admins or account owners only.
         
        map<string, string> tags = 4;