• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/tasks/v2/cloudtasks.proto
18 
19 package com.google.cloud.tasks.v2;
20 
21 public interface ListTasksResponseOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListTasksResponse)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The list of tasks.
31    * </pre>
32    *
33    * <code>repeated .google.cloud.tasks.v2.Task tasks = 1;</code>
34    */
getTasksList()35   java.util.List<com.google.cloud.tasks.v2.Task> getTasksList();
36   /**
37    *
38    *
39    * <pre>
40    * The list of tasks.
41    * </pre>
42    *
43    * <code>repeated .google.cloud.tasks.v2.Task tasks = 1;</code>
44    */
getTasks(int index)45   com.google.cloud.tasks.v2.Task getTasks(int index);
46   /**
47    *
48    *
49    * <pre>
50    * The list of tasks.
51    * </pre>
52    *
53    * <code>repeated .google.cloud.tasks.v2.Task tasks = 1;</code>
54    */
getTasksCount()55   int getTasksCount();
56   /**
57    *
58    *
59    * <pre>
60    * The list of tasks.
61    * </pre>
62    *
63    * <code>repeated .google.cloud.tasks.v2.Task tasks = 1;</code>
64    */
getTasksOrBuilderList()65   java.util.List<? extends com.google.cloud.tasks.v2.TaskOrBuilder> getTasksOrBuilderList();
66   /**
67    *
68    *
69    * <pre>
70    * The list of tasks.
71    * </pre>
72    *
73    * <code>repeated .google.cloud.tasks.v2.Task tasks = 1;</code>
74    */
getTasksOrBuilder(int index)75   com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index);
76 
77   /**
78    *
79    *
80    * <pre>
81    * A token to retrieve next page of results.
82    * To return the next page of results, call
83    * [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks] with this value as the
84    * [page_token][google.cloud.tasks.v2.ListTasksRequest.page_token].
85    * If the next_page_token is empty, there are no more results.
86    * </pre>
87    *
88    * <code>string next_page_token = 2;</code>
89    *
90    * @return The nextPageToken.
91    */
getNextPageToken()92   java.lang.String getNextPageToken();
93   /**
94    *
95    *
96    * <pre>
97    * A token to retrieve next page of results.
98    * To return the next page of results, call
99    * [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks] with this value as the
100    * [page_token][google.cloud.tasks.v2.ListTasksRequest.page_token].
101    * If the next_page_token is empty, there are no more results.
102    * </pre>
103    *
104    * <code>string next_page_token = 2;</code>
105    *
106    * @return The bytes for nextPageToken.
107    */
getNextPageTokenBytes()108   com.google.protobuf.ByteString getNextPageTokenBytes();
109 }
110