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 InfoTypeOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InfoType) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Name of the information type. Either a name of your choosing when 31 * creating a CustomInfoType, or one of the names listed 32 * at https://cloud.google.com/dlp/docs/infotypes-reference when specifying 33 * a built-in type. When sending Cloud DLP results to Data Catalog, infoType 34 * names should conform to the pattern `[A-Za-z0-9$_-]{1,64}`. 35 * </pre> 36 * 37 * <code>string name = 1;</code> 38 * 39 * @return The name. 40 */ getName()41 java.lang.String getName(); 42 /** 43 * 44 * 45 * <pre> 46 * Name of the information type. Either a name of your choosing when 47 * creating a CustomInfoType, or one of the names listed 48 * at https://cloud.google.com/dlp/docs/infotypes-reference when specifying 49 * a built-in type. When sending Cloud DLP results to Data Catalog, infoType 50 * names should conform to the pattern `[A-Za-z0-9$_-]{1,64}`. 51 * </pre> 52 * 53 * <code>string name = 1;</code> 54 * 55 * @return The bytes for name. 56 */ getNameBytes()57 com.google.protobuf.ByteString getNameBytes(); 58 59 /** 60 * 61 * 62 * <pre> 63 * Optional version name for this InfoType. 64 * </pre> 65 * 66 * <code>string version = 2;</code> 67 * 68 * @return The version. 69 */ getVersion()70 java.lang.String getVersion(); 71 /** 72 * 73 * 74 * <pre> 75 * Optional version name for this InfoType. 76 * </pre> 77 * 78 * <code>string version = 2;</code> 79 * 80 * @return The bytes for version. 81 */ getVersionBytes()82 com.google.protobuf.ByteString getVersionBytes(); 83 } 84