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/cloud/contentwarehouse/v1/document.proto 18 19 package com.google.cloud.contentwarehouse.v1; 20 21 public interface TimestampValueOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.contentwarehouse.v1.TimestampValue) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Timestamp value 31 * </pre> 32 * 33 * <code>.google.protobuf.Timestamp timestamp_value = 1;</code> 34 * 35 * @return Whether the timestampValue field is set. 36 */ hasTimestampValue()37 boolean hasTimestampValue(); 38 /** 39 * 40 * 41 * <pre> 42 * Timestamp value 43 * </pre> 44 * 45 * <code>.google.protobuf.Timestamp timestamp_value = 1;</code> 46 * 47 * @return The timestampValue. 48 */ getTimestampValue()49 com.google.protobuf.Timestamp getTimestampValue(); 50 /** 51 * 52 * 53 * <pre> 54 * Timestamp value 55 * </pre> 56 * 57 * <code>.google.protobuf.Timestamp timestamp_value = 1;</code> 58 */ getTimestampValueOrBuilder()59 com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder(); 60 61 /** 62 * 63 * 64 * <pre> 65 * The string must represent a valid instant in UTC and is parsed using 66 * java.time.format.DateTimeFormatter.ISO_INSTANT. 67 * e.g. "2013-09-29T18:46:19Z" 68 * </pre> 69 * 70 * <code>string text_value = 2;</code> 71 * 72 * @return Whether the textValue field is set. 73 */ hasTextValue()74 boolean hasTextValue(); 75 /** 76 * 77 * 78 * <pre> 79 * The string must represent a valid instant in UTC and is parsed using 80 * java.time.format.DateTimeFormatter.ISO_INSTANT. 81 * e.g. "2013-09-29T18:46:19Z" 82 * </pre> 83 * 84 * <code>string text_value = 2;</code> 85 * 86 * @return The textValue. 87 */ getTextValue()88 java.lang.String getTextValue(); 89 /** 90 * 91 * 92 * <pre> 93 * The string must represent a valid instant in UTC and is parsed using 94 * java.time.format.DateTimeFormatter.ISO_INSTANT. 95 * e.g. "2013-09-29T18:46:19Z" 96 * </pre> 97 * 98 * <code>string text_value = 2;</code> 99 * 100 * @return The bytes for textValue. 101 */ getTextValueBytes()102 com.google.protobuf.ByteString getTextValueBytes(); 103 getValueCase()104 public com.google.cloud.contentwarehouse.v1.TimestampValue.ValueCase getValueCase(); 105 } 106