Package org.a2aproject.sdk.grpc
Class ListTasksRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.a2aproject.sdk.grpc.ListTasksRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,ListTasksRequestOrBuilder
@Generated
public final class ListTasksRequest
extends com.google.protobuf.GeneratedMessage
implements ListTasksRequestOrBuilder
Parameters for listing tasks with optional filtering criteria.Protobuf type
lf.a2a.v1.ListTasksRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classParameters for listing tasks with optional filtering criteria.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanFilter tasks by context ID to get tasks from a specific conversation or session.com.google.protobuf.ByteStringFilter tasks by context ID to get tasks from a specific conversation or session.static ListTasksRequeststatic final com.google.protobuf.Descriptors.DescriptorintThe maximum number of messages to include in each task's history.booleanWhether to include artifacts in the returned tasks.intThe maximum number of tasks to return.A page token, received from a previous `ListTasks` call.com.google.protobuf.ByteStringA page token, received from a previous `ListTasks` call.com.google.protobuf.Parser<ListTasksRequest>intFilter tasks by their current status state.com.google.protobuf.TimestampFilter tasks which have a status updated after the provided timestamp in ISO 8601 format (e.g., "2023-10-27T10:00:00Z").com.google.protobuf.TimestampOrBuilderFilter tasks which have a status updated after the provided timestamp in ISO 8601 format (e.g., "2023-10-27T10:00:00Z").intFilter tasks by their current status state.Tenant ID, provided as a path parameter.com.google.protobuf.ByteStringTenant ID, provided as a path parameter.inthashCode()booleanThe maximum number of messages to include in each task's history.booleanWhether to include artifacts in the returned tasks.booleanThe maximum number of tasks to return.booleanFilter tasks which have a status updated after the provided timestamp in ISO 8601 format (e.g., "2023-10-27T10:00:00Z").protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ListTasksRequest.Builderstatic ListTasksRequest.BuildernewBuilder(ListTasksRequest prototype) protected ListTasksRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ListTasksRequestparseDelimitedFrom(InputStream input) static ListTasksRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListTasksRequestparseFrom(byte[] data) static ListTasksRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListTasksRequestparseFrom(com.google.protobuf.ByteString data) static ListTasksRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListTasksRequestparseFrom(com.google.protobuf.CodedInputStream input) static ListTasksRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListTasksRequestparseFrom(InputStream input) static ListTasksRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListTasksRequestparseFrom(ByteBuffer data) static ListTasksRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ListTasksRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TENANT_FIELD_NUMBER
public static final int TENANT_FIELD_NUMBER- See Also:
-
CONTEXT_ID_FIELD_NUMBER
public static final int CONTEXT_ID_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER- See Also:
-
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER- See Also:
-
HISTORY_LENGTH_FIELD_NUMBER
public static final int HISTORY_LENGTH_FIELD_NUMBER- See Also:
-
STATUS_TIMESTAMP_AFTER_FIELD_NUMBER
public static final int STATUS_TIMESTAMP_AFTER_FIELD_NUMBER- See Also:
-
INCLUDE_ARTIFACTS_FIELD_NUMBER
public static final int INCLUDE_ARTIFACTS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getTenant
Tenant ID, provided as a path parameter.
string tenant = 1;- Specified by:
getTenantin interfaceListTasksRequestOrBuilder- Returns:
- The tenant.
-
getTenantBytes
public com.google.protobuf.ByteString getTenantBytes()Tenant ID, provided as a path parameter.
string tenant = 1;- Specified by:
getTenantBytesin interfaceListTasksRequestOrBuilder- Returns:
- The bytes for tenant.
-
getContextId
Filter tasks by context ID to get tasks from a specific conversation or session.
string context_id = 2;- Specified by:
getContextIdin interfaceListTasksRequestOrBuilder- Returns:
- The contextId.
-
getContextIdBytes
public com.google.protobuf.ByteString getContextIdBytes()Filter tasks by context ID to get tasks from a specific conversation or session.
string context_id = 2;- Specified by:
getContextIdBytesin interfaceListTasksRequestOrBuilder- Returns:
- The bytes for contextId.
-
getStatusValue
public int getStatusValue()Filter tasks by their current status state.
.lf.a2a.v1.TaskState status = 3;- Specified by:
getStatusValuein interfaceListTasksRequestOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
Filter tasks by their current status state.
.lf.a2a.v1.TaskState status = 3;- Specified by:
getStatusin interfaceListTasksRequestOrBuilder- Returns:
- The status.
-
hasPageSize
public boolean hasPageSize()The maximum number of tasks to return. The service may return fewer than this value. If unspecified, at most 50 tasks will be returned. The minimum value is 1. The maximum value is 100.
optional int32 page_size = 4;- Specified by:
hasPageSizein interfaceListTasksRequestOrBuilder- Returns:
- Whether the pageSize field is set.
-
getPageSize
public int getPageSize()The maximum number of tasks to return. The service may return fewer than this value. If unspecified, at most 50 tasks will be returned. The minimum value is 1. The maximum value is 100.
optional int32 page_size = 4;- Specified by:
getPageSizein interfaceListTasksRequestOrBuilder- Returns:
- The pageSize.
-
getPageToken
A page token, received from a previous `ListTasks` call. `ListTasksResponse.next_page_token`. Provide this to retrieve the subsequent page.
string page_token = 5;- Specified by:
getPageTokenin interfaceListTasksRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()A page token, received from a previous `ListTasks` call. `ListTasksResponse.next_page_token`. Provide this to retrieve the subsequent page.
string page_token = 5;- Specified by:
getPageTokenBytesin interfaceListTasksRequestOrBuilder- Returns:
- The bytes for pageToken.
-
hasHistoryLength
public boolean hasHistoryLength()The maximum number of messages to include in each task's history.
optional int32 history_length = 6;- Specified by:
hasHistoryLengthin interfaceListTasksRequestOrBuilder- Returns:
- Whether the historyLength field is set.
-
getHistoryLength
public int getHistoryLength()The maximum number of messages to include in each task's history.
optional int32 history_length = 6;- Specified by:
getHistoryLengthin interfaceListTasksRequestOrBuilder- Returns:
- The historyLength.
-
hasStatusTimestampAfter
public boolean hasStatusTimestampAfter()Filter tasks which have a status updated after the provided timestamp in ISO 8601 format (e.g., "2023-10-27T10:00:00Z"). Only tasks with a status timestamp time greater than or equal to this value will be returned.
.google.protobuf.Timestamp status_timestamp_after = 7;- Specified by:
hasStatusTimestampAfterin interfaceListTasksRequestOrBuilder- Returns:
- Whether the statusTimestampAfter field is set.
-
getStatusTimestampAfter
public com.google.protobuf.Timestamp getStatusTimestampAfter()Filter tasks which have a status updated after the provided timestamp in ISO 8601 format (e.g., "2023-10-27T10:00:00Z"). Only tasks with a status timestamp time greater than or equal to this value will be returned.
.google.protobuf.Timestamp status_timestamp_after = 7;- Specified by:
getStatusTimestampAfterin interfaceListTasksRequestOrBuilder- Returns:
- The statusTimestampAfter.
-
getStatusTimestampAfterOrBuilder
public com.google.protobuf.TimestampOrBuilder getStatusTimestampAfterOrBuilder()Filter tasks which have a status updated after the provided timestamp in ISO 8601 format (e.g., "2023-10-27T10:00:00Z"). Only tasks with a status timestamp time greater than or equal to this value will be returned.
.google.protobuf.Timestamp status_timestamp_after = 7;- Specified by:
getStatusTimestampAfterOrBuilderin interfaceListTasksRequestOrBuilder
-
hasIncludeArtifacts
public boolean hasIncludeArtifacts()Whether to include artifacts in the returned tasks. Defaults to false to reduce payload size.
optional bool include_artifacts = 8;- Specified by:
hasIncludeArtifactsin interfaceListTasksRequestOrBuilder- Returns:
- Whether the includeArtifacts field is set.
-
getIncludeArtifacts
public boolean getIncludeArtifacts()Whether to include artifacts in the returned tasks. Defaults to false to reduce payload size.
optional bool include_artifacts = 8;- Specified by:
getIncludeArtifactsin interfaceListTasksRequestOrBuilder- Returns:
- The includeArtifacts.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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 ListTasksRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListTasksRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListTasksRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListTasksRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListTasksRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ListTasksRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ListTasksRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ListTasksRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ListTasksRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ListTasksRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-