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/privacy/dlp/v2/dlp.proto 18 19 package com.google.privacy.dlp.v2; 20 21 public interface ListInspectTemplatesRequestOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListInspectTemplatesRequest) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. Parent resource name. 31 * The format of this value varies depending on the scope of the request 32 * (project or organization) and whether you have [specified a processing 33 * location](https://cloud.google.com/dlp/docs/specifying-location): 34 * + Projects scope, location specified:<br/> 35 * `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> 36 * + Projects scope, no location specified (defaults to global):<br/> 37 * `projects/`<var>PROJECT_ID</var> 38 * + Organizations scope, location specified:<br/> 39 * `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var> 40 * + Organizations scope, no location specified (defaults to global):<br/> 41 * `organizations/`<var>ORG_ID</var> 42 * The following example `parent` string specifies a parent project with the 43 * identifier `example-project`, and specifies the `europe-west3` location 44 * for processing data: 45 * parent=projects/example-project/locations/europe-west3 46 * </pre> 47 * 48 * <code> 49 * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } 50 * </code> 51 * 52 * @return The parent. 53 */ getParent()54 java.lang.String getParent(); 55 /** 56 * 57 * 58 * <pre> 59 * Required. Parent resource name. 60 * The format of this value varies depending on the scope of the request 61 * (project or organization) and whether you have [specified a processing 62 * location](https://cloud.google.com/dlp/docs/specifying-location): 63 * + Projects scope, location specified:<br/> 64 * `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> 65 * + Projects scope, no location specified (defaults to global):<br/> 66 * `projects/`<var>PROJECT_ID</var> 67 * + Organizations scope, location specified:<br/> 68 * `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var> 69 * + Organizations scope, no location specified (defaults to global):<br/> 70 * `organizations/`<var>ORG_ID</var> 71 * The following example `parent` string specifies a parent project with the 72 * identifier `example-project`, and specifies the `europe-west3` location 73 * for processing data: 74 * parent=projects/example-project/locations/europe-west3 75 * </pre> 76 * 77 * <code> 78 * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } 79 * </code> 80 * 81 * @return The bytes for parent. 82 */ getParentBytes()83 com.google.protobuf.ByteString getParentBytes(); 84 85 /** 86 * 87 * 88 * <pre> 89 * Page token to continue retrieval. Comes from previous call 90 * to `ListInspectTemplates`. 91 * </pre> 92 * 93 * <code>string page_token = 2;</code> 94 * 95 * @return The pageToken. 96 */ getPageToken()97 java.lang.String getPageToken(); 98 /** 99 * 100 * 101 * <pre> 102 * Page token to continue retrieval. Comes from previous call 103 * to `ListInspectTemplates`. 104 * </pre> 105 * 106 * <code>string page_token = 2;</code> 107 * 108 * @return The bytes for pageToken. 109 */ getPageTokenBytes()110 com.google.protobuf.ByteString getPageTokenBytes(); 111 112 /** 113 * 114 * 115 * <pre> 116 * Size of the page, can be limited by the server. If zero server returns 117 * a page of max size 100. 118 * </pre> 119 * 120 * <code>int32 page_size = 3;</code> 121 * 122 * @return The pageSize. 123 */ getPageSize()124 int getPageSize(); 125 126 /** 127 * 128 * 129 * <pre> 130 * Comma separated list of fields to order by, 131 * followed by `asc` or `desc` postfix. This list is case-insensitive, 132 * default sorting order is ascending, redundant space characters are 133 * insignificant. 134 * Example: `name asc,update_time, create_time desc` 135 * Supported fields are: 136 * - `create_time`: corresponds to the time the template was created. 137 * - `update_time`: corresponds to the time the template was last updated. 138 * - `name`: corresponds to the template's name. 139 * - `display_name`: corresponds to the template's display name. 140 * </pre> 141 * 142 * <code>string order_by = 4;</code> 143 * 144 * @return The orderBy. 145 */ getOrderBy()146 java.lang.String getOrderBy(); 147 /** 148 * 149 * 150 * <pre> 151 * Comma separated list of fields to order by, 152 * followed by `asc` or `desc` postfix. This list is case-insensitive, 153 * default sorting order is ascending, redundant space characters are 154 * insignificant. 155 * Example: `name asc,update_time, create_time desc` 156 * Supported fields are: 157 * - `create_time`: corresponds to the time the template was created. 158 * - `update_time`: corresponds to the time the template was last updated. 159 * - `name`: corresponds to the template's name. 160 * - `display_name`: corresponds to the template's display name. 161 * </pre> 162 * 163 * <code>string order_by = 4;</code> 164 * 165 * @return The bytes for orderBy. 166 */ getOrderByBytes()167 com.google.protobuf.ByteString getOrderByBytes(); 168 169 /** 170 * 171 * 172 * <pre> 173 * Deprecated. This field has no effect. 174 * </pre> 175 * 176 * <code>string location_id = 5;</code> 177 * 178 * @return The locationId. 179 */ getLocationId()180 java.lang.String getLocationId(); 181 /** 182 * 183 * 184 * <pre> 185 * Deprecated. This field has no effect. 186 * </pre> 187 * 188 * <code>string location_id = 5;</code> 189 * 190 * @return The bytes for locationId. 191 */ getLocationIdBytes()192 com.google.protobuf.ByteString getLocationIdBytes(); 193 } 194