Class DescribeTaskQueueRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.temporal.api.workflowservice.v1.DescribeTaskQueueRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DescribeTaskQueueRequestOrBuilder,java.io.Serializable
@Generated(value="protoc", comments="annotations:DescribeTaskQueueRequest.java.pb.meta") public final class DescribeTaskQueueRequest extends com.google.protobuf.GeneratedMessageV3 implements DescribeTaskQueueRequestOrBuilder(-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --)Protobuf typetemporal.api.workflowservice.v1.DescribeTaskQueueRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDescribeTaskQueueRequest.Builder(-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --)-
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 intAPI_MODE_FIELD_NUMBERstatic intINCLUDE_TASK_QUEUE_STATUS_FIELD_NUMBERstatic intNAMESPACE_FIELD_NUMBERstatic intREPORT_POLLERS_FIELD_NUMBERstatic intREPORT_STATS_FIELD_NUMBERstatic intREPORT_TASK_REACHABILITY_FIELD_NUMBERstatic intTASK_QUEUE_FIELD_NUMBERstatic intTASK_QUEUE_TYPE_FIELD_NUMBERstatic intTASK_QUEUE_TYPES_FIELD_NUMBERstatic intVERSIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)DescribeTaskQueueModegetApiMode()All options except `task_queue_type` and `include_task_queue_status` are only available in the `ENHANCED` mode.intgetApiModeValue()All options except `task_queue_type` and `include_task_queue_status` are only available in the `ENHANCED` mode.static DescribeTaskQueueRequestgetDefaultInstance()DescribeTaskQueueRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetIncludeTaskQueueStatus()Deprecated.java.lang.StringgetNamespace()string namespace = 1;com.google.protobuf.ByteStringgetNamespaceBytes()string namespace = 1;com.google.protobuf.Parser<DescribeTaskQueueRequest>getParserForType()booleangetReportPollers()Report list of pollers for requested task queue types and versionsbooleangetReportStats()Report stats for the requested task queue types and versionsbooleangetReportTaskReachability()Report task reachability for the requested versions and all task types (task reachability is not reported per task type).intgetSerializedSize()TaskQueuegetTaskQueue()Sticky queues are not supported in `ENHANCED` mode.TaskQueueOrBuildergetTaskQueueOrBuilder()Sticky queues are not supported in `ENHANCED` mode.TaskQueueTypegetTaskQueueType()Deprecated.TaskQueueTypegetTaskQueueTypes(int index)Task queue types to report info about.intgetTaskQueueTypesCount()Task queue types to report info about.java.util.List<TaskQueueType>getTaskQueueTypesList()Task queue types to report info about.intgetTaskQueueTypesValue(int index)Task queue types to report info about.java.util.List<java.lang.Integer>getTaskQueueTypesValueList()Task queue types to report info about.intgetTaskQueueTypeValue()Deprecated.TaskQueueVersionSelectiongetVersions()Optional.TaskQueueVersionSelectionOrBuildergetVersionsOrBuilder()Optional.inthashCode()booleanhasTaskQueue()Sticky queues are not supported in `ENHANCED` mode.booleanhasVersions()Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DescribeTaskQueueRequest.BuildernewBuilder()static DescribeTaskQueueRequest.BuildernewBuilder(DescribeTaskQueueRequest prototype)DescribeTaskQueueRequest.BuildernewBuilderForType()protected DescribeTaskQueueRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DescribeTaskQueueRequestparseDelimitedFrom(java.io.InputStream input)static DescribeTaskQueueRequestparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescribeTaskQueueRequestparseFrom(byte[] data)static DescribeTaskQueueRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescribeTaskQueueRequestparseFrom(com.google.protobuf.ByteString data)static DescribeTaskQueueRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescribeTaskQueueRequestparseFrom(com.google.protobuf.CodedInputStream input)static DescribeTaskQueueRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescribeTaskQueueRequestparseFrom(java.io.InputStream input)static DescribeTaskQueueRequestparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescribeTaskQueueRequestparseFrom(java.nio.ByteBuffer data)static DescribeTaskQueueRequestparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DescribeTaskQueueRequest>parser()DescribeTaskQueueRequest.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, internalGetMapFieldReflection, 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
-
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TASK_QUEUE_FIELD_NUMBER
public static final int TASK_QUEUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TASK_QUEUE_TYPE_FIELD_NUMBER
public static final int TASK_QUEUE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INCLUDE_TASK_QUEUE_STATUS_FIELD_NUMBER
public static final int INCLUDE_TASK_QUEUE_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
API_MODE_FIELD_NUMBER
public static final int API_MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSIONS_FIELD_NUMBER
public static final int VERSIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TASK_QUEUE_TYPES_FIELD_NUMBER
public static final int TASK_QUEUE_TYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REPORT_STATS_FIELD_NUMBER
public static final int REPORT_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REPORT_POLLERS_FIELD_NUMBER
public static final int REPORT_POLLERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REPORT_TASK_REACHABILITY_FIELD_NUMBER
public static final int REPORT_TASK_REACHABILITY_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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getNamespace
public java.lang.String getNamespace()
string namespace = 1;- Specified by:
getNamespacein interfaceDescribeTaskQueueRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceDescribeTaskQueueRequestOrBuilder- Returns:
- The bytes for namespace.
-
hasTaskQueue
public boolean hasTaskQueue()
Sticky queues are not supported in `ENHANCED` mode.
.temporal.api.taskqueue.v1.TaskQueue task_queue = 2;- Specified by:
hasTaskQueuein interfaceDescribeTaskQueueRequestOrBuilder- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
public TaskQueue getTaskQueue()
Sticky queues are not supported in `ENHANCED` mode.
.temporal.api.taskqueue.v1.TaskQueue task_queue = 2;- Specified by:
getTaskQueuein interfaceDescribeTaskQueueRequestOrBuilder- Returns:
- The taskQueue.
-
getTaskQueueOrBuilder
public TaskQueueOrBuilder getTaskQueueOrBuilder()
Sticky queues are not supported in `ENHANCED` mode.
.temporal.api.taskqueue.v1.TaskQueue task_queue = 2;- Specified by:
getTaskQueueOrBuilderin interfaceDescribeTaskQueueRequestOrBuilder
-
getTaskQueueTypeValue
public int getTaskQueueTypeValue()
Deprecated. Use `ENHANCED` mode with `task_queue_types`. Ignored in `ENHANCED` mode. If unspecified (TASK_QUEUE_TYPE_UNSPECIFIED), then default value (TASK_QUEUE_TYPE_WORKFLOW) will be used.
.temporal.api.enums.v1.TaskQueueType task_queue_type = 3;- Specified by:
getTaskQueueTypeValuein interfaceDescribeTaskQueueRequestOrBuilder- Returns:
- The enum numeric value on the wire for taskQueueType.
-
getTaskQueueType
public TaskQueueType getTaskQueueType()
Deprecated. Use `ENHANCED` mode with `task_queue_types`. Ignored in `ENHANCED` mode. If unspecified (TASK_QUEUE_TYPE_UNSPECIFIED), then default value (TASK_QUEUE_TYPE_WORKFLOW) will be used.
.temporal.api.enums.v1.TaskQueueType task_queue_type = 3;- Specified by:
getTaskQueueTypein interfaceDescribeTaskQueueRequestOrBuilder- Returns:
- The taskQueueType.
-
getIncludeTaskQueueStatus
public boolean getIncludeTaskQueueStatus()
Deprecated. Ignored in `ENHANCED` mode.
bool include_task_queue_status = 4;- Specified by:
getIncludeTaskQueueStatusin interfaceDescribeTaskQueueRequestOrBuilder- Returns:
- The includeTaskQueueStatus.
-
getApiModeValue
public int getApiModeValue()
All options except `task_queue_type` and `include_task_queue_status` are only available in the `ENHANCED` mode.
.temporal.api.enums.v1.DescribeTaskQueueMode api_mode = 5;- Specified by:
getApiModeValuein interfaceDescribeTaskQueueRequestOrBuilder- Returns:
- The enum numeric value on the wire for apiMode.
-
getApiMode
public DescribeTaskQueueMode getApiMode()
All options except `task_queue_type` and `include_task_queue_status` are only available in the `ENHANCED` mode.
.temporal.api.enums.v1.DescribeTaskQueueMode api_mode = 5;- Specified by:
getApiModein interfaceDescribeTaskQueueRequestOrBuilder- Returns:
- The apiMode.
-
hasVersions
public boolean hasVersions()
Optional. If not provided, the result for the default Build ID will be returned. The default Build ID is the one mentioned in the first unconditional Assignment Rule. If there is no default Build ID, the result for the unversioned queue will be returned. (-- api-linter: core::0140::prepositions --)
.temporal.api.taskqueue.v1.TaskQueueVersionSelection versions = 6;- Specified by:
hasVersionsin interfaceDescribeTaskQueueRequestOrBuilder- Returns:
- Whether the versions field is set.
-
getVersions
public TaskQueueVersionSelection getVersions()
Optional. If not provided, the result for the default Build ID will be returned. The default Build ID is the one mentioned in the first unconditional Assignment Rule. If there is no default Build ID, the result for the unversioned queue will be returned. (-- api-linter: core::0140::prepositions --)
.temporal.api.taskqueue.v1.TaskQueueVersionSelection versions = 6;- Specified by:
getVersionsin interfaceDescribeTaskQueueRequestOrBuilder- Returns:
- The versions.
-
getVersionsOrBuilder
public TaskQueueVersionSelectionOrBuilder getVersionsOrBuilder()
Optional. If not provided, the result for the default Build ID will be returned. The default Build ID is the one mentioned in the first unconditional Assignment Rule. If there is no default Build ID, the result for the unversioned queue will be returned. (-- api-linter: core::0140::prepositions --)
.temporal.api.taskqueue.v1.TaskQueueVersionSelection versions = 6;- Specified by:
getVersionsOrBuilderin interfaceDescribeTaskQueueRequestOrBuilder
-
getTaskQueueTypesList
public java.util.List<TaskQueueType> getTaskQueueTypesList()
Task queue types to report info about. If not specified, all types are considered.
repeated .temporal.api.enums.v1.TaskQueueType task_queue_types = 7;- Specified by:
getTaskQueueTypesListin interfaceDescribeTaskQueueRequestOrBuilder- Returns:
- A list containing the taskQueueTypes.
-
getTaskQueueTypesCount
public int getTaskQueueTypesCount()
Task queue types to report info about. If not specified, all types are considered.
repeated .temporal.api.enums.v1.TaskQueueType task_queue_types = 7;- Specified by:
getTaskQueueTypesCountin interfaceDescribeTaskQueueRequestOrBuilder- Returns:
- The count of taskQueueTypes.
-
getTaskQueueTypes
public TaskQueueType getTaskQueueTypes(int index)
Task queue types to report info about. If not specified, all types are considered.
repeated .temporal.api.enums.v1.TaskQueueType task_queue_types = 7;- Specified by:
getTaskQueueTypesin interfaceDescribeTaskQueueRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The taskQueueTypes at the given index.
-
getTaskQueueTypesValueList
public java.util.List<java.lang.Integer> getTaskQueueTypesValueList()
Task queue types to report info about. If not specified, all types are considered.
repeated .temporal.api.enums.v1.TaskQueueType task_queue_types = 7;- Specified by:
getTaskQueueTypesValueListin interfaceDescribeTaskQueueRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for taskQueueTypes.
-
getTaskQueueTypesValue
public int getTaskQueueTypesValue(int index)
Task queue types to report info about. If not specified, all types are considered.
repeated .temporal.api.enums.v1.TaskQueueType task_queue_types = 7;- Specified by:
getTaskQueueTypesValuein interfaceDescribeTaskQueueRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of taskQueueTypes at the given index.
-
getReportStats
public boolean getReportStats()
Report stats for the requested task queue types and versions
bool report_stats = 8;- Specified by:
getReportStatsin interfaceDescribeTaskQueueRequestOrBuilder- Returns:
- The reportStats.
-
getReportPollers
public boolean getReportPollers()
Report list of pollers for requested task queue types and versions
bool report_pollers = 9;- Specified by:
getReportPollersin interfaceDescribeTaskQueueRequestOrBuilder- Returns:
- The reportPollers.
-
getReportTaskReachability
public boolean getReportTaskReachability()
Report task reachability for the requested versions and all task types (task reachability is not reported per task type).
bool report_task_reachability = 10;- Specified by:
getReportTaskReachabilityin interfaceDescribeTaskQueueRequestOrBuilder- Returns:
- The reportTaskReachability.
-
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 DescribeTaskQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescribeTaskQueueRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescribeTaskQueueRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescribeTaskQueueRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescribeTaskQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescribeTaskQueueRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescribeTaskQueueRequest parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescribeTaskQueueRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DescribeTaskQueueRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DescribeTaskQueueRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescribeTaskQueueRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescribeTaskQueueRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public DescribeTaskQueueRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DescribeTaskQueueRequest.Builder newBuilder()
-
newBuilder
public static DescribeTaskQueueRequest.Builder newBuilder(DescribeTaskQueueRequest prototype)
-
toBuilder
public DescribeTaskQueueRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DescribeTaskQueueRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DescribeTaskQueueRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DescribeTaskQueueRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<DescribeTaskQueueRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DescribeTaskQueueRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-