Class NamespaceInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<NamespaceInfo.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Builder>
io.temporal.api.namespace.v1.NamespaceInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, NamespaceInfoOrBuilder, Cloneable
Enclosing class:
NamespaceInfo

public static final class NamespaceInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Builder> implements NamespaceInfoOrBuilder
Protobuf type temporal.api.namespace.v1.NamespaceInfo
  • Method Details

    • 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.Builder<NamespaceInfo.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Builder>
    • clear

      public NamespaceInfo.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Builder>
    • getDefaultInstanceForType

      public NamespaceInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public NamespaceInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public NamespaceInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public NamespaceInfo.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Builder>
    • setField

      public NamespaceInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Builder>
    • clearField

      public NamespaceInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Builder>
    • clearOneof

      public NamespaceInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Builder>
    • setRepeatedField

      public NamespaceInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Builder>
    • addRepeatedField

      public NamespaceInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Builder>
    • mergeFrom

      public NamespaceInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NamespaceInfo.Builder>
    • mergeFrom

      public NamespaceInfo.Builder mergeFrom(NamespaceInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Builder>
    • mergeFrom

      public NamespaceInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NamespaceInfo.Builder>
      Throws:
      IOException
    • getName

      public String getName()
      string name = 1;
      Specified by:
      getName in interface NamespaceInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 1;
      Specified by:
      getNameBytes in interface NamespaceInfoOrBuilder
      Returns:
      The bytes for name.
    • setName

      public NamespaceInfo.Builder setName(String value)
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public NamespaceInfo.Builder clearName()
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public NamespaceInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
      .temporal.api.enums.v1.NamespaceState state = 2;
      Specified by:
      getStateValue in interface NamespaceInfoOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public NamespaceInfo.Builder setStateValue(int value)
      .temporal.api.enums.v1.NamespaceState state = 2;
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public NamespaceState getState()
      .temporal.api.enums.v1.NamespaceState state = 2;
      Specified by:
      getState in interface NamespaceInfoOrBuilder
      Returns:
      The state.
    • setState

      public NamespaceInfo.Builder setState(NamespaceState value)
      .temporal.api.enums.v1.NamespaceState state = 2;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public NamespaceInfo.Builder clearState()
      .temporal.api.enums.v1.NamespaceState state = 2;
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
      string description = 3;
      Specified by:
      getDescription in interface NamespaceInfoOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      string description = 3;
      Specified by:
      getDescriptionBytes in interface NamespaceInfoOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public NamespaceInfo.Builder setDescription(String value)
      string description = 3;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public NamespaceInfo.Builder clearDescription()
      string description = 3;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public NamespaceInfo.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
      string description = 3;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getOwnerEmail

      public String getOwnerEmail()
      string owner_email = 4;
      Specified by:
      getOwnerEmail in interface NamespaceInfoOrBuilder
      Returns:
      The ownerEmail.
    • getOwnerEmailBytes

      public com.google.protobuf.ByteString getOwnerEmailBytes()
      string owner_email = 4;
      Specified by:
      getOwnerEmailBytes in interface NamespaceInfoOrBuilder
      Returns:
      The bytes for ownerEmail.
    • setOwnerEmail

      public NamespaceInfo.Builder setOwnerEmail(String value)
      string owner_email = 4;
      Parameters:
      value - The ownerEmail to set.
      Returns:
      This builder for chaining.
    • clearOwnerEmail

      public NamespaceInfo.Builder clearOwnerEmail()
      string owner_email = 4;
      Returns:
      This builder for chaining.
    • setOwnerEmailBytes

      public NamespaceInfo.Builder setOwnerEmailBytes(com.google.protobuf.ByteString value)
      string owner_email = 4;
      Parameters:
      value - The bytes for ownerEmail to set.
      Returns:
      This builder for chaining.
    • getDataCount

      public int getDataCount()
      Description copied from interface: NamespaceInfoOrBuilder
       A key-value map for any customized purpose.
       
      map<string, string> data = 5;
      Specified by:
      getDataCount in interface NamespaceInfoOrBuilder
    • containsData

      public boolean containsData(String key)
       A key-value map for any customized purpose.
       
      map<string, string> data = 5;
      Specified by:
      containsData in interface NamespaceInfoOrBuilder
    • getData

      @Deprecated public Map<String,String> getData()
      Deprecated.
      Use getDataMap() instead.
      Specified by:
      getData in interface NamespaceInfoOrBuilder
    • getDataMap

      public Map<String,String> getDataMap()
       A key-value map for any customized purpose.
       
      map<string, string> data = 5;
      Specified by:
      getDataMap in interface NamespaceInfoOrBuilder
    • getDataOrDefault

      public String getDataOrDefault(String key, String defaultValue)
       A key-value map for any customized purpose.
       
      map<string, string> data = 5;
      Specified by:
      getDataOrDefault in interface NamespaceInfoOrBuilder
    • getDataOrThrow

      public String getDataOrThrow(String key)
       A key-value map for any customized purpose.
       
      map<string, string> data = 5;
      Specified by:
      getDataOrThrow in interface NamespaceInfoOrBuilder
    • clearData

      public NamespaceInfo.Builder clearData()
    • removeData

      public NamespaceInfo.Builder removeData(String key)
       A key-value map for any customized purpose.
       
      map<string, string> data = 5;
    • getMutableData

      @Deprecated public Map<String,String> getMutableData()
      Deprecated.
      Use alternate mutation accessors instead.
    • putData

      public NamespaceInfo.Builder putData(String key, String value)
       A key-value map for any customized purpose.
       
      map<string, string> data = 5;
    • putAllData

      public NamespaceInfo.Builder putAllData(Map<String,String> values)
       A key-value map for any customized purpose.
       
      map<string, string> data = 5;
    • getId

      public String getId()
      string id = 6;
      Specified by:
      getId in interface NamespaceInfoOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      string id = 6;
      Specified by:
      getIdBytes in interface NamespaceInfoOrBuilder
      Returns:
      The bytes for id.
    • setId

      public NamespaceInfo.Builder setId(String value)
      string id = 6;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public NamespaceInfo.Builder clearId()
      string id = 6;
      Returns:
      This builder for chaining.
    • setIdBytes

      public NamespaceInfo.Builder setIdBytes(com.google.protobuf.ByteString value)
      string id = 6;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • hasCapabilities

      public boolean hasCapabilities()
       All capabilities the namespace supports.
       
      .temporal.api.namespace.v1.NamespaceInfo.Capabilities capabilities = 7;
      Specified by:
      hasCapabilities in interface NamespaceInfoOrBuilder
      Returns:
      Whether the capabilities field is set.
    • getCapabilities

      public NamespaceInfo.Capabilities getCapabilities()
       All capabilities the namespace supports.
       
      .temporal.api.namespace.v1.NamespaceInfo.Capabilities capabilities = 7;
      Specified by:
      getCapabilities in interface NamespaceInfoOrBuilder
      Returns:
      The capabilities.
    • setCapabilities

      public NamespaceInfo.Builder setCapabilities(NamespaceInfo.Capabilities value)
       All capabilities the namespace supports.
       
      .temporal.api.namespace.v1.NamespaceInfo.Capabilities capabilities = 7;
    • setCapabilities

      public NamespaceInfo.Builder setCapabilities(NamespaceInfo.Capabilities.Builder builderForValue)
       All capabilities the namespace supports.
       
      .temporal.api.namespace.v1.NamespaceInfo.Capabilities capabilities = 7;
    • mergeCapabilities

      public NamespaceInfo.Builder mergeCapabilities(NamespaceInfo.Capabilities value)
       All capabilities the namespace supports.
       
      .temporal.api.namespace.v1.NamespaceInfo.Capabilities capabilities = 7;
    • clearCapabilities

      public NamespaceInfo.Builder clearCapabilities()
       All capabilities the namespace supports.
       
      .temporal.api.namespace.v1.NamespaceInfo.Capabilities capabilities = 7;
    • getCapabilitiesBuilder

      public NamespaceInfo.Capabilities.Builder getCapabilitiesBuilder()
       All capabilities the namespace supports.
       
      .temporal.api.namespace.v1.NamespaceInfo.Capabilities capabilities = 7;
    • getCapabilitiesOrBuilder

      public NamespaceInfo.CapabilitiesOrBuilder getCapabilitiesOrBuilder()
       All capabilities the namespace supports.
       
      .temporal.api.namespace.v1.NamespaceInfo.Capabilities capabilities = 7;
      Specified by:
      getCapabilitiesOrBuilder in interface NamespaceInfoOrBuilder
    • hasLimits

      public boolean hasLimits()
       Namespace configured limits
       
      .temporal.api.namespace.v1.NamespaceInfo.Limits limits = 8;
      Specified by:
      hasLimits in interface NamespaceInfoOrBuilder
      Returns:
      Whether the limits field is set.
    • getLimits

      public NamespaceInfo.Limits getLimits()
       Namespace configured limits
       
      .temporal.api.namespace.v1.NamespaceInfo.Limits limits = 8;
      Specified by:
      getLimits in interface NamespaceInfoOrBuilder
      Returns:
      The limits.
    • setLimits

      public NamespaceInfo.Builder setLimits(NamespaceInfo.Limits value)
       Namespace configured limits
       
      .temporal.api.namespace.v1.NamespaceInfo.Limits limits = 8;
    • setLimits

      public NamespaceInfo.Builder setLimits(NamespaceInfo.Limits.Builder builderForValue)
       Namespace configured limits
       
      .temporal.api.namespace.v1.NamespaceInfo.Limits limits = 8;
    • mergeLimits

      public NamespaceInfo.Builder mergeLimits(NamespaceInfo.Limits value)
       Namespace configured limits
       
      .temporal.api.namespace.v1.NamespaceInfo.Limits limits = 8;
    • clearLimits

      public NamespaceInfo.Builder clearLimits()
       Namespace configured limits
       
      .temporal.api.namespace.v1.NamespaceInfo.Limits limits = 8;
    • getLimitsBuilder

      public NamespaceInfo.Limits.Builder getLimitsBuilder()
       Namespace configured limits
       
      .temporal.api.namespace.v1.NamespaceInfo.Limits limits = 8;
    • getLimitsOrBuilder

      public NamespaceInfo.LimitsOrBuilder getLimitsOrBuilder()
       Namespace configured limits
       
      .temporal.api.namespace.v1.NamespaceInfo.Limits limits = 8;
      Specified by:
      getLimitsOrBuilder in interface NamespaceInfoOrBuilder
    • getSupportsSchedules

      public boolean getSupportsSchedules()
       Whether scheduled workflows are supported on this namespace. This is only needed
       temporarily while the feature is experimental, so we can give it a high tag.
       
      bool supports_schedules = 100;
      Specified by:
      getSupportsSchedules in interface NamespaceInfoOrBuilder
      Returns:
      The supportsSchedules.
    • setSupportsSchedules

      public NamespaceInfo.Builder setSupportsSchedules(boolean value)
       Whether scheduled workflows are supported on this namespace. This is only needed
       temporarily while the feature is experimental, so we can give it a high tag.
       
      bool supports_schedules = 100;
      Parameters:
      value - The supportsSchedules to set.
      Returns:
      This builder for chaining.
    • clearSupportsSchedules

      public NamespaceInfo.Builder clearSupportsSchedules()
       Whether scheduled workflows are supported on this namespace. This is only needed
       temporarily while the feature is experimental, so we can give it a high tag.
       
      bool supports_schedules = 100;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final NamespaceInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Builder>
    • mergeUnknownFields

      public final NamespaceInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Builder>