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 ErrorOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Error) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Detailed error codes and messages. 31 * </pre> 32 * 33 * <code>.google.rpc.Status details = 1;</code> 34 * 35 * @return Whether the details field is set. 36 */ hasDetails()37 boolean hasDetails(); 38 /** 39 * 40 * 41 * <pre> 42 * Detailed error codes and messages. 43 * </pre> 44 * 45 * <code>.google.rpc.Status details = 1;</code> 46 * 47 * @return The details. 48 */ getDetails()49 com.google.rpc.Status getDetails(); 50 /** 51 * 52 * 53 * <pre> 54 * Detailed error codes and messages. 55 * </pre> 56 * 57 * <code>.google.rpc.Status details = 1;</code> 58 */ getDetailsOrBuilder()59 com.google.rpc.StatusOrBuilder getDetailsOrBuilder(); 60 61 /** 62 * 63 * 64 * <pre> 65 * The times the error occurred. 66 * </pre> 67 * 68 * <code>repeated .google.protobuf.Timestamp timestamps = 2;</code> 69 */ getTimestampsList()70 java.util.List<com.google.protobuf.Timestamp> getTimestampsList(); 71 /** 72 * 73 * 74 * <pre> 75 * The times the error occurred. 76 * </pre> 77 * 78 * <code>repeated .google.protobuf.Timestamp timestamps = 2;</code> 79 */ getTimestamps(int index)80 com.google.protobuf.Timestamp getTimestamps(int index); 81 /** 82 * 83 * 84 * <pre> 85 * The times the error occurred. 86 * </pre> 87 * 88 * <code>repeated .google.protobuf.Timestamp timestamps = 2;</code> 89 */ getTimestampsCount()90 int getTimestampsCount(); 91 /** 92 * 93 * 94 * <pre> 95 * The times the error occurred. 96 * </pre> 97 * 98 * <code>repeated .google.protobuf.Timestamp timestamps = 2;</code> 99 */ getTimestampsOrBuilderList()100 java.util.List<? extends com.google.protobuf.TimestampOrBuilder> getTimestampsOrBuilderList(); 101 /** 102 * 103 * 104 * <pre> 105 * The times the error occurred. 106 * </pre> 107 * 108 * <code>repeated .google.protobuf.Timestamp timestamps = 2;</code> 109 */ getTimestampsOrBuilder(int index)110 com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder(int index); 111 } 112