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,java.io.Serializable
@Generated(value="protoc", comments="annotations:GetClusterInfoResponse.java.pb.meta") public final class GetClusterInfoResponse extends com.google.protobuf.GeneratedMessageV3 implements GetClusterInfoResponseOrBuilderGetClusterInfoResponse contains information about Temporal cluster.
Protobuf typetemporal.api.workflowservice.v1.GetClusterInfoResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetClusterInfoResponse.BuilderGetClusterInfoResponse contains information about Temporal cluster.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCLUSTER_ID_FIELD_NUMBERstatic intCLUSTER_NAME_FIELD_NUMBERstatic intFAILOVER_VERSION_INCREMENT_FIELD_NUMBERstatic intHISTORY_SHARD_COUNT_FIELD_NUMBERstatic intINITIAL_FAILOVER_VERSION_FIELD_NUMBERstatic intPERSISTENCE_STORE_FIELD_NUMBERstatic intSERVER_VERSION_FIELD_NUMBERstatic intSUPPORTED_CLIENTS_FIELD_NUMBERstatic intVERSION_INFO_FIELD_NUMBERstatic intVISIBILITY_STORE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsSupportedClients(java.lang.String key)Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli".booleanequals(java.lang.Object obj)java.lang.StringgetClusterId()string cluster_id = 3;com.google.protobuf.ByteStringgetClusterIdBytes()string cluster_id = 3;java.lang.StringgetClusterName()string cluster_name = 5;com.google.protobuf.ByteStringgetClusterNameBytes()string cluster_name = 5;static GetClusterInfoResponsegetDefaultInstance()GetClusterInfoResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetFailoverVersionIncrement()int64 failover_version_increment = 10;intgetHistoryShardCount()int32 history_shard_count = 6;longgetInitialFailoverVersion()int64 initial_failover_version = 9;com.google.protobuf.Parser<GetClusterInfoResponse>getParserForType()java.lang.StringgetPersistenceStore()string persistence_store = 7;com.google.protobuf.ByteStringgetPersistenceStoreBytes()string persistence_store = 7;intgetSerializedSize()java.lang.StringgetServerVersion()string server_version = 2;com.google.protobuf.ByteStringgetServerVersionBytes()string server_version = 2;java.util.Map<java.lang.String,java.lang.String>getSupportedClients()Deprecated.intgetSupportedClientsCount()Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli".java.util.Map<java.lang.String,java.lang.String>getSupportedClientsMap()Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli".java.lang.StringgetSupportedClientsOrDefault(java.lang.String key, java.lang.String defaultValue)Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli".java.lang.StringgetSupportedClientsOrThrow(java.lang.String key)Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli".VersionInfogetVersionInfo().temporal.api.version.v1.VersionInfo version_info = 4;VersionInfoOrBuildergetVersionInfoOrBuilder().temporal.api.version.v1.VersionInfo version_info = 4;java.lang.StringgetVisibilityStore()string visibility_store = 8;com.google.protobuf.ByteStringgetVisibilityStoreBytes()string visibility_store = 8;inthashCode()booleanhasVersionInfo().temporal.api.version.v1.VersionInfo version_info = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)booleanisInitialized()static GetClusterInfoResponse.BuildernewBuilder()static GetClusterInfoResponse.BuildernewBuilder(GetClusterInfoResponse prototype)GetClusterInfoResponse.BuildernewBuilderForType()protected GetClusterInfoResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GetClusterInfoResponseparseDelimitedFrom(java.io.InputStream input)static GetClusterInfoResponseparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GetClusterInfoResponseparseFrom(byte[] data)static GetClusterInfoResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GetClusterInfoResponseparseFrom(com.google.protobuf.ByteString data)static GetClusterInfoResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GetClusterInfoResponseparseFrom(com.google.protobuf.CodedInputStream input)static GetClusterInfoResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GetClusterInfoResponseparseFrom(java.io.InputStream input)static GetClusterInfoResponseparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GetClusterInfoResponseparseFrom(java.nio.ByteBuffer data)static GetClusterInfoResponseparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<GetClusterInfoResponse>parser()GetClusterInfoResponse.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SUPPORTED_CLIENTS_FIELD_NUMBER
public static final int SUPPORTED_CLIENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVER_VERSION_FIELD_NUMBER
public static final int SERVER_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLUSTER_ID_FIELD_NUMBER
public static final int CLUSTER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_INFO_FIELD_NUMBER
public static final int VERSION_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLUSTER_NAME_FIELD_NUMBER
public static final int CLUSTER_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HISTORY_SHARD_COUNT_FIELD_NUMBER
public static final int HISTORY_SHARD_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PERSISTENCE_STORE_FIELD_NUMBER
public static final int PERSISTENCE_STORE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VISIBILITY_STORE_FIELD_NUMBER
public static final int VISIBILITY_STORE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INITIAL_FAILOVER_VERSION_FIELD_NUMBER
public static final int INITIAL_FAILOVER_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FAILOVER_VERSION_INCREMENT_FIELD_NUMBER
public static final int FAILOVER_VERSION_INCREMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getSupportedClientsCount
public int getSupportedClientsCount()
Description copied from interface:GetClusterInfoResponseOrBuilderKey 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:
getSupportedClientsCountin interfaceGetClusterInfoResponseOrBuilder
-
containsSupportedClients
public boolean containsSupportedClients(java.lang.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:
containsSupportedClientsin interfaceGetClusterInfoResponseOrBuilder
-
getSupportedClients
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getSupportedClients()
Deprecated.UsegetSupportedClientsMap()instead.- Specified by:
getSupportedClientsin interfaceGetClusterInfoResponseOrBuilder
-
getSupportedClientsMap
public java.util.Map<java.lang.String,java.lang.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:
getSupportedClientsMapin interfaceGetClusterInfoResponseOrBuilder
-
getSupportedClientsOrDefault
public java.lang.String getSupportedClientsOrDefault(java.lang.String key, java.lang.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:
getSupportedClientsOrDefaultin interfaceGetClusterInfoResponseOrBuilder
-
getSupportedClientsOrThrow
public java.lang.String getSupportedClientsOrThrow(java.lang.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:
getSupportedClientsOrThrowin interfaceGetClusterInfoResponseOrBuilder
-
getServerVersion
public java.lang.String getServerVersion()
string server_version = 2;- Specified by:
getServerVersionin interfaceGetClusterInfoResponseOrBuilder- Returns:
- The serverVersion.
-
getServerVersionBytes
public com.google.protobuf.ByteString getServerVersionBytes()
string server_version = 2;- Specified by:
getServerVersionBytesin interfaceGetClusterInfoResponseOrBuilder- Returns:
- The bytes for serverVersion.
-
getClusterId
public java.lang.String getClusterId()
string cluster_id = 3;- Specified by:
getClusterIdin interfaceGetClusterInfoResponseOrBuilder- Returns:
- The clusterId.
-
getClusterIdBytes
public com.google.protobuf.ByteString getClusterIdBytes()
string cluster_id = 3;- Specified by:
getClusterIdBytesin interfaceGetClusterInfoResponseOrBuilder- Returns:
- The bytes for clusterId.
-
hasVersionInfo
public boolean hasVersionInfo()
.temporal.api.version.v1.VersionInfo version_info = 4;- Specified by:
hasVersionInfoin interfaceGetClusterInfoResponseOrBuilder- Returns:
- Whether the versionInfo field is set.
-
getVersionInfo
public VersionInfo getVersionInfo()
.temporal.api.version.v1.VersionInfo version_info = 4;- Specified by:
getVersionInfoin interfaceGetClusterInfoResponseOrBuilder- Returns:
- The versionInfo.
-
getVersionInfoOrBuilder
public VersionInfoOrBuilder getVersionInfoOrBuilder()
.temporal.api.version.v1.VersionInfo version_info = 4;- Specified by:
getVersionInfoOrBuilderin interfaceGetClusterInfoResponseOrBuilder
-
getClusterName
public java.lang.String getClusterName()
string cluster_name = 5;- Specified by:
getClusterNamein interfaceGetClusterInfoResponseOrBuilder- Returns:
- The clusterName.
-
getClusterNameBytes
public com.google.protobuf.ByteString getClusterNameBytes()
string cluster_name = 5;- Specified by:
getClusterNameBytesin interfaceGetClusterInfoResponseOrBuilder- Returns:
- The bytes for clusterName.
-
getHistoryShardCount
public int getHistoryShardCount()
int32 history_shard_count = 6;- Specified by:
getHistoryShardCountin interfaceGetClusterInfoResponseOrBuilder- Returns:
- The historyShardCount.
-
getPersistenceStore
public java.lang.String getPersistenceStore()
string persistence_store = 7;- Specified by:
getPersistenceStorein interfaceGetClusterInfoResponseOrBuilder- Returns:
- The persistenceStore.
-
getPersistenceStoreBytes
public com.google.protobuf.ByteString getPersistenceStoreBytes()
string persistence_store = 7;- Specified by:
getPersistenceStoreBytesin interfaceGetClusterInfoResponseOrBuilder- Returns:
- The bytes for persistenceStore.
-
getVisibilityStore
public java.lang.String getVisibilityStore()
string visibility_store = 8;- Specified by:
getVisibilityStorein interfaceGetClusterInfoResponseOrBuilder- Returns:
- The visibilityStore.
-
getVisibilityStoreBytes
public com.google.protobuf.ByteString getVisibilityStoreBytes()
string visibility_store = 8;- Specified by:
getVisibilityStoreBytesin interfaceGetClusterInfoResponseOrBuilder- Returns:
- The bytes for visibilityStore.
-
getInitialFailoverVersion
public long getInitialFailoverVersion()
int64 initial_failover_version = 9;- Specified by:
getInitialFailoverVersionin interfaceGetClusterInfoResponseOrBuilder- Returns:
- The initialFailoverVersion.
-
getFailoverVersionIncrement
public long getFailoverVersionIncrement()
int64 failover_version_increment = 10;- Specified by:
getFailoverVersionIncrementin interfaceGetClusterInfoResponseOrBuilder- Returns:
- The failoverVersionIncrement.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GetClusterInfoResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetClusterInfoResponse parseFrom(java.nio.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(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static GetClusterInfoResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static GetClusterInfoResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static GetClusterInfoResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static GetClusterInfoResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static GetClusterInfoResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public GetClusterInfoResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GetClusterInfoResponse.Builder newBuilder()
-
newBuilder
public static GetClusterInfoResponse.Builder newBuilder(GetClusterInfoResponse prototype)
-
toBuilder
public GetClusterInfoResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GetClusterInfoResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GetClusterInfoResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-