Class GetClusterInfoResponse.Builder

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

public static final class GetClusterInfoResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetClusterInfoResponse.Builder> implements GetClusterInfoResponseOrBuilder
 GetClusterInfoResponse contains information about Temporal cluster.
 
Protobuf type temporal.api.workflowservice.v1.GetClusterInfoResponse
  • 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<GetClusterInfoResponse.Builder>
    • internalGetMutableMapFieldReflection

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

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

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

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

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

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

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

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

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

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

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

      public GetClusterInfoResponse.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<GetClusterInfoResponse.Builder>
      Throws:
      IOException
    • getSupportedClientsCount

      public int getSupportedClientsCount()
      Description copied from interface: GetClusterInfoResponseOrBuilder
       Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli".
       Value is ranges of supported versions of this client i.e ">1.1.1 <=1.4.0 || ^5.0.0".
       
      map<string, string> supported_clients = 1;
      Specified by:
      getSupportedClientsCount in interface GetClusterInfoResponseOrBuilder
    • containsSupportedClients

      public boolean containsSupportedClients(String key)
       Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli".
       Value is ranges of supported versions of this client i.e ">1.1.1 <=1.4.0 || ^5.0.0".
       
      map<string, string> supported_clients = 1;
      Specified by:
      containsSupportedClients in interface GetClusterInfoResponseOrBuilder
    • getSupportedClients

      @Deprecated public Map<String,String> getSupportedClients()
      Deprecated.
      Specified by:
      getSupportedClients in interface GetClusterInfoResponseOrBuilder
    • getSupportedClientsMap

      public Map<String,String> getSupportedClientsMap()
       Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli".
       Value is ranges of supported versions of this client i.e ">1.1.1 <=1.4.0 || ^5.0.0".
       
      map<string, string> supported_clients = 1;
      Specified by:
      getSupportedClientsMap in interface GetClusterInfoResponseOrBuilder
    • getSupportedClientsOrDefault

      public String getSupportedClientsOrDefault(String key, String defaultValue)
       Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli".
       Value is ranges of supported versions of this client i.e ">1.1.1 <=1.4.0 || ^5.0.0".
       
      map<string, string> supported_clients = 1;
      Specified by:
      getSupportedClientsOrDefault in interface GetClusterInfoResponseOrBuilder
    • getSupportedClientsOrThrow

      public String getSupportedClientsOrThrow(String key)
       Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli".
       Value is ranges of supported versions of this client i.e ">1.1.1 <=1.4.0 || ^5.0.0".
       
      map<string, string> supported_clients = 1;
      Specified by:
      getSupportedClientsOrThrow in interface GetClusterInfoResponseOrBuilder
    • clearSupportedClients

      public GetClusterInfoResponse.Builder clearSupportedClients()
    • removeSupportedClients

      public GetClusterInfoResponse.Builder removeSupportedClients(String key)
       Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli".
       Value is ranges of supported versions of this client i.e ">1.1.1 <=1.4.0 || ^5.0.0".
       
      map<string, string> supported_clients = 1;
    • getMutableSupportedClients

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

      public GetClusterInfoResponse.Builder putSupportedClients(String key, String value)
       Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli".
       Value is ranges of supported versions of this client i.e ">1.1.1 <=1.4.0 || ^5.0.0".
       
      map<string, string> supported_clients = 1;
    • putAllSupportedClients

      public GetClusterInfoResponse.Builder putAllSupportedClients(Map<String,String> values)
       Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli".
       Value is ranges of supported versions of this client i.e ">1.1.1 <=1.4.0 || ^5.0.0".
       
      map<string, string> supported_clients = 1;
    • getServerVersion

      public String getServerVersion()
      string server_version = 2;
      Specified by:
      getServerVersion in interface GetClusterInfoResponseOrBuilder
      Returns:
      The serverVersion.
    • getServerVersionBytes

      public com.google.protobuf.ByteString getServerVersionBytes()
      string server_version = 2;
      Specified by:
      getServerVersionBytes in interface GetClusterInfoResponseOrBuilder
      Returns:
      The bytes for serverVersion.
    • setServerVersion

      public GetClusterInfoResponse.Builder setServerVersion(String value)
      string server_version = 2;
      Parameters:
      value - The serverVersion to set.
      Returns:
      This builder for chaining.
    • clearServerVersion

      public GetClusterInfoResponse.Builder clearServerVersion()
      string server_version = 2;
      Returns:
      This builder for chaining.
    • setServerVersionBytes

      public GetClusterInfoResponse.Builder setServerVersionBytes(com.google.protobuf.ByteString value)
      string server_version = 2;
      Parameters:
      value - The bytes for serverVersion to set.
      Returns:
      This builder for chaining.
    • getClusterId

      public String getClusterId()
      string cluster_id = 3;
      Specified by:
      getClusterId in interface GetClusterInfoResponseOrBuilder
      Returns:
      The clusterId.
    • getClusterIdBytes

      public com.google.protobuf.ByteString getClusterIdBytes()
      string cluster_id = 3;
      Specified by:
      getClusterIdBytes in interface GetClusterInfoResponseOrBuilder
      Returns:
      The bytes for clusterId.
    • setClusterId

      public GetClusterInfoResponse.Builder setClusterId(String value)
      string cluster_id = 3;
      Parameters:
      value - The clusterId to set.
      Returns:
      This builder for chaining.
    • clearClusterId

      public GetClusterInfoResponse.Builder clearClusterId()
      string cluster_id = 3;
      Returns:
      This builder for chaining.
    • setClusterIdBytes

      public GetClusterInfoResponse.Builder setClusterIdBytes(com.google.protobuf.ByteString value)
      string cluster_id = 3;
      Parameters:
      value - The bytes for clusterId to set.
      Returns:
      This builder for chaining.
    • hasVersionInfo

      public boolean hasVersionInfo()
      .temporal.api.version.v1.VersionInfo version_info = 4;
      Specified by:
      hasVersionInfo in interface GetClusterInfoResponseOrBuilder
      Returns:
      Whether the versionInfo field is set.
    • getVersionInfo

      public VersionInfo getVersionInfo()
      .temporal.api.version.v1.VersionInfo version_info = 4;
      Specified by:
      getVersionInfo in interface GetClusterInfoResponseOrBuilder
      Returns:
      The versionInfo.
    • setVersionInfo

      public GetClusterInfoResponse.Builder setVersionInfo(VersionInfo value)
      .temporal.api.version.v1.VersionInfo version_info = 4;
    • setVersionInfo

      public GetClusterInfoResponse.Builder setVersionInfo(VersionInfo.Builder builderForValue)
      .temporal.api.version.v1.VersionInfo version_info = 4;
    • mergeVersionInfo

      public GetClusterInfoResponse.Builder mergeVersionInfo(VersionInfo value)
      .temporal.api.version.v1.VersionInfo version_info = 4;
    • clearVersionInfo

      public GetClusterInfoResponse.Builder clearVersionInfo()
      .temporal.api.version.v1.VersionInfo version_info = 4;
    • getVersionInfoBuilder

      public VersionInfo.Builder getVersionInfoBuilder()
      .temporal.api.version.v1.VersionInfo version_info = 4;
    • getVersionInfoOrBuilder

      public VersionInfoOrBuilder getVersionInfoOrBuilder()
      .temporal.api.version.v1.VersionInfo version_info = 4;
      Specified by:
      getVersionInfoOrBuilder in interface GetClusterInfoResponseOrBuilder
    • getClusterName

      public String getClusterName()
      string cluster_name = 5;
      Specified by:
      getClusterName in interface GetClusterInfoResponseOrBuilder
      Returns:
      The clusterName.
    • getClusterNameBytes

      public com.google.protobuf.ByteString getClusterNameBytes()
      string cluster_name = 5;
      Specified by:
      getClusterNameBytes in interface GetClusterInfoResponseOrBuilder
      Returns:
      The bytes for clusterName.
    • setClusterName

      public GetClusterInfoResponse.Builder setClusterName(String value)
      string cluster_name = 5;
      Parameters:
      value - The clusterName to set.
      Returns:
      This builder for chaining.
    • clearClusterName

      public GetClusterInfoResponse.Builder clearClusterName()
      string cluster_name = 5;
      Returns:
      This builder for chaining.
    • setClusterNameBytes

      public GetClusterInfoResponse.Builder setClusterNameBytes(com.google.protobuf.ByteString value)
      string cluster_name = 5;
      Parameters:
      value - The bytes for clusterName to set.
      Returns:
      This builder for chaining.
    • getHistoryShardCount

      public int getHistoryShardCount()
      int32 history_shard_count = 6;
      Specified by:
      getHistoryShardCount in interface GetClusterInfoResponseOrBuilder
      Returns:
      The historyShardCount.
    • setHistoryShardCount

      public GetClusterInfoResponse.Builder setHistoryShardCount(int value)
      int32 history_shard_count = 6;
      Parameters:
      value - The historyShardCount to set.
      Returns:
      This builder for chaining.
    • clearHistoryShardCount

      public GetClusterInfoResponse.Builder clearHistoryShardCount()
      int32 history_shard_count = 6;
      Returns:
      This builder for chaining.
    • getPersistenceStore

      public String getPersistenceStore()
      string persistence_store = 7;
      Specified by:
      getPersistenceStore in interface GetClusterInfoResponseOrBuilder
      Returns:
      The persistenceStore.
    • getPersistenceStoreBytes

      public com.google.protobuf.ByteString getPersistenceStoreBytes()
      string persistence_store = 7;
      Specified by:
      getPersistenceStoreBytes in interface GetClusterInfoResponseOrBuilder
      Returns:
      The bytes for persistenceStore.
    • setPersistenceStore

      public GetClusterInfoResponse.Builder setPersistenceStore(String value)
      string persistence_store = 7;
      Parameters:
      value - The persistenceStore to set.
      Returns:
      This builder for chaining.
    • clearPersistenceStore

      public GetClusterInfoResponse.Builder clearPersistenceStore()
      string persistence_store = 7;
      Returns:
      This builder for chaining.
    • setPersistenceStoreBytes

      public GetClusterInfoResponse.Builder setPersistenceStoreBytes(com.google.protobuf.ByteString value)
      string persistence_store = 7;
      Parameters:
      value - The bytes for persistenceStore to set.
      Returns:
      This builder for chaining.
    • getVisibilityStore

      public String getVisibilityStore()
      string visibility_store = 8;
      Specified by:
      getVisibilityStore in interface GetClusterInfoResponseOrBuilder
      Returns:
      The visibilityStore.
    • getVisibilityStoreBytes

      public com.google.protobuf.ByteString getVisibilityStoreBytes()
      string visibility_store = 8;
      Specified by:
      getVisibilityStoreBytes in interface GetClusterInfoResponseOrBuilder
      Returns:
      The bytes for visibilityStore.
    • setVisibilityStore

      public GetClusterInfoResponse.Builder setVisibilityStore(String value)
      string visibility_store = 8;
      Parameters:
      value - The visibilityStore to set.
      Returns:
      This builder for chaining.
    • clearVisibilityStore

      public GetClusterInfoResponse.Builder clearVisibilityStore()
      string visibility_store = 8;
      Returns:
      This builder for chaining.
    • setVisibilityStoreBytes

      public GetClusterInfoResponse.Builder setVisibilityStoreBytes(com.google.protobuf.ByteString value)
      string visibility_store = 8;
      Parameters:
      value - The bytes for visibilityStore to set.
      Returns:
      This builder for chaining.
    • getInitialFailoverVersion

      public long getInitialFailoverVersion()
      int64 initial_failover_version = 9;
      Specified by:
      getInitialFailoverVersion in interface GetClusterInfoResponseOrBuilder
      Returns:
      The initialFailoverVersion.
    • setInitialFailoverVersion

      public GetClusterInfoResponse.Builder setInitialFailoverVersion(long value)
      int64 initial_failover_version = 9;
      Parameters:
      value - The initialFailoverVersion to set.
      Returns:
      This builder for chaining.
    • clearInitialFailoverVersion

      public GetClusterInfoResponse.Builder clearInitialFailoverVersion()
      int64 initial_failover_version = 9;
      Returns:
      This builder for chaining.
    • getFailoverVersionIncrement

      public long getFailoverVersionIncrement()
      int64 failover_version_increment = 10;
      Specified by:
      getFailoverVersionIncrement in interface GetClusterInfoResponseOrBuilder
      Returns:
      The failoverVersionIncrement.
    • setFailoverVersionIncrement

      public GetClusterInfoResponse.Builder setFailoverVersionIncrement(long value)
      int64 failover_version_increment = 10;
      Parameters:
      value - The failoverVersionIncrement to set.
      Returns:
      This builder for chaining.
    • clearFailoverVersionIncrement

      public GetClusterInfoResponse.Builder clearFailoverVersionIncrement()
      int64 failover_version_increment = 10;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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