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/compute/v1/compute.proto 18 19 package com.google.cloud.compute.v1; 20 21 public interface NotificationEndpointOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.NotificationEndpoint) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * [Output Only] Creation timestamp in RFC3339 text format. 31 * </pre> 32 * 33 * <code>optional string creation_timestamp = 30525366;</code> 34 * 35 * @return Whether the creationTimestamp field is set. 36 */ hasCreationTimestamp()37 boolean hasCreationTimestamp(); 38 /** 39 * 40 * 41 * <pre> 42 * [Output Only] Creation timestamp in RFC3339 text format. 43 * </pre> 44 * 45 * <code>optional string creation_timestamp = 30525366;</code> 46 * 47 * @return The creationTimestamp. 48 */ getCreationTimestamp()49 java.lang.String getCreationTimestamp(); 50 /** 51 * 52 * 53 * <pre> 54 * [Output Only] Creation timestamp in RFC3339 text format. 55 * </pre> 56 * 57 * <code>optional string creation_timestamp = 30525366;</code> 58 * 59 * @return The bytes for creationTimestamp. 60 */ getCreationTimestampBytes()61 com.google.protobuf.ByteString getCreationTimestampBytes(); 62 63 /** 64 * 65 * 66 * <pre> 67 * An optional description of this resource. Provide this property when you create the resource. 68 * </pre> 69 * 70 * <code>optional string description = 422937596;</code> 71 * 72 * @return Whether the description field is set. 73 */ hasDescription()74 boolean hasDescription(); 75 /** 76 * 77 * 78 * <pre> 79 * An optional description of this resource. Provide this property when you create the resource. 80 * </pre> 81 * 82 * <code>optional string description = 422937596;</code> 83 * 84 * @return The description. 85 */ getDescription()86 java.lang.String getDescription(); 87 /** 88 * 89 * 90 * <pre> 91 * An optional description of this resource. Provide this property when you create the resource. 92 * </pre> 93 * 94 * <code>optional string description = 422937596;</code> 95 * 96 * @return The bytes for description. 97 */ getDescriptionBytes()98 com.google.protobuf.ByteString getDescriptionBytes(); 99 100 /** 101 * 102 * 103 * <pre> 104 * Settings of the gRPC notification endpoint including the endpoint URL and the retry duration. 105 * </pre> 106 * 107 * <code> 108 * optional .google.cloud.compute.v1.NotificationEndpointGrpcSettings grpc_settings = 456139556; 109 * </code> 110 * 111 * @return Whether the grpcSettings field is set. 112 */ hasGrpcSettings()113 boolean hasGrpcSettings(); 114 /** 115 * 116 * 117 * <pre> 118 * Settings of the gRPC notification endpoint including the endpoint URL and the retry duration. 119 * </pre> 120 * 121 * <code> 122 * optional .google.cloud.compute.v1.NotificationEndpointGrpcSettings grpc_settings = 456139556; 123 * </code> 124 * 125 * @return The grpcSettings. 126 */ getGrpcSettings()127 com.google.cloud.compute.v1.NotificationEndpointGrpcSettings getGrpcSettings(); 128 /** 129 * 130 * 131 * <pre> 132 * Settings of the gRPC notification endpoint including the endpoint URL and the retry duration. 133 * </pre> 134 * 135 * <code> 136 * optional .google.cloud.compute.v1.NotificationEndpointGrpcSettings grpc_settings = 456139556; 137 * </code> 138 */ getGrpcSettingsOrBuilder()139 com.google.cloud.compute.v1.NotificationEndpointGrpcSettingsOrBuilder getGrpcSettingsOrBuilder(); 140 141 /** 142 * 143 * 144 * <pre> 145 * [Output Only] A unique identifier for this resource type. The server generates this identifier. 146 * </pre> 147 * 148 * <code>optional uint64 id = 3355;</code> 149 * 150 * @return Whether the id field is set. 151 */ hasId()152 boolean hasId(); 153 /** 154 * 155 * 156 * <pre> 157 * [Output Only] A unique identifier for this resource type. The server generates this identifier. 158 * </pre> 159 * 160 * <code>optional uint64 id = 3355;</code> 161 * 162 * @return The id. 163 */ getId()164 long getId(); 165 166 /** 167 * 168 * 169 * <pre> 170 * [Output Only] Type of the resource. Always compute#notificationEndpoint for notification endpoints. 171 * </pre> 172 * 173 * <code>optional string kind = 3292052;</code> 174 * 175 * @return Whether the kind field is set. 176 */ hasKind()177 boolean hasKind(); 178 /** 179 * 180 * 181 * <pre> 182 * [Output Only] Type of the resource. Always compute#notificationEndpoint for notification endpoints. 183 * </pre> 184 * 185 * <code>optional string kind = 3292052;</code> 186 * 187 * @return The kind. 188 */ getKind()189 java.lang.String getKind(); 190 /** 191 * 192 * 193 * <pre> 194 * [Output Only] Type of the resource. Always compute#notificationEndpoint for notification endpoints. 195 * </pre> 196 * 197 * <code>optional string kind = 3292052;</code> 198 * 199 * @return The bytes for kind. 200 */ getKindBytes()201 com.google.protobuf.ByteString getKindBytes(); 202 203 /** 204 * 205 * 206 * <pre> 207 * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 208 * </pre> 209 * 210 * <code>optional string name = 3373707;</code> 211 * 212 * @return Whether the name field is set. 213 */ hasName()214 boolean hasName(); 215 /** 216 * 217 * 218 * <pre> 219 * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 220 * </pre> 221 * 222 * <code>optional string name = 3373707;</code> 223 * 224 * @return The name. 225 */ getName()226 java.lang.String getName(); 227 /** 228 * 229 * 230 * <pre> 231 * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 232 * </pre> 233 * 234 * <code>optional string name = 3373707;</code> 235 * 236 * @return The bytes for name. 237 */ getNameBytes()238 com.google.protobuf.ByteString getNameBytes(); 239 240 /** 241 * 242 * 243 * <pre> 244 * [Output Only] URL of the region where the notification endpoint resides. This field applies only to the regional resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 245 * </pre> 246 * 247 * <code>optional string region = 138946292;</code> 248 * 249 * @return Whether the region field is set. 250 */ hasRegion()251 boolean hasRegion(); 252 /** 253 * 254 * 255 * <pre> 256 * [Output Only] URL of the region where the notification endpoint resides. This field applies only to the regional resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 257 * </pre> 258 * 259 * <code>optional string region = 138946292;</code> 260 * 261 * @return The region. 262 */ getRegion()263 java.lang.String getRegion(); 264 /** 265 * 266 * 267 * <pre> 268 * [Output Only] URL of the region where the notification endpoint resides. This field applies only to the regional resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 269 * </pre> 270 * 271 * <code>optional string region = 138946292;</code> 272 * 273 * @return The bytes for region. 274 */ getRegionBytes()275 com.google.protobuf.ByteString getRegionBytes(); 276 277 /** 278 * 279 * 280 * <pre> 281 * [Output Only] Server-defined URL for the resource. 282 * </pre> 283 * 284 * <code>optional string self_link = 456214797;</code> 285 * 286 * @return Whether the selfLink field is set. 287 */ hasSelfLink()288 boolean hasSelfLink(); 289 /** 290 * 291 * 292 * <pre> 293 * [Output Only] Server-defined URL for the resource. 294 * </pre> 295 * 296 * <code>optional string self_link = 456214797;</code> 297 * 298 * @return The selfLink. 299 */ getSelfLink()300 java.lang.String getSelfLink(); 301 /** 302 * 303 * 304 * <pre> 305 * [Output Only] Server-defined URL for the resource. 306 * </pre> 307 * 308 * <code>optional string self_link = 456214797;</code> 309 * 310 * @return The bytes for selfLink. 311 */ getSelfLinkBytes()312 com.google.protobuf.ByteString getSelfLinkBytes(); 313 } 314