Package org.a2aproject.sdk.grpc
Interface ListTasksResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ListTasksResponse,ListTasksResponse.Builder
@Generated
public interface ListTasksResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionA token to retrieve the next page of results, or empty if there are no more results in the list.com.google.protobuf.ByteStringA token to retrieve the next page of results, or empty if there are no more results in the list.intThe page size used for this response.getTasks(int index) Array of tasks matching the specified criteria.intArray of tasks matching the specified criteria.Array of tasks matching the specified criteria.getTasksOrBuilder(int index) Array of tasks matching the specified criteria.List<? extends TaskOrBuilder>Array of tasks matching the specified criteria.intTotal number of tasks available (before pagination).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTasksList
Array of tasks matching the specified criteria.
repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; -
getTasks
Array of tasks matching the specified criteria.
repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; -
getTasksCount
int getTasksCount()Array of tasks matching the specified criteria.
repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; -
getTasksOrBuilderList
List<? extends TaskOrBuilder> getTasksOrBuilderList()Array of tasks matching the specified criteria.
repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; -
getTasksOrBuilder
Array of tasks matching the specified criteria.
repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; -
getNextPageToken
String getNextPageToken()A token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
com.google.protobuf.ByteString getNextPageTokenBytes()A token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for nextPageToken.
-
getPageSize
int getPageSize()The page size used for this response.
int32 page_size = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The pageSize.
-
getTotalSize
int getTotalSize()Total number of tasks available (before pagination).
int32 total_size = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The totalSize.
-