| 1 |
// Copyright 2022 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/cloud/networkservices/v1/gateway.proto |
| 20 |
|
| 21 |
package networkservices |
| 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 |
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" |
| 31 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 32 |
) |
| 33 |
|
| 34 |
const ( |
| 35 |
// Verify that this generated code is sufficiently up-to-date. |
| 36 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 37 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 38 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 39 |
) |
| 40 |
|
| 41 |
// The type of the customer-managed gateway. |
| 42 |
// Possible values are: |
| 43 |
// * OPEN_MESH |
| 44 |
// * SECURE_WEB_GATEWAY |
| 45 |
type Gateway_Type int32 |
| 46 |
|
| 47 |
const ( |
| 48 |
// The type of the customer managed gateway is unspecified. |
| 49 |
Gateway_TYPE_UNSPECIFIED Gateway_Type = 0 |
| 50 |
// The type of the customer managed gateway is TrafficDirector Open |
| 51 |
// Mesh. |
| 52 |
Gateway_OPEN_MESH Gateway_Type = 1 |
| 53 |
// The type of the customer managed gateway is SecureWebGateway (SWG). |
| 54 |
Gateway_SECURE_WEB_GATEWAY Gateway_Type = 2 |
| 55 |
) |
| 56 |
|
| 57 |
// Enum value maps for Gateway_Type. |
| 58 |
var ( |
| 59 |
Gateway_Type_name = map[int32]string{ |
| 60 |
0: "TYPE_UNSPECIFIED", |
| 61 |
1: "OPEN_MESH", |
| 62 |
2: "SECURE_WEB_GATEWAY", |
| 63 |
} |
| 64 |
Gateway_Type_value = map[string]int32{ |
| 65 |
"TYPE_UNSPECIFIED": 0, |
| 66 |
"OPEN_MESH": 1, |
| 67 |
"SECURE_WEB_GATEWAY": 2, |
| 68 |
} |
| 69 |
) |
| 70 |
|
| 71 |
func (x Gateway_Type) Enum() *Gateway_Type { |
| 72 |
p := new(Gateway_Type) |
| 73 |
*p = x |
| 74 |
return p |
| 75 |
} |
| 76 |
|
| 77 |
func (x Gateway_Type) String() string { |
| 78 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 79 |
} |
| 80 |
|
| 81 |
func (Gateway_Type) Descriptor() protoreflect.EnumDescriptor { |
| 82 |
return file_google_cloud_networkservices_v1_gateway_proto_enumTypes[0].Descriptor() |
| 83 |
} |
| 84 |
|
| 85 |
func (Gateway_Type) Type() protoreflect.EnumType { |
| 86 |
return &file_google_cloud_networkservices_v1_gateway_proto_enumTypes[0] |
| 87 |
} |
| 88 |
|
| 89 |
func (x Gateway_Type) Number() protoreflect.EnumNumber { |
| 90 |
return protoreflect.EnumNumber(x) |
| 91 |
} |
| 92 |
|
| 93 |
// Deprecated: Use Gateway_Type.Descriptor instead. |
| 94 |
func (Gateway_Type) EnumDescriptor() ([]byte, []int) { |
| 95 |
return file_google_cloud_networkservices_v1_gateway_proto_rawDescGZIP(), []int{0, 0} |
| 96 |
} |
| 97 |
|
| 98 |
// Gateway represents the configuration for a proxy, typically a load balancer. |
| 99 |
// It captures the ip:port over which the services are exposed by the proxy, |
| 100 |
// along with any policy configurations. Routes have reference to to Gateways to |
| 101 |
// dictate how requests should be routed by this Gateway. |
| 102 |
type Gateway struct { |
| 103 |
state protoimpl.MessageState |
| 104 |
sizeCache protoimpl.SizeCache |
| 105 |
unknownFields protoimpl.UnknownFields |
| 106 |
|
| 107 |
// Required. Name of the Gateway resource. It matches pattern |
| 108 |
// `projects/*/locations/*/gateways/<gateway_name>`. |
| 109 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 110 |
// Output only. Server-defined URL of this resource |
| 111 |
SelfLink string `protobuf:"bytes,13,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"` |
| 112 |
// Output only. The timestamp when the resource was created. |
| 113 |
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 114 |
// Output only. The timestamp when the resource was updated. |
| 115 |
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` |
| 116 |
// Optional. Set of label tags associated with the Gateway resource. |
| 117 |
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 118 |
// Optional. A free-text description of the resource. Max length 1024 characters. |
| 119 |
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` |
| 120 |
// Immutable. The type of the customer managed gateway. |
| 121 |
// This field is required. If unspecified, an error is returned. |
| 122 |
Type Gateway_Type `protobuf:"varint,6,opt,name=type,proto3,enum=google.cloud.networkservices.v1.Gateway_Type" json:"type,omitempty"` |
| 123 |
// Required. One or more ports that the Gateway must receive traffic on. The proxy binds |
| 124 |
// to the ports specified. Gateway listen on 0.0.0.0 on the ports specified |
| 125 |
// below. |
| 126 |
Ports []int32 `protobuf:"varint,11,rep,packed,name=ports,proto3" json:"ports,omitempty"` |
| 127 |
// Required. Immutable. Scope determines how configuration across multiple Gateway instances are |
| 128 |
// merged. The configuration for multiple Gateway instances with the same |
| 129 |
// scope will be merged as presented as a single coniguration to the |
| 130 |
// proxy/load balancer. |
| 131 |
// |
| 132 |
// Max length 64 characters. |
| 133 |
// Scope should start with a letter and can only have letters, numbers, |
| 134 |
// hyphens. |
| 135 |
Scope string `protobuf:"bytes,8,opt,name=scope,proto3" json:"scope,omitempty"` |
| 136 |
// Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS |
| 137 |
// traffic is terminated. If empty, TLS termination is disabled. |
| 138 |
ServerTlsPolicy string `protobuf:"bytes,9,opt,name=server_tls_policy,json=serverTlsPolicy,proto3" json:"server_tls_policy,omitempty"` |
| 139 |
} |
| 140 |
|
| 141 |
func (x *Gateway) Reset() { |
| 142 |
*x = Gateway{} |
| 143 |
if protoimpl.UnsafeEnabled { |
| 144 |
mi := &file_google_cloud_networkservices_v1_gateway_proto_msgTypes[0] |
| 145 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 146 |
ms.StoreMessageInfo(mi) |
| 147 |
} |
| 148 |
} |
| 149 |
|
| 150 |
func (x *Gateway) String() string { |
| 151 |
return protoimpl.X.MessageStringOf(x) |
| 152 |
} |
| 153 |
|
| 154 |
func (*Gateway) ProtoMessage() {} |
| 155 |
|
| 156 |
func (x *Gateway) ProtoReflect() protoreflect.Message { |
| 157 |
mi := &file_google_cloud_networkservices_v1_gateway_proto_msgTypes[0] |
| 158 |
if protoimpl.UnsafeEnabled && x != nil { |
| 159 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 160 |
if ms.LoadMessageInfo() == nil { |
| 161 |
ms.StoreMessageInfo(mi) |
| 162 |
} |
| 163 |
return ms |
| 164 |
} |
| 165 |
return mi.MessageOf(x) |
| 166 |
} |
| 167 |
|
| 168 |
// Deprecated: Use Gateway.ProtoReflect.Descriptor instead. |
| 169 |
func (*Gateway) Descriptor() ([]byte, []int) { |
| 170 |
return file_google_cloud_networkservices_v1_gateway_proto_rawDescGZIP(), []int{0} |
| 171 |
} |
| 172 |
|
| 173 |
func (x *Gateway) GetName() string { |
| 174 |
if x != nil { |
| 175 |
return x.Name |
| 176 |
} |
| 177 |
return "" |
| 178 |
} |
| 179 |
|
| 180 |
func (x *Gateway) GetSelfLink() string { |
| 181 |
if x != nil { |
| 182 |
return x.SelfLink |
| 183 |
} |
| 184 |
return "" |
| 185 |
} |
| 186 |
|
| 187 |
func (x *Gateway) GetCreateTime() *timestamppb.Timestamp { |
| 188 |
if x != nil { |
| 189 |
return x.CreateTime |
| 190 |
} |
| 191 |
return nil |
| 192 |
} |
| 193 |
|
| 194 |
func (x *Gateway) GetUpdateTime() *timestamppb.Timestamp { |
| 195 |
if x != nil { |
| 196 |
return x.UpdateTime |
| 197 |
} |
| 198 |
return nil |
| 199 |
} |
| 200 |
|
| 201 |
func (x *Gateway) GetLabels() map[string]string { |
| 202 |
if x != nil { |
| 203 |
return x.Labels |
| 204 |
} |
| 205 |
return nil |
| 206 |
} |
| 207 |
|
| 208 |
func (x *Gateway) GetDescription() string { |
| 209 |
if x != nil { |
| 210 |
return x.Description |
| 211 |
} |
| 212 |
return "" |
| 213 |
} |
| 214 |
|
| 215 |
func (x *Gateway) GetType() Gateway_Type { |
| 216 |
if x != nil { |
| 217 |
return x.Type |
| 218 |
} |
| 219 |
return Gateway_TYPE_UNSPECIFIED |
| 220 |
} |
| 221 |
|
| 222 |
func (x *Gateway) GetPorts() []int32 { |
| 223 |
if x != nil { |
| 224 |
return x.Ports |
| 225 |
} |
| 226 |
return nil |
| 227 |
} |
| 228 |
|
| 229 |
func (x *Gateway) GetScope() string { |
| 230 |
if x != nil { |
| 231 |
return x.Scope |
| 232 |
} |
| 233 |
return "" |
| 234 |
} |
| 235 |
|
| 236 |
func (x *Gateway) GetServerTlsPolicy() string { |
| 237 |
if x != nil { |
| 238 |
return x.ServerTlsPolicy |
| 239 |
} |
| 240 |
return "" |
| 241 |
} |
| 242 |
|
| 243 |
// Request used with the ListGateways method. |
| 244 |
type ListGatewaysRequest struct { |
| 245 |
state protoimpl.MessageState |
| 246 |
sizeCache protoimpl.SizeCache |
| 247 |
unknownFields protoimpl.UnknownFields |
| 248 |
|
| 249 |
// Required. The project and location from which the Gateways should be |
| 250 |
// listed, specified in the format `projects/*/locations/*`. |
| 251 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 252 |
// Maximum number of Gateways to return per call. |
| 253 |
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 254 |
// The value returned by the last `ListGatewaysResponse` |
| 255 |
// Indicates that this is a continuation of a prior `ListGateways` call, |
| 256 |
// and that the system should return the next page of data. |
| 257 |
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 258 |
} |
| 259 |
|
| 260 |
func (x *ListGatewaysRequest) Reset() { |
| 261 |
*x = ListGatewaysRequest{} |
| 262 |
if protoimpl.UnsafeEnabled { |
| 263 |
mi := &file_google_cloud_networkservices_v1_gateway_proto_msgTypes[1] |
| 264 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 265 |
ms.StoreMessageInfo(mi) |
| 266 |
} |
| 267 |
} |
| 268 |
|
| 269 |
func (x *ListGatewaysRequest) String() string { |
| 270 |
return protoimpl.X.MessageStringOf(x) |
| 271 |
} |
| 272 |
|
| 273 |
func (*ListGatewaysRequest) ProtoMessage() {} |
| 274 |
|
| 275 |
func (x *ListGatewaysRequest) ProtoReflect() protoreflect.Message { |
| 276 |
mi := &file_google_cloud_networkservices_v1_gateway_proto_msgTypes[1] |
| 277 |
if protoimpl.UnsafeEnabled && x != nil { |
| 278 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 279 |
if ms.LoadMessageInfo() == nil { |
| 280 |
ms.StoreMessageInfo(mi) |
| 281 |
} |
| 282 |
return ms |
| 283 |
} |
| 284 |
return mi.MessageOf(x) |
| 285 |
} |
| 286 |
|
| 287 |
// Deprecated: Use ListGatewaysRequest.ProtoReflect.Descriptor instead. |
| 288 |
func (*ListGatewaysRequest) Descriptor() ([]byte, []int) { |
| 289 |
return file_google_cloud_networkservices_v1_gateway_proto_rawDescGZIP(), []int{1} |
| 290 |
} |
| 291 |
|
| 292 |
func (x *ListGatewaysRequest) GetParent() string { |
| 293 |
if x != nil { |
| 294 |
return x.Parent |
| 295 |
} |
| 296 |
return "" |
| 297 |
} |
| 298 |
|
| 299 |
func (x *ListGatewaysRequest) GetPageSize() int32 { |
| 300 |
if x != nil { |
| 301 |
return x.PageSize |
| 302 |
} |
| 303 |
return 0 |
| 304 |
} |
| 305 |
|
| 306 |
func (x *ListGatewaysRequest) GetPageToken() string { |
| 307 |
if x != nil { |
| 308 |
return x.PageToken |
| 309 |
} |
| 310 |
return "" |
| 311 |
} |
| 312 |
|
| 313 |
// Response returned by the ListGateways method. |
| 314 |
type ListGatewaysResponse struct { |
| 315 |
state protoimpl.MessageState |
| 316 |
sizeCache protoimpl.SizeCache |
| 317 |
unknownFields protoimpl.UnknownFields |
| 318 |
|
| 319 |
// List of Gateway resources. |
| 320 |
Gateways []*Gateway `protobuf:"bytes,1,rep,name=gateways,proto3" json:"gateways,omitempty"` |
| 321 |
// If there might be more results than those appearing in this response, then |
| 322 |
// `next_page_token` is included. To get the next set of results, call this |
| 323 |
// method again using the value of `next_page_token` as `page_token`. |
| 324 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 325 |
} |
| 326 |
|
| 327 |
func (x *ListGatewaysResponse) Reset() { |
| 328 |
*x = ListGatewaysResponse{} |
| 329 |
if protoimpl.UnsafeEnabled { |
| 330 |
mi := &file_google_cloud_networkservices_v1_gateway_proto_msgTypes[2] |
| 331 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 332 |
ms.StoreMessageInfo(mi) |
| 333 |
} |
| 334 |
} |
| 335 |
|
| 336 |
func (x *ListGatewaysResponse) String() string { |
| 337 |
return protoimpl.X.MessageStringOf(x) |
| 338 |
} |
| 339 |
|
| 340 |
func (*ListGatewaysResponse) ProtoMessage() {} |
| 341 |
|
| 342 |
func (x *ListGatewaysResponse) ProtoReflect() protoreflect.Message { |
| 343 |
mi := &file_google_cloud_networkservices_v1_gateway_proto_msgTypes[2] |
| 344 |
if protoimpl.UnsafeEnabled && x != nil { |
| 345 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 346 |
if ms.LoadMessageInfo() == nil { |
| 347 |
ms.StoreMessageInfo(mi) |
| 348 |
} |
| 349 |
return ms |
| 350 |
} |
| 351 |
return mi.MessageOf(x) |
| 352 |
} |
| 353 |
|
| 354 |
// Deprecated: Use ListGatewaysResponse.ProtoReflect.Descriptor instead. |
| 355 |
func (*ListGatewaysResponse) Descriptor() ([]byte, []int) { |
| 356 |
return file_google_cloud_networkservices_v1_gateway_proto_rawDescGZIP(), []int{2} |
| 357 |
} |
| 358 |
|
| 359 |
func (x *ListGatewaysResponse) GetGateways() []*Gateway { |
| 360 |
if x != nil { |
| 361 |
return x.Gateways |
| 362 |
} |
| 363 |
return nil |
| 364 |
} |
| 365 |
|
| 366 |
func (x *ListGatewaysResponse) GetNextPageToken() string { |
| 367 |
if x != nil { |
| 368 |
return x.NextPageToken |
| 369 |
} |
| 370 |
return "" |
| 371 |
} |
| 372 |
|
| 373 |
// Request used by the GetGateway method. |
| 374 |
type GetGatewayRequest struct { |
| 375 |
state protoimpl.MessageState |
| 376 |
sizeCache protoimpl.SizeCache |
| 377 |
unknownFields protoimpl.UnknownFields |
| 378 |
|
| 379 |
// Required. A name of the Gateway to get. Must be in the format |
| 380 |
// `projects/*/locations/*/gateways/*`. |
| 381 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 382 |
} |
| 383 |
|
| 384 |
func (x *GetGatewayRequest) Reset() { |
| 385 |
*x = GetGatewayRequest{} |
| 386 |
if protoimpl.UnsafeEnabled { |
| 387 |
mi := &file_google_cloud_networkservices_v1_gateway_proto_msgTypes[3] |
| 388 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 389 |
ms.StoreMessageInfo(mi) |
| 390 |
} |
| 391 |
} |
| 392 |
|
| 393 |
func (x *GetGatewayRequest) String() string { |
| 394 |
return protoimpl.X.MessageStringOf(x) |
| 395 |
} |
| 396 |
|
| 397 |
func (*GetGatewayRequest) ProtoMessage() {} |
| 398 |
|
| 399 |
func (x *GetGatewayRequest) ProtoReflect() protoreflect.Message { |
| 400 |
mi := &file_google_cloud_networkservices_v1_gateway_proto_msgTypes[3] |
| 401 |
if protoimpl.UnsafeEnabled && x != nil { |
| 402 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 403 |
if ms.LoadMessageInfo() == nil { |
| 404 |
ms.StoreMessageInfo(mi) |
| 405 |
} |
| 406 |
return ms |
| 407 |
} |
| 408 |
return mi.MessageOf(x) |
| 409 |
} |
| 410 |
|
| 411 |
// Deprecated: Use GetGatewayRequest.ProtoReflect.Descriptor instead. |
| 412 |
func (*GetGatewayRequest) Descriptor() ([]byte, []int) { |
| 413 |
return file_google_cloud_networkservices_v1_gateway_proto_rawDescGZIP(), []int{3} |
| 414 |
} |
| 415 |
|
| 416 |
func (x *GetGatewayRequest) GetName() string { |
| 417 |
if x != nil { |
| 418 |
return x.Name |
| 419 |
} |
| 420 |
return "" |
| 421 |
} |
| 422 |
|
| 423 |
// Request used by the CreateGateway method. |
| 424 |
type CreateGatewayRequest struct { |
| 425 |
state protoimpl.MessageState |
| 426 |
sizeCache protoimpl.SizeCache |
| 427 |
unknownFields protoimpl.UnknownFields |
| 428 |
|
| 429 |
// Required. The parent resource of the Gateway. Must be in the |
| 430 |
// format `projects/*/locations/*`. |
| 431 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 432 |
// Required. Short name of the Gateway resource to be created. |
| 433 |
GatewayId string `protobuf:"bytes,2,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"` |
| 434 |
// Required. Gateway resource to be created. |
| 435 |
Gateway *Gateway `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"` |
| 436 |
} |
| 437 |
|
| 438 |
func (x *CreateGatewayRequest) Reset() { |
| 439 |
*x = CreateGatewayRequest{} |
| 440 |
if protoimpl.UnsafeEnabled { |
| 441 |
mi := &file_google_cloud_networkservices_v1_gateway_proto_msgTypes[4] |
| 442 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 443 |
ms.StoreMessageInfo(mi) |
| 444 |
} |
| 445 |
} |
| 446 |
|
| 447 |
func (x *CreateGatewayRequest) String() string { |
| 448 |
return protoimpl.X.MessageStringOf(x) |
| 449 |
} |
| 450 |
|
| 451 |
func (*CreateGatewayRequest) ProtoMessage() {} |
| 452 |
|
| 453 |
func (x *CreateGatewayRequest) ProtoReflect() protoreflect.Message { |
| 454 |
mi := &file_google_cloud_networkservices_v1_gateway_proto_msgTypes[4] |
| 455 |
if protoimpl.UnsafeEnabled && x != nil { |
| 456 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 457 |
if ms.LoadMessageInfo() == nil { |
| 458 |
ms.StoreMessageInfo(mi) |
| 459 |
} |
| 460 |
return ms |
| 461 |
} |
| 462 |
return mi.MessageOf(x) |
| 463 |
} |
| 464 |
|
| 465 |
// Deprecated: Use CreateGatewayRequest.ProtoReflect.Descriptor instead. |
| 466 |
func (*CreateGatewayRequest) Descriptor() ([]byte, []int) { |
| 467 |
return file_google_cloud_networkservices_v1_gateway_proto_rawDescGZIP(), []int{4} |
| 468 |
} |
| 469 |
|
| 470 |
func (x *CreateGatewayRequest) GetParent() string { |
| 471 |
if x != nil { |
| 472 |
return x.Parent |
| 473 |
} |
| 474 |
return "" |
| 475 |
} |
| 476 |
|
| 477 |
func (x *CreateGatewayRequest) GetGatewayId() string { |
| 478 |
if x != nil { |
| 479 |
return x.GatewayId |
| 480 |
} |
| 481 |
return "" |
| 482 |
} |
| 483 |
|
| 484 |
func (x *CreateGatewayRequest) GetGateway() *Gateway { |
| 485 |
if x != nil { |
| 486 |
return x.Gateway |
| 487 |
} |
| 488 |
return nil |
| 489 |
} |
| 490 |
|
| 491 |
// Request used by the UpdateGateway method. |
| 492 |
type UpdateGatewayRequest struct { |
| 493 |
state protoimpl.MessageState |
| 494 |
sizeCache protoimpl.SizeCache |
| 495 |
unknownFields protoimpl.UnknownFields |
| 496 |
|
| 497 |
// Optional. Field mask is used to specify the fields to be overwritten in the |
| 498 |
// Gateway resource by the update. |
| 499 |
// The fields specified in the update_mask are relative to the resource, not |
| 500 |
// the full request. A field will be overwritten if it is in the mask. If the |
| 501 |
// user does not provide a mask then all fields will be overwritten. |
| 502 |
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` |
| 503 |
// Required. Updated Gateway resource. |
| 504 |
Gateway *Gateway `protobuf:"bytes,2,opt,name=gateway,proto3" json:"gateway,omitempty"` |
| 505 |
} |
| 506 |
|
| 507 |
func (x *UpdateGatewayRequest) Reset() { |
| 508 |
*x = UpdateGatewayRequest{} |
| 509 |
if protoimpl.UnsafeEnabled { |
| 510 |
mi := &file_google_cloud_networkservices_v1_gateway_proto_msgTypes[5] |
| 511 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 512 |
ms.StoreMessageInfo(mi) |
| 513 |
} |
| 514 |
} |
| 515 |
|
| 516 |
func (x *UpdateGatewayRequest) String() string { |
| 517 |
return protoimpl.X.MessageStringOf(x) |
| 518 |
} |
| 519 |
|
| 520 |
func (*UpdateGatewayRequest) ProtoMessage() {} |
| 521 |
|
| 522 |
func (x *UpdateGatewayRequest) ProtoReflect() protoreflect.Message { |
| 523 |
mi := &file_google_cloud_networkservices_v1_gateway_proto_msgTypes[5] |
| 524 |
if protoimpl.UnsafeEnabled && x != nil { |
| 525 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 526 |
if ms.LoadMessageInfo() == nil { |
| 527 |
ms.StoreMessageInfo(mi) |
| 528 |
} |
| 529 |
return ms |
| 530 |
} |
| 531 |
return mi.MessageOf(x) |
| 532 |
} |
| 533 |
|
| 534 |
// Deprecated: Use UpdateGatewayRequest.ProtoReflect.Descriptor instead. |
| 535 |
func (*UpdateGatewayRequest) Descriptor() ([]byte, []int) { |
| 536 |
return file_google_cloud_networkservices_v1_gateway_proto_rawDescGZIP(), []int{5} |
| 537 |
} |
| 538 |
|
| 539 |
func (x *UpdateGatewayRequest) GetUpdateMask() *fieldmaskpb.FieldMask { |
| 540 |
if x != nil { |
| 541 |
return x.UpdateMask |
| 542 |
} |
| 543 |
return nil |
| 544 |
} |
| 545 |
|
| 546 |
func (x *UpdateGatewayRequest) GetGateway() *Gateway { |
| 547 |
if x != nil { |
| 548 |
return x.Gateway |
| 549 |
} |
| 550 |
return nil |
| 551 |
} |
| 552 |
|
| 553 |
// Request used by the DeleteGateway method. |
| 554 |
type DeleteGatewayRequest struct { |
| 555 |
state protoimpl.MessageState |
| 556 |
sizeCache protoimpl.SizeCache |
| 557 |
unknownFields protoimpl.UnknownFields |
| 558 |
|
| 559 |
// Required. A name of the Gateway to delete. Must be in the format |
| 560 |
// `projects/*/locations/*/gateways/*`. |
| 561 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 562 |
} |
| 563 |
|
| 564 |
func (x *DeleteGatewayRequest) Reset() { |
| 565 |
*x = DeleteGatewayRequest{} |
| 566 |
if protoimpl.UnsafeEnabled { |
| 567 |
mi := &file_google_cloud_networkservices_v1_gateway_proto_msgTypes[6] |
| 568 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 569 |
ms.StoreMessageInfo(mi) |
| 570 |
} |
| 571 |
} |
| 572 |
|
| 573 |
func (x *DeleteGatewayRequest) String() string { |
| 574 |
return protoimpl.X.MessageStringOf(x) |
| 575 |
} |
| 576 |
|
| 577 |
func (*DeleteGatewayRequest) ProtoMessage() {} |
| 578 |
|
| 579 |
func (x *DeleteGatewayRequest) ProtoReflect() protoreflect.Message { |
| 580 |
mi := &file_google_cloud_networkservices_v1_gateway_proto_msgTypes[6] |
| 581 |
if protoimpl.UnsafeEnabled && x != nil { |
| 582 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 583 |
if ms.LoadMessageInfo() == nil { |
| 584 |
ms.StoreMessageInfo(mi) |
| 585 |
} |
| 586 |
return ms |
| 587 |
} |
| 588 |
return mi.MessageOf(x) |
| 589 |
} |
| 590 |
|
| 591 |
// Deprecated: Use DeleteGatewayRequest.ProtoReflect.Descriptor instead. |
| 592 |
func (*DeleteGatewayRequest) Descriptor() ([]byte, []int) { |
| 593 |
return file_google_cloud_networkservices_v1_gateway_proto_rawDescGZIP(), []int{6} |
| 594 |
} |
| 595 |
|
| 596 |
func (x *DeleteGatewayRequest) GetName() string { |
| 597 |
if x != nil { |
| 598 |
return x.Name |
| 599 |
} |
| 600 |
return "" |
| 601 |
} |
| 602 |
|
| 603 |
var File_google_cloud_networkservices_v1_gateway_proto protoreflect.FileDescriptor |
| 604 |
|
| 605 |
var file_google_cloud_networkservices_v1_gateway_proto_rawDesc = []byte{ |
| 606 |
0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, |
| 607 |
0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x76, |
| 608 |
0x31, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, |
| 609 |
0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, |
| 610 |
0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, |
| 611 |
0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, |
| 612 |
0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 613 |
0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, |
| 614 |
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, |
| 615 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, |
| 616 |
0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, |
| 617 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, |
| 618 |
0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, |
| 619 |
0xdd, 0x05, 0x0a, 0x07, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x12, 0x17, 0x0a, 0x04, 0x6e, |
| 620 |
0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, |
| 621 |
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x09, 0x73, 0x65, 0x6c, 0x66, 0x5f, 0x6c, 0x69, 0x6e, |
| 622 |
0x6b, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x73, 0x65, |
| 623 |
0x6c, 0x66, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, |
| 624 |
0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, |
| 625 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, |
| 626 |
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, |
| 627 |
0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, |
| 628 |
0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, |
| 629 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, |
| 630 |
0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, |
| 631 |
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x06, 0x6c, 0x61, |
| 632 |
0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, |
| 633 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, |
| 634 |
0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x61, 0x74, |
| 635 |
0x65, 0x77, 0x61, 0x79, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, |
| 636 |
0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x25, 0x0a, |
| 637 |
0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, |
| 638 |
0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, |
| 639 |
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, |
| 640 |
0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 641 |
0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, |
| 642 |
0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x54, 0x79, 0x70, |
| 643 |
0x65, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x05, |
| 644 |
0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x02, |
| 645 |
0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, |
| 646 |
0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe0, 0x41, 0x02, 0xe0, 0x41, 0x05, 0x52, 0x05, |
| 647 |
0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, |
| 648 |
0x74, 0x6c, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, |
| 649 |
0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, |
| 650 |
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, |
| 651 |
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, |
| 652 |
0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, |
| 653 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, |
| 654 |
0x01, 0x22, 0x43, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, |
| 655 |
0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, |
| 656 |
0x0d, 0x0a, 0x09, 0x4f, 0x50, 0x45, 0x4e, 0x5f, 0x4d, 0x45, 0x53, 0x48, 0x10, 0x01, 0x12, 0x16, |
| 657 |
0x0a, 0x12, 0x53, 0x45, 0x43, 0x55, 0x52, 0x45, 0x5f, 0x57, 0x45, 0x42, 0x5f, 0x47, 0x41, 0x54, |
| 658 |
0x45, 0x57, 0x41, 0x59, 0x10, 0x02, 0x3a, 0x67, 0xea, 0x41, 0x64, 0x0a, 0x26, 0x6e, 0x65, 0x74, |
| 659 |
0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, |
| 660 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x61, 0x74, 0x65, |
| 661 |
0x77, 0x61, 0x79, 0x12, 0x3a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, |
| 662 |
0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 663 |
0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x67, 0x61, 0x74, |
| 664 |
0x65, 0x77, 0x61, 0x79, 0x73, 0x2f, 0x7b, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x7d, 0x22, |
| 665 |
0x99, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x73, |
| 666 |
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, |
| 667 |
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2e, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x28, 0x12, |
| 668 |
0x26, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, |
| 669 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, |
| 670 |
0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, |
| 671 |
0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, |
| 672 |
0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, |
| 673 |
0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, |
| 674 |
0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x84, 0x01, 0x0a, 0x14, |
| 675 |
0x4c, 0x69, 0x73, 0x74, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, |
| 676 |
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x08, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x73, |
| 677 |
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 678 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, |
| 679 |
0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, |
| 680 |
0x52, 0x08, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, |
| 681 |
0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, |
| 682 |
0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, |
| 683 |
0x65, 0x6e, 0x22, 0x57, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, |
| 684 |
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, |
| 685 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2e, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x28, 0x0a, 0x26, 0x6e, |
| 686 |
0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, |
| 687 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x61, |
| 688 |
0x74, 0x65, 0x77, 0x61, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xcb, 0x01, 0x0a, 0x14, |
| 689 |
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x52, 0x65, 0x71, |
| 690 |
0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, |
| 691 |
0x20, 0x01, 0x28, 0x09, 0x42, 0x2e, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x28, 0x12, 0x26, 0x6e, 0x65, |
| 692 |
0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, |
| 693 |
0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x61, 0x74, |
| 694 |
0x65, 0x77, 0x61, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0a, |
| 695 |
0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, |
| 696 |
0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x49, 0x64, |
| 697 |
0x12, 0x47, 0x0a, 0x07, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, |
| 698 |
0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 699 |
0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, |
| 700 |
0x2e, 0x76, 0x31, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, |
| 701 |
0x52, 0x07, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x22, 0xa1, 0x01, 0x0a, 0x14, 0x55, 0x70, |
| 702 |
0x64, 0x61, 0x74, 0x65, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 703 |
0x73, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, |
| 704 |
0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 705 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, |
| 706 |
0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, |
| 707 |
0x4d, 0x61, 0x73, 0x6b, 0x12, 0x47, 0x0a, 0x07, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x18, |
| 708 |
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 709 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, |
| 710 |
0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x42, |
| 711 |
0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x22, 0x5a, 0x0a, |
| 712 |
0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x52, 0x65, |
| 713 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, |
| 714 |
0x01, 0x28, 0x09, 0x42, 0x2e, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x28, 0x0a, 0x26, 0x6e, 0x65, 0x74, |
| 715 |
0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, |
| 716 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x61, 0x74, 0x65, |
| 717 |
0x77, 0x61, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0xee, 0x01, 0x0a, 0x23, 0x63, 0x6f, |
| 718 |
0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, |
| 719 |
0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, |
| 720 |
0x31, 0x42, 0x0c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, |
| 721 |
0x01, 0x5a, 0x4e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, |
| 722 |
0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, |
| 723 |
0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, |
| 724 |
0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x76, |
| 725 |
0x31, 0x3b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, |
| 726 |
0x73, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, |
| 727 |
0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, |
| 728 |
0x2e, 0x56, 0x31, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, |
| 729 |
0x75, 0x64, 0x5c, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 730 |
0x65, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, |
| 731 |
0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, |
| 732 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, |
| 733 |
0x6f, 0x33, |
| 734 |
} |
| 735 |
|
| 736 |
var ( |
| 737 |
file_google_cloud_networkservices_v1_gateway_proto_rawDescOnce sync.Once |
| 738 |
file_google_cloud_networkservices_v1_gateway_proto_rawDescData = file_google_cloud_networkservices_v1_gateway_proto_rawDesc |
| 739 |
) |
| 740 |
|
| 741 |
func file_google_cloud_networkservices_v1_gateway_proto_rawDescGZIP() []byte { |
| 742 |
file_google_cloud_networkservices_v1_gateway_proto_rawDescOnce.Do(func() { |
| 743 |
file_google_cloud_networkservices_v1_gateway_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_networkservices_v1_gateway_proto_rawDescData) |
| 744 |
}) |
| 745 |
return file_google_cloud_networkservices_v1_gateway_proto_rawDescData |
| 746 |
} |
| 747 |
|
| 748 |
var file_google_cloud_networkservices_v1_gateway_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 749 |
var file_google_cloud_networkservices_v1_gateway_proto_msgTypes = make([]protoimpl.MessageInfo, 8) |
| 750 |
var file_google_cloud_networkservices_v1_gateway_proto_goTypes = []interface{}{ |
| 751 |
(Gateway_Type)(0), // 0: google.cloud.networkservices.v1.Gateway.Type |
| 752 |
(*Gateway)(nil), // 1: google.cloud.networkservices.v1.Gateway |
| 753 |
(*ListGatewaysRequest)(nil), // 2: google.cloud.networkservices.v1.ListGatewaysRequest |
| 754 |
(*ListGatewaysResponse)(nil), // 3: google.cloud.networkservices.v1.ListGatewaysResponse |
| 755 |
(*GetGatewayRequest)(nil), // 4: google.cloud.networkservices.v1.GetGatewayRequest |
| 756 |
(*CreateGatewayRequest)(nil), // 5: google.cloud.networkservices.v1.CreateGatewayRequest |
| 757 |
(*UpdateGatewayRequest)(nil), // 6: google.cloud.networkservices.v1.UpdateGatewayRequest |
| 758 |
(*DeleteGatewayRequest)(nil), // 7: google.cloud.networkservices.v1.DeleteGatewayRequest |
| 759 |
nil, // 8: google.cloud.networkservices.v1.Gateway.LabelsEntry |
| 760 |
(*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp |
| 761 |
(*fieldmaskpb.FieldMask)(nil), // 10: google.protobuf.FieldMask |
| 762 |
} |
| 763 |
var file_google_cloud_networkservices_v1_gateway_proto_depIdxs = []int32{ |
| 764 |
9, // 0: google.cloud.networkservices.v1.Gateway.create_time:type_name -> google.protobuf.Timestamp |
| 765 |
9, // 1: google.cloud.networkservices.v1.Gateway.update_time:type_name -> google.protobuf.Timestamp |
| 766 |
8, // 2: google.cloud.networkservices.v1.Gateway.labels:type_name -> google.cloud.networkservices.v1.Gateway.LabelsEntry |
| 767 |
0, // 3: google.cloud.networkservices.v1.Gateway.type:type_name -> google.cloud.networkservices.v1.Gateway.Type |
| 768 |
1, // 4: google.cloud.networkservices.v1.ListGatewaysResponse.gateways:type_name -> google.cloud.networkservices.v1.Gateway |
| 769 |
1, // 5: google.cloud.networkservices.v1.CreateGatewayRequest.gateway:type_name -> google.cloud.networkservices.v1.Gateway |
| 770 |
10, // 6: google.cloud.networkservices.v1.UpdateGatewayRequest.update_mask:type_name -> google.protobuf.FieldMask |
| 771 |
1, // 7: google.cloud.networkservices.v1.UpdateGatewayRequest.gateway:type_name -> google.cloud.networkservices.v1.Gateway |
| 772 |
8, // [8:8] is the sub-list for method output_type |
| 773 |
8, // [8:8] is the sub-list for method input_type |
| 774 |
8, // [8:8] is the sub-list for extension type_name |
| 775 |
8, // [8:8] is the sub-list for extension extendee |
| 776 |
0, // [0:8] is the sub-list for field type_name |
| 777 |
} |
| 778 |
|
| 779 |
func init() { file_google_cloud_networkservices_v1_gateway_proto_init() } |
| 780 |
func file_google_cloud_networkservices_v1_gateway_proto_init() { |
| 781 |
if File_google_cloud_networkservices_v1_gateway_proto != nil { |
| 782 |
return |
| 783 |
} |
| 784 |
if !protoimpl.UnsafeEnabled { |
| 785 |
file_google_cloud_networkservices_v1_gateway_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 786 |
switch v := v.(*Gateway); i { |
| 787 |
case 0: |
| 788 |
return &v.state |
| 789 |
case 1: |
| 790 |
return &v.sizeCache |
| 791 |
case 2: |
| 792 |
return &v.unknownFields |
| 793 |
default: |
| 794 |
return nil |
| 795 |
} |
| 796 |
} |
| 797 |
file_google_cloud_networkservices_v1_gateway_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 798 |
switch v := v.(*ListGatewaysRequest); i { |
| 799 |
case 0: |
| 800 |
return &v.state |
| 801 |
case 1: |
| 802 |
return &v.sizeCache |
| 803 |
case 2: |
| 804 |
return &v.unknownFields |
| 805 |
default: |
| 806 |
return nil |
| 807 |
} |
| 808 |
} |
| 809 |
file_google_cloud_networkservices_v1_gateway_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 810 |
switch v := v.(*ListGatewaysResponse); i { |
| 811 |
case 0: |
| 812 |
return &v.state |
| 813 |
case 1: |
| 814 |
return &v.sizeCache |
| 815 |
case 2: |
| 816 |
return &v.unknownFields |
| 817 |
default: |
| 818 |
return nil |
| 819 |
} |
| 820 |
} |
| 821 |
file_google_cloud_networkservices_v1_gateway_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 822 |
switch v := v.(*GetGatewayRequest); i { |
| 823 |
case 0: |
| 824 |
return &v.state |
| 825 |
case 1: |
| 826 |
return &v.sizeCache |
| 827 |
case 2: |
| 828 |
return &v.unknownFields |
| 829 |
default: |
| 830 |
return nil |
| 831 |
} |
| 832 |
} |
| 833 |
file_google_cloud_networkservices_v1_gateway_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 834 |
switch v := v.(*CreateGatewayRequest); i { |
| 835 |
case 0: |
| 836 |
return &v.state |
| 837 |
case 1: |
| 838 |
return &v.sizeCache |
| 839 |
case 2: |
| 840 |
return &v.unknownFields |
| 841 |
default: |
| 842 |
return nil |
| 843 |
} |
| 844 |
} |
| 845 |
file_google_cloud_networkservices_v1_gateway_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 846 |
switch v := v.(*UpdateGatewayRequest); i { |
| 847 |
case 0: |
| 848 |
return &v.state |
| 849 |
case 1: |
| 850 |
return &v.sizeCache |
| 851 |
case 2: |
| 852 |
return &v.unknownFields |
| 853 |
default: |
| 854 |
return nil |
| 855 |
} |
| 856 |
} |
| 857 |
file_google_cloud_networkservices_v1_gateway_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 858 |
switch v := v.(*DeleteGatewayRequest); i { |
| 859 |
case 0: |
| 860 |
return &v.state |
| 861 |
case 1: |
| 862 |
return &v.sizeCache |
| 863 |
case 2: |
| 864 |
return &v.unknownFields |
| 865 |
default: |
| 866 |
return nil |
| 867 |
} |
| 868 |
} |
| 869 |
} |
| 870 |
type x struct{} |
| 871 |
out := protoimpl.TypeBuilder{ |
| 872 |
File: protoimpl.DescBuilder{ |
| 873 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 874 |
RawDescriptor: file_google_cloud_networkservices_v1_gateway_proto_rawDesc, |
| 875 |
NumEnums: 1, |
| 876 |
NumMessages: 8, |
| 877 |
NumExtensions: 0, |
| 878 |
NumServices: 0, |
| 879 |
}, |
| 880 |
GoTypes: file_google_cloud_networkservices_v1_gateway_proto_goTypes, |
| 881 |
DependencyIndexes: file_google_cloud_networkservices_v1_gateway_proto_depIdxs, |
| 882 |
EnumInfos: file_google_cloud_networkservices_v1_gateway_proto_enumTypes, |
| 883 |
MessageInfos: file_google_cloud_networkservices_v1_gateway_proto_msgTypes, |
| 884 |
}.Build() |
| 885 |
File_google_cloud_networkservices_v1_gateway_proto = out.File |
| 886 |
file_google_cloud_networkservices_v1_gateway_proto_rawDesc = nil |
| 887 |
file_google_cloud_networkservices_v1_gateway_proto_goTypes = nil |
| 888 |
file_google_cloud_networkservices_v1_gateway_proto_depIdxs = nil |
| 889 |
} |