| 1 |
// Copyright 2025 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.35.2 |
| 18 |
// protoc v4.25.7 |
| 19 |
// source: google/cloud/networkservices/v1/service_lb_policy.proto |
| 20 |
|
| 21 |
package networkservicespb |
| 22 |
|
| 23 |
import ( |
| 24 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 25 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 26 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 27 |
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" |
| 28 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 29 |
reflect "reflect" |
| 30 |
sync "sync" |
| 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 |
// The global load balancing algorithm to be used. |
| 41 |
type ServiceLbPolicy_LoadBalancingAlgorithm int32 |
| 42 |
|
| 43 |
const ( |
| 44 |
// The type of the loadbalancing algorithm is unspecified. |
| 45 |
ServiceLbPolicy_LOAD_BALANCING_ALGORITHM_UNSPECIFIED ServiceLbPolicy_LoadBalancingAlgorithm = 0 |
| 46 |
// Balance traffic across all backends across the world proportionally based |
| 47 |
// on capacity. |
| 48 |
ServiceLbPolicy_SPRAY_TO_WORLD ServiceLbPolicy_LoadBalancingAlgorithm = 3 |
| 49 |
// Direct traffic to the nearest region with endpoints and capacity before |
| 50 |
// spilling over to other regions and spread the traffic from each client to |
| 51 |
// all the MIGs/NEGs in a region. |
| 52 |
ServiceLbPolicy_SPRAY_TO_REGION ServiceLbPolicy_LoadBalancingAlgorithm = 4 |
| 53 |
// Direct traffic to the nearest region with endpoints and capacity before |
| 54 |
// spilling over to other regions. All MIGs/NEGs within a region are evenly |
| 55 |
// loaded but each client might not spread the traffic to all the MIGs/NEGs |
| 56 |
// in the region. |
| 57 |
ServiceLbPolicy_WATERFALL_BY_REGION ServiceLbPolicy_LoadBalancingAlgorithm = 5 |
| 58 |
// Attempt to keep traffic in a single zone closest to the client, before |
| 59 |
// spilling over to other zones. |
| 60 |
ServiceLbPolicy_WATERFALL_BY_ZONE ServiceLbPolicy_LoadBalancingAlgorithm = 6 |
| 61 |
) |
| 62 |
|
| 63 |
// Enum value maps for ServiceLbPolicy_LoadBalancingAlgorithm. |
| 64 |
var ( |
| 65 |
ServiceLbPolicy_LoadBalancingAlgorithm_name = map[int32]string{ |
| 66 |
0: "LOAD_BALANCING_ALGORITHM_UNSPECIFIED", |
| 67 |
3: "SPRAY_TO_WORLD", |
| 68 |
4: "SPRAY_TO_REGION", |
| 69 |
5: "WATERFALL_BY_REGION", |
| 70 |
6: "WATERFALL_BY_ZONE", |
| 71 |
} |
| 72 |
ServiceLbPolicy_LoadBalancingAlgorithm_value = map[string]int32{ |
| 73 |
"LOAD_BALANCING_ALGORITHM_UNSPECIFIED": 0, |
| 74 |
"SPRAY_TO_WORLD": 3, |
| 75 |
"SPRAY_TO_REGION": 4, |
| 76 |
"WATERFALL_BY_REGION": 5, |
| 77 |
"WATERFALL_BY_ZONE": 6, |
| 78 |
} |
| 79 |
) |
| 80 |
|
| 81 |
func (x ServiceLbPolicy_LoadBalancingAlgorithm) Enum() *ServiceLbPolicy_LoadBalancingAlgorithm { |
| 82 |
p := new(ServiceLbPolicy_LoadBalancingAlgorithm) |
| 83 |
*p = x |
| 84 |
return p |
| 85 |
} |
| 86 |
|
| 87 |
func (x ServiceLbPolicy_LoadBalancingAlgorithm) String() string { |
| 88 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 89 |
} |
| 90 |
|
| 91 |
func (ServiceLbPolicy_LoadBalancingAlgorithm) Descriptor() protoreflect.EnumDescriptor { |
| 92 |
return file_google_cloud_networkservices_v1_service_lb_policy_proto_enumTypes[0].Descriptor() |
| 93 |
} |
| 94 |
|
| 95 |
func (ServiceLbPolicy_LoadBalancingAlgorithm) Type() protoreflect.EnumType { |
| 96 |
return &file_google_cloud_networkservices_v1_service_lb_policy_proto_enumTypes[0] |
| 97 |
} |
| 98 |
|
| 99 |
func (x ServiceLbPolicy_LoadBalancingAlgorithm) Number() protoreflect.EnumNumber { |
| 100 |
return protoreflect.EnumNumber(x) |
| 101 |
} |
| 102 |
|
| 103 |
// Deprecated: Use ServiceLbPolicy_LoadBalancingAlgorithm.Descriptor instead. |
| 104 |
func (ServiceLbPolicy_LoadBalancingAlgorithm) EnumDescriptor() ([]byte, []int) { |
| 105 |
return file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescGZIP(), []int{0, 0} |
| 106 |
} |
| 107 |
|
| 108 |
// The granularity of this isolation restriction. |
| 109 |
type ServiceLbPolicy_IsolationGranularity int32 |
| 110 |
|
| 111 |
const ( |
| 112 |
// No isolation is configured for the backend service. Traffic can overflow |
| 113 |
// based on the load balancing algorithm. |
| 114 |
ServiceLbPolicy_ISOLATION_GRANULARITY_UNSPECIFIED ServiceLbPolicy_IsolationGranularity = 0 |
| 115 |
// Traffic for this service will be isolated at the cloud region level. |
| 116 |
ServiceLbPolicy_REGION ServiceLbPolicy_IsolationGranularity = 1 |
| 117 |
) |
| 118 |
|
| 119 |
// Enum value maps for ServiceLbPolicy_IsolationGranularity. |
| 120 |
var ( |
| 121 |
ServiceLbPolicy_IsolationGranularity_name = map[int32]string{ |
| 122 |
0: "ISOLATION_GRANULARITY_UNSPECIFIED", |
| 123 |
1: "REGION", |
| 124 |
} |
| 125 |
ServiceLbPolicy_IsolationGranularity_value = map[string]int32{ |
| 126 |
"ISOLATION_GRANULARITY_UNSPECIFIED": 0, |
| 127 |
"REGION": 1, |
| 128 |
} |
| 129 |
) |
| 130 |
|
| 131 |
func (x ServiceLbPolicy_IsolationGranularity) Enum() *ServiceLbPolicy_IsolationGranularity { |
| 132 |
p := new(ServiceLbPolicy_IsolationGranularity) |
| 133 |
*p = x |
| 134 |
return p |
| 135 |
} |
| 136 |
|
| 137 |
func (x ServiceLbPolicy_IsolationGranularity) String() string { |
| 138 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 139 |
} |
| 140 |
|
| 141 |
func (ServiceLbPolicy_IsolationGranularity) Descriptor() protoreflect.EnumDescriptor { |
| 142 |
return file_google_cloud_networkservices_v1_service_lb_policy_proto_enumTypes[1].Descriptor() |
| 143 |
} |
| 144 |
|
| 145 |
func (ServiceLbPolicy_IsolationGranularity) Type() protoreflect.EnumType { |
| 146 |
return &file_google_cloud_networkservices_v1_service_lb_policy_proto_enumTypes[1] |
| 147 |
} |
| 148 |
|
| 149 |
func (x ServiceLbPolicy_IsolationGranularity) Number() protoreflect.EnumNumber { |
| 150 |
return protoreflect.EnumNumber(x) |
| 151 |
} |
| 152 |
|
| 153 |
// Deprecated: Use ServiceLbPolicy_IsolationGranularity.Descriptor instead. |
| 154 |
func (ServiceLbPolicy_IsolationGranularity) EnumDescriptor() ([]byte, []int) { |
| 155 |
return file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescGZIP(), []int{0, 1} |
| 156 |
} |
| 157 |
|
| 158 |
// The mode of this isolation restriction, defining whether clients in a given |
| 159 |
// region are allowed to reach out to another region. |
| 160 |
type ServiceLbPolicy_IsolationMode int32 |
| 161 |
|
| 162 |
const ( |
| 163 |
// No isolation mode is configured for the backend service. |
| 164 |
ServiceLbPolicy_ISOLATION_MODE_UNSPECIFIED ServiceLbPolicy_IsolationMode = 0 |
| 165 |
// Traffic will be sent to the nearest region. |
| 166 |
ServiceLbPolicy_NEAREST ServiceLbPolicy_IsolationMode = 1 |
| 167 |
// Traffic will fail if no serving backends are available in the same region |
| 168 |
// as the load balancer. |
| 169 |
ServiceLbPolicy_STRICT ServiceLbPolicy_IsolationMode = 2 |
| 170 |
) |
| 171 |
|
| 172 |
// Enum value maps for ServiceLbPolicy_IsolationMode. |
| 173 |
var ( |
| 174 |
ServiceLbPolicy_IsolationMode_name = map[int32]string{ |
| 175 |
0: "ISOLATION_MODE_UNSPECIFIED", |
| 176 |
1: "NEAREST", |
| 177 |
2: "STRICT", |
| 178 |
} |
| 179 |
ServiceLbPolicy_IsolationMode_value = map[string]int32{ |
| 180 |
"ISOLATION_MODE_UNSPECIFIED": 0, |
| 181 |
"NEAREST": 1, |
| 182 |
"STRICT": 2, |
| 183 |
} |
| 184 |
) |
| 185 |
|
| 186 |
func (x ServiceLbPolicy_IsolationMode) Enum() *ServiceLbPolicy_IsolationMode { |
| 187 |
p := new(ServiceLbPolicy_IsolationMode) |
| 188 |
*p = x |
| 189 |
return p |
| 190 |
} |
| 191 |
|
| 192 |
func (x ServiceLbPolicy_IsolationMode) String() string { |
| 193 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 194 |
} |
| 195 |
|
| 196 |
func (ServiceLbPolicy_IsolationMode) Descriptor() protoreflect.EnumDescriptor { |
| 197 |
return file_google_cloud_networkservices_v1_service_lb_policy_proto_enumTypes[2].Descriptor() |
| 198 |
} |
| 199 |
|
| 200 |
func (ServiceLbPolicy_IsolationMode) Type() protoreflect.EnumType { |
| 201 |
return &file_google_cloud_networkservices_v1_service_lb_policy_proto_enumTypes[2] |
| 202 |
} |
| 203 |
|
| 204 |
func (x ServiceLbPolicy_IsolationMode) Number() protoreflect.EnumNumber { |
| 205 |
return protoreflect.EnumNumber(x) |
| 206 |
} |
| 207 |
|
| 208 |
// Deprecated: Use ServiceLbPolicy_IsolationMode.Descriptor instead. |
| 209 |
func (ServiceLbPolicy_IsolationMode) EnumDescriptor() ([]byte, []int) { |
| 210 |
return file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescGZIP(), []int{0, 2} |
| 211 |
} |
| 212 |
|
| 213 |
// ServiceLbPolicy holds global load balancing and traffic distribution |
| 214 |
// configuration that can be applied to a BackendService. |
| 215 |
type ServiceLbPolicy struct { |
| 216 |
state protoimpl.MessageState |
| 217 |
sizeCache protoimpl.SizeCache |
| 218 |
unknownFields protoimpl.UnknownFields |
| 219 |
|
| 220 |
// Identifier. Name of the ServiceLbPolicy resource. It matches pattern |
| 221 |
// `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`. |
| 222 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 223 |
// Output only. The timestamp when this resource was created. |
| 224 |
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 225 |
// Output only. The timestamp when this resource was last updated. |
| 226 |
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` |
| 227 |
// Optional. Set of label tags associated with the ServiceLbPolicy resource. |
| 228 |
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"` |
| 229 |
// Optional. A free-text description of the resource. Max length 1024 |
| 230 |
// characters. |
| 231 |
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` |
| 232 |
// Optional. The type of load balancing algorithm to be used. The default |
| 233 |
// behavior is WATERFALL_BY_REGION. |
| 234 |
LoadBalancingAlgorithm ServiceLbPolicy_LoadBalancingAlgorithm `protobuf:"varint,6,opt,name=load_balancing_algorithm,json=loadBalancingAlgorithm,proto3,enum=google.cloud.networkservices.v1.ServiceLbPolicy_LoadBalancingAlgorithm" json:"load_balancing_algorithm,omitempty"` |
| 235 |
// Optional. Configuration to automatically move traffic away for unhealthy |
| 236 |
// IG/NEG for the associated Backend Service. |
| 237 |
AutoCapacityDrain *ServiceLbPolicy_AutoCapacityDrain `protobuf:"bytes,8,opt,name=auto_capacity_drain,json=autoCapacityDrain,proto3" json:"auto_capacity_drain,omitempty"` |
| 238 |
// Optional. Configuration related to health based failover. |
| 239 |
FailoverConfig *ServiceLbPolicy_FailoverConfig `protobuf:"bytes,10,opt,name=failover_config,json=failoverConfig,proto3" json:"failover_config,omitempty"` |
| 240 |
// Optional. Configuration to provide isolation support for the associated |
| 241 |
// Backend Service. |
| 242 |
IsolationConfig *ServiceLbPolicy_IsolationConfig `protobuf:"bytes,11,opt,name=isolation_config,json=isolationConfig,proto3" json:"isolation_config,omitempty"` |
| 243 |
} |
| 244 |
|
| 245 |
func (x *ServiceLbPolicy) Reset() { |
| 246 |
*x = ServiceLbPolicy{} |
| 247 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[0] |
| 248 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 249 |
ms.StoreMessageInfo(mi) |
| 250 |
} |
| 251 |
|
| 252 |
func (x *ServiceLbPolicy) String() string { |
| 253 |
return protoimpl.X.MessageStringOf(x) |
| 254 |
} |
| 255 |
|
| 256 |
func (*ServiceLbPolicy) ProtoMessage() {} |
| 257 |
|
| 258 |
func (x *ServiceLbPolicy) ProtoReflect() protoreflect.Message { |
| 259 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[0] |
| 260 |
if x != nil { |
| 261 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 262 |
if ms.LoadMessageInfo() == nil { |
| 263 |
ms.StoreMessageInfo(mi) |
| 264 |
} |
| 265 |
return ms |
| 266 |
} |
| 267 |
return mi.MessageOf(x) |
| 268 |
} |
| 269 |
|
| 270 |
// Deprecated: Use ServiceLbPolicy.ProtoReflect.Descriptor instead. |
| 271 |
func (*ServiceLbPolicy) Descriptor() ([]byte, []int) { |
| 272 |
return file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescGZIP(), []int{0} |
| 273 |
} |
| 274 |
|
| 275 |
func (x *ServiceLbPolicy) GetName() string { |
| 276 |
if x != nil { |
| 277 |
return x.Name |
| 278 |
} |
| 279 |
return "" |
| 280 |
} |
| 281 |
|
| 282 |
func (x *ServiceLbPolicy) GetCreateTime() *timestamppb.Timestamp { |
| 283 |
if x != nil { |
| 284 |
return x.CreateTime |
| 285 |
} |
| 286 |
return nil |
| 287 |
} |
| 288 |
|
| 289 |
func (x *ServiceLbPolicy) GetUpdateTime() *timestamppb.Timestamp { |
| 290 |
if x != nil { |
| 291 |
return x.UpdateTime |
| 292 |
} |
| 293 |
return nil |
| 294 |
} |
| 295 |
|
| 296 |
func (x *ServiceLbPolicy) GetLabels() map[string]string { |
| 297 |
if x != nil { |
| 298 |
return x.Labels |
| 299 |
} |
| 300 |
return nil |
| 301 |
} |
| 302 |
|
| 303 |
func (x *ServiceLbPolicy) GetDescription() string { |
| 304 |
if x != nil { |
| 305 |
return x.Description |
| 306 |
} |
| 307 |
return "" |
| 308 |
} |
| 309 |
|
| 310 |
func (x *ServiceLbPolicy) GetLoadBalancingAlgorithm() ServiceLbPolicy_LoadBalancingAlgorithm { |
| 311 |
if x != nil { |
| 312 |
return x.LoadBalancingAlgorithm |
| 313 |
} |
| 314 |
return ServiceLbPolicy_LOAD_BALANCING_ALGORITHM_UNSPECIFIED |
| 315 |
} |
| 316 |
|
| 317 |
func (x *ServiceLbPolicy) GetAutoCapacityDrain() *ServiceLbPolicy_AutoCapacityDrain { |
| 318 |
if x != nil { |
| 319 |
return x.AutoCapacityDrain |
| 320 |
} |
| 321 |
return nil |
| 322 |
} |
| 323 |
|
| 324 |
func (x *ServiceLbPolicy) GetFailoverConfig() *ServiceLbPolicy_FailoverConfig { |
| 325 |
if x != nil { |
| 326 |
return x.FailoverConfig |
| 327 |
} |
| 328 |
return nil |
| 329 |
} |
| 330 |
|
| 331 |
func (x *ServiceLbPolicy) GetIsolationConfig() *ServiceLbPolicy_IsolationConfig { |
| 332 |
if x != nil { |
| 333 |
return x.IsolationConfig |
| 334 |
} |
| 335 |
return nil |
| 336 |
} |
| 337 |
|
| 338 |
// Request used with the ListServiceLbPolicies method. |
| 339 |
type ListServiceLbPoliciesRequest struct { |
| 340 |
state protoimpl.MessageState |
| 341 |
sizeCache protoimpl.SizeCache |
| 342 |
unknownFields protoimpl.UnknownFields |
| 343 |
|
| 344 |
// Required. The project and location from which the ServiceLbPolicies should |
| 345 |
// be listed, specified in the format |
| 346 |
// `projects/{project}/locations/{location}`. |
| 347 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 348 |
// Maximum number of ServiceLbPolicies to return per call. |
| 349 |
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 350 |
// The value returned by the last `ListServiceLbPoliciesResponse` |
| 351 |
// Indicates that this is a continuation of a prior `ListRouters` call, |
| 352 |
// and that the system should return the next page of data. |
| 353 |
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 354 |
} |
| 355 |
|
| 356 |
func (x *ListServiceLbPoliciesRequest) Reset() { |
| 357 |
*x = ListServiceLbPoliciesRequest{} |
| 358 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[1] |
| 359 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 360 |
ms.StoreMessageInfo(mi) |
| 361 |
} |
| 362 |
|
| 363 |
func (x *ListServiceLbPoliciesRequest) String() string { |
| 364 |
return protoimpl.X.MessageStringOf(x) |
| 365 |
} |
| 366 |
|
| 367 |
func (*ListServiceLbPoliciesRequest) ProtoMessage() {} |
| 368 |
|
| 369 |
func (x *ListServiceLbPoliciesRequest) ProtoReflect() protoreflect.Message { |
| 370 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[1] |
| 371 |
if x != nil { |
| 372 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 373 |
if ms.LoadMessageInfo() == nil { |
| 374 |
ms.StoreMessageInfo(mi) |
| 375 |
} |
| 376 |
return ms |
| 377 |
} |
| 378 |
return mi.MessageOf(x) |
| 379 |
} |
| 380 |
|
| 381 |
// Deprecated: Use ListServiceLbPoliciesRequest.ProtoReflect.Descriptor instead. |
| 382 |
func (*ListServiceLbPoliciesRequest) Descriptor() ([]byte, []int) { |
| 383 |
return file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescGZIP(), []int{1} |
| 384 |
} |
| 385 |
|
| 386 |
func (x *ListServiceLbPoliciesRequest) GetParent() string { |
| 387 |
if x != nil { |
| 388 |
return x.Parent |
| 389 |
} |
| 390 |
return "" |
| 391 |
} |
| 392 |
|
| 393 |
func (x *ListServiceLbPoliciesRequest) GetPageSize() int32 { |
| 394 |
if x != nil { |
| 395 |
return x.PageSize |
| 396 |
} |
| 397 |
return 0 |
| 398 |
} |
| 399 |
|
| 400 |
func (x *ListServiceLbPoliciesRequest) GetPageToken() string { |
| 401 |
if x != nil { |
| 402 |
return x.PageToken |
| 403 |
} |
| 404 |
return "" |
| 405 |
} |
| 406 |
|
| 407 |
// Response returned by the ListServiceLbPolicies method. |
| 408 |
type ListServiceLbPoliciesResponse struct { |
| 409 |
state protoimpl.MessageState |
| 410 |
sizeCache protoimpl.SizeCache |
| 411 |
unknownFields protoimpl.UnknownFields |
| 412 |
|
| 413 |
// List of ServiceLbPolicy resources. |
| 414 |
ServiceLbPolicies []*ServiceLbPolicy `protobuf:"bytes,1,rep,name=service_lb_policies,json=serviceLbPolicies,proto3" json:"service_lb_policies,omitempty"` |
| 415 |
// If there might be more results than those appearing in this response, then |
| 416 |
// `next_page_token` is included. To get the next set of results, call this |
| 417 |
// method again using the value of `next_page_token` as `page_token`. |
| 418 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 419 |
// Unreachable resources. Populated when the request attempts to list all |
| 420 |
// resources across all supported locations, while some locations are |
| 421 |
// temporarily unavailable. |
| 422 |
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` |
| 423 |
} |
| 424 |
|
| 425 |
func (x *ListServiceLbPoliciesResponse) Reset() { |
| 426 |
*x = ListServiceLbPoliciesResponse{} |
| 427 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[2] |
| 428 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 429 |
ms.StoreMessageInfo(mi) |
| 430 |
} |
| 431 |
|
| 432 |
func (x *ListServiceLbPoliciesResponse) String() string { |
| 433 |
return protoimpl.X.MessageStringOf(x) |
| 434 |
} |
| 435 |
|
| 436 |
func (*ListServiceLbPoliciesResponse) ProtoMessage() {} |
| 437 |
|
| 438 |
func (x *ListServiceLbPoliciesResponse) ProtoReflect() protoreflect.Message { |
| 439 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[2] |
| 440 |
if x != nil { |
| 441 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 442 |
if ms.LoadMessageInfo() == nil { |
| 443 |
ms.StoreMessageInfo(mi) |
| 444 |
} |
| 445 |
return ms |
| 446 |
} |
| 447 |
return mi.MessageOf(x) |
| 448 |
} |
| 449 |
|
| 450 |
// Deprecated: Use ListServiceLbPoliciesResponse.ProtoReflect.Descriptor instead. |
| 451 |
func (*ListServiceLbPoliciesResponse) Descriptor() ([]byte, []int) { |
| 452 |
return file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescGZIP(), []int{2} |
| 453 |
} |
| 454 |
|
| 455 |
func (x *ListServiceLbPoliciesResponse) GetServiceLbPolicies() []*ServiceLbPolicy { |
| 456 |
if x != nil { |
| 457 |
return x.ServiceLbPolicies |
| 458 |
} |
| 459 |
return nil |
| 460 |
} |
| 461 |
|
| 462 |
func (x *ListServiceLbPoliciesResponse) GetNextPageToken() string { |
| 463 |
if x != nil { |
| 464 |
return x.NextPageToken |
| 465 |
} |
| 466 |
return "" |
| 467 |
} |
| 468 |
|
| 469 |
func (x *ListServiceLbPoliciesResponse) GetUnreachable() []string { |
| 470 |
if x != nil { |
| 471 |
return x.Unreachable |
| 472 |
} |
| 473 |
return nil |
| 474 |
} |
| 475 |
|
| 476 |
// Request used by the GetServiceLbPolicy method. |
| 477 |
type GetServiceLbPolicyRequest struct { |
| 478 |
state protoimpl.MessageState |
| 479 |
sizeCache protoimpl.SizeCache |
| 480 |
unknownFields protoimpl.UnknownFields |
| 481 |
|
| 482 |
// Required. A name of the ServiceLbPolicy to get. Must be in the format |
| 483 |
// `projects/{project}/locations/{location}/serviceLbPolicies/*`. |
| 484 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 485 |
} |
| 486 |
|
| 487 |
func (x *GetServiceLbPolicyRequest) Reset() { |
| 488 |
*x = GetServiceLbPolicyRequest{} |
| 489 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[3] |
| 490 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 491 |
ms.StoreMessageInfo(mi) |
| 492 |
} |
| 493 |
|
| 494 |
func (x *GetServiceLbPolicyRequest) String() string { |
| 495 |
return protoimpl.X.MessageStringOf(x) |
| 496 |
} |
| 497 |
|
| 498 |
func (*GetServiceLbPolicyRequest) ProtoMessage() {} |
| 499 |
|
| 500 |
func (x *GetServiceLbPolicyRequest) ProtoReflect() protoreflect.Message { |
| 501 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[3] |
| 502 |
if x != nil { |
| 503 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 504 |
if ms.LoadMessageInfo() == nil { |
| 505 |
ms.StoreMessageInfo(mi) |
| 506 |
} |
| 507 |
return ms |
| 508 |
} |
| 509 |
return mi.MessageOf(x) |
| 510 |
} |
| 511 |
|
| 512 |
// Deprecated: Use GetServiceLbPolicyRequest.ProtoReflect.Descriptor instead. |
| 513 |
func (*GetServiceLbPolicyRequest) Descriptor() ([]byte, []int) { |
| 514 |
return file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescGZIP(), []int{3} |
| 515 |
} |
| 516 |
|
| 517 |
func (x *GetServiceLbPolicyRequest) GetName() string { |
| 518 |
if x != nil { |
| 519 |
return x.Name |
| 520 |
} |
| 521 |
return "" |
| 522 |
} |
| 523 |
|
| 524 |
// Request used by the ServiceLbPolicy method. |
| 525 |
type CreateServiceLbPolicyRequest struct { |
| 526 |
state protoimpl.MessageState |
| 527 |
sizeCache protoimpl.SizeCache |
| 528 |
unknownFields protoimpl.UnknownFields |
| 529 |
|
| 530 |
// Required. The parent resource of the ServiceLbPolicy. Must be in the |
| 531 |
// format `projects/{project}/locations/{location}`. |
| 532 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 533 |
// Required. Short name of the ServiceLbPolicy resource to be created. |
| 534 |
// E.g. for resource name |
| 535 |
// `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`. |
| 536 |
// the id is value of {service_lb_policy_name} |
| 537 |
ServiceLbPolicyId string `protobuf:"bytes,2,opt,name=service_lb_policy_id,json=serviceLbPolicyId,proto3" json:"service_lb_policy_id,omitempty"` |
| 538 |
// Required. ServiceLbPolicy resource to be created. |
| 539 |
ServiceLbPolicy *ServiceLbPolicy `protobuf:"bytes,3,opt,name=service_lb_policy,json=serviceLbPolicy,proto3" json:"service_lb_policy,omitempty"` |
| 540 |
} |
| 541 |
|
| 542 |
func (x *CreateServiceLbPolicyRequest) Reset() { |
| 543 |
*x = CreateServiceLbPolicyRequest{} |
| 544 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[4] |
| 545 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 546 |
ms.StoreMessageInfo(mi) |
| 547 |
} |
| 548 |
|
| 549 |
func (x *CreateServiceLbPolicyRequest) String() string { |
| 550 |
return protoimpl.X.MessageStringOf(x) |
| 551 |
} |
| 552 |
|
| 553 |
func (*CreateServiceLbPolicyRequest) ProtoMessage() {} |
| 554 |
|
| 555 |
func (x *CreateServiceLbPolicyRequest) ProtoReflect() protoreflect.Message { |
| 556 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[4] |
| 557 |
if x != nil { |
| 558 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 559 |
if ms.LoadMessageInfo() == nil { |
| 560 |
ms.StoreMessageInfo(mi) |
| 561 |
} |
| 562 |
return ms |
| 563 |
} |
| 564 |
return mi.MessageOf(x) |
| 565 |
} |
| 566 |
|
| 567 |
// Deprecated: Use CreateServiceLbPolicyRequest.ProtoReflect.Descriptor instead. |
| 568 |
func (*CreateServiceLbPolicyRequest) Descriptor() ([]byte, []int) { |
| 569 |
return file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescGZIP(), []int{4} |
| 570 |
} |
| 571 |
|
| 572 |
func (x *CreateServiceLbPolicyRequest) GetParent() string { |
| 573 |
if x != nil { |
| 574 |
return x.Parent |
| 575 |
} |
| 576 |
return "" |
| 577 |
} |
| 578 |
|
| 579 |
func (x *CreateServiceLbPolicyRequest) GetServiceLbPolicyId() string { |
| 580 |
if x != nil { |
| 581 |
return x.ServiceLbPolicyId |
| 582 |
} |
| 583 |
return "" |
| 584 |
} |
| 585 |
|
| 586 |
func (x *CreateServiceLbPolicyRequest) GetServiceLbPolicy() *ServiceLbPolicy { |
| 587 |
if x != nil { |
| 588 |
return x.ServiceLbPolicy |
| 589 |
} |
| 590 |
return nil |
| 591 |
} |
| 592 |
|
| 593 |
// Request used by the UpdateServiceLbPolicy method. |
| 594 |
type UpdateServiceLbPolicyRequest struct { |
| 595 |
state protoimpl.MessageState |
| 596 |
sizeCache protoimpl.SizeCache |
| 597 |
unknownFields protoimpl.UnknownFields |
| 598 |
|
| 599 |
// Optional. Field mask is used to specify the fields to be overwritten in the |
| 600 |
// ServiceLbPolicy resource by the update. |
| 601 |
// The fields specified in the update_mask are relative to the resource, not |
| 602 |
// the full request. A field will be overwritten if it is in the mask. If the |
| 603 |
// user does not provide a mask then all fields will be overwritten. |
| 604 |
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` |
| 605 |
// Required. Updated ServiceLbPolicy resource. |
| 606 |
ServiceLbPolicy *ServiceLbPolicy `protobuf:"bytes,2,opt,name=service_lb_policy,json=serviceLbPolicy,proto3" json:"service_lb_policy,omitempty"` |
| 607 |
} |
| 608 |
|
| 609 |
func (x *UpdateServiceLbPolicyRequest) Reset() { |
| 610 |
*x = UpdateServiceLbPolicyRequest{} |
| 611 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[5] |
| 612 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 613 |
ms.StoreMessageInfo(mi) |
| 614 |
} |
| 615 |
|
| 616 |
func (x *UpdateServiceLbPolicyRequest) String() string { |
| 617 |
return protoimpl.X.MessageStringOf(x) |
| 618 |
} |
| 619 |
|
| 620 |
func (*UpdateServiceLbPolicyRequest) ProtoMessage() {} |
| 621 |
|
| 622 |
func (x *UpdateServiceLbPolicyRequest) ProtoReflect() protoreflect.Message { |
| 623 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[5] |
| 624 |
if x != nil { |
| 625 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 626 |
if ms.LoadMessageInfo() == nil { |
| 627 |
ms.StoreMessageInfo(mi) |
| 628 |
} |
| 629 |
return ms |
| 630 |
} |
| 631 |
return mi.MessageOf(x) |
| 632 |
} |
| 633 |
|
| 634 |
// Deprecated: Use UpdateServiceLbPolicyRequest.ProtoReflect.Descriptor instead. |
| 635 |
func (*UpdateServiceLbPolicyRequest) Descriptor() ([]byte, []int) { |
| 636 |
return file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescGZIP(), []int{5} |
| 637 |
} |
| 638 |
|
| 639 |
func (x *UpdateServiceLbPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask { |
| 640 |
if x != nil { |
| 641 |
return x.UpdateMask |
| 642 |
} |
| 643 |
return nil |
| 644 |
} |
| 645 |
|
| 646 |
func (x *UpdateServiceLbPolicyRequest) GetServiceLbPolicy() *ServiceLbPolicy { |
| 647 |
if x != nil { |
| 648 |
return x.ServiceLbPolicy |
| 649 |
} |
| 650 |
return nil |
| 651 |
} |
| 652 |
|
| 653 |
// Request used by the DeleteServiceLbPolicy method. |
| 654 |
type DeleteServiceLbPolicyRequest struct { |
| 655 |
state protoimpl.MessageState |
| 656 |
sizeCache protoimpl.SizeCache |
| 657 |
unknownFields protoimpl.UnknownFields |
| 658 |
|
| 659 |
// Required. A name of the ServiceLbPolicy to delete. Must be in the format |
| 660 |
// `projects/{project}/locations/{location}/serviceLbPolicies/*`. |
| 661 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 662 |
} |
| 663 |
|
| 664 |
func (x *DeleteServiceLbPolicyRequest) Reset() { |
| 665 |
*x = DeleteServiceLbPolicyRequest{} |
| 666 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[6] |
| 667 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 668 |
ms.StoreMessageInfo(mi) |
| 669 |
} |
| 670 |
|
| 671 |
func (x *DeleteServiceLbPolicyRequest) String() string { |
| 672 |
return protoimpl.X.MessageStringOf(x) |
| 673 |
} |
| 674 |
|
| 675 |
func (*DeleteServiceLbPolicyRequest) ProtoMessage() {} |
| 676 |
|
| 677 |
func (x *DeleteServiceLbPolicyRequest) ProtoReflect() protoreflect.Message { |
| 678 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[6] |
| 679 |
if x != nil { |
| 680 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 681 |
if ms.LoadMessageInfo() == nil { |
| 682 |
ms.StoreMessageInfo(mi) |
| 683 |
} |
| 684 |
return ms |
| 685 |
} |
| 686 |
return mi.MessageOf(x) |
| 687 |
} |
| 688 |
|
| 689 |
// Deprecated: Use DeleteServiceLbPolicyRequest.ProtoReflect.Descriptor instead. |
| 690 |
func (*DeleteServiceLbPolicyRequest) Descriptor() ([]byte, []int) { |
| 691 |
return file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescGZIP(), []int{6} |
| 692 |
} |
| 693 |
|
| 694 |
func (x *DeleteServiceLbPolicyRequest) GetName() string { |
| 695 |
if x != nil { |
| 696 |
return x.Name |
| 697 |
} |
| 698 |
return "" |
| 699 |
} |
| 700 |
|
| 701 |
// Option to specify if an unhealthy IG/NEG should be considered for global |
| 702 |
// load balancing and traffic routing. |
| 703 |
type ServiceLbPolicy_AutoCapacityDrain struct { |
| 704 |
state protoimpl.MessageState |
| 705 |
sizeCache protoimpl.SizeCache |
| 706 |
unknownFields protoimpl.UnknownFields |
| 707 |
|
| 708 |
// Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. |
| 709 |
// - An IG/NEG is considered unhealthy if less than 25% of the |
| 710 |
// instances/endpoints in the IG/NEG are healthy. |
| 711 |
// - This option will never result in draining more than 50% of the |
| 712 |
// configured IGs/NEGs for the Backend Service. |
| 713 |
Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` |
| 714 |
} |
| 715 |
|
| 716 |
func (x *ServiceLbPolicy_AutoCapacityDrain) Reset() { |
| 717 |
*x = ServiceLbPolicy_AutoCapacityDrain{} |
| 718 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[7] |
| 719 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 720 |
ms.StoreMessageInfo(mi) |
| 721 |
} |
| 722 |
|
| 723 |
func (x *ServiceLbPolicy_AutoCapacityDrain) String() string { |
| 724 |
return protoimpl.X.MessageStringOf(x) |
| 725 |
} |
| 726 |
|
| 727 |
func (*ServiceLbPolicy_AutoCapacityDrain) ProtoMessage() {} |
| 728 |
|
| 729 |
func (x *ServiceLbPolicy_AutoCapacityDrain) ProtoReflect() protoreflect.Message { |
| 730 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[7] |
| 731 |
if x != nil { |
| 732 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 733 |
if ms.LoadMessageInfo() == nil { |
| 734 |
ms.StoreMessageInfo(mi) |
| 735 |
} |
| 736 |
return ms |
| 737 |
} |
| 738 |
return mi.MessageOf(x) |
| 739 |
} |
| 740 |
|
| 741 |
// Deprecated: Use ServiceLbPolicy_AutoCapacityDrain.ProtoReflect.Descriptor instead. |
| 742 |
func (*ServiceLbPolicy_AutoCapacityDrain) Descriptor() ([]byte, []int) { |
| 743 |
return file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescGZIP(), []int{0, 0} |
| 744 |
} |
| 745 |
|
| 746 |
func (x *ServiceLbPolicy_AutoCapacityDrain) GetEnable() bool { |
| 747 |
if x != nil { |
| 748 |
return x.Enable |
| 749 |
} |
| 750 |
return false |
| 751 |
} |
| 752 |
|
| 753 |
// Option to specify health based failover behavior. |
| 754 |
// This is not related to Network load balancer FailoverPolicy. |
| 755 |
type ServiceLbPolicy_FailoverConfig struct { |
| 756 |
state protoimpl.MessageState |
| 757 |
sizeCache protoimpl.SizeCache |
| 758 |
unknownFields protoimpl.UnknownFields |
| 759 |
|
| 760 |
// Optional. The percentage threshold that a load balancer will begin to |
| 761 |
// send traffic to failover backends. If the percentage of endpoints in a |
| 762 |
// MIG/NEG is smaller than this value, traffic would be sent to failover |
| 763 |
// backends if possible. This field should be set to a value between 1 |
| 764 |
// and 99. The default value is 50 for Global external HTTP(S) load balancer |
| 765 |
// (classic) and Proxyless service mesh, and 70 for others. |
| 766 |
FailoverHealthThreshold int32 `protobuf:"varint,1,opt,name=failover_health_threshold,json=failoverHealthThreshold,proto3" json:"failover_health_threshold,omitempty"` |
| 767 |
} |
| 768 |
|
| 769 |
func (x *ServiceLbPolicy_FailoverConfig) Reset() { |
| 770 |
*x = ServiceLbPolicy_FailoverConfig{} |
| 771 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[8] |
| 772 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 773 |
ms.StoreMessageInfo(mi) |
| 774 |
} |
| 775 |
|
| 776 |
func (x *ServiceLbPolicy_FailoverConfig) String() string { |
| 777 |
return protoimpl.X.MessageStringOf(x) |
| 778 |
} |
| 779 |
|
| 780 |
func (*ServiceLbPolicy_FailoverConfig) ProtoMessage() {} |
| 781 |
|
| 782 |
func (x *ServiceLbPolicy_FailoverConfig) ProtoReflect() protoreflect.Message { |
| 783 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[8] |
| 784 |
if x != nil { |
| 785 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 786 |
if ms.LoadMessageInfo() == nil { |
| 787 |
ms.StoreMessageInfo(mi) |
| 788 |
} |
| 789 |
return ms |
| 790 |
} |
| 791 |
return mi.MessageOf(x) |
| 792 |
} |
| 793 |
|
| 794 |
// Deprecated: Use ServiceLbPolicy_FailoverConfig.ProtoReflect.Descriptor instead. |
| 795 |
func (*ServiceLbPolicy_FailoverConfig) Descriptor() ([]byte, []int) { |
| 796 |
return file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescGZIP(), []int{0, 1} |
| 797 |
} |
| 798 |
|
| 799 |
func (x *ServiceLbPolicy_FailoverConfig) GetFailoverHealthThreshold() int32 { |
| 800 |
if x != nil { |
| 801 |
return x.FailoverHealthThreshold |
| 802 |
} |
| 803 |
return 0 |
| 804 |
} |
| 805 |
|
| 806 |
// Configuration to provide isolation support for the associated Backend |
| 807 |
// Service. |
| 808 |
type ServiceLbPolicy_IsolationConfig struct { |
| 809 |
state protoimpl.MessageState |
| 810 |
sizeCache protoimpl.SizeCache |
| 811 |
unknownFields protoimpl.UnknownFields |
| 812 |
|
| 813 |
// Optional. The isolation granularity of the load balancer. |
| 814 |
IsolationGranularity ServiceLbPolicy_IsolationGranularity `protobuf:"varint,1,opt,name=isolation_granularity,json=isolationGranularity,proto3,enum=google.cloud.networkservices.v1.ServiceLbPolicy_IsolationGranularity" json:"isolation_granularity,omitempty"` |
| 815 |
// Optional. The isolation mode of the load balancer. |
| 816 |
IsolationMode ServiceLbPolicy_IsolationMode `protobuf:"varint,2,opt,name=isolation_mode,json=isolationMode,proto3,enum=google.cloud.networkservices.v1.ServiceLbPolicy_IsolationMode" json:"isolation_mode,omitempty"` |
| 817 |
} |
| 818 |
|
| 819 |
func (x *ServiceLbPolicy_IsolationConfig) Reset() { |
| 820 |
*x = ServiceLbPolicy_IsolationConfig{} |
| 821 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[9] |
| 822 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 823 |
ms.StoreMessageInfo(mi) |
| 824 |
} |
| 825 |
|
| 826 |
func (x *ServiceLbPolicy_IsolationConfig) String() string { |
| 827 |
return protoimpl.X.MessageStringOf(x) |
| 828 |
} |
| 829 |
|
| 830 |
func (*ServiceLbPolicy_IsolationConfig) ProtoMessage() {} |
| 831 |
|
| 832 |
func (x *ServiceLbPolicy_IsolationConfig) ProtoReflect() protoreflect.Message { |
| 833 |
mi := &file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes[9] |
| 834 |
if x != nil { |
| 835 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 836 |
if ms.LoadMessageInfo() == nil { |
| 837 |
ms.StoreMessageInfo(mi) |
| 838 |
} |
| 839 |
return ms |
| 840 |
} |
| 841 |
return mi.MessageOf(x) |
| 842 |
} |
| 843 |
|
| 844 |
// Deprecated: Use ServiceLbPolicy_IsolationConfig.ProtoReflect.Descriptor instead. |
| 845 |
func (*ServiceLbPolicy_IsolationConfig) Descriptor() ([]byte, []int) { |
| 846 |
return file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescGZIP(), []int{0, 2} |
| 847 |
} |
| 848 |
|
| 849 |
func (x *ServiceLbPolicy_IsolationConfig) GetIsolationGranularity() ServiceLbPolicy_IsolationGranularity { |
| 850 |
if x != nil { |
| 851 |
return x.IsolationGranularity |
| 852 |
} |
| 853 |
return ServiceLbPolicy_ISOLATION_GRANULARITY_UNSPECIFIED |
| 854 |
} |
| 855 |
|
| 856 |
func (x *ServiceLbPolicy_IsolationConfig) GetIsolationMode() ServiceLbPolicy_IsolationMode { |
| 857 |
if x != nil { |
| 858 |
return x.IsolationMode |
| 859 |
} |
| 860 |
return ServiceLbPolicy_ISOLATION_MODE_UNSPECIFIED |
| 861 |
} |
| 862 |
|
| 863 |
var File_google_cloud_networkservices_v1_service_lb_policy_proto protoreflect.FileDescriptor |
| 864 |
|
| 865 |
var file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDesc = []byte{ |
| 866 |
0x0a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, |
| 867 |
0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x76, |
| 868 |
0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6c, 0x62, 0x5f, 0x70, 0x6f, 0x6c, |
| 869 |
0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 870 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, |
| 871 |
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, |
| 872 |
0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, |
| 873 |
0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, |
| 874 |
0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 875 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, |
| 876 |
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, |
| 877 |
0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 878 |
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, |
| 879 |
0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x0d, 0x0a, 0x0f, 0x53, 0x65, |
| 880 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x17, 0x0a, |
| 881 |
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, |
| 882 |
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, |
| 883 |
0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, |
| 884 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, |
| 885 |
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, |
| 886 |
0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, |
| 887 |
0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, |
| 888 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, |
| 889 |
0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, |
| 890 |
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x06, 0x6c, 0x61, |
| 891 |
0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, |
| 892 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, |
| 893 |
0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, |
| 894 |
0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4c, 0x61, 0x62, |
| 895 |
0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6c, |
| 896 |
0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, |
| 897 |
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, |
| 898 |
0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x86, 0x01, 0x0a, |
| 899 |
0x18, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x5f, |
| 900 |
0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, |
| 901 |
0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, |
| 902 |
0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, |
| 903 |
0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, |
| 904 |
0x79, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x41, |
| 905 |
0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x16, 0x6c, |
| 906 |
0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x67, 0x6f, |
| 907 |
0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x77, 0x0a, 0x13, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x63, 0x61, |
| 908 |
0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x64, 0x72, 0x61, 0x69, 0x6e, 0x18, 0x08, 0x20, 0x01, |
| 909 |
0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 910 |
0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, |
| 911 |
0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, 0x50, 0x6f, |
| 912 |
0x6c, 0x69, 0x63, 0x79, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, |
| 913 |
0x79, 0x44, 0x72, 0x61, 0x69, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x11, 0x61, 0x75, 0x74, |
| 914 |
0x6f, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x44, 0x72, 0x61, 0x69, 0x6e, 0x12, 0x6d, |
| 915 |
0x0a, 0x0f, 0x66, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, |
| 916 |
0x67, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 917 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, |
| 918 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 919 |
0x65, 0x4c, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, |
| 920 |
0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x66, |
| 921 |
0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x70, 0x0a, |
| 922 |
0x10, 0x69, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, |
| 923 |
0x67, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 924 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, |
| 925 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 926 |
0x65, 0x4c, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x49, 0x73, 0x6f, 0x6c, 0x61, 0x74, |
| 927 |
0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, |
| 928 |
0x69, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, |
| 929 |
0x30, 0x0a, 0x11, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x44, |
| 930 |
0x72, 0x61, 0x69, 0x6e, 0x12, 0x1b, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, |
| 931 |
0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, |
| 932 |
0x65, 0x1a, 0x51, 0x0a, 0x0e, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, |
| 933 |
0x66, 0x69, 0x67, 0x12, 0x3f, 0x0a, 0x19, 0x66, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x5f, |
| 934 |
0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, |
| 935 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x17, 0x66, 0x61, 0x69, |
| 936 |
0x6c, 0x6f, 0x76, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x54, 0x68, 0x72, 0x65, 0x73, |
| 937 |
0x68, 0x6f, 0x6c, 0x64, 0x1a, 0xfe, 0x01, 0x0a, 0x0f, 0x49, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x69, |
| 938 |
0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x7f, 0x0a, 0x15, 0x69, 0x73, 0x6f, 0x6c, |
| 939 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, |
| 940 |
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 941 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, |
| 942 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 943 |
0x65, 0x4c, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x49, 0x73, 0x6f, 0x6c, 0x61, 0x74, |
| 944 |
0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x42, 0x03, |
| 945 |
0xe0, 0x41, 0x01, 0x52, 0x14, 0x69, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, |
| 946 |
0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x6a, 0x0a, 0x0e, 0x69, 0x73, 0x6f, |
| 947 |
0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 948 |
0x0e, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 949 |
0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, |
| 950 |
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, 0x50, 0x6f, 0x6c, |
| 951 |
0x69, 0x63, 0x79, 0x2e, 0x49, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, |
| 952 |
0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x69, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, |
| 953 |
0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, |
| 954 |
0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 955 |
0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, |
| 956 |
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, |
| 957 |
0x22, 0x9b, 0x01, 0x0a, 0x16, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, |
| 958 |
0x6e, 0x67, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x28, 0x0a, 0x24, 0x4c, |
| 959 |
0x4f, 0x41, 0x44, 0x5f, 0x42, 0x41, 0x4c, 0x41, 0x4e, 0x43, 0x49, 0x4e, 0x47, 0x5f, 0x41, 0x4c, |
| 960 |
0x47, 0x4f, 0x52, 0x49, 0x54, 0x48, 0x4d, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, |
| 961 |
0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x50, 0x52, 0x41, 0x59, 0x5f, 0x54, |
| 962 |
0x4f, 0x5f, 0x57, 0x4f, 0x52, 0x4c, 0x44, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x50, 0x52, |
| 963 |
0x41, 0x59, 0x5f, 0x54, 0x4f, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x12, 0x17, |
| 964 |
0x0a, 0x13, 0x57, 0x41, 0x54, 0x45, 0x52, 0x46, 0x41, 0x4c, 0x4c, 0x5f, 0x42, 0x59, 0x5f, 0x52, |
| 965 |
0x45, 0x47, 0x49, 0x4f, 0x4e, 0x10, 0x05, 0x12, 0x15, 0x0a, 0x11, 0x57, 0x41, 0x54, 0x45, 0x52, |
| 966 |
0x46, 0x41, 0x4c, 0x4c, 0x5f, 0x42, 0x59, 0x5f, 0x5a, 0x4f, 0x4e, 0x45, 0x10, 0x06, 0x22, 0x49, |
| 967 |
0x0a, 0x14, 0x49, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x75, |
| 968 |
0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x25, 0x0a, 0x21, 0x49, 0x53, 0x4f, 0x4c, 0x41, 0x54, |
| 969 |
0x49, 0x4f, 0x4e, 0x5f, 0x47, 0x52, 0x41, 0x4e, 0x55, 0x4c, 0x41, 0x52, 0x49, 0x54, 0x59, 0x5f, |
| 970 |
0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, |
| 971 |
0x06, 0x52, 0x45, 0x47, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x22, 0x48, 0x0a, 0x0d, 0x49, 0x73, 0x6f, |
| 972 |
0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x49, 0x53, |
| 973 |
0x4f, 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, |
| 974 |
0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x4e, 0x45, |
| 975 |
0x41, 0x52, 0x45, 0x53, 0x54, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x43, |
| 976 |
0x54, 0x10, 0x02, 0x3a, 0x82, 0x01, 0xea, 0x41, 0x7f, 0x0a, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, |
| 977 |
0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 978 |
0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 979 |
0x65, 0x4c, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4d, 0x70, 0x72, 0x6f, 0x6a, 0x65, |
| 980 |
0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, |
| 981 |
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, |
| 982 |
0x6e, 0x7d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, 0x50, 0x6f, 0x6c, 0x69, |
| 983 |
0x63, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6c, 0x62, |
| 984 |
0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x22, 0xaa, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, |
| 985 |
0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, |
| 986 |
0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x06, 0x70, 0x61, 0x72, |
| 987 |
0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x36, 0xe0, 0x41, 0x02, 0xfa, 0x41, |
| 988 |
0x30, 0x12, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 989 |
0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, |
| 990 |
0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, |
| 991 |
0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, |
| 992 |
0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, |
| 993 |
0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, |
| 994 |
0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, |
| 995 |
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xcb, 0x01, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, |
| 996 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, |
| 997 |
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x13, 0x73, 0x65, 0x72, 0x76, 0x69, |
| 998 |
0x63, 0x65, 0x5f, 0x6c, 0x62, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x01, |
| 999 |
0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 1000 |
0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, |
| 1001 |
0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, |
| 1002 |
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, |
| 1003 |
0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, |
| 1004 |
0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, |
| 1005 |
0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, |
| 1006 |
0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, |
| 1007 |
0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, |
| 1008 |
0x62, 0x6c, 0x65, 0x22, 0x67, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 1009 |
0x65, 0x4c, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 1010 |
0x12, 0x4a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x36, |
| 1011 |
0xe0, 0x41, 0x02, 0xfa, 0x41, 0x30, 0x0a, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, |
| 1012 |
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, |
| 1013 |
0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, |
| 1014 |
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x87, 0x02, 0x0a, |
| 1015 |
0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, |
| 1016 |
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4e, 0x0a, |
| 1017 |
0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x36, 0xe0, |
| 1018 |
0x41, 0x02, 0xfa, 0x41, 0x30, 0x12, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, |
| 1019 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, |
| 1020 |
0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, 0x50, |
| 1021 |
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, |
| 1022 |
0x14, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6c, 0x62, 0x5f, 0x70, 0x6f, 0x6c, 0x69, |
| 1023 |
0x63, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, |
| 1024 |
0x52, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, |
| 1025 |
0x79, 0x49, 0x64, 0x12, 0x61, 0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6c, |
| 1026 |
0x62, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, |
| 1027 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, |
| 1028 |
0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, |
| 1029 |
0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, |
| 1030 |
0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, |
| 1031 |
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0xc3, 0x01, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, |
| 1032 |
0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, |
| 1033 |
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, |
| 1034 |
0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, |
| 1035 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, |
| 1036 |
0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x75, |
| 1037 |
0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x61, 0x0a, 0x11, 0x73, 0x65, 0x72, |
| 1038 |
0x76, 0x69, 0x63, 0x65, 0x5f, 0x6c, 0x62, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, |
| 1039 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 1040 |
0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, |
| 1041 |
0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, |
| 1042 |
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x73, 0x65, 0x72, |
| 1043 |
0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x6a, 0x0a, 0x1c, |
| 1044 |
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, 0x50, |
| 1045 |
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x04, |
| 1046 |
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x36, 0xe0, 0x41, 0x02, 0xfa, |
| 1047 |
0x41, 0x30, 0x0a, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, |
| 1048 |
0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, |
| 1049 |
0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, 0x50, 0x6f, 0x6c, 0x69, |
| 1050 |
0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0xf5, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, |
| 1051 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, |
| 1052 |
0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, |
| 1053 |
0x42, 0x14, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, |
| 1054 |
0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 1055 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6e, 0x65, |
| 1056 |
0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x70, |
| 1057 |
0x69, 0x76, 0x31, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, |
| 1058 |
0x63, 0x65, 0x73, 0x70, 0x62, 0x3b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, |
| 1059 |
0x76, 0x69, 0x63, 0x65, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1060 |
0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, |
| 1061 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, |
| 1062 |
0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, |
| 1063 |
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x22, 0x47, 0x6f, |
| 1064 |
0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4e, 0x65, 0x74, |
| 1065 |
0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, |
| 1066 |
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 1067 |
} |
| 1068 |
|
| 1069 |
var ( |
| 1070 |
file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescOnce sync.Once |
| 1071 |
file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescData = file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDesc |
| 1072 |
) |
| 1073 |
|
| 1074 |
func file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescGZIP() []byte { |
| 1075 |
file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescOnce.Do(func() { |
| 1076 |
file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescData) |
| 1077 |
}) |
| 1078 |
return file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDescData |
| 1079 |
} |
| 1080 |
|
| 1081 |
var file_google_cloud_networkservices_v1_service_lb_policy_proto_enumTypes = make([]protoimpl.EnumInfo, 3) |
| 1082 |
var file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 11) |
| 1083 |
var file_google_cloud_networkservices_v1_service_lb_policy_proto_goTypes = []any{ |
| 1084 |
(ServiceLbPolicy_LoadBalancingAlgorithm)(0), // 0: google.cloud.networkservices.v1.ServiceLbPolicy.LoadBalancingAlgorithm |
| 1085 |
(ServiceLbPolicy_IsolationGranularity)(0), // 1: google.cloud.networkservices.v1.ServiceLbPolicy.IsolationGranularity |
| 1086 |
(ServiceLbPolicy_IsolationMode)(0), // 2: google.cloud.networkservices.v1.ServiceLbPolicy.IsolationMode |
| 1087 |
(*ServiceLbPolicy)(nil), // 3: google.cloud.networkservices.v1.ServiceLbPolicy |
| 1088 |
(*ListServiceLbPoliciesRequest)(nil), // 4: google.cloud.networkservices.v1.ListServiceLbPoliciesRequest |
| 1089 |
(*ListServiceLbPoliciesResponse)(nil), // 5: google.cloud.networkservices.v1.ListServiceLbPoliciesResponse |
| 1090 |
(*GetServiceLbPolicyRequest)(nil), // 6: google.cloud.networkservices.v1.GetServiceLbPolicyRequest |
| 1091 |
(*CreateServiceLbPolicyRequest)(nil), // 7: google.cloud.networkservices.v1.CreateServiceLbPolicyRequest |
| 1092 |
(*UpdateServiceLbPolicyRequest)(nil), // 8: google.cloud.networkservices.v1.UpdateServiceLbPolicyRequest |
| 1093 |
(*DeleteServiceLbPolicyRequest)(nil), // 9: google.cloud.networkservices.v1.DeleteServiceLbPolicyRequest |
| 1094 |
(*ServiceLbPolicy_AutoCapacityDrain)(nil), // 10: google.cloud.networkservices.v1.ServiceLbPolicy.AutoCapacityDrain |
| 1095 |
(*ServiceLbPolicy_FailoverConfig)(nil), // 11: google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfig |
| 1096 |
(*ServiceLbPolicy_IsolationConfig)(nil), // 12: google.cloud.networkservices.v1.ServiceLbPolicy.IsolationConfig |
| 1097 |
nil, // 13: google.cloud.networkservices.v1.ServiceLbPolicy.LabelsEntry |
| 1098 |
(*timestamppb.Timestamp)(nil), // 14: google.protobuf.Timestamp |
| 1099 |
(*fieldmaskpb.FieldMask)(nil), // 15: google.protobuf.FieldMask |
| 1100 |
} |
| 1101 |
var file_google_cloud_networkservices_v1_service_lb_policy_proto_depIdxs = []int32{ |
| 1102 |
14, // 0: google.cloud.networkservices.v1.ServiceLbPolicy.create_time:type_name -> google.protobuf.Timestamp |
| 1103 |
14, // 1: google.cloud.networkservices.v1.ServiceLbPolicy.update_time:type_name -> google.protobuf.Timestamp |
| 1104 |
13, // 2: google.cloud.networkservices.v1.ServiceLbPolicy.labels:type_name -> google.cloud.networkservices.v1.ServiceLbPolicy.LabelsEntry |
| 1105 |
0, // 3: google.cloud.networkservices.v1.ServiceLbPolicy.load_balancing_algorithm:type_name -> google.cloud.networkservices.v1.ServiceLbPolicy.LoadBalancingAlgorithm |
| 1106 |
10, // 4: google.cloud.networkservices.v1.ServiceLbPolicy.auto_capacity_drain:type_name -> google.cloud.networkservices.v1.ServiceLbPolicy.AutoCapacityDrain |
| 1107 |
11, // 5: google.cloud.networkservices.v1.ServiceLbPolicy.failover_config:type_name -> google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfig |
| 1108 |
12, // 6: google.cloud.networkservices.v1.ServiceLbPolicy.isolation_config:type_name -> google.cloud.networkservices.v1.ServiceLbPolicy.IsolationConfig |
| 1109 |
3, // 7: google.cloud.networkservices.v1.ListServiceLbPoliciesResponse.service_lb_policies:type_name -> google.cloud.networkservices.v1.ServiceLbPolicy |
| 1110 |
3, // 8: google.cloud.networkservices.v1.CreateServiceLbPolicyRequest.service_lb_policy:type_name -> google.cloud.networkservices.v1.ServiceLbPolicy |
| 1111 |
15, // 9: google.cloud.networkservices.v1.UpdateServiceLbPolicyRequest.update_mask:type_name -> google.protobuf.FieldMask |
| 1112 |
3, // 10: google.cloud.networkservices.v1.UpdateServiceLbPolicyRequest.service_lb_policy:type_name -> google.cloud.networkservices.v1.ServiceLbPolicy |
| 1113 |
1, // 11: google.cloud.networkservices.v1.ServiceLbPolicy.IsolationConfig.isolation_granularity:type_name -> google.cloud.networkservices.v1.ServiceLbPolicy.IsolationGranularity |
| 1114 |
2, // 12: google.cloud.networkservices.v1.ServiceLbPolicy.IsolationConfig.isolation_mode:type_name -> google.cloud.networkservices.v1.ServiceLbPolicy.IsolationMode |
| 1115 |
13, // [13:13] is the sub-list for method output_type |
| 1116 |
13, // [13:13] is the sub-list for method input_type |
| 1117 |
13, // [13:13] is the sub-list for extension type_name |
| 1118 |
13, // [13:13] is the sub-list for extension extendee |
| 1119 |
0, // [0:13] is the sub-list for field type_name |
| 1120 |
} |
| 1121 |
|
| 1122 |
func init() { file_google_cloud_networkservices_v1_service_lb_policy_proto_init() } |
| 1123 |
func file_google_cloud_networkservices_v1_service_lb_policy_proto_init() { |
| 1124 |
if File_google_cloud_networkservices_v1_service_lb_policy_proto != nil { |
| 1125 |
return |
| 1126 |
} |
| 1127 |
type x struct{} |
| 1128 |
out := protoimpl.TypeBuilder{ |
| 1129 |
File: protoimpl.DescBuilder{ |
| 1130 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1131 |
RawDescriptor: file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDesc, |
| 1132 |
NumEnums: 3, |
| 1133 |
NumMessages: 11, |
| 1134 |
NumExtensions: 0, |
| 1135 |
NumServices: 0, |
| 1136 |
}, |
| 1137 |
GoTypes: file_google_cloud_networkservices_v1_service_lb_policy_proto_goTypes, |
| 1138 |
DependencyIndexes: file_google_cloud_networkservices_v1_service_lb_policy_proto_depIdxs, |
| 1139 |
EnumInfos: file_google_cloud_networkservices_v1_service_lb_policy_proto_enumTypes, |
| 1140 |
MessageInfos: file_google_cloud_networkservices_v1_service_lb_policy_proto_msgTypes, |
| 1141 |
}.Build() |
| 1142 |
File_google_cloud_networkservices_v1_service_lb_policy_proto = out.File |
| 1143 |
file_google_cloud_networkservices_v1_service_lb_policy_proto_rawDesc = nil |
| 1144 |
file_google_cloud_networkservices_v1_service_lb_policy_proto_goTypes = nil |
| 1145 |
file_google_cloud_networkservices_v1_service_lb_policy_proto_depIdxs = nil |
| 1146 |
} |