Class DescribeNamespaceResponse.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeNamespaceResponse.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<DescribeNamespaceResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public DescribeNamespaceResponse.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeNamespaceResponse.Builder>
      • setRepeatedField

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

        public DescribeNamespaceResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeNamespaceResponse.Builder>
      • isInitialized

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

        public DescribeNamespaceResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws java.io.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<DescribeNamespaceResponse.Builder>
        Throws:
        java.io.IOException
      • getNamespaceInfoBuilder

        public NamespaceInfo.Builder getNamespaceInfoBuilder()
        .temporal.api.namespace.v1.NamespaceInfo namespace_info = 1;
      • getConfigBuilder

        public NamespaceConfig.Builder getConfigBuilder()
        .temporal.api.namespace.v1.NamespaceConfig config = 2;
      • hasReplicationConfig

        public boolean hasReplicationConfig()
        .temporal.api.replication.v1.NamespaceReplicationConfig replication_config = 3;
        Specified by:
        hasReplicationConfig in interface DescribeNamespaceResponseOrBuilder
        Returns:
        Whether the replicationConfig field is set.
      • clearReplicationConfig

        public DescribeNamespaceResponse.Builder clearReplicationConfig()
        .temporal.api.replication.v1.NamespaceReplicationConfig replication_config = 3;
      • getReplicationConfigBuilder

        public NamespaceReplicationConfig.Builder getReplicationConfigBuilder()
        .temporal.api.replication.v1.NamespaceReplicationConfig replication_config = 3;
      • setFailoverVersion

        public DescribeNamespaceResponse.Builder setFailoverVersion​(long value)
        int64 failover_version = 4;
        Parameters:
        value - The failoverVersion to set.
        Returns:
        This builder for chaining.
      • setIsGlobalNamespace

        public DescribeNamespaceResponse.Builder setIsGlobalNamespace​(boolean value)
        bool is_global_namespace = 5;
        Parameters:
        value - The isGlobalNamespace to set.
        Returns:
        This builder for chaining.
      • getFailoverHistoryList

        public java.util.List<FailoverStatus> getFailoverHistoryList()
         Contains the historical state of failover_versions for the cluster, truncated to contain only the last N
         states to ensure that the list does not grow unbounded.
         
        repeated .temporal.api.replication.v1.FailoverStatus failover_history = 6;
        Specified by:
        getFailoverHistoryList in interface DescribeNamespaceResponseOrBuilder
      • getFailoverHistoryCount

        public int getFailoverHistoryCount()
         Contains the historical state of failover_versions for the cluster, truncated to contain only the last N
         states to ensure that the list does not grow unbounded.
         
        repeated .temporal.api.replication.v1.FailoverStatus failover_history = 6;
        Specified by:
        getFailoverHistoryCount in interface DescribeNamespaceResponseOrBuilder
      • getFailoverHistory

        public FailoverStatus getFailoverHistory​(int index)
         Contains the historical state of failover_versions for the cluster, truncated to contain only the last N
         states to ensure that the list does not grow unbounded.
         
        repeated .temporal.api.replication.v1.FailoverStatus failover_history = 6;
        Specified by:
        getFailoverHistory in interface DescribeNamespaceResponseOrBuilder
      • setFailoverHistory

        public DescribeNamespaceResponse.Builder setFailoverHistory​(int index,
                                                                    FailoverStatus value)
         Contains the historical state of failover_versions for the cluster, truncated to contain only the last N
         states to ensure that the list does not grow unbounded.
         
        repeated .temporal.api.replication.v1.FailoverStatus failover_history = 6;
      • setFailoverHistory

        public DescribeNamespaceResponse.Builder setFailoverHistory​(int index,
                                                                    FailoverStatus.Builder builderForValue)
         Contains the historical state of failover_versions for the cluster, truncated to contain only the last N
         states to ensure that the list does not grow unbounded.
         
        repeated .temporal.api.replication.v1.FailoverStatus failover_history = 6;
      • addFailoverHistory

        public DescribeNamespaceResponse.Builder addFailoverHistory​(FailoverStatus value)
         Contains the historical state of failover_versions for the cluster, truncated to contain only the last N
         states to ensure that the list does not grow unbounded.
         
        repeated .temporal.api.replication.v1.FailoverStatus failover_history = 6;
      • addFailoverHistory

        public DescribeNamespaceResponse.Builder addFailoverHistory​(int index,
                                                                    FailoverStatus value)
         Contains the historical state of failover_versions for the cluster, truncated to contain only the last N
         states to ensure that the list does not grow unbounded.
         
        repeated .temporal.api.replication.v1.FailoverStatus failover_history = 6;
      • addFailoverHistory

        public DescribeNamespaceResponse.Builder addFailoverHistory​(FailoverStatus.Builder builderForValue)
         Contains the historical state of failover_versions for the cluster, truncated to contain only the last N
         states to ensure that the list does not grow unbounded.
         
        repeated .temporal.api.replication.v1.FailoverStatus failover_history = 6;
      • addFailoverHistory

        public DescribeNamespaceResponse.Builder addFailoverHistory​(int index,
                                                                    FailoverStatus.Builder builderForValue)
         Contains the historical state of failover_versions for the cluster, truncated to contain only the last N
         states to ensure that the list does not grow unbounded.
         
        repeated .temporal.api.replication.v1.FailoverStatus failover_history = 6;
      • addAllFailoverHistory

        public DescribeNamespaceResponse.Builder addAllFailoverHistory​(java.lang.Iterable<? extends FailoverStatus> values)
         Contains the historical state of failover_versions for the cluster, truncated to contain only the last N
         states to ensure that the list does not grow unbounded.
         
        repeated .temporal.api.replication.v1.FailoverStatus failover_history = 6;
      • clearFailoverHistory

        public DescribeNamespaceResponse.Builder clearFailoverHistory()
         Contains the historical state of failover_versions for the cluster, truncated to contain only the last N
         states to ensure that the list does not grow unbounded.
         
        repeated .temporal.api.replication.v1.FailoverStatus failover_history = 6;
      • removeFailoverHistory

        public DescribeNamespaceResponse.Builder removeFailoverHistory​(int index)
         Contains the historical state of failover_versions for the cluster, truncated to contain only the last N
         states to ensure that the list does not grow unbounded.
         
        repeated .temporal.api.replication.v1.FailoverStatus failover_history = 6;
      • getFailoverHistoryBuilder

        public FailoverStatus.Builder getFailoverHistoryBuilder​(int index)
         Contains the historical state of failover_versions for the cluster, truncated to contain only the last N
         states to ensure that the list does not grow unbounded.
         
        repeated .temporal.api.replication.v1.FailoverStatus failover_history = 6;
      • getFailoverHistoryOrBuilder

        public FailoverStatusOrBuilder getFailoverHistoryOrBuilder​(int index)
         Contains the historical state of failover_versions for the cluster, truncated to contain only the last N
         states to ensure that the list does not grow unbounded.
         
        repeated .temporal.api.replication.v1.FailoverStatus failover_history = 6;
        Specified by:
        getFailoverHistoryOrBuilder in interface DescribeNamespaceResponseOrBuilder
      • getFailoverHistoryOrBuilderList

        public java.util.List<? extends FailoverStatusOrBuilder> getFailoverHistoryOrBuilderList()
         Contains the historical state of failover_versions for the cluster, truncated to contain only the last N
         states to ensure that the list does not grow unbounded.
         
        repeated .temporal.api.replication.v1.FailoverStatus failover_history = 6;
        Specified by:
        getFailoverHistoryOrBuilderList in interface DescribeNamespaceResponseOrBuilder
      • addFailoverHistoryBuilder

        public FailoverStatus.Builder addFailoverHistoryBuilder()
         Contains the historical state of failover_versions for the cluster, truncated to contain only the last N
         states to ensure that the list does not grow unbounded.
         
        repeated .temporal.api.replication.v1.FailoverStatus failover_history = 6;
      • addFailoverHistoryBuilder

        public FailoverStatus.Builder addFailoverHistoryBuilder​(int index)
         Contains the historical state of failover_versions for the cluster, truncated to contain only the last N
         states to ensure that the list does not grow unbounded.
         
        repeated .temporal.api.replication.v1.FailoverStatus failover_history = 6;
      • getFailoverHistoryBuilderList

        public java.util.List<FailoverStatus.Builder> getFailoverHistoryBuilderList()
         Contains the historical state of failover_versions for the cluster, truncated to contain only the last N
         states to ensure that the list does not grow unbounded.
         
        repeated .temporal.api.replication.v1.FailoverStatus failover_history = 6;
      • setUnknownFields

        public final DescribeNamespaceResponse.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<DescribeNamespaceResponse.Builder>
      • mergeUnknownFields

        public final DescribeNamespaceResponse.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<DescribeNamespaceResponse.Builder>