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/devtools/clouderrorreporting/v1beta1/error_stats_service.proto 18 19 package com.google.devtools.clouderrorreporting.v1beta1; 20 21 public interface TimedCountOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.devtools.clouderrorreporting.v1beta1.TimedCount) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Approximate number of occurrences in the given time period. 31 * </pre> 32 * 33 * <code>int64 count = 1;</code> 34 * 35 * @return The count. 36 */ getCount()37 long getCount(); 38 39 /** 40 * 41 * 42 * <pre> 43 * Start of the time period to which `count` refers (included). 44 * </pre> 45 * 46 * <code>.google.protobuf.Timestamp start_time = 2;</code> 47 * 48 * @return Whether the startTime field is set. 49 */ hasStartTime()50 boolean hasStartTime(); 51 /** 52 * 53 * 54 * <pre> 55 * Start of the time period to which `count` refers (included). 56 * </pre> 57 * 58 * <code>.google.protobuf.Timestamp start_time = 2;</code> 59 * 60 * @return The startTime. 61 */ getStartTime()62 com.google.protobuf.Timestamp getStartTime(); 63 /** 64 * 65 * 66 * <pre> 67 * Start of the time period to which `count` refers (included). 68 * </pre> 69 * 70 * <code>.google.protobuf.Timestamp start_time = 2;</code> 71 */ getStartTimeOrBuilder()72 com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); 73 74 /** 75 * 76 * 77 * <pre> 78 * End of the time period to which `count` refers (excluded). 79 * </pre> 80 * 81 * <code>.google.protobuf.Timestamp end_time = 3;</code> 82 * 83 * @return Whether the endTime field is set. 84 */ hasEndTime()85 boolean hasEndTime(); 86 /** 87 * 88 * 89 * <pre> 90 * End of the time period to which `count` refers (excluded). 91 * </pre> 92 * 93 * <code>.google.protobuf.Timestamp end_time = 3;</code> 94 * 95 * @return The endTime. 96 */ getEndTime()97 com.google.protobuf.Timestamp getEndTime(); 98 /** 99 * 100 * 101 * <pre> 102 * End of the time period to which `count` refers (excluded). 103 * </pre> 104 * 105 * <code>.google.protobuf.Timestamp end_time = 3;</code> 106 */ getEndTimeOrBuilder()107 com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); 108 } 109