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 RecordKeyOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordKey) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * <code>.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;</code> 28 * 29 * @return Whether the datastoreKey field is set. 30 */ hasDatastoreKey()31 boolean hasDatastoreKey(); 32 /** 33 * <code>.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;</code> 34 * 35 * @return The datastoreKey. 36 */ getDatastoreKey()37 com.google.privacy.dlp.v2.DatastoreKey getDatastoreKey(); 38 /** <code>.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;</code> */ getDatastoreKeyOrBuilder()39 com.google.privacy.dlp.v2.DatastoreKeyOrBuilder getDatastoreKeyOrBuilder(); 40 41 /** 42 * <code>.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;</code> 43 * 44 * @return Whether the bigQueryKey field is set. 45 */ hasBigQueryKey()46 boolean hasBigQueryKey(); 47 /** 48 * <code>.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;</code> 49 * 50 * @return The bigQueryKey. 51 */ getBigQueryKey()52 com.google.privacy.dlp.v2.BigQueryKey getBigQueryKey(); 53 /** <code>.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;</code> */ getBigQueryKeyOrBuilder()54 com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder(); 55 56 /** 57 * 58 * 59 * <pre> 60 * Values of identifying columns in the given row. Order of values matches 61 * the order of `identifying_fields` specified in the scanning request. 62 * </pre> 63 * 64 * <code>repeated string id_values = 5;</code> 65 * 66 * @return A list containing the idValues. 67 */ getIdValuesList()68 java.util.List<java.lang.String> getIdValuesList(); 69 /** 70 * 71 * 72 * <pre> 73 * Values of identifying columns in the given row. Order of values matches 74 * the order of `identifying_fields` specified in the scanning request. 75 * </pre> 76 * 77 * <code>repeated string id_values = 5;</code> 78 * 79 * @return The count of idValues. 80 */ getIdValuesCount()81 int getIdValuesCount(); 82 /** 83 * 84 * 85 * <pre> 86 * Values of identifying columns in the given row. Order of values matches 87 * the order of `identifying_fields` specified in the scanning request. 88 * </pre> 89 * 90 * <code>repeated string id_values = 5;</code> 91 * 92 * @param index The index of the element to return. 93 * @return The idValues at the given index. 94 */ getIdValues(int index)95 java.lang.String getIdValues(int index); 96 /** 97 * 98 * 99 * <pre> 100 * Values of identifying columns in the given row. Order of values matches 101 * the order of `identifying_fields` specified in the scanning request. 102 * </pre> 103 * 104 * <code>repeated string id_values = 5;</code> 105 * 106 * @param index The index of the value to return. 107 * @return The bytes of the idValues at the given index. 108 */ getIdValuesBytes(int index)109 com.google.protobuf.ByteString getIdValuesBytes(int index); 110 getTypeCase()111 public com.google.privacy.dlp.v2.RecordKey.TypeCase getTypeCase(); 112 } 113