Class DescribeNamespaceResponse.Builder

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

public static final class DescribeNamespaceResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DescribeNamespaceResponse.Builder> implements DescribeNamespaceResponseOrBuilder
Protobuf type temporal.api.workflowservice.v1.DescribeNamespaceResponse
  • Method Details

    • 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>
    • 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<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
    • 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<DescribeNamespaceResponse.Builder>
    • setField

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

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

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

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

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

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

    • 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 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:
      IOException
    • hasNamespaceInfo

      public boolean hasNamespaceInfo()
      .temporal.api.namespace.v1.NamespaceInfo namespace_info = 1;
      Specified by:
      hasNamespaceInfo in interface DescribeNamespaceResponseOrBuilder
      Returns:
      Whether the namespaceInfo field is set.
    • getNamespaceInfo

      public NamespaceInfo getNamespaceInfo()
      .temporal.api.namespace.v1.NamespaceInfo namespace_info = 1;
      Specified by:
      getNamespaceInfo in interface DescribeNamespaceResponseOrBuilder
      Returns:
      The namespaceInfo.
    • setNamespaceInfo

      public DescribeNamespaceResponse.Builder setNamespaceInfo(NamespaceInfo value)
      .temporal.api.namespace.v1.NamespaceInfo namespace_info = 1;
    • setNamespaceInfo

      public DescribeNamespaceResponse.Builder setNamespaceInfo(NamespaceInfo.Builder builderForValue)
      .temporal.api.namespace.v1.NamespaceInfo namespace_info = 1;
    • mergeNamespaceInfo

      public DescribeNamespaceResponse.Builder mergeNamespaceInfo(NamespaceInfo value)
      .temporal.api.namespace.v1.NamespaceInfo namespace_info = 1;
    • clearNamespaceInfo

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

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

      public NamespaceInfoOrBuilder getNamespaceInfoOrBuilder()
      .temporal.api.namespace.v1.NamespaceInfo namespace_info = 1;
      Specified by:
      getNamespaceInfoOrBuilder in interface DescribeNamespaceResponseOrBuilder
    • hasConfig

      public boolean hasConfig()
      .temporal.api.namespace.v1.NamespaceConfig config = 2;
      Specified by:
      hasConfig in interface DescribeNamespaceResponseOrBuilder
      Returns:
      Whether the config field is set.
    • getConfig

      public NamespaceConfig getConfig()
      .temporal.api.namespace.v1.NamespaceConfig config = 2;
      Specified by:
      getConfig in interface DescribeNamespaceResponseOrBuilder
      Returns:
      The config.
    • setConfig

      .temporal.api.namespace.v1.NamespaceConfig config = 2;
    • setConfig

      public DescribeNamespaceResponse.Builder setConfig(NamespaceConfig.Builder builderForValue)
      .temporal.api.namespace.v1.NamespaceConfig config = 2;
    • mergeConfig

      .temporal.api.namespace.v1.NamespaceConfig config = 2;
    • clearConfig

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

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

      public NamespaceConfigOrBuilder getConfigOrBuilder()
      .temporal.api.namespace.v1.NamespaceConfig config = 2;
      Specified by:
      getConfigOrBuilder in interface DescribeNamespaceResponseOrBuilder
    • 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.
    • getReplicationConfig

      public NamespaceReplicationConfig getReplicationConfig()
      .temporal.api.replication.v1.NamespaceReplicationConfig replication_config = 3;
      Specified by:
      getReplicationConfig in interface DescribeNamespaceResponseOrBuilder
      Returns:
      The replicationConfig.
    • setReplicationConfig

      .temporal.api.replication.v1.NamespaceReplicationConfig replication_config = 3;
    • setReplicationConfig

      public DescribeNamespaceResponse.Builder setReplicationConfig(NamespaceReplicationConfig.Builder builderForValue)
      .temporal.api.replication.v1.NamespaceReplicationConfig replication_config = 3;
    • mergeReplicationConfig

      public DescribeNamespaceResponse.Builder mergeReplicationConfig(NamespaceReplicationConfig value)
      .temporal.api.replication.v1.NamespaceReplicationConfig replication_config = 3;
    • 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;
    • getReplicationConfigOrBuilder

      public NamespaceReplicationConfigOrBuilder getReplicationConfigOrBuilder()
      .temporal.api.replication.v1.NamespaceReplicationConfig replication_config = 3;
      Specified by:
      getReplicationConfigOrBuilder in interface DescribeNamespaceResponseOrBuilder
    • getFailoverVersion

      public long getFailoverVersion()
      int64 failover_version = 4;
      Specified by:
      getFailoverVersion in interface DescribeNamespaceResponseOrBuilder
      Returns:
      The failoverVersion.
    • setFailoverVersion

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

      public DescribeNamespaceResponse.Builder clearFailoverVersion()
      int64 failover_version = 4;
      Returns:
      This builder for chaining.
    • getIsGlobalNamespace

      public boolean getIsGlobalNamespace()
      bool is_global_namespace = 5;
      Specified by:
      getIsGlobalNamespace in interface DescribeNamespaceResponseOrBuilder
      Returns:
      The isGlobalNamespace.
    • setIsGlobalNamespace

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

      public DescribeNamespaceResponse.Builder clearIsGlobalNamespace()
      bool is_global_namespace = 5;
      Returns:
      This builder for chaining.
    • getFailoverHistoryList

      public 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(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 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 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>