| 1 |
// Copyright 2021 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v3.12.2 |
| 19 |
// source: google/appengine/v1beta/instance.proto |
| 20 |
|
| 21 |
package appengine |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 28 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 29 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 30 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 31 |
) |
| 32 |
|
| 33 |
const ( |
| 34 |
// Verify that this generated code is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 36 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 37 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 38 |
) |
| 39 |
|
| 40 |
// Availability of the instance. |
| 41 |
type Instance_Availability int32 |
| 42 |
|
| 43 |
const ( |
| 44 |
Instance_UNSPECIFIED Instance_Availability = 0 |
| 45 |
Instance_RESIDENT Instance_Availability = 1 |
| 46 |
Instance_DYNAMIC Instance_Availability = 2 |
| 47 |
) |
| 48 |
|
| 49 |
// Enum value maps for Instance_Availability. |
| 50 |
var ( |
| 51 |
Instance_Availability_name = map[int32]string{ |
| 52 |
0: "UNSPECIFIED", |
| 53 |
1: "RESIDENT", |
| 54 |
2: "DYNAMIC", |
| 55 |
} |
| 56 |
Instance_Availability_value = map[string]int32{ |
| 57 |
"UNSPECIFIED": 0, |
| 58 |
"RESIDENT": 1, |
| 59 |
"DYNAMIC": 2, |
| 60 |
} |
| 61 |
) |
| 62 |
|
| 63 |
func (x Instance_Availability) Enum() *Instance_Availability { |
| 64 |
p := new(Instance_Availability) |
| 65 |
*p = x |
| 66 |
return p |
| 67 |
} |
| 68 |
|
| 69 |
func (x Instance_Availability) String() string { |
| 70 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 71 |
} |
| 72 |
|
| 73 |
func (Instance_Availability) Descriptor() protoreflect.EnumDescriptor { |
| 74 |
return file_google_appengine_v1beta_instance_proto_enumTypes[0].Descriptor() |
| 75 |
} |
| 76 |
|
| 77 |
func (Instance_Availability) Type() protoreflect.EnumType { |
| 78 |
return &file_google_appengine_v1beta_instance_proto_enumTypes[0] |
| 79 |
} |
| 80 |
|
| 81 |
func (x Instance_Availability) Number() protoreflect.EnumNumber { |
| 82 |
return protoreflect.EnumNumber(x) |
| 83 |
} |
| 84 |
|
| 85 |
// Deprecated: Use Instance_Availability.Descriptor instead. |
| 86 |
func (Instance_Availability) EnumDescriptor() ([]byte, []int) { |
| 87 |
return file_google_appengine_v1beta_instance_proto_rawDescGZIP(), []int{0, 0} |
| 88 |
} |
| 89 |
|
| 90 |
// Liveness health check status for Flex instances. |
| 91 |
type Instance_Liveness_LivenessState int32 |
| 92 |
|
| 93 |
const ( |
| 94 |
// There is no liveness health check for the instance. Only applicable for |
| 95 |
// instances in App Engine standard environment. |
| 96 |
Instance_Liveness_LIVENESS_STATE_UNSPECIFIED Instance_Liveness_LivenessState = 0 |
| 97 |
// The health checking system is aware of the instance but its health is |
| 98 |
// not known at the moment. |
| 99 |
Instance_Liveness_UNKNOWN Instance_Liveness_LivenessState = 1 |
| 100 |
// The instance is reachable i.e. a connection to the application health |
| 101 |
// checking endpoint can be established, and conforms to the requirements |
| 102 |
// defined by the health check. |
| 103 |
Instance_Liveness_HEALTHY Instance_Liveness_LivenessState = 2 |
| 104 |
// The instance is reachable, but does not conform to the requirements |
| 105 |
// defined by the health check. |
| 106 |
Instance_Liveness_UNHEALTHY Instance_Liveness_LivenessState = 3 |
| 107 |
// The instance is being drained. The existing connections to the instance |
| 108 |
// have time to complete, but the new ones are being refused. |
| 109 |
Instance_Liveness_DRAINING Instance_Liveness_LivenessState = 4 |
| 110 |
// The instance is unreachable i.e. a connection to the application health |
| 111 |
// checking endpoint cannot be established, or the server does not respond |
| 112 |
// within the specified timeout. |
| 113 |
Instance_Liveness_TIMEOUT Instance_Liveness_LivenessState = 5 |
| 114 |
) |
| 115 |
|
| 116 |
// Enum value maps for Instance_Liveness_LivenessState. |
| 117 |
var ( |
| 118 |
Instance_Liveness_LivenessState_name = map[int32]string{ |
| 119 |
0: "LIVENESS_STATE_UNSPECIFIED", |
| 120 |
1: "UNKNOWN", |
| 121 |
2: "HEALTHY", |
| 122 |
3: "UNHEALTHY", |
| 123 |
4: "DRAINING", |
| 124 |
5: "TIMEOUT", |
| 125 |
} |
| 126 |
Instance_Liveness_LivenessState_value = map[string]int32{ |
| 127 |
"LIVENESS_STATE_UNSPECIFIED": 0, |
| 128 |
"UNKNOWN": 1, |
| 129 |
"HEALTHY": 2, |
| 130 |
"UNHEALTHY": 3, |
| 131 |
"DRAINING": 4, |
| 132 |
"TIMEOUT": 5, |
| 133 |
} |
| 134 |
) |
| 135 |
|
| 136 |
func (x Instance_Liveness_LivenessState) Enum() *Instance_Liveness_LivenessState { |
| 137 |
p := new(Instance_Liveness_LivenessState) |
| 138 |
*p = x |
| 139 |
return p |
| 140 |
} |
| 141 |
|
| 142 |
func (x Instance_Liveness_LivenessState) String() string { |
| 143 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 144 |
} |
| 145 |
|
| 146 |
func (Instance_Liveness_LivenessState) Descriptor() protoreflect.EnumDescriptor { |
| 147 |
return file_google_appengine_v1beta_instance_proto_enumTypes[1].Descriptor() |
| 148 |
} |
| 149 |
|
| 150 |
func (Instance_Liveness_LivenessState) Type() protoreflect.EnumType { |
| 151 |
return &file_google_appengine_v1beta_instance_proto_enumTypes[1] |
| 152 |
} |
| 153 |
|
| 154 |
func (x Instance_Liveness_LivenessState) Number() protoreflect.EnumNumber { |
| 155 |
return protoreflect.EnumNumber(x) |
| 156 |
} |
| 157 |
|
| 158 |
// Deprecated: Use Instance_Liveness_LivenessState.Descriptor instead. |
| 159 |
func (Instance_Liveness_LivenessState) EnumDescriptor() ([]byte, []int) { |
| 160 |
return file_google_appengine_v1beta_instance_proto_rawDescGZIP(), []int{0, 0, 0} |
| 161 |
} |
| 162 |
|
| 163 |
// An Instance resource is the computing unit that App Engine uses to |
| 164 |
// automatically scale an application. |
| 165 |
type Instance struct { |
| 166 |
state protoimpl.MessageState |
| 167 |
sizeCache protoimpl.SizeCache |
| 168 |
unknownFields protoimpl.UnknownFields |
| 169 |
|
| 170 |
// Output only. Full path to the Instance resource in the API. |
| 171 |
// Example: `apps/myapp/services/default/versions/v1/instances/instance-1`. |
| 172 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 173 |
// Output only. Relative name of the instance within the version. |
| 174 |
// Example: `instance-1`. |
| 175 |
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` |
| 176 |
// Output only. App Engine release this instance is running on. |
| 177 |
AppEngineRelease string `protobuf:"bytes,3,opt,name=app_engine_release,json=appEngineRelease,proto3" json:"app_engine_release,omitempty"` |
| 178 |
// Output only. Availability of the instance. |
| 179 |
Availability Instance_Availability `protobuf:"varint,4,opt,name=availability,proto3,enum=google.appengine.v1beta.Instance_Availability" json:"availability,omitempty"` |
| 180 |
// Output only. Name of the virtual machine where this instance lives. Only applicable |
| 181 |
// for instances in App Engine flexible environment. |
| 182 |
VmName string `protobuf:"bytes,5,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"` |
| 183 |
// Output only. Zone where the virtual machine is located. Only applicable for instances |
| 184 |
// in App Engine flexible environment. |
| 185 |
VmZoneName string `protobuf:"bytes,6,opt,name=vm_zone_name,json=vmZoneName,proto3" json:"vm_zone_name,omitempty"` |
| 186 |
// Output only. Virtual machine ID of this instance. Only applicable for instances in |
| 187 |
// App Engine flexible environment. |
| 188 |
VmId string `protobuf:"bytes,7,opt,name=vm_id,json=vmId,proto3" json:"vm_id,omitempty"` |
| 189 |
// Output only. Time that this instance was started. |
| 190 |
// |
| 191 |
// @OutputOnly |
| 192 |
StartTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` |
| 193 |
// Output only. Number of requests since this instance was started. |
| 194 |
Requests int32 `protobuf:"varint,9,opt,name=requests,proto3" json:"requests,omitempty"` |
| 195 |
// Output only. Number of errors since this instance was started. |
| 196 |
Errors int32 `protobuf:"varint,10,opt,name=errors,proto3" json:"errors,omitempty"` |
| 197 |
// Output only. Average queries per second (QPS) over the last minute. |
| 198 |
Qps float32 `protobuf:"fixed32,11,opt,name=qps,proto3" json:"qps,omitempty"` |
| 199 |
// Output only. Average latency (ms) over the last minute. |
| 200 |
AverageLatency int32 `protobuf:"varint,12,opt,name=average_latency,json=averageLatency,proto3" json:"average_latency,omitempty"` |
| 201 |
// Output only. Total memory in use (bytes). |
| 202 |
MemoryUsage int64 `protobuf:"varint,13,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"` |
| 203 |
// Output only. Status of the virtual machine where this instance lives. Only applicable |
| 204 |
// for instances in App Engine flexible environment. |
| 205 |
VmStatus string `protobuf:"bytes,14,opt,name=vm_status,json=vmStatus,proto3" json:"vm_status,omitempty"` |
| 206 |
// Output only. Whether this instance is in debug mode. Only applicable for instances in |
| 207 |
// App Engine flexible environment. |
| 208 |
VmDebugEnabled bool `protobuf:"varint,15,opt,name=vm_debug_enabled,json=vmDebugEnabled,proto3" json:"vm_debug_enabled,omitempty"` |
| 209 |
// Output only. The IP address of this instance. Only applicable for instances in App |
| 210 |
// Engine flexible environment. |
| 211 |
VmIp string `protobuf:"bytes,16,opt,name=vm_ip,json=vmIp,proto3" json:"vm_ip,omitempty"` |
| 212 |
// Output only. The liveness health check of this instance. Only applicable for instances |
| 213 |
// in App Engine flexible environment. |
| 214 |
VmLiveness Instance_Liveness_LivenessState `protobuf:"varint,17,opt,name=vm_liveness,json=vmLiveness,proto3,enum=google.appengine.v1beta.Instance_Liveness_LivenessState" json:"vm_liveness,omitempty"` |
| 215 |
} |
| 216 |
|
| 217 |
func (x *Instance) Reset() { |
| 218 |
*x = Instance{} |
| 219 |
if protoimpl.UnsafeEnabled { |
| 220 |
mi := &file_google_appengine_v1beta_instance_proto_msgTypes[0] |
| 221 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 222 |
ms.StoreMessageInfo(mi) |
| 223 |
} |
| 224 |
} |
| 225 |
|
| 226 |
func (x *Instance) String() string { |
| 227 |
return protoimpl.X.MessageStringOf(x) |
| 228 |
} |
| 229 |
|
| 230 |
func (*Instance) ProtoMessage() {} |
| 231 |
|
| 232 |
func (x *Instance) ProtoReflect() protoreflect.Message { |
| 233 |
mi := &file_google_appengine_v1beta_instance_proto_msgTypes[0] |
| 234 |
if protoimpl.UnsafeEnabled && x != nil { |
| 235 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 236 |
if ms.LoadMessageInfo() == nil { |
| 237 |
ms.StoreMessageInfo(mi) |
| 238 |
} |
| 239 |
return ms |
| 240 |
} |
| 241 |
return mi.MessageOf(x) |
| 242 |
} |
| 243 |
|
| 244 |
// Deprecated: Use Instance.ProtoReflect.Descriptor instead. |
| 245 |
func (*Instance) Descriptor() ([]byte, []int) { |
| 246 |
return file_google_appengine_v1beta_instance_proto_rawDescGZIP(), []int{0} |
| 247 |
} |
| 248 |
|
| 249 |
func (x *Instance) GetName() string { |
| 250 |
if x != nil { |
| 251 |
return x.Name |
| 252 |
} |
| 253 |
return "" |
| 254 |
} |
| 255 |
|
| 256 |
func (x *Instance) GetId() string { |
| 257 |
if x != nil { |
| 258 |
return x.Id |
| 259 |
} |
| 260 |
return "" |
| 261 |
} |
| 262 |
|
| 263 |
func (x *Instance) GetAppEngineRelease() string { |
| 264 |
if x != nil { |
| 265 |
return x.AppEngineRelease |
| 266 |
} |
| 267 |
return "" |
| 268 |
} |
| 269 |
|
| 270 |
func (x *Instance) GetAvailability() Instance_Availability { |
| 271 |
if x != nil { |
| 272 |
return x.Availability |
| 273 |
} |
| 274 |
return Instance_UNSPECIFIED |
| 275 |
} |
| 276 |
|
| 277 |
func (x *Instance) GetVmName() string { |
| 278 |
if x != nil { |
| 279 |
return x.VmName |
| 280 |
} |
| 281 |
return "" |
| 282 |
} |
| 283 |
|
| 284 |
func (x *Instance) GetVmZoneName() string { |
| 285 |
if x != nil { |
| 286 |
return x.VmZoneName |
| 287 |
} |
| 288 |
return "" |
| 289 |
} |
| 290 |
|
| 291 |
func (x *Instance) GetVmId() string { |
| 292 |
if x != nil { |
| 293 |
return x.VmId |
| 294 |
} |
| 295 |
return "" |
| 296 |
} |
| 297 |
|
| 298 |
func (x *Instance) GetStartTime() *timestamppb.Timestamp { |
| 299 |
if x != nil { |
| 300 |
return x.StartTime |
| 301 |
} |
| 302 |
return nil |
| 303 |
} |
| 304 |
|
| 305 |
func (x *Instance) GetRequests() int32 { |
| 306 |
if x != nil { |
| 307 |
return x.Requests |
| 308 |
} |
| 309 |
return 0 |
| 310 |
} |
| 311 |
|
| 312 |
func (x *Instance) GetErrors() int32 { |
| 313 |
if x != nil { |
| 314 |
return x.Errors |
| 315 |
} |
| 316 |
return 0 |
| 317 |
} |
| 318 |
|
| 319 |
func (x *Instance) GetQps() float32 { |
| 320 |
if x != nil { |
| 321 |
return x.Qps |
| 322 |
} |
| 323 |
return 0 |
| 324 |
} |
| 325 |
|
| 326 |
func (x *Instance) GetAverageLatency() int32 { |
| 327 |
if x != nil { |
| 328 |
return x.AverageLatency |
| 329 |
} |
| 330 |
return 0 |
| 331 |
} |
| 332 |
|
| 333 |
func (x *Instance) GetMemoryUsage() int64 { |
| 334 |
if x != nil { |
| 335 |
return x.MemoryUsage |
| 336 |
} |
| 337 |
return 0 |
| 338 |
} |
| 339 |
|
| 340 |
func (x *Instance) GetVmStatus() string { |
| 341 |
if x != nil { |
| 342 |
return x.VmStatus |
| 343 |
} |
| 344 |
return "" |
| 345 |
} |
| 346 |
|
| 347 |
func (x *Instance) GetVmDebugEnabled() bool { |
| 348 |
if x != nil { |
| 349 |
return x.VmDebugEnabled |
| 350 |
} |
| 351 |
return false |
| 352 |
} |
| 353 |
|
| 354 |
func (x *Instance) GetVmIp() string { |
| 355 |
if x != nil { |
| 356 |
return x.VmIp |
| 357 |
} |
| 358 |
return "" |
| 359 |
} |
| 360 |
|
| 361 |
func (x *Instance) GetVmLiveness() Instance_Liveness_LivenessState { |
| 362 |
if x != nil { |
| 363 |
return x.VmLiveness |
| 364 |
} |
| 365 |
return Instance_Liveness_LIVENESS_STATE_UNSPECIFIED |
| 366 |
} |
| 367 |
|
| 368 |
// Wrapper for LivenessState enum. |
| 369 |
type Instance_Liveness struct { |
| 370 |
state protoimpl.MessageState |
| 371 |
sizeCache protoimpl.SizeCache |
| 372 |
unknownFields protoimpl.UnknownFields |
| 373 |
} |
| 374 |
|
| 375 |
func (x *Instance_Liveness) Reset() { |
| 376 |
*x = Instance_Liveness{} |
| 377 |
if protoimpl.UnsafeEnabled { |
| 378 |
mi := &file_google_appengine_v1beta_instance_proto_msgTypes[1] |
| 379 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 380 |
ms.StoreMessageInfo(mi) |
| 381 |
} |
| 382 |
} |
| 383 |
|
| 384 |
func (x *Instance_Liveness) String() string { |
| 385 |
return protoimpl.X.MessageStringOf(x) |
| 386 |
} |
| 387 |
|
| 388 |
func (*Instance_Liveness) ProtoMessage() {} |
| 389 |
|
| 390 |
func (x *Instance_Liveness) ProtoReflect() protoreflect.Message { |
| 391 |
mi := &file_google_appengine_v1beta_instance_proto_msgTypes[1] |
| 392 |
if protoimpl.UnsafeEnabled && x != nil { |
| 393 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 394 |
if ms.LoadMessageInfo() == nil { |
| 395 |
ms.StoreMessageInfo(mi) |
| 396 |
} |
| 397 |
return ms |
| 398 |
} |
| 399 |
return mi.MessageOf(x) |
| 400 |
} |
| 401 |
|
| 402 |
// Deprecated: Use Instance_Liveness.ProtoReflect.Descriptor instead. |
| 403 |
func (*Instance_Liveness) Descriptor() ([]byte, []int) { |
| 404 |
return file_google_appengine_v1beta_instance_proto_rawDescGZIP(), []int{0, 0} |
| 405 |
} |
| 406 |
|
| 407 |
var File_google_appengine_v1beta_instance_proto protoreflect.FileDescriptor |
| 408 |
|
| 409 |
var file_google_appengine_v1beta_instance_proto_rawDesc = []byte{ |
| 410 |
0x0a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, |
| 411 |
0x6e, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, |
| 412 |
0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 413 |
0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, |
| 414 |
0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, |
| 415 |
0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, |
| 416 |
0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, |
| 417 |
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, |
| 418 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, |
| 419 |
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, |
| 420 |
0x08, 0x0a, 0x08, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, |
| 421 |
0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, |
| 422 |
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, |
| 423 |
0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x31, 0x0a, 0x12, 0x61, 0x70, 0x70, |
| 424 |
0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, |
| 425 |
0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x61, 0x70, 0x70, 0x45, |
| 426 |
0x6e, 0x67, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x0c, |
| 427 |
0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, |
| 428 |
0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65, |
| 429 |
0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x49, 0x6e, 0x73, |
| 430 |
0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, |
| 431 |
0x74, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, |
| 432 |
0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x07, 0x76, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, |
| 433 |
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x76, 0x6d, 0x4e, |
| 434 |
0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0c, 0x76, 0x6d, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, |
| 435 |
0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, |
| 436 |
0x76, 0x6d, 0x5a, 0x6f, 0x6e, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x05, 0x76, 0x6d, |
| 437 |
0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, |
| 438 |
0x76, 0x6d, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, |
| 439 |
0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 440 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, |
| 441 |
0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, |
| 442 |
0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, |
| 443 |
0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x72, 0x65, 0x71, |
| 444 |
0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, |
| 445 |
0x0a, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, |
| 446 |
0x72, 0x73, 0x12, 0x15, 0x0a, 0x03, 0x71, 0x70, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x02, 0x42, |
| 447 |
0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x71, 0x70, 0x73, 0x12, 0x2c, 0x0a, 0x0f, 0x61, 0x76, 0x65, |
| 448 |
0x72, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x0c, 0x20, 0x01, |
| 449 |
0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0e, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, |
| 450 |
0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x26, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, |
| 451 |
0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, |
| 452 |
0x41, 0x03, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, |
| 453 |
0x20, 0x0a, 0x09, 0x76, 0x6d, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0e, 0x20, 0x01, |
| 454 |
0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x76, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, |
| 455 |
0x73, 0x12, 0x2d, 0x0a, 0x10, 0x76, 0x6d, 0x5f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x65, 0x6e, |
| 456 |
0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, |
| 457 |
0x52, 0x0e, 0x76, 0x6d, 0x44, 0x65, 0x62, 0x75, 0x67, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, |
| 458 |
0x12, 0x18, 0x0a, 0x05, 0x76, 0x6d, 0x5f, 0x69, 0x70, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x42, |
| 459 |
0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x76, 0x6d, 0x49, 0x70, 0x12, 0x5e, 0x0a, 0x0b, 0x76, 0x6d, |
| 460 |
0x5f, 0x6c, 0x69, 0x76, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, |
| 461 |
0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, |
| 462 |
0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, |
| 463 |
0x63, 0x65, 0x2e, 0x4c, 0x69, 0x76, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x2e, 0x4c, 0x69, 0x76, 0x65, |
| 464 |
0x6e, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, |
| 465 |
0x76, 0x6d, 0x4c, 0x69, 0x76, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x1a, 0x7f, 0x0a, 0x08, 0x4c, 0x69, |
| 466 |
0x76, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x22, 0x73, 0x0a, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x6e, 0x65, |
| 467 |
0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x4c, 0x49, 0x56, 0x45, 0x4e, |
| 468 |
0x45, 0x53, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, |
| 469 |
0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, |
| 470 |
0x57, 0x4e, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x59, 0x10, |
| 471 |
0x02, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x4e, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x59, 0x10, 0x03, |
| 472 |
0x12, 0x0c, 0x0a, 0x08, 0x44, 0x52, 0x41, 0x49, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x0b, |
| 473 |
0x0a, 0x07, 0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0x05, 0x22, 0x3a, 0x0a, 0x0c, 0x41, |
| 474 |
0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x0f, 0x0a, 0x0b, 0x55, |
| 475 |
0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, |
| 476 |
0x52, 0x45, 0x53, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x59, |
| 477 |
0x4e, 0x41, 0x4d, 0x49, 0x43, 0x10, 0x02, 0x3a, 0x6d, 0xea, 0x41, 0x6a, 0x0a, 0x21, 0x61, 0x70, |
| 478 |
0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, |
| 479 |
0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, |
| 480 |
0x45, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x7b, 0x61, 0x70, 0x70, 0x7d, 0x2f, 0x73, 0x65, 0x72, 0x76, |
| 481 |
0x69, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x7d, 0x2f, 0x76, |
| 482 |
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, |
| 483 |
0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, |
| 484 |
0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x42, 0xd3, 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, |
| 485 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, |
| 486 |
0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x0d, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, |
| 487 |
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 488 |
0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, |
| 489 |
0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, |
| 490 |
0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x3b, |
| 491 |
0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, |
| 492 |
0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, |
| 493 |
0x6e, 0x65, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, |
| 494 |
0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, |
| 495 |
0x6e, 0x65, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, |
| 496 |
0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x70, 0x70, 0x45, 0x6e, |
| 497 |
0x67, 0x69, 0x6e, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, |
| 498 |
0x6f, 0x74, 0x6f, 0x33, |
| 499 |
} |
| 500 |
|
| 501 |
var ( |
| 502 |
file_google_appengine_v1beta_instance_proto_rawDescOnce sync.Once |
| 503 |
file_google_appengine_v1beta_instance_proto_rawDescData = file_google_appengine_v1beta_instance_proto_rawDesc |
| 504 |
) |
| 505 |
|
| 506 |
func file_google_appengine_v1beta_instance_proto_rawDescGZIP() []byte { |
| 507 |
file_google_appengine_v1beta_instance_proto_rawDescOnce.Do(func() { |
| 508 |
file_google_appengine_v1beta_instance_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_appengine_v1beta_instance_proto_rawDescData) |
| 509 |
}) |
| 510 |
return file_google_appengine_v1beta_instance_proto_rawDescData |
| 511 |
} |
| 512 |
|
| 513 |
var file_google_appengine_v1beta_instance_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| 514 |
var file_google_appengine_v1beta_instance_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 515 |
var file_google_appengine_v1beta_instance_proto_goTypes = []interface{}{ |
| 516 |
(Instance_Availability)(0), // 0: google.appengine.v1beta.Instance.Availability |
| 517 |
(Instance_Liveness_LivenessState)(0), // 1: google.appengine.v1beta.Instance.Liveness.LivenessState |
| 518 |
(*Instance)(nil), // 2: google.appengine.v1beta.Instance |
| 519 |
(*Instance_Liveness)(nil), // 3: google.appengine.v1beta.Instance.Liveness |
| 520 |
(*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp |
| 521 |
} |
| 522 |
var file_google_appengine_v1beta_instance_proto_depIdxs = []int32{ |
| 523 |
0, // 0: google.appengine.v1beta.Instance.availability:type_name -> google.appengine.v1beta.Instance.Availability |
| 524 |
4, // 1: google.appengine.v1beta.Instance.start_time:type_name -> google.protobuf.Timestamp |
| 525 |
1, // 2: google.appengine.v1beta.Instance.vm_liveness:type_name -> google.appengine.v1beta.Instance.Liveness.LivenessState |
| 526 |
3, // [3:3] is the sub-list for method output_type |
| 527 |
3, // [3:3] is the sub-list for method input_type |
| 528 |
3, // [3:3] is the sub-list for extension type_name |
| 529 |
3, // [3:3] is the sub-list for extension extendee |
| 530 |
0, // [0:3] is the sub-list for field type_name |
| 531 |
} |
| 532 |
|
| 533 |
func init() { file_google_appengine_v1beta_instance_proto_init() } |
| 534 |
func file_google_appengine_v1beta_instance_proto_init() { |
| 535 |
if File_google_appengine_v1beta_instance_proto != nil { |
| 536 |
return |
| 537 |
} |
| 538 |
if !protoimpl.UnsafeEnabled { |
| 539 |
file_google_appengine_v1beta_instance_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 540 |
switch v := v.(*Instance); i { |
| 541 |
case 0: |
| 542 |
return &v.state |
| 543 |
case 1: |
| 544 |
return &v.sizeCache |
| 545 |
case 2: |
| 546 |
return &v.unknownFields |
| 547 |
default: |
| 548 |
return nil |
| 549 |
} |
| 550 |
} |
| 551 |
file_google_appengine_v1beta_instance_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 552 |
switch v := v.(*Instance_Liveness); i { |
| 553 |
case 0: |
| 554 |
return &v.state |
| 555 |
case 1: |
| 556 |
return &v.sizeCache |
| 557 |
case 2: |
| 558 |
return &v.unknownFields |
| 559 |
default: |
| 560 |
return nil |
| 561 |
} |
| 562 |
} |
| 563 |
} |
| 564 |
type x struct{} |
| 565 |
out := protoimpl.TypeBuilder{ |
| 566 |
File: protoimpl.DescBuilder{ |
| 567 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 568 |
RawDescriptor: file_google_appengine_v1beta_instance_proto_rawDesc, |
| 569 |
NumEnums: 2, |
| 570 |
NumMessages: 2, |
| 571 |
NumExtensions: 0, |
| 572 |
NumServices: 0, |
| 573 |
}, |
| 574 |
GoTypes: file_google_appengine_v1beta_instance_proto_goTypes, |
| 575 |
DependencyIndexes: file_google_appengine_v1beta_instance_proto_depIdxs, |
| 576 |
EnumInfos: file_google_appengine_v1beta_instance_proto_enumTypes, |
| 577 |
MessageInfos: file_google_appengine_v1beta_instance_proto_msgTypes, |
| 578 |
}.Build() |
| 579 |
File_google_appengine_v1beta_instance_proto = out.File |
| 580 |
file_google_appengine_v1beta_instance_proto_rawDesc = nil |
| 581 |
file_google_appengine_v1beta_instance_proto_goTypes = nil |
| 582 |
file_google_appengine_v1beta_instance_proto_depIdxs = nil |
| 583 |
} |