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/gaming/v1/common.proto 18 19 package com.google.cloud.gaming.v1; 20 21 public interface ScheduleOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.gaming.v1.Schedule) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The start time of the event. 31 * </pre> 32 * 33 * <code>.google.protobuf.Timestamp start_time = 1;</code> 34 * 35 * @return Whether the startTime field is set. 36 */ hasStartTime()37 boolean hasStartTime(); 38 /** 39 * 40 * 41 * <pre> 42 * The start time of the event. 43 * </pre> 44 * 45 * <code>.google.protobuf.Timestamp start_time = 1;</code> 46 * 47 * @return The startTime. 48 */ getStartTime()49 com.google.protobuf.Timestamp getStartTime(); 50 /** 51 * 52 * 53 * <pre> 54 * The start time of the event. 55 * </pre> 56 * 57 * <code>.google.protobuf.Timestamp start_time = 1;</code> 58 */ getStartTimeOrBuilder()59 com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); 60 61 /** 62 * 63 * 64 * <pre> 65 * The end time of the event. 66 * </pre> 67 * 68 * <code>.google.protobuf.Timestamp end_time = 2;</code> 69 * 70 * @return Whether the endTime field is set. 71 */ hasEndTime()72 boolean hasEndTime(); 73 /** 74 * 75 * 76 * <pre> 77 * The end time of the event. 78 * </pre> 79 * 80 * <code>.google.protobuf.Timestamp end_time = 2;</code> 81 * 82 * @return The endTime. 83 */ getEndTime()84 com.google.protobuf.Timestamp getEndTime(); 85 /** 86 * 87 * 88 * <pre> 89 * The end time of the event. 90 * </pre> 91 * 92 * <code>.google.protobuf.Timestamp end_time = 2;</code> 93 */ getEndTimeOrBuilder()94 com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); 95 96 /** 97 * 98 * 99 * <pre> 100 * The duration for the cron job event. The duration of the event is effective 101 * after the cron job's start time. 102 * </pre> 103 * 104 * <code>.google.protobuf.Duration cron_job_duration = 3;</code> 105 * 106 * @return Whether the cronJobDuration field is set. 107 */ hasCronJobDuration()108 boolean hasCronJobDuration(); 109 /** 110 * 111 * 112 * <pre> 113 * The duration for the cron job event. The duration of the event is effective 114 * after the cron job's start time. 115 * </pre> 116 * 117 * <code>.google.protobuf.Duration cron_job_duration = 3;</code> 118 * 119 * @return The cronJobDuration. 120 */ getCronJobDuration()121 com.google.protobuf.Duration getCronJobDuration(); 122 /** 123 * 124 * 125 * <pre> 126 * The duration for the cron job event. The duration of the event is effective 127 * after the cron job's start time. 128 * </pre> 129 * 130 * <code>.google.protobuf.Duration cron_job_duration = 3;</code> 131 */ getCronJobDurationOrBuilder()132 com.google.protobuf.DurationOrBuilder getCronJobDurationOrBuilder(); 133 134 /** 135 * 136 * 137 * <pre> 138 * The cron definition of the scheduled event. See 139 * https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as 140 * defined by the realm. 141 * </pre> 142 * 143 * <code>string cron_spec = 4;</code> 144 * 145 * @return The cronSpec. 146 */ getCronSpec()147 java.lang.String getCronSpec(); 148 /** 149 * 150 * 151 * <pre> 152 * The cron definition of the scheduled event. See 153 * https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as 154 * defined by the realm. 155 * </pre> 156 * 157 * <code>string cron_spec = 4;</code> 158 * 159 * @return The bytes for cronSpec. 160 */ getCronSpecBytes()161 com.google.protobuf.ByteString getCronSpecBytes(); 162 } 163