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 GetClusterInfoResponseOrBuilder
GetClusterInfoResponse 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 class
GetClusterInfoResponse.Builder
GetClusterInfoResponse 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<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CLUSTER_ID_FIELD_NUMBER
static int
CLUSTER_NAME_FIELD_NUMBER
static int
HISTORY_SHARD_COUNT_FIELD_NUMBER
static int
PERSISTENCE_STORE_FIELD_NUMBER
static int
SERVER_VERSION_FIELD_NUMBER
static int
SUPPORTED_CLIENTS_FIELD_NUMBER
static int
VERSION_INFO_FIELD_NUMBER
static int
VISIBILITY_STORE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsSupportedClients(java.lang.String key)
Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli".boolean
equals(java.lang.Object obj)
java.lang.String
getClusterId()
string cluster_id = 3;
com.google.protobuf.ByteString
getClusterIdBytes()
string cluster_id = 3;
java.lang.String
getClusterName()
string cluster_name = 5;
com.google.protobuf.ByteString
getClusterNameBytes()
string cluster_name = 5;
static GetClusterInfoResponse
getDefaultInstance()
GetClusterInfoResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
int
getHistoryShardCount()
int32 history_shard_count = 6;
com.google.protobuf.Parser<GetClusterInfoResponse>
getParserForType()
java.lang.String
getPersistenceStore()
string persistence_store = 7;
com.google.protobuf.ByteString
getPersistenceStoreBytes()
string persistence_store = 7;
int
getSerializedSize()
java.lang.String
getServerVersion()
string server_version = 2;
com.google.protobuf.ByteString
getServerVersionBytes()
string server_version = 2;
java.util.Map<java.lang.String,java.lang.String>
getSupportedClients()
Deprecated.int
getSupportedClientsCount()
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.String
getSupportedClientsOrDefault(java.lang.String key, java.lang.String defaultValue)
Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli".java.lang.String
getSupportedClientsOrThrow(java.lang.String key)
Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli".com.google.protobuf.UnknownFieldSet
getUnknownFields()
VersionInfo
getVersionInfo()
.temporal.api.version.v1.VersionInfo version_info = 4;
VersionInfoOrBuilder
getVersionInfoOrBuilder()
.temporal.api.version.v1.VersionInfo version_info = 4;
java.lang.String
getVisibilityStore()
string visibility_store = 8;
com.google.protobuf.ByteString
getVisibilityStoreBytes()
string visibility_store = 8;
int
hashCode()
boolean
hasVersionInfo()
.temporal.api.version.v1.VersionInfo version_info = 4;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static GetClusterInfoResponse.Builder
newBuilder()
static GetClusterInfoResponse.Builder
newBuilder(GetClusterInfoResponse prototype)
GetClusterInfoResponse.Builder
newBuilderForType()
protected GetClusterInfoResponse.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static GetClusterInfoResponse
parseDelimitedFrom(java.io.InputStream input)
static GetClusterInfoResponse
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GetClusterInfoResponse
parseFrom(byte[] data)
static GetClusterInfoResponse
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GetClusterInfoResponse
parseFrom(com.google.protobuf.ByteString data)
static GetClusterInfoResponse
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GetClusterInfoResponse
parseFrom(com.google.protobuf.CodedInputStream input)
static GetClusterInfoResponse
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GetClusterInfoResponse
parseFrom(java.io.InputStream input)
static GetClusterInfoResponse
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GetClusterInfoResponse
parseFrom(java.nio.ByteBuffer data)
static GetClusterInfoResponse
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<GetClusterInfoResponse>
parser()
GetClusterInfoResponse.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.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 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:
containsSupportedClients
in interfaceGetClusterInfoResponseOrBuilder
-
getSupportedClients
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getSupportedClients()
Deprecated.UsegetSupportedClientsMap()
instead.- Specified by:
getSupportedClients
in 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:
getSupportedClientsMap
in 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:
getSupportedClientsOrDefault
in 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:
getSupportedClientsOrThrow
in interfaceGetClusterInfoResponseOrBuilder
-
getServerVersion
public java.lang.String getServerVersion()
string server_version = 2;
- Specified by:
getServerVersion
in interfaceGetClusterInfoResponseOrBuilder
- Returns:
- The serverVersion.
-
getServerVersionBytes
public com.google.protobuf.ByteString getServerVersionBytes()
string server_version = 2;
- Specified by:
getServerVersionBytes
in interfaceGetClusterInfoResponseOrBuilder
- Returns:
- The bytes for serverVersion.
-
getClusterId
public java.lang.String getClusterId()
string cluster_id = 3;
- Specified by:
getClusterId
in interfaceGetClusterInfoResponseOrBuilder
- Returns:
- The clusterId.
-
getClusterIdBytes
public com.google.protobuf.ByteString getClusterIdBytes()
string cluster_id = 3;
- Specified by:
getClusterIdBytes
in interfaceGetClusterInfoResponseOrBuilder
- Returns:
- The bytes for clusterId.
-
hasVersionInfo
public boolean hasVersionInfo()
.temporal.api.version.v1.VersionInfo version_info = 4;
- Specified by:
hasVersionInfo
in interfaceGetClusterInfoResponseOrBuilder
- Returns:
- Whether the versionInfo field is set.
-
getVersionInfo
public VersionInfo getVersionInfo()
.temporal.api.version.v1.VersionInfo version_info = 4;
- Specified by:
getVersionInfo
in interfaceGetClusterInfoResponseOrBuilder
- Returns:
- The versionInfo.
-
getVersionInfoOrBuilder
public VersionInfoOrBuilder getVersionInfoOrBuilder()
.temporal.api.version.v1.VersionInfo version_info = 4;
- Specified by:
getVersionInfoOrBuilder
in interfaceGetClusterInfoResponseOrBuilder
-
getClusterName
public java.lang.String getClusterName()
string cluster_name = 5;
- Specified by:
getClusterName
in interfaceGetClusterInfoResponseOrBuilder
- Returns:
- The clusterName.
-
getClusterNameBytes
public com.google.protobuf.ByteString getClusterNameBytes()
string cluster_name = 5;
- Specified by:
getClusterNameBytes
in interfaceGetClusterInfoResponseOrBuilder
- Returns:
- The bytes for clusterName.
-
getHistoryShardCount
public int getHistoryShardCount()
int32 history_shard_count = 6;
- Specified by:
getHistoryShardCount
in interfaceGetClusterInfoResponseOrBuilder
- Returns:
- The historyShardCount.
-
getPersistenceStore
public java.lang.String getPersistenceStore()
string persistence_store = 7;
- Specified by:
getPersistenceStore
in interfaceGetClusterInfoResponseOrBuilder
- Returns:
- The persistenceStore.
-
getPersistenceStoreBytes
public com.google.protobuf.ByteString getPersistenceStoreBytes()
string persistence_store = 7;
- Specified by:
getPersistenceStoreBytes
in interfaceGetClusterInfoResponseOrBuilder
- Returns:
- The bytes for persistenceStore.
-
getVisibilityStore
public java.lang.String getVisibilityStore()
string visibility_store = 8;
- Specified by:
getVisibilityStore
in interfaceGetClusterInfoResponseOrBuilder
- Returns:
- The visibilityStore.
-
getVisibilityStoreBytes
public com.google.protobuf.ByteString getVisibilityStoreBytes()
string visibility_store = 8;
- Specified by:
getVisibilityStoreBytes
in interfaceGetClusterInfoResponseOrBuilder
- Returns:
- The bytes for visibilityStore.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GetClusterInfoResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GetClusterInfoResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-