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/realms.proto 18 19 package com.google.cloud.gaming.v1; 20 21 public interface RealmOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.gaming.v1.Realm) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The resource name of the realm, in the following form: 31 * `projects/{project}/locations/{location}/realms/{realm}`. For 32 * example, `projects/my-project/locations/{location}/realms/my-realm`. 33 * </pre> 34 * 35 * <code>string name = 1;</code> 36 * 37 * @return The name. 38 */ getName()39 java.lang.String getName(); 40 /** 41 * 42 * 43 * <pre> 44 * The resource name of the realm, in the following form: 45 * `projects/{project}/locations/{location}/realms/{realm}`. For 46 * example, `projects/my-project/locations/{location}/realms/my-realm`. 47 * </pre> 48 * 49 * <code>string name = 1;</code> 50 * 51 * @return The bytes for name. 52 */ getNameBytes()53 com.google.protobuf.ByteString getNameBytes(); 54 55 /** 56 * 57 * 58 * <pre> 59 * Output only. The creation time. 60 * </pre> 61 * 62 * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; 63 * </code> 64 * 65 * @return Whether the createTime field is set. 66 */ hasCreateTime()67 boolean hasCreateTime(); 68 /** 69 * 70 * 71 * <pre> 72 * Output only. The creation time. 73 * </pre> 74 * 75 * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; 76 * </code> 77 * 78 * @return The createTime. 79 */ getCreateTime()80 com.google.protobuf.Timestamp getCreateTime(); 81 /** 82 * 83 * 84 * <pre> 85 * Output only. The creation time. 86 * </pre> 87 * 88 * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; 89 * </code> 90 */ getCreateTimeOrBuilder()91 com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); 92 93 /** 94 * 95 * 96 * <pre> 97 * Output only. The last-modified time. 98 * </pre> 99 * 100 * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 101 * </code> 102 * 103 * @return Whether the updateTime field is set. 104 */ hasUpdateTime()105 boolean hasUpdateTime(); 106 /** 107 * 108 * 109 * <pre> 110 * Output only. The last-modified time. 111 * </pre> 112 * 113 * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 114 * </code> 115 * 116 * @return The updateTime. 117 */ getUpdateTime()118 com.google.protobuf.Timestamp getUpdateTime(); 119 /** 120 * 121 * 122 * <pre> 123 * Output only. The last-modified time. 124 * </pre> 125 * 126 * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 127 * </code> 128 */ getUpdateTimeOrBuilder()129 com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); 130 131 /** 132 * 133 * 134 * <pre> 135 * The labels associated with this realm. Each label is a key-value pair. 136 * </pre> 137 * 138 * <code>map<string, string> labels = 4;</code> 139 */ getLabelsCount()140 int getLabelsCount(); 141 /** 142 * 143 * 144 * <pre> 145 * The labels associated with this realm. Each label is a key-value pair. 146 * </pre> 147 * 148 * <code>map<string, string> labels = 4;</code> 149 */ containsLabels(java.lang.String key)150 boolean containsLabels(java.lang.String key); 151 /** Use {@link #getLabelsMap()} instead. */ 152 @java.lang.Deprecated getLabels()153 java.util.Map<java.lang.String, java.lang.String> getLabels(); 154 /** 155 * 156 * 157 * <pre> 158 * The labels associated with this realm. Each label is a key-value pair. 159 * </pre> 160 * 161 * <code>map<string, string> labels = 4;</code> 162 */ getLabelsMap()163 java.util.Map<java.lang.String, java.lang.String> getLabelsMap(); 164 /** 165 * 166 * 167 * <pre> 168 * The labels associated with this realm. Each label is a key-value pair. 169 * </pre> 170 * 171 * <code>map<string, string> labels = 4;</code> 172 */ 173 /* nullable */ getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue)174 java.lang.String getLabelsOrDefault( 175 java.lang.String key, 176 /* nullable */ 177 java.lang.String defaultValue); 178 /** 179 * 180 * 181 * <pre> 182 * The labels associated with this realm. Each label is a key-value pair. 183 * </pre> 184 * 185 * <code>map<string, string> labels = 4;</code> 186 */ getLabelsOrThrow(java.lang.String key)187 java.lang.String getLabelsOrThrow(java.lang.String key); 188 189 /** 190 * 191 * 192 * <pre> 193 * Required. Time zone where all policies targeting this realm are evaluated. The value 194 * of this field must be from the IANA time zone database: 195 * https://www.iana.org/time-zones. 196 * </pre> 197 * 198 * <code>string time_zone = 6 [(.google.api.field_behavior) = REQUIRED];</code> 199 * 200 * @return The timeZone. 201 */ getTimeZone()202 java.lang.String getTimeZone(); 203 /** 204 * 205 * 206 * <pre> 207 * Required. Time zone where all policies targeting this realm are evaluated. The value 208 * of this field must be from the IANA time zone database: 209 * https://www.iana.org/time-zones. 210 * </pre> 211 * 212 * <code>string time_zone = 6 [(.google.api.field_behavior) = REQUIRED];</code> 213 * 214 * @return The bytes for timeZone. 215 */ getTimeZoneBytes()216 com.google.protobuf.ByteString getTimeZoneBytes(); 217 218 /** 219 * 220 * 221 * <pre> 222 * ETag of the resource. 223 * </pre> 224 * 225 * <code>string etag = 7;</code> 226 * 227 * @return The etag. 228 */ getEtag()229 java.lang.String getEtag(); 230 /** 231 * 232 * 233 * <pre> 234 * ETag of the resource. 235 * </pre> 236 * 237 * <code>string etag = 7;</code> 238 * 239 * @return The bytes for etag. 240 */ getEtagBytes()241 com.google.protobuf.ByteString getEtagBytes(); 242 243 /** 244 * 245 * 246 * <pre> 247 * Human readable description of the realm. 248 * </pre> 249 * 250 * <code>string description = 8;</code> 251 * 252 * @return The description. 253 */ getDescription()254 java.lang.String getDescription(); 255 /** 256 * 257 * 258 * <pre> 259 * Human readable description of the realm. 260 * </pre> 261 * 262 * <code>string description = 8;</code> 263 * 264 * @return The bytes for description. 265 */ getDescriptionBytes()266 com.google.protobuf.ByteString getDescriptionBytes(); 267 } 268