Class NamespaceInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.namespace.v1.NamespaceInfo
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, NamespaceInfoOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:NamespaceInfo.java.pb.meta") public final class NamespaceInfo extends com.google.protobuf.GeneratedMessageV3 implements NamespaceInfoOrBuilder
Protobuf type temporal.api.namespace.v1.NamespaceInfo
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
    • 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.
    • 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.
    • getState

      public NamespaceState getState()
      .temporal.api.enums.v1.NamespaceState state = 2;
      Specified by:
      getState in interface NamespaceInfoOrBuilder
      Returns:
      The state.
    • 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.
    • 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.
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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 NamespaceInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static NamespaceInfo.Builder newBuilder()
    • newBuilder

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

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

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

      public static NamespaceInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<NamespaceInfo> 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 NamespaceInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder