Class Namespace

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, NamespaceOrBuilder, java.io.Serializable

    @Generated(value="protoc",
               comments="annotations:Namespace.java.pb.meta")
    public final class Namespace
    extends com.google.protobuf.GeneratedMessageV3
    implements NamespaceOrBuilder
    Protobuf type temporal.api.cloud.namespace.v1.Namespace
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

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

        public java.lang.String getNamespace()
         The namespace identifier.
         
        string namespace = 1;
        Specified by:
        getNamespace in interface NamespaceOrBuilder
        Returns:
        The namespace.
      • getNamespaceBytes

        public com.google.protobuf.ByteString getNamespaceBytes()
         The namespace identifier.
         
        string namespace = 1;
        Specified by:
        getNamespaceBytes in interface NamespaceOrBuilder
        Returns:
        The bytes for namespace.
      • getResourceVersion

        public java.lang.String getResourceVersion()
         The current version of the namespace specification.
         The next update operation will have to include this version.
         
        string resource_version = 2;
        Specified by:
        getResourceVersion in interface NamespaceOrBuilder
        Returns:
        The resourceVersion.
      • getResourceVersionBytes

        public com.google.protobuf.ByteString getResourceVersionBytes()
         The current version of the namespace specification.
         The next update operation will have to include this version.
         
        string resource_version = 2;
        Specified by:
        getResourceVersionBytes in interface NamespaceOrBuilder
        Returns:
        The bytes for resourceVersion.
      • hasSpec

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

        public NamespaceSpec getSpec()
         The namespace specification.
         
        .temporal.api.cloud.namespace.v1.NamespaceSpec spec = 3;
        Specified by:
        getSpec in interface NamespaceOrBuilder
        Returns:
        The spec.
      • getState

        public java.lang.String getState()
         The current state of the namespace.
         
        string state = 4;
        Specified by:
        getState in interface NamespaceOrBuilder
        Returns:
        The state.
      • getStateBytes

        public com.google.protobuf.ByteString getStateBytes()
         The current state of the namespace.
         
        string state = 4;
        Specified by:
        getStateBytes in interface NamespaceOrBuilder
        Returns:
        The bytes for state.
      • getAsyncOperationId

        public java.lang.String getAsyncOperationId()
         The id of the async operation that is creating/updating/deleting the namespace, if any.
         
        string async_operation_id = 5;
        Specified by:
        getAsyncOperationId in interface NamespaceOrBuilder
        Returns:
        The asyncOperationId.
      • getAsyncOperationIdBytes

        public com.google.protobuf.ByteString getAsyncOperationIdBytes()
         The id of the async operation that is creating/updating/deleting the namespace, if any.
         
        string async_operation_id = 5;
        Specified by:
        getAsyncOperationIdBytes in interface NamespaceOrBuilder
        Returns:
        The bytes for asyncOperationId.
      • hasEndpoints

        public boolean hasEndpoints()
         The endpoints for the namespace.
         
        .temporal.api.cloud.namespace.v1.Endpoints endpoints = 6;
        Specified by:
        hasEndpoints in interface NamespaceOrBuilder
        Returns:
        Whether the endpoints field is set.
      • getEndpoints

        public Endpoints getEndpoints()
         The endpoints for the namespace.
         
        .temporal.api.cloud.namespace.v1.Endpoints endpoints = 6;
        Specified by:
        getEndpoints in interface NamespaceOrBuilder
        Returns:
        The endpoints.
      • getActiveRegion

        public java.lang.String getActiveRegion()
         The currently active region for the namespace.
         
        string active_region = 7;
        Specified by:
        getActiveRegion in interface NamespaceOrBuilder
        Returns:
        The activeRegion.
      • getActiveRegionBytes

        public com.google.protobuf.ByteString getActiveRegionBytes()
         The currently active region for the namespace.
         
        string active_region = 7;
        Specified by:
        getActiveRegionBytes in interface NamespaceOrBuilder
        Returns:
        The bytes for activeRegion.
      • hasLimits

        public boolean hasLimits()
         The limits set on the namespace currently.
         
        .temporal.api.cloud.namespace.v1.Limits limits = 8;
        Specified by:
        hasLimits in interface NamespaceOrBuilder
        Returns:
        Whether the limits field is set.
      • getLimits

        public Limits getLimits()
         The limits set on the namespace currently.
         
        .temporal.api.cloud.namespace.v1.Limits limits = 8;
        Specified by:
        getLimits in interface NamespaceOrBuilder
        Returns:
        The limits.
      • getPrivateConnectivitiesList

        public java.util.List<PrivateConnectivity> getPrivateConnectivitiesList()
         The private connectivities for the namespace, if any.
         
        repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
        Specified by:
        getPrivateConnectivitiesList in interface NamespaceOrBuilder
      • getPrivateConnectivitiesCount

        public int getPrivateConnectivitiesCount()
         The private connectivities for the namespace, if any.
         
        repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
        Specified by:
        getPrivateConnectivitiesCount in interface NamespaceOrBuilder
      • getPrivateConnectivities

        public PrivateConnectivity getPrivateConnectivities​(int index)
         The private connectivities for the namespace, if any.
         
        repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
        Specified by:
        getPrivateConnectivities in interface NamespaceOrBuilder
      • hasCreatedTime

        public boolean hasCreatedTime()
         The date and time when the namespace was created.
         
        .google.protobuf.Timestamp created_time = 10;
        Specified by:
        hasCreatedTime in interface NamespaceOrBuilder
        Returns:
        Whether the createdTime field is set.
      • getCreatedTime

        public com.google.protobuf.Timestamp getCreatedTime()
         The date and time when the namespace was created.
         
        .google.protobuf.Timestamp created_time = 10;
        Specified by:
        getCreatedTime in interface NamespaceOrBuilder
        Returns:
        The createdTime.
      • getCreatedTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreatedTimeOrBuilder()
         The date and time when the namespace was created.
         
        .google.protobuf.Timestamp created_time = 10;
        Specified by:
        getCreatedTimeOrBuilder in interface NamespaceOrBuilder
      • hasLastModifiedTime

        public boolean hasLastModifiedTime()
         The date and time when the namespace was last modified.
         Will not be set if the namespace has never been modified.
         
        .google.protobuf.Timestamp last_modified_time = 11;
        Specified by:
        hasLastModifiedTime in interface NamespaceOrBuilder
        Returns:
        Whether the lastModifiedTime field is set.
      • getLastModifiedTime

        public com.google.protobuf.Timestamp getLastModifiedTime()
         The date and time when the namespace was last modified.
         Will not be set if the namespace has never been modified.
         
        .google.protobuf.Timestamp last_modified_time = 11;
        Specified by:
        getLastModifiedTime in interface NamespaceOrBuilder
        Returns:
        The lastModifiedTime.
      • getLastModifiedTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder()
         The date and time when the namespace was last modified.
         Will not be set if the namespace has never been modified.
         
        .google.protobuf.Timestamp last_modified_time = 11;
        Specified by:
        getLastModifiedTimeOrBuilder in interface NamespaceOrBuilder
      • getRegionStatusCount

        public int getRegionStatusCount()
        Description copied from interface: NamespaceOrBuilder
         The status of each region where the namespace is available.
         The id of the region is the key and the status is the value of the map.
         
        map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12;
        Specified by:
        getRegionStatusCount in interface NamespaceOrBuilder
      • containsRegionStatus

        public boolean containsRegionStatus​(java.lang.String key)
         The status of each region where the namespace is available.
         The id of the region is the key and the status is the value of the map.
         
        map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12;
        Specified by:
        containsRegionStatus in interface NamespaceOrBuilder
      • getRegionStatusMap

        public java.util.Map<java.lang.String,​NamespaceRegionStatus> getRegionStatusMap()
         The status of each region where the namespace is available.
         The id of the region is the key and the status is the value of the map.
         
        map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12;
        Specified by:
        getRegionStatusMap in interface NamespaceOrBuilder
      • getRegionStatusOrDefault

        public NamespaceRegionStatus getRegionStatusOrDefault​(java.lang.String key,
                                                              NamespaceRegionStatus defaultValue)
         The status of each region where the namespace is available.
         The id of the region is the key and the status is the value of the map.
         
        map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12;
        Specified by:
        getRegionStatusOrDefault in interface NamespaceOrBuilder
      • getRegionStatusOrThrow

        public NamespaceRegionStatus getRegionStatusOrThrow​(java.lang.String key)
         The status of each region where the namespace is available.
         The id of the region is the key and the status is the value of the map.
         
        map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12;
        Specified by:
        getRegionStatusOrThrow in interface NamespaceOrBuilder
      • 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 java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.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​(java.lang.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 Namespace parseFrom​(java.nio.ByteBuffer data)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Namespace parseFrom​(java.nio.ByteBuffer data,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

        public static Namespace parseFrom​(java.io.InputStream input)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

        public static Namespace parseDelimitedFrom​(java.io.InputStream input)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

        public static Namespace parseFrom​(com.google.protobuf.CodedInputStream input)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

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

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

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

        public static Namespace getDefaultInstance()
      • parser

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

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