Class CreateNamespaceRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CreateNamespaceRequestOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:CreateNamespaceRequest.java.pb.meta") public final class CreateNamespaceRequest extends com.google.protobuf.GeneratedMessageV3 implements CreateNamespaceRequestOrBuilder
Protobuf type temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasSpec

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

      public NamespaceSpec getSpec()
       The namespace specification.
       
      .temporal.api.cloud.namespace.v1.NamespaceSpec spec = 2;
      Specified by:
      getSpec in interface CreateNamespaceRequestOrBuilder
      Returns:
      The spec.
    • getSpecOrBuilder

      public NamespaceSpecOrBuilder getSpecOrBuilder()
       The namespace specification.
       
      .temporal.api.cloud.namespace.v1.NamespaceSpec spec = 2;
      Specified by:
      getSpecOrBuilder in interface CreateNamespaceRequestOrBuilder
    • getAsyncOperationId

      public 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;
      Specified by:
      getAsyncOperationId in interface CreateNamespaceRequestOrBuilder
      Returns:
      The asyncOperationId.
    • getAsyncOperationIdBytes

      public 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;
      Specified by:
      getAsyncOperationIdBytes in interface CreateNamespaceRequestOrBuilder
      Returns:
      The bytes for asyncOperationId.
    • getTagsCount

      public int getTagsCount()
      Description copied from interface: CreateNamespaceRequestOrBuilder
       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;
      Specified by:
      getTagsCount in interface CreateNamespaceRequestOrBuilder
    • containsTags

      public boolean containsTags(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;
      Specified by:
      containsTags in interface CreateNamespaceRequestOrBuilder
    • getTags

      @Deprecated public Map<String,String> getTags()
      Deprecated.
      Use getTagsMap() instead.
      Specified by:
      getTags in interface CreateNamespaceRequestOrBuilder
    • getTagsMap

      public Map<String,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;
      Specified by:
      getTagsMap in interface CreateNamespaceRequestOrBuilder
    • getTagsOrDefault

      public String getTagsOrDefault(String key, 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;
      Specified by:
      getTagsOrDefault in interface CreateNamespaceRequestOrBuilder
    • getTagsOrThrow

      public String getTagsOrThrow(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;
      Specified by:
      getTagsOrThrow in interface CreateNamespaceRequestOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static CreateNamespaceRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateNamespaceRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateNamespaceRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateNamespaceRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateNamespaceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateNamespaceRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CreateNamespaceRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CreateNamespaceRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CreateNamespaceRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CreateNamespaceRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CreateNamespaceRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CreateNamespaceRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public CreateNamespaceRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static CreateNamespaceRequest.Builder newBuilder()
    • newBuilder

      public static CreateNamespaceRequest.Builder newBuilder(CreateNamespaceRequest prototype)
    • toBuilder

      public CreateNamespaceRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CreateNamespaceRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static CreateNamespaceRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CreateNamespaceRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<CreateNamespaceRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public CreateNamespaceRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder