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 ValueOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Value) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * integer 31 * </pre> 32 * 33 * <code>int64 integer_value = 1;</code> 34 * 35 * @return Whether the integerValue field is set. 36 */ hasIntegerValue()37 boolean hasIntegerValue(); 38 /** 39 * 40 * 41 * <pre> 42 * integer 43 * </pre> 44 * 45 * <code>int64 integer_value = 1;</code> 46 * 47 * @return The integerValue. 48 */ getIntegerValue()49 long getIntegerValue(); 50 51 /** 52 * 53 * 54 * <pre> 55 * float 56 * </pre> 57 * 58 * <code>double float_value = 2;</code> 59 * 60 * @return Whether the floatValue field is set. 61 */ hasFloatValue()62 boolean hasFloatValue(); 63 /** 64 * 65 * 66 * <pre> 67 * float 68 * </pre> 69 * 70 * <code>double float_value = 2;</code> 71 * 72 * @return The floatValue. 73 */ getFloatValue()74 double getFloatValue(); 75 76 /** 77 * 78 * 79 * <pre> 80 * string 81 * </pre> 82 * 83 * <code>string string_value = 3;</code> 84 * 85 * @return Whether the stringValue field is set. 86 */ hasStringValue()87 boolean hasStringValue(); 88 /** 89 * 90 * 91 * <pre> 92 * string 93 * </pre> 94 * 95 * <code>string string_value = 3;</code> 96 * 97 * @return The stringValue. 98 */ getStringValue()99 java.lang.String getStringValue(); 100 /** 101 * 102 * 103 * <pre> 104 * string 105 * </pre> 106 * 107 * <code>string string_value = 3;</code> 108 * 109 * @return The bytes for stringValue. 110 */ getStringValueBytes()111 com.google.protobuf.ByteString getStringValueBytes(); 112 113 /** 114 * 115 * 116 * <pre> 117 * boolean 118 * </pre> 119 * 120 * <code>bool boolean_value = 4;</code> 121 * 122 * @return Whether the booleanValue field is set. 123 */ hasBooleanValue()124 boolean hasBooleanValue(); 125 /** 126 * 127 * 128 * <pre> 129 * boolean 130 * </pre> 131 * 132 * <code>bool boolean_value = 4;</code> 133 * 134 * @return The booleanValue. 135 */ getBooleanValue()136 boolean getBooleanValue(); 137 138 /** 139 * 140 * 141 * <pre> 142 * timestamp 143 * </pre> 144 * 145 * <code>.google.protobuf.Timestamp timestamp_value = 5;</code> 146 * 147 * @return Whether the timestampValue field is set. 148 */ hasTimestampValue()149 boolean hasTimestampValue(); 150 /** 151 * 152 * 153 * <pre> 154 * timestamp 155 * </pre> 156 * 157 * <code>.google.protobuf.Timestamp timestamp_value = 5;</code> 158 * 159 * @return The timestampValue. 160 */ getTimestampValue()161 com.google.protobuf.Timestamp getTimestampValue(); 162 /** 163 * 164 * 165 * <pre> 166 * timestamp 167 * </pre> 168 * 169 * <code>.google.protobuf.Timestamp timestamp_value = 5;</code> 170 */ getTimestampValueOrBuilder()171 com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder(); 172 173 /** 174 * 175 * 176 * <pre> 177 * time of day 178 * </pre> 179 * 180 * <code>.google.type.TimeOfDay time_value = 6;</code> 181 * 182 * @return Whether the timeValue field is set. 183 */ hasTimeValue()184 boolean hasTimeValue(); 185 /** 186 * 187 * 188 * <pre> 189 * time of day 190 * </pre> 191 * 192 * <code>.google.type.TimeOfDay time_value = 6;</code> 193 * 194 * @return The timeValue. 195 */ getTimeValue()196 com.google.type.TimeOfDay getTimeValue(); 197 /** 198 * 199 * 200 * <pre> 201 * time of day 202 * </pre> 203 * 204 * <code>.google.type.TimeOfDay time_value = 6;</code> 205 */ getTimeValueOrBuilder()206 com.google.type.TimeOfDayOrBuilder getTimeValueOrBuilder(); 207 208 /** 209 * 210 * 211 * <pre> 212 * date 213 * </pre> 214 * 215 * <code>.google.type.Date date_value = 7;</code> 216 * 217 * @return Whether the dateValue field is set. 218 */ hasDateValue()219 boolean hasDateValue(); 220 /** 221 * 222 * 223 * <pre> 224 * date 225 * </pre> 226 * 227 * <code>.google.type.Date date_value = 7;</code> 228 * 229 * @return The dateValue. 230 */ getDateValue()231 com.google.type.Date getDateValue(); 232 /** 233 * 234 * 235 * <pre> 236 * date 237 * </pre> 238 * 239 * <code>.google.type.Date date_value = 7;</code> 240 */ getDateValueOrBuilder()241 com.google.type.DateOrBuilder getDateValueOrBuilder(); 242 243 /** 244 * 245 * 246 * <pre> 247 * day of week 248 * </pre> 249 * 250 * <code>.google.type.DayOfWeek day_of_week_value = 8;</code> 251 * 252 * @return Whether the dayOfWeekValue field is set. 253 */ hasDayOfWeekValue()254 boolean hasDayOfWeekValue(); 255 /** 256 * 257 * 258 * <pre> 259 * day of week 260 * </pre> 261 * 262 * <code>.google.type.DayOfWeek day_of_week_value = 8;</code> 263 * 264 * @return The enum numeric value on the wire for dayOfWeekValue. 265 */ getDayOfWeekValueValue()266 int getDayOfWeekValueValue(); 267 /** 268 * 269 * 270 * <pre> 271 * day of week 272 * </pre> 273 * 274 * <code>.google.type.DayOfWeek day_of_week_value = 8;</code> 275 * 276 * @return The dayOfWeekValue. 277 */ getDayOfWeekValue()278 com.google.type.DayOfWeek getDayOfWeekValue(); 279 getTypeCase()280 public com.google.privacy.dlp.v2.Value.TypeCase getTypeCase(); 281 } 282