Class GetClusterInfoResponse

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

@Generated(value="protoc", comments="annotations:GetClusterInfoResponse.java.pb.meta") public final class GetClusterInfoResponse extends com.google.protobuf.GeneratedMessageV3 implements GetClusterInfoResponseOrBuilder
 GetClusterInfoResponse contains information about Temporal cluster.
 
Protobuf type temporal.api.workflowservice.v1.GetClusterInfoResponse
See Also:
  • Field Details

    • SUPPORTED_CLIENTS_FIELD_NUMBER

      public static final int SUPPORTED_CLIENTS_FIELD_NUMBER
      See Also:
    • SERVER_VERSION_FIELD_NUMBER

      public static final int SERVER_VERSION_FIELD_NUMBER
      See Also:
    • CLUSTER_ID_FIELD_NUMBER

      public static final int CLUSTER_ID_FIELD_NUMBER
      See Also:
    • VERSION_INFO_FIELD_NUMBER

      public static final int VERSION_INFO_FIELD_NUMBER
      See Also:
    • CLUSTER_NAME_FIELD_NUMBER

      public static final int CLUSTER_NAME_FIELD_NUMBER
      See Also:
    • HISTORY_SHARD_COUNT_FIELD_NUMBER

      public static final int HISTORY_SHARD_COUNT_FIELD_NUMBER
      See Also:
    • PERSISTENCE_STORE_FIELD_NUMBER

      public static final int PERSISTENCE_STORE_FIELD_NUMBER
      See Also:
    • VISIBILITY_STORE_FIELD_NUMBER

      public static final int VISIBILITY_STORE_FIELD_NUMBER
      See Also:
    • INITIAL_FAILOVER_VERSION_FIELD_NUMBER

      public static final int INITIAL_FAILOVER_VERSION_FIELD_NUMBER
      See Also:
    • FAILOVER_VERSION_INCREMENT_FIELD_NUMBER

      public static final int FAILOVER_VERSION_INCREMENT_FIELD_NUMBER
      See Also:
  • 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
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • getHistoryShardCount

      public int getHistoryShardCount()
      int32 history_shard_count = 6;
      Specified by:
      getHistoryShardCount in interface GetClusterInfoResponseOrBuilder
      Returns:
      The historyShardCount.
    • 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.
    • 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.
    • getInitialFailoverVersion

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

      public long getFailoverVersionIncrement()
      int64 failover_version_increment = 10;
      Specified by:
      getFailoverVersionIncrement in interface GetClusterInfoResponseOrBuilder
      Returns:
      The failoverVersionIncrement.
    • 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 GetClusterInfoResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static GetClusterInfoResponse.Builder newBuilder()
    • newBuilder

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

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

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

      public static GetClusterInfoResponse getDefaultInstance()
    • parser

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

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