• 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/privacy/dlp/v2/storage.proto
18 
19 package com.google.privacy.dlp.v2;
20 
21 public interface KeyOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Key)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Entities are partitioned into subsets, currently identified by a project
31    * ID and namespace ID.
32    * Queries are scoped to a single partition.
33    * </pre>
34    *
35    * <code>.google.privacy.dlp.v2.PartitionId partition_id = 1;</code>
36    *
37    * @return Whether the partitionId field is set.
38    */
hasPartitionId()39   boolean hasPartitionId();
40   /**
41    *
42    *
43    * <pre>
44    * Entities are partitioned into subsets, currently identified by a project
45    * ID and namespace ID.
46    * Queries are scoped to a single partition.
47    * </pre>
48    *
49    * <code>.google.privacy.dlp.v2.PartitionId partition_id = 1;</code>
50    *
51    * @return The partitionId.
52    */
getPartitionId()53   com.google.privacy.dlp.v2.PartitionId getPartitionId();
54   /**
55    *
56    *
57    * <pre>
58    * Entities are partitioned into subsets, currently identified by a project
59    * ID and namespace ID.
60    * Queries are scoped to a single partition.
61    * </pre>
62    *
63    * <code>.google.privacy.dlp.v2.PartitionId partition_id = 1;</code>
64    */
getPartitionIdOrBuilder()65   com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder();
66 
67   /**
68    *
69    *
70    * <pre>
71    * The entity path.
72    * An entity path consists of one or more elements composed of a kind and a
73    * string or numerical identifier, which identify entities. The first
74    * element identifies a _root entity_, the second element identifies
75    * a _child_ of the root entity, the third element identifies a child of the
76    * second entity, and so forth. The entities identified by all prefixes of
77    * the path are called the element's _ancestors_.
78    * A path can never be empty, and a path can have at most 100 elements.
79    * </pre>
80    *
81    * <code>repeated .google.privacy.dlp.v2.Key.PathElement path = 2;</code>
82    */
getPathList()83   java.util.List<com.google.privacy.dlp.v2.Key.PathElement> getPathList();
84   /**
85    *
86    *
87    * <pre>
88    * The entity path.
89    * An entity path consists of one or more elements composed of a kind and a
90    * string or numerical identifier, which identify entities. The first
91    * element identifies a _root entity_, the second element identifies
92    * a _child_ of the root entity, the third element identifies a child of the
93    * second entity, and so forth. The entities identified by all prefixes of
94    * the path are called the element's _ancestors_.
95    * A path can never be empty, and a path can have at most 100 elements.
96    * </pre>
97    *
98    * <code>repeated .google.privacy.dlp.v2.Key.PathElement path = 2;</code>
99    */
getPath(int index)100   com.google.privacy.dlp.v2.Key.PathElement getPath(int index);
101   /**
102    *
103    *
104    * <pre>
105    * The entity path.
106    * An entity path consists of one or more elements composed of a kind and a
107    * string or numerical identifier, which identify entities. The first
108    * element identifies a _root entity_, the second element identifies
109    * a _child_ of the root entity, the third element identifies a child of the
110    * second entity, and so forth. The entities identified by all prefixes of
111    * the path are called the element's _ancestors_.
112    * A path can never be empty, and a path can have at most 100 elements.
113    * </pre>
114    *
115    * <code>repeated .google.privacy.dlp.v2.Key.PathElement path = 2;</code>
116    */
getPathCount()117   int getPathCount();
118   /**
119    *
120    *
121    * <pre>
122    * The entity path.
123    * An entity path consists of one or more elements composed of a kind and a
124    * string or numerical identifier, which identify entities. The first
125    * element identifies a _root entity_, the second element identifies
126    * a _child_ of the root entity, the third element identifies a child of the
127    * second entity, and so forth. The entities identified by all prefixes of
128    * the path are called the element's _ancestors_.
129    * A path can never be empty, and a path can have at most 100 elements.
130    * </pre>
131    *
132    * <code>repeated .google.privacy.dlp.v2.Key.PathElement path = 2;</code>
133    */
134   java.util.List<? extends com.google.privacy.dlp.v2.Key.PathElementOrBuilder>
getPathOrBuilderList()135       getPathOrBuilderList();
136   /**
137    *
138    *
139    * <pre>
140    * The entity path.
141    * An entity path consists of one or more elements composed of a kind and a
142    * string or numerical identifier, which identify entities. The first
143    * element identifies a _root entity_, the second element identifies
144    * a _child_ of the root entity, the third element identifies a child of the
145    * second entity, and so forth. The entities identified by all prefixes of
146    * the path are called the element's _ancestors_.
147    * A path can never be empty, and a path can have at most 100 elements.
148    * </pre>
149    *
150    * <code>repeated .google.privacy.dlp.v2.Key.PathElement path = 2;</code>
151    */
getPathOrBuilder(int index)152   com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(int index);
153 }
154