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/retail/v2/common.proto 18 19 package com.google.cloud.retail.v2; 20 21 public interface IntervalOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.retail.v2.Interval) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Inclusive lower bound. 31 * </pre> 32 * 33 * <code>double minimum = 1;</code> 34 * 35 * @return Whether the minimum field is set. 36 */ hasMinimum()37 boolean hasMinimum(); 38 /** 39 * 40 * 41 * <pre> 42 * Inclusive lower bound. 43 * </pre> 44 * 45 * <code>double minimum = 1;</code> 46 * 47 * @return The minimum. 48 */ getMinimum()49 double getMinimum(); 50 51 /** 52 * 53 * 54 * <pre> 55 * Exclusive lower bound. 56 * </pre> 57 * 58 * <code>double exclusive_minimum = 2;</code> 59 * 60 * @return Whether the exclusiveMinimum field is set. 61 */ hasExclusiveMinimum()62 boolean hasExclusiveMinimum(); 63 /** 64 * 65 * 66 * <pre> 67 * Exclusive lower bound. 68 * </pre> 69 * 70 * <code>double exclusive_minimum = 2;</code> 71 * 72 * @return The exclusiveMinimum. 73 */ getExclusiveMinimum()74 double getExclusiveMinimum(); 75 76 /** 77 * 78 * 79 * <pre> 80 * Inclusive upper bound. 81 * </pre> 82 * 83 * <code>double maximum = 3;</code> 84 * 85 * @return Whether the maximum field is set. 86 */ hasMaximum()87 boolean hasMaximum(); 88 /** 89 * 90 * 91 * <pre> 92 * Inclusive upper bound. 93 * </pre> 94 * 95 * <code>double maximum = 3;</code> 96 * 97 * @return The maximum. 98 */ getMaximum()99 double getMaximum(); 100 101 /** 102 * 103 * 104 * <pre> 105 * Exclusive upper bound. 106 * </pre> 107 * 108 * <code>double exclusive_maximum = 4;</code> 109 * 110 * @return Whether the exclusiveMaximum field is set. 111 */ hasExclusiveMaximum()112 boolean hasExclusiveMaximum(); 113 /** 114 * 115 * 116 * <pre> 117 * Exclusive upper bound. 118 * </pre> 119 * 120 * <code>double exclusive_maximum = 4;</code> 121 * 122 * @return The exclusiveMaximum. 123 */ getExclusiveMaximum()124 double getExclusiveMaximum(); 125 getMinCase()126 public com.google.cloud.retail.v2.Interval.MinCase getMinCase(); 127 getMaxCase()128 public com.google.cloud.retail.v2.Interval.MaxCase getMaxCase(); 129 } 130