| 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/service.proto |
| 20 |
|
| 21 |
package appengine |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 28 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 29 |
) |
| 30 |
|
| 31 |
const ( |
| 32 |
// Verify that this generated code is sufficiently up-to-date. |
| 33 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 34 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 36 |
) |
| 37 |
|
| 38 |
// Available sharding mechanisms. |
| 39 |
type TrafficSplit_ShardBy int32 |
| 40 |
|
| 41 |
const ( |
| 42 |
// Diversion method unspecified. |
| 43 |
TrafficSplit_UNSPECIFIED TrafficSplit_ShardBy = 0 |
| 44 |
// Diversion based on a specially named cookie, "GOOGAPPUID." The cookie |
| 45 |
// must be set by the application itself or no diversion will occur. |
| 46 |
TrafficSplit_COOKIE TrafficSplit_ShardBy = 1 |
| 47 |
// Diversion based on applying the modulus operation to a fingerprint |
| 48 |
// of the IP address. |
| 49 |
TrafficSplit_IP TrafficSplit_ShardBy = 2 |
| 50 |
// Diversion based on weighted random assignment. An incoming request is |
| 51 |
// randomly routed to a version in the traffic split, with probability |
| 52 |
// proportional to the version's traffic share. |
| 53 |
TrafficSplit_RANDOM TrafficSplit_ShardBy = 3 |
| 54 |
) |
| 55 |
|
| 56 |
// Enum value maps for TrafficSplit_ShardBy. |
| 57 |
var ( |
| 58 |
TrafficSplit_ShardBy_name = map[int32]string{ |
| 59 |
0: "UNSPECIFIED", |
| 60 |
1: "COOKIE", |
| 61 |
2: "IP", |
| 62 |
3: "RANDOM", |
| 63 |
} |
| 64 |
TrafficSplit_ShardBy_value = map[string]int32{ |
| 65 |
"UNSPECIFIED": 0, |
| 66 |
"COOKIE": 1, |
| 67 |
"IP": 2, |
| 68 |
"RANDOM": 3, |
| 69 |
} |
| 70 |
) |
| 71 |
|
| 72 |
func (x TrafficSplit_ShardBy) Enum() *TrafficSplit_ShardBy { |
| 73 |
p := new(TrafficSplit_ShardBy) |
| 74 |
*p = x |
| 75 |
return p |
| 76 |
} |
| 77 |
|
| 78 |
func (x TrafficSplit_ShardBy) String() string { |
| 79 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 80 |
} |
| 81 |
|
| 82 |
func (TrafficSplit_ShardBy) Descriptor() protoreflect.EnumDescriptor { |
| 83 |
return file_google_appengine_v1beta_service_proto_enumTypes[0].Descriptor() |
| 84 |
} |
| 85 |
|
| 86 |
func (TrafficSplit_ShardBy) Type() protoreflect.EnumType { |
| 87 |
return &file_google_appengine_v1beta_service_proto_enumTypes[0] |
| 88 |
} |
| 89 |
|
| 90 |
func (x TrafficSplit_ShardBy) Number() protoreflect.EnumNumber { |
| 91 |
return protoreflect.EnumNumber(x) |
| 92 |
} |
| 93 |
|
| 94 |
// Deprecated: Use TrafficSplit_ShardBy.Descriptor instead. |
| 95 |
func (TrafficSplit_ShardBy) EnumDescriptor() ([]byte, []int) { |
| 96 |
return file_google_appengine_v1beta_service_proto_rawDescGZIP(), []int{1, 0} |
| 97 |
} |
| 98 |
|
| 99 |
// A Service resource is a logical component of an application that can share |
| 100 |
// state and communicate in a secure fashion with other services. |
| 101 |
// For example, an application that handles customer requests might |
| 102 |
// include separate services to handle tasks such as backend data |
| 103 |
// analysis or API requests from mobile devices. Each service has a |
| 104 |
// collection of versions that define a specific set of code used to |
| 105 |
// implement the functionality of that service. |
| 106 |
type Service struct { |
| 107 |
state protoimpl.MessageState |
| 108 |
sizeCache protoimpl.SizeCache |
| 109 |
unknownFields protoimpl.UnknownFields |
| 110 |
|
| 111 |
// Full path to the Service resource in the API. |
| 112 |
// Example: `apps/myapp/services/default`. |
| 113 |
// |
| 114 |
// @OutputOnly |
| 115 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 116 |
// Relative name of the service within the application. |
| 117 |
// Example: `default`. |
| 118 |
// |
| 119 |
// @OutputOnly |
| 120 |
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` |
| 121 |
// Mapping that defines fractional HTTP traffic diversion to |
| 122 |
// different versions within the service. |
| 123 |
Split *TrafficSplit `protobuf:"bytes,3,opt,name=split,proto3" json:"split,omitempty"` |
| 124 |
// Ingress settings for this service. Will apply to all versions. |
| 125 |
NetworkSettings *NetworkSettings `protobuf:"bytes,6,opt,name=network_settings,json=networkSettings,proto3" json:"network_settings,omitempty"` |
| 126 |
} |
| 127 |
|
| 128 |
func (x *Service) Reset() { |
| 129 |
*x = Service{} |
| 130 |
if protoimpl.UnsafeEnabled { |
| 131 |
mi := &file_google_appengine_v1beta_service_proto_msgTypes[0] |
| 132 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 133 |
ms.StoreMessageInfo(mi) |
| 134 |
} |
| 135 |
} |
| 136 |
|
| 137 |
func (x *Service) String() string { |
| 138 |
return protoimpl.X.MessageStringOf(x) |
| 139 |
} |
| 140 |
|
| 141 |
func (*Service) ProtoMessage() {} |
| 142 |
|
| 143 |
func (x *Service) ProtoReflect() protoreflect.Message { |
| 144 |
mi := &file_google_appengine_v1beta_service_proto_msgTypes[0] |
| 145 |
if protoimpl.UnsafeEnabled && x != nil { |
| 146 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 147 |
if ms.LoadMessageInfo() == nil { |
| 148 |
ms.StoreMessageInfo(mi) |
| 149 |
} |
| 150 |
return ms |
| 151 |
} |
| 152 |
return mi.MessageOf(x) |
| 153 |
} |
| 154 |
|
| 155 |
// Deprecated: Use Service.ProtoReflect.Descriptor instead. |
| 156 |
func (*Service) Descriptor() ([]byte, []int) { |
| 157 |
return file_google_appengine_v1beta_service_proto_rawDescGZIP(), []int{0} |
| 158 |
} |
| 159 |
|
| 160 |
func (x *Service) GetName() string { |
| 161 |
if x != nil { |
| 162 |
return x.Name |
| 163 |
} |
| 164 |
return "" |
| 165 |
} |
| 166 |
|
| 167 |
func (x *Service) GetId() string { |
| 168 |
if x != nil { |
| 169 |
return x.Id |
| 170 |
} |
| 171 |
return "" |
| 172 |
} |
| 173 |
|
| 174 |
func (x *Service) GetSplit() *TrafficSplit { |
| 175 |
if x != nil { |
| 176 |
return x.Split |
| 177 |
} |
| 178 |
return nil |
| 179 |
} |
| 180 |
|
| 181 |
func (x *Service) GetNetworkSettings() *NetworkSettings { |
| 182 |
if x != nil { |
| 183 |
return x.NetworkSettings |
| 184 |
} |
| 185 |
return nil |
| 186 |
} |
| 187 |
|
| 188 |
// Traffic routing configuration for versions within a single service. Traffic |
| 189 |
// splits define how traffic directed to the service is assigned to versions. |
| 190 |
type TrafficSplit struct { |
| 191 |
state protoimpl.MessageState |
| 192 |
sizeCache protoimpl.SizeCache |
| 193 |
unknownFields protoimpl.UnknownFields |
| 194 |
|
| 195 |
// Mechanism used to determine which version a request is sent to. |
| 196 |
// The traffic selection algorithm will |
| 197 |
// be stable for either type until allocations are changed. |
| 198 |
ShardBy TrafficSplit_ShardBy `protobuf:"varint,1,opt,name=shard_by,json=shardBy,proto3,enum=google.appengine.v1beta.TrafficSplit_ShardBy" json:"shard_by,omitempty"` |
| 199 |
// Mapping from version IDs within the service to fractional |
| 200 |
// (0.000, 1] allocations of traffic for that version. Each version can |
| 201 |
// be specified only once, but some versions in the service may not |
| 202 |
// have any traffic allocation. Services that have traffic allocated |
| 203 |
// cannot be deleted until either the service is deleted or |
| 204 |
// their traffic allocation is removed. Allocations must sum to 1. |
| 205 |
// Up to two decimal place precision is supported for IP-based splits and |
| 206 |
// up to three decimal places is supported for cookie-based splits. |
| 207 |
Allocations map[string]float64 `protobuf:"bytes,2,rep,name=allocations,proto3" json:"allocations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` |
| 208 |
} |
| 209 |
|
| 210 |
func (x *TrafficSplit) Reset() { |
| 211 |
*x = TrafficSplit{} |
| 212 |
if protoimpl.UnsafeEnabled { |
| 213 |
mi := &file_google_appengine_v1beta_service_proto_msgTypes[1] |
| 214 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 215 |
ms.StoreMessageInfo(mi) |
| 216 |
} |
| 217 |
} |
| 218 |
|
| 219 |
func (x *TrafficSplit) String() string { |
| 220 |
return protoimpl.X.MessageStringOf(x) |
| 221 |
} |
| 222 |
|
| 223 |
func (*TrafficSplit) ProtoMessage() {} |
| 224 |
|
| 225 |
func (x *TrafficSplit) ProtoReflect() protoreflect.Message { |
| 226 |
mi := &file_google_appengine_v1beta_service_proto_msgTypes[1] |
| 227 |
if protoimpl.UnsafeEnabled && x != nil { |
| 228 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 229 |
if ms.LoadMessageInfo() == nil { |
| 230 |
ms.StoreMessageInfo(mi) |
| 231 |
} |
| 232 |
return ms |
| 233 |
} |
| 234 |
return mi.MessageOf(x) |
| 235 |
} |
| 236 |
|
| 237 |
// Deprecated: Use TrafficSplit.ProtoReflect.Descriptor instead. |
| 238 |
func (*TrafficSplit) Descriptor() ([]byte, []int) { |
| 239 |
return file_google_appengine_v1beta_service_proto_rawDescGZIP(), []int{1} |
| 240 |
} |
| 241 |
|
| 242 |
func (x *TrafficSplit) GetShardBy() TrafficSplit_ShardBy { |
| 243 |
if x != nil { |
| 244 |
return x.ShardBy |
| 245 |
} |
| 246 |
return TrafficSplit_UNSPECIFIED |
| 247 |
} |
| 248 |
|
| 249 |
func (x *TrafficSplit) GetAllocations() map[string]float64 { |
| 250 |
if x != nil { |
| 251 |
return x.Allocations |
| 252 |
} |
| 253 |
return nil |
| 254 |
} |
| 255 |
|
| 256 |
var File_google_appengine_v1beta_service_proto protoreflect.FileDescriptor |
| 257 |
|
| 258 |
var file_google_appengine_v1beta_service_proto_rawDesc = []byte{ |
| 259 |
0x0a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, |
| 260 |
0x6e, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 261 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 262 |
0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 263 |
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, |
| 264 |
0x6e, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, |
| 265 |
0x6b, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 266 |
0x22, 0xbf, 0x01, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, |
| 267 |
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, |
| 268 |
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, |
| 269 |
0x12, 0x3b, 0x0a, 0x05, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 270 |
0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, |
| 271 |
0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, |
| 272 |
0x63, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x52, 0x05, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x12, 0x53, 0x0a, |
| 273 |
0x10, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, |
| 274 |
0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 275 |
0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, |
| 276 |
0x61, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, |
| 277 |
0x73, 0x52, 0x0f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, |
| 278 |
0x67, 0x73, 0x22, 0xae, 0x02, 0x0a, 0x0c, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x53, 0x70, |
| 279 |
0x6c, 0x69, 0x74, 0x12, 0x48, 0x0a, 0x08, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x62, 0x79, 0x18, |
| 280 |
0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, |
| 281 |
0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, |
| 282 |
0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x2e, 0x53, 0x68, 0x61, |
| 283 |
0x72, 0x64, 0x42, 0x79, 0x52, 0x07, 0x73, 0x68, 0x61, 0x72, 0x64, 0x42, 0x79, 0x12, 0x58, 0x0a, |
| 284 |
0x0b, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, |
| 285 |
0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65, |
| 286 |
0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, |
| 287 |
0x66, 0x66, 0x69, 0x63, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, |
| 288 |
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6c, 0x6c, 0x6f, |
| 289 |
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6c, 0x6c, 0x6f, 0x63, |
| 290 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, |
| 291 |
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, |
| 292 |
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, |
| 293 |
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3a, 0x0a, 0x07, 0x53, 0x68, 0x61, 0x72, 0x64, |
| 294 |
0x42, 0x79, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, |
| 295 |
0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4f, 0x4b, 0x49, 0x45, 0x10, 0x01, 0x12, |
| 296 |
0x06, 0x0a, 0x02, 0x49, 0x50, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x41, 0x4e, 0x44, 0x4f, |
| 297 |
0x4d, 0x10, 0x03, 0x42, 0xd2, 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 298 |
0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, |
| 299 |
0x65, 0x74, 0x61, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, |
| 300 |
0x6f, 0x50, 0x01, 0x5a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, |
| 301 |
0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, |
| 302 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x65, 0x6e, |
| 303 |
0x67, 0x69, 0x6e, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x61, 0x70, 0x70, 0x65, |
| 304 |
0x6e, 0x67, 0x69, 0x6e, 0x65, 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, |
| 305 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x56, |
| 306 |
0x31, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, |
| 307 |
0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5c, 0x56, |
| 308 |
0x31, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, |
| 309 |
0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, |
| 310 |
0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 311 |
} |
| 312 |
|
| 313 |
var ( |
| 314 |
file_google_appengine_v1beta_service_proto_rawDescOnce sync.Once |
| 315 |
file_google_appengine_v1beta_service_proto_rawDescData = file_google_appengine_v1beta_service_proto_rawDesc |
| 316 |
) |
| 317 |
|
| 318 |
func file_google_appengine_v1beta_service_proto_rawDescGZIP() []byte { |
| 319 |
file_google_appengine_v1beta_service_proto_rawDescOnce.Do(func() { |
| 320 |
file_google_appengine_v1beta_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_appengine_v1beta_service_proto_rawDescData) |
| 321 |
}) |
| 322 |
return file_google_appengine_v1beta_service_proto_rawDescData |
| 323 |
} |
| 324 |
|
| 325 |
var file_google_appengine_v1beta_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 326 |
var file_google_appengine_v1beta_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3) |
| 327 |
var file_google_appengine_v1beta_service_proto_goTypes = []interface{}{ |
| 328 |
(TrafficSplit_ShardBy)(0), // 0: google.appengine.v1beta.TrafficSplit.ShardBy |
| 329 |
(*Service)(nil), // 1: google.appengine.v1beta.Service |
| 330 |
(*TrafficSplit)(nil), // 2: google.appengine.v1beta.TrafficSplit |
| 331 |
nil, // 3: google.appengine.v1beta.TrafficSplit.AllocationsEntry |
| 332 |
(*NetworkSettings)(nil), // 4: google.appengine.v1beta.NetworkSettings |
| 333 |
} |
| 334 |
var file_google_appengine_v1beta_service_proto_depIdxs = []int32{ |
| 335 |
2, // 0: google.appengine.v1beta.Service.split:type_name -> google.appengine.v1beta.TrafficSplit |
| 336 |
4, // 1: google.appengine.v1beta.Service.network_settings:type_name -> google.appengine.v1beta.NetworkSettings |
| 337 |
0, // 2: google.appengine.v1beta.TrafficSplit.shard_by:type_name -> google.appengine.v1beta.TrafficSplit.ShardBy |
| 338 |
3, // 3: google.appengine.v1beta.TrafficSplit.allocations:type_name -> google.appengine.v1beta.TrafficSplit.AllocationsEntry |
| 339 |
4, // [4:4] is the sub-list for method output_type |
| 340 |
4, // [4:4] is the sub-list for method input_type |
| 341 |
4, // [4:4] is the sub-list for extension type_name |
| 342 |
4, // [4:4] is the sub-list for extension extendee |
| 343 |
0, // [0:4] is the sub-list for field type_name |
| 344 |
} |
| 345 |
|
| 346 |
func init() { file_google_appengine_v1beta_service_proto_init() } |
| 347 |
func file_google_appengine_v1beta_service_proto_init() { |
| 348 |
if File_google_appengine_v1beta_service_proto != nil { |
| 349 |
return |
| 350 |
} |
| 351 |
file_google_appengine_v1beta_network_settings_proto_init() |
| 352 |
if !protoimpl.UnsafeEnabled { |
| 353 |
file_google_appengine_v1beta_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 354 |
switch v := v.(*Service); i { |
| 355 |
case 0: |
| 356 |
return &v.state |
| 357 |
case 1: |
| 358 |
return &v.sizeCache |
| 359 |
case 2: |
| 360 |
return &v.unknownFields |
| 361 |
default: |
| 362 |
return nil |
| 363 |
} |
| 364 |
} |
| 365 |
file_google_appengine_v1beta_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 366 |
switch v := v.(*TrafficSplit); i { |
| 367 |
case 0: |
| 368 |
return &v.state |
| 369 |
case 1: |
| 370 |
return &v.sizeCache |
| 371 |
case 2: |
| 372 |
return &v.unknownFields |
| 373 |
default: |
| 374 |
return nil |
| 375 |
} |
| 376 |
} |
| 377 |
} |
| 378 |
type x struct{} |
| 379 |
out := protoimpl.TypeBuilder{ |
| 380 |
File: protoimpl.DescBuilder{ |
| 381 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 382 |
RawDescriptor: file_google_appengine_v1beta_service_proto_rawDesc, |
| 383 |
NumEnums: 1, |
| 384 |
NumMessages: 3, |
| 385 |
NumExtensions: 0, |
| 386 |
NumServices: 0, |
| 387 |
}, |
| 388 |
GoTypes: file_google_appengine_v1beta_service_proto_goTypes, |
| 389 |
DependencyIndexes: file_google_appengine_v1beta_service_proto_depIdxs, |
| 390 |
EnumInfos: file_google_appengine_v1beta_service_proto_enumTypes, |
| 391 |
MessageInfos: file_google_appengine_v1beta_service_proto_msgTypes, |
| 392 |
}.Build() |
| 393 |
File_google_appengine_v1beta_service_proto = out.File |
| 394 |
file_google_appengine_v1beta_service_proto_rawDesc = nil |
| 395 |
file_google_appengine_v1beta_service_proto_goTypes = nil |
| 396 |
file_google_appengine_v1beta_service_proto_depIdxs = nil |
| 397 |
} |