• 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/devtools/cloudbuild/v1/cloudbuild.proto
18 
19 package com.google.cloudbuild.v1;
20 
21 public interface ListBuildsRequestOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.ListBuildsRequest)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The parent of the collection of `Builds`.
31    * Format: `projects/{project}/locations/{location}`
32    * </pre>
33    *
34    * <code>string parent = 9 [(.google.api.resource_reference) = { ... }</code>
35    *
36    * @return The parent.
37    */
getParent()38   java.lang.String getParent();
39   /**
40    *
41    *
42    * <pre>
43    * The parent of the collection of `Builds`.
44    * Format: `projects/{project}/locations/{location}`
45    * </pre>
46    *
47    * <code>string parent = 9 [(.google.api.resource_reference) = { ... }</code>
48    *
49    * @return The bytes for parent.
50    */
getParentBytes()51   com.google.protobuf.ByteString getParentBytes();
52 
53   /**
54    *
55    *
56    * <pre>
57    * Required. ID of the project.
58    * </pre>
59    *
60    * <code>string project_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
61    *
62    * @return The projectId.
63    */
getProjectId()64   java.lang.String getProjectId();
65   /**
66    *
67    *
68    * <pre>
69    * Required. ID of the project.
70    * </pre>
71    *
72    * <code>string project_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
73    *
74    * @return The bytes for projectId.
75    */
getProjectIdBytes()76   com.google.protobuf.ByteString getProjectIdBytes();
77 
78   /**
79    *
80    *
81    * <pre>
82    * Number of results to return in the list.
83    * </pre>
84    *
85    * <code>int32 page_size = 2;</code>
86    *
87    * @return The pageSize.
88    */
getPageSize()89   int getPageSize();
90 
91   /**
92    *
93    *
94    * <pre>
95    * The page token for the next page of Builds.
96    * If unspecified, the first page of results is returned.
97    * If the token is rejected for any reason, INVALID_ARGUMENT will be thrown.
98    * In this case, the token should be discarded, and pagination should be
99    * restarted from the first page of results.
100    * See https://google.aip.dev/158 for more.
101    * </pre>
102    *
103    * <code>string page_token = 3;</code>
104    *
105    * @return The pageToken.
106    */
getPageToken()107   java.lang.String getPageToken();
108   /**
109    *
110    *
111    * <pre>
112    * The page token for the next page of Builds.
113    * If unspecified, the first page of results is returned.
114    * If the token is rejected for any reason, INVALID_ARGUMENT will be thrown.
115    * In this case, the token should be discarded, and pagination should be
116    * restarted from the first page of results.
117    * See https://google.aip.dev/158 for more.
118    * </pre>
119    *
120    * <code>string page_token = 3;</code>
121    *
122    * @return The bytes for pageToken.
123    */
getPageTokenBytes()124   com.google.protobuf.ByteString getPageTokenBytes();
125 
126   /**
127    *
128    *
129    * <pre>
130    * The raw filter text to constrain the results.
131    * </pre>
132    *
133    * <code>string filter = 8;</code>
134    *
135    * @return The filter.
136    */
getFilter()137   java.lang.String getFilter();
138   /**
139    *
140    *
141    * <pre>
142    * The raw filter text to constrain the results.
143    * </pre>
144    *
145    * <code>string filter = 8;</code>
146    *
147    * @return The bytes for filter.
148    */
getFilterBytes()149   com.google.protobuf.ByteString getFilterBytes();
150 }
151