diff --git a/js/app_connection_controller_grpc_web_pb.js b/js/app_connection_controller_grpc_web_pb.js index 11a97ea..df3411f 100644 --- a/js/app_connection_controller_grpc_web_pb.js +++ b/js/app_connection_controller_grpc_web_pb.js @@ -6,8 +6,8 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 -// protoc v4.22.2 +// protoc-gen-grpc-web v1.5.0 +// protoc v3.12.4 // source: app_connection_controller.proto diff --git a/js/app_connection_controller_pb.js b/js/app_connection_controller_pb.js index 9b76f63..d26fc50 100644 --- a/js/app_connection_controller_pb.js +++ b/js/app_connection_controller_pb.js @@ -1,44 +1,16 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - // source: app_connection_controller.proto /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); +var global = Function('return this')(); var app_connection_pb = require('./app_connection_pb.js'); goog.object.extend(proto, app_connection_pb); diff --git a/js/app_connection_pb.js b/js/app_connection_pb.js index fccd2ec..4e0c543 100644 --- a/js/app_connection_pb.js +++ b/js/app_connection_pb.js @@ -1,44 +1,16 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - // source: app_connection.proto /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); +var global = Function('return this')(); var common_pb = require('./common_pb.js'); goog.object.extend(proto, common_pb); @@ -2149,8 +2121,7 @@ proto.AppMetadata.prototype.getLabelMap = function(opt_noLazyCreate) { */ proto.AppMetadata.prototype.clearLabelMap = function() { this.getLabelMap().clear(); - return this; -}; + return this;}; /** @@ -4157,8 +4128,7 @@ proto.Endpoint.Selector.prototype.getMatchlabelsMap = function(opt_noLazyCreate) */ proto.Endpoint.Selector.prototype.clearMatchlabelsMap = function() { this.getMatchlabelsMap().clear(); - return this; -}; + return this;}; /** @@ -4859,8 +4829,7 @@ proto.AppSubnet.Selector.prototype.getMatchlabelsMap = function(opt_noLazyCreate */ proto.AppSubnet.Selector.prototype.clearMatchlabelsMap = function() { this.getMatchlabelsMap().clear(); - return this; -}; + return this;}; /** @@ -5271,8 +5240,7 @@ proto.Namespace.Selector.prototype.getMatchlabelsMap = function(opt_noLazyCreate */ proto.Namespace.Selector.prototype.clearMatchlabelsMap = function() { this.getMatchlabelsMap().clear(); - return this; -}; + return this;}; /** @@ -6389,8 +6357,7 @@ proto.Service.Selector.prototype.getMatchlabelsMap = function(opt_noLazyCreate) */ proto.Service.Selector.prototype.clearMatchlabelsMap = function() { this.getMatchlabelsMap().clear(); - return this; -}; + return this;}; /** @@ -6837,8 +6804,7 @@ proto.Cluster.Selector.prototype.getMatchlabelsMap = function(opt_noLazyCreate) */ proto.Cluster.Selector.prototype.clearMatchlabelsMap = function() { this.getMatchlabelsMap().clear(); - return this; -}; + return this;}; /** @@ -7176,8 +7142,7 @@ proto.NetworkDomain.Selector.prototype.getMatchlabelsMap = function(opt_noLazyCr */ proto.NetworkDomain.Selector.prototype.clearMatchlabelsMap = function() { this.getMatchlabelsMap().clear(); - return this; -}; + return this;}; /** @@ -7692,8 +7657,7 @@ proto.AccessPolicySelector.Selector.prototype.getMatchlabelsMap = function(opt_n */ proto.AccessPolicySelector.Selector.prototype.clearMatchlabelsMap = function() { this.getMatchlabelsMap().clear(); - return this; -}; + return this;}; diff --git a/js/cloud_request_grpc_web_pb.js b/js/cloud_request_grpc_web_pb.js index a505691..493062b 100644 --- a/js/cloud_request_grpc_web_pb.js +++ b/js/cloud_request_grpc_web_pb.js @@ -6,8 +6,8 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 -// protoc v4.22.2 +// protoc-gen-grpc-web v1.5.0 +// protoc v3.12.4 // source: cloud_request.proto diff --git a/js/cloud_request_pb.js b/js/cloud_request_pb.js index d27e765..117c08c 100644 --- a/js/cloud_request_pb.js +++ b/js/cloud_request_pb.js @@ -1,44 +1,16 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - // source: cloud_request.proto /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); +var global = Function('return this')(); goog.exportSymbol('proto.Instance', null, global); goog.exportSymbol('proto.K8sService', null, global); @@ -720,8 +692,7 @@ proto.ListInstancesRequest.prototype.getLabelsMap = function(opt_noLazyCreate) { */ proto.ListInstancesRequest.prototype.clearLabelsMap = function() { this.getLabelsMap().clear(); - return this; -}; + return this;}; /** @@ -1242,8 +1213,7 @@ proto.Instance.prototype.getLabelsMap = function(opt_noLazyCreate) { */ proto.Instance.prototype.clearLabelsMap = function() { this.getLabelsMap().clear(); - return this; -}; + return this;}; @@ -1538,8 +1508,7 @@ proto.ListSubnetRequest.prototype.getLabelsMap = function(opt_noLazyCreate) { */ proto.ListSubnetRequest.prototype.clearLabelsMap = function() { this.getLabelsMap().clear(); - return this; -}; + return this;}; /** @@ -2000,8 +1969,7 @@ proto.Subnet.prototype.getLabelsMap = function(opt_noLazyCreate) { */ proto.Subnet.prototype.clearLabelsMap = function() { this.getLabelsMap().clear(); - return this; -}; + return this;}; @@ -3335,8 +3303,7 @@ proto.VPC.prototype.getLabelsMap = function(opt_noLazyCreate) { */ proto.VPC.prototype.clearLabelsMap = function() { this.getLabelsMap().clear(); - return this; -}; + return this;}; @@ -4069,8 +4036,7 @@ proto.Pod.prototype.getLabelsMap = function(opt_noLazyCreate) { */ proto.Pod.prototype.clearLabelsMap = function() { this.getLabelsMap().clear(); - return this; -}; + return this;}; @@ -4581,8 +4547,7 @@ proto.K8sService.prototype.getLabelsMap = function(opt_noLazyCreate) { */ proto.K8sService.prototype.clearLabelsMap = function() { this.getLabelsMap().clear(); - return this; -}; + return this;}; /** diff --git a/js/common_pb.js b/js/common_pb.js index 3bf1f19..37f95cf 100644 --- a/js/common_pb.js +++ b/js/common_pb.js @@ -1,44 +1,16 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - // source: common.proto /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); +var global = Function('return this')(); goog.exportSymbol('proto.ControllerCapabilities', null, global); goog.exportSymbol('proto.ControllerGetCapabilitiesRequest', null, global); diff --git a/js/network_domain_connection_pb.js b/js/network_domain_connection_pb.js index cfc61ce..94c1bd9 100644 --- a/js/network_domain_connection_pb.js +++ b/js/network_domain_connection_pb.js @@ -1,44 +1,16 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - // source: network_domain_connection.proto /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); +var global = Function('return this')(); var common_pb = require('./common_pb.js'); goog.object.extend(proto, common_pb); @@ -3274,8 +3246,7 @@ proto.NetworkDomainConnectionConfig.Selector.prototype.getMatchlabelsMap = funct */ proto.NetworkDomainConnectionConfig.Selector.prototype.clearMatchlabelsMap = function() { this.getMatchlabelsMap().clear(); - return this; -}; + return this;}; /** @@ -4228,8 +4199,7 @@ proto.ConnectionMetadata.prototype.getLabelsMap = function(opt_noLazyCreate) { */ proto.ConnectionMetadata.prototype.clearLabelsMap = function() { this.getLabelsMap().clear(); - return this; -}; + return this;}; diff --git a/js/network_domain_pb.js b/js/network_domain_pb.js index a24a370..2b1aa99 100644 --- a/js/network_domain_pb.js +++ b/js/network_domain_pb.js @@ -1,44 +1,16 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - // source: network_domain.proto /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); +var global = Function('return this')(); goog.exportSymbol('proto.NetworkDomainObject', null, global); /** @@ -100,7 +72,8 @@ proto.NetworkDomainObject.toObject = function(includeInstance, msg) { name: jspb.Message.getFieldWithDefault(msg, 4, ""), accountid: jspb.Message.getFieldWithDefault(msg, 5, ""), sideid: jspb.Message.getFieldWithDefault(msg, 6, ""), - labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [] + labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [], + region: jspb.Message.getFieldWithDefault(msg, 8, "") }; if (includeInstance) { @@ -167,6 +140,10 @@ proto.NetworkDomainObject.deserializeBinaryFromReader = function(msg, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); }); break; + case 8: + var value = /** @type {string} */ (reader.readString()); + msg.setRegion(value); + break; default: reader.skipField(); break; @@ -242,6 +219,13 @@ proto.NetworkDomainObject.serializeBinaryToWriter = function(message, writer) { if (f && f.getLength() > 0) { f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); } + f = message.getRegion(); + if (f.length > 0) { + writer.writeString( + 8, + f + ); + } }; @@ -372,7 +356,24 @@ proto.NetworkDomainObject.prototype.getLabelsMap = function(opt_noLazyCreate) { */ proto.NetworkDomainObject.prototype.clearLabelsMap = function() { this.getLabelsMap().clear(); - return this; + return this;}; + + +/** + * optional string region = 8; + * @return {string} + */ +proto.NetworkDomainObject.prototype.getRegion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); +}; + + +/** + * @param {string} value + * @return {!proto.NetworkDomainObject} returns this + */ +proto.NetworkDomainObject.prototype.setRegion = function(value) { + return jspb.Message.setProto3StringField(this, 8, value); }; diff --git a/js/network_policy_pb.js b/js/network_policy_pb.js index 0de670e..d542907 100644 --- a/js/network_policy_pb.js +++ b/js/network_policy_pb.js @@ -1,44 +1,16 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - // source: network_policy.proto /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); +var global = Function('return this')(); goog.exportSymbol('proto.Countries', null, global); goog.exportSymbol('proto.EnforcementRequest', null, global); diff --git a/js/network_policy_service_grpc_web_pb.js b/js/network_policy_service_grpc_web_pb.js index ea341b7..b5e8386 100644 --- a/js/network_policy_service_grpc_web_pb.js +++ b/js/network_policy_service_grpc_web_pb.js @@ -6,8 +6,8 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 -// protoc v4.22.2 +// protoc-gen-grpc-web v1.5.0 +// protoc v3.12.4 // source: network_policy_service.proto diff --git a/js/network_policy_service_pb.js b/js/network_policy_service_pb.js index e857184..eb693f7 100644 --- a/js/network_policy_service_pb.js +++ b/js/network_policy_service_pb.js @@ -1,44 +1,16 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - // source: network_policy_service.proto /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); +var global = Function('return this')(); var network_policy_pb = require('./network_policy_pb.js'); goog.object.extend(proto, network_policy_pb); diff --git a/js/options_pb.js b/js/options_pb.js index 2d222ca..6480403 100644 --- a/js/options_pb.js +++ b/js/options_pb.js @@ -1,44 +1,16 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - // source: options.proto /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); +var global = Function('return this')(); var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); goog.object.extend(proto, google_protobuf_descriptor_pb); diff --git a/js/security_policies_pb.js b/js/security_policies_pb.js index f819d05..c17de6b 100644 --- a/js/security_policies_pb.js +++ b/js/security_policies_pb.js @@ -1,44 +1,16 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - // source: security_policies.proto /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); +var global = Function('return this')(); goog.exportSymbol('proto.Security', null, global); goog.exportSymbol('proto.Security.AccessPolicy', null, global); @@ -443,8 +415,7 @@ proto.Security.PolicyMetadata.prototype.getLabelsMap = function(opt_noLazyCreate */ proto.Security.PolicyMetadata.prototype.clearLabelsMap = function() { this.getLabelsMap().clear(); - return this; -}; + return this;}; /** diff --git a/js/security_policy_service_grpc_web_pb.js b/js/security_policy_service_grpc_web_pb.js index c3e80f8..065b6a7 100644 --- a/js/security_policy_service_grpc_web_pb.js +++ b/js/security_policy_service_grpc_web_pb.js @@ -6,8 +6,8 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 -// protoc v4.22.2 +// protoc-gen-grpc-web v1.5.0 +// protoc v3.12.4 // source: security_policy_service.proto diff --git a/js/security_policy_service_pb.js b/js/security_policy_service_pb.js index 2b61f38..7f1b552 100644 --- a/js/security_policy_service_pb.js +++ b/js/security_policy_service_pb.js @@ -1,44 +1,16 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - // source: security_policy_service.proto /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); +var global = Function('return this')(); var security_policies_pb = require('./security_policies_pb.js'); goog.object.extend(proto, security_policies_pb); diff --git a/js/service_controller_grpc_web_pb.js b/js/service_controller_grpc_web_pb.js index 530cc79..3f29ec5 100644 --- a/js/service_controller_grpc_web_pb.js +++ b/js/service_controller_grpc_web_pb.js @@ -6,8 +6,8 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 -// protoc v4.22.2 +// protoc-gen-grpc-web v1.5.0 +// protoc v3.12.4 // source: service_controller.proto diff --git a/js/service_controller_pb.js b/js/service_controller_pb.js index 5aafcdb..4a5be21 100644 --- a/js/service_controller_pb.js +++ b/js/service_controller_pb.js @@ -1,44 +1,16 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - // source: service_controller.proto /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); +var global = Function('return this')(); var network_domain_connection_pb = require('./network_domain_connection_pb.js'); goog.object.extend(proto, network_domain_connection_pb); diff --git a/js/sla_pb.js b/js/sla_pb.js index 874c5d2..38a2f08 100644 --- a/js/sla_pb.js +++ b/js/sla_pb.js @@ -1,44 +1,16 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - // source: sla.proto /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); +var global = Function('return this')(); goog.exportSymbol('proto.Hard_SLA', null, global); goog.exportSymbol('proto.Network_SLA', null, global); diff --git a/pb/app_connection.pb.go b/pb/app_connection.pb.go index 64ccc9e..16dfdb6 100644 --- a/pb/app_connection.pb.go +++ b/pb/app_connection.pb.go @@ -1,7 +1,24 @@ +// Copyright (c) 2023 Cisco Systems, Inc. and its affiliates +// All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http:www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 -// protoc v4.22.2 +// protoc-gen-go v1.31.0 +// protoc v3.12.4 // source: app_connection.proto package awi diff --git a/pb/app_connection_controller.pb.go b/pb/app_connection_controller.pb.go index 30af535..f6472fb 100644 --- a/pb/app_connection_controller.pb.go +++ b/pb/app_connection_controller.pb.go @@ -1,7 +1,24 @@ +// Copyright (c) 2023 Cisco Systems, Inc. and its affiliates +// All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http:www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 -// protoc v4.22.2 +// protoc-gen-go v1.31.0 +// protoc v3.12.4 // source: app_connection_controller.proto package awi diff --git a/pb/app_connection_controller_grpc.pb.go b/pb/app_connection_controller_grpc.pb.go index cf0cb91..3026a14 100644 --- a/pb/app_connection_controller_grpc.pb.go +++ b/pb/app_connection_controller_grpc.pb.go @@ -1,7 +1,24 @@ +// Copyright (c) 2023 Cisco Systems, Inc. and its affiliates +// All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http:www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v4.22.2 +// - protoc-gen-go-grpc v1.3.0 +// - protoc v3.12.4 // source: app_connection_controller.proto package awi @@ -18,6 +35,21 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +const ( + AppConnectionController_ConnectApps_FullMethodName = "/AppConnectionController/ConnectApps" + AppConnectionController_DisconnectApps_FullMethodName = "/AppConnectionController/DisconnectApps" + AppConnectionController_GetAppConnection_FullMethodName = "/AppConnectionController/GetAppConnection" + AppConnectionController_ListConnectedApps_FullMethodName = "/AppConnectionController/ListConnectedApps" + AppConnectionController_GetAppConnectionStatus_FullMethodName = "/AppConnectionController/GetAppConnectionStatus" + AppConnectionController_GetAppConnectionStatistics_FullMethodName = "/AppConnectionController/GetAppConnectionStatistics" + AppConnectionController_GetAppConnectionEvents_FullMethodName = "/AppConnectionController/GetAppConnectionEvents" + AppConnectionController_GetMatchedResources_FullMethodName = "/AppConnectionController/GetMatchedResources" + AppConnectionController_CreateAppConnectionPolicy_FullMethodName = "/AppConnectionController/CreateAppConnectionPolicy" + AppConnectionController_GetAppConnectionPolicy_FullMethodName = "/AppConnectionController/GetAppConnectionPolicy" + AppConnectionController_DeleteAppConnectionPolicy_FullMethodName = "/AppConnectionController/DeleteAppConnectionPolicy" + AppConnectionController_ListAppConnectionPolicies_FullMethodName = "/AppConnectionController/ListAppConnectionPolicies" +) + // AppConnectionControllerClient is the client API for AppConnectionController service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -48,7 +80,7 @@ func NewAppConnectionControllerClient(cc grpc.ClientConnInterface) AppConnection func (c *appConnectionControllerClient) ConnectApps(ctx context.Context, in *AppConnection, opts ...grpc.CallOption) (*AppConnectionResponse, error) { out := new(AppConnectionResponse) - err := c.cc.Invoke(ctx, "/AppConnectionController/ConnectApps", in, out, opts...) + err := c.cc.Invoke(ctx, AppConnectionController_ConnectApps_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -57,7 +89,7 @@ func (c *appConnectionControllerClient) ConnectApps(ctx context.Context, in *App func (c *appConnectionControllerClient) DisconnectApps(ctx context.Context, in *AppDisconnectionRequest, opts ...grpc.CallOption) (*AppDisconnectionResponse, error) { out := new(AppDisconnectionResponse) - err := c.cc.Invoke(ctx, "/AppConnectionController/DisconnectApps", in, out, opts...) + err := c.cc.Invoke(ctx, AppConnectionController_DisconnectApps_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -66,7 +98,7 @@ func (c *appConnectionControllerClient) DisconnectApps(ctx context.Context, in * func (c *appConnectionControllerClient) GetAppConnection(ctx context.Context, in *GetAppConnectionRequest, opts ...grpc.CallOption) (*GetAppConnectionResponse, error) { out := new(GetAppConnectionResponse) - err := c.cc.Invoke(ctx, "/AppConnectionController/GetAppConnection", in, out, opts...) + err := c.cc.Invoke(ctx, AppConnectionController_GetAppConnection_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -75,7 +107,7 @@ func (c *appConnectionControllerClient) GetAppConnection(ctx context.Context, in func (c *appConnectionControllerClient) ListConnectedApps(ctx context.Context, in *ListAppConnectionsRequest, opts ...grpc.CallOption) (*ListAppConnectionsResponse, error) { out := new(ListAppConnectionsResponse) - err := c.cc.Invoke(ctx, "/AppConnectionController/ListConnectedApps", in, out, opts...) + err := c.cc.Invoke(ctx, AppConnectionController_ListConnectedApps_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -84,7 +116,7 @@ func (c *appConnectionControllerClient) ListConnectedApps(ctx context.Context, i func (c *appConnectionControllerClient) GetAppConnectionStatus(ctx context.Context, in *GetAppConnectionStatusRequest, opts ...grpc.CallOption) (*AppConnectionStatusResponse, error) { out := new(AppConnectionStatusResponse) - err := c.cc.Invoke(ctx, "/AppConnectionController/GetAppConnectionStatus", in, out, opts...) + err := c.cc.Invoke(ctx, AppConnectionController_GetAppConnectionStatus_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -93,7 +125,7 @@ func (c *appConnectionControllerClient) GetAppConnectionStatus(ctx context.Conte func (c *appConnectionControllerClient) GetAppConnectionStatistics(ctx context.Context, in *GetAppConnectionStatisticsRequest, opts ...grpc.CallOption) (*AppConnectionStatisticsResponse, error) { out := new(AppConnectionStatisticsResponse) - err := c.cc.Invoke(ctx, "/AppConnectionController/GetAppConnectionStatistics", in, out, opts...) + err := c.cc.Invoke(ctx, AppConnectionController_GetAppConnectionStatistics_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -102,7 +134,7 @@ func (c *appConnectionControllerClient) GetAppConnectionStatistics(ctx context.C func (c *appConnectionControllerClient) GetAppConnectionEvents(ctx context.Context, in *GetAppConnectionEventsRequest, opts ...grpc.CallOption) (*AppConnectionEventsResponse, error) { out := new(AppConnectionEventsResponse) - err := c.cc.Invoke(ctx, "/AppConnectionController/GetAppConnectionEvents", in, out, opts...) + err := c.cc.Invoke(ctx, AppConnectionController_GetAppConnectionEvents_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -111,7 +143,7 @@ func (c *appConnectionControllerClient) GetAppConnectionEvents(ctx context.Conte func (c *appConnectionControllerClient) GetMatchedResources(ctx context.Context, in *AppConnection, opts ...grpc.CallOption) (*GetMatchedResourcesResponse, error) { out := new(GetMatchedResourcesResponse) - err := c.cc.Invoke(ctx, "/AppConnectionController/GetMatchedResources", in, out, opts...) + err := c.cc.Invoke(ctx, AppConnectionController_GetMatchedResources_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -120,7 +152,7 @@ func (c *appConnectionControllerClient) GetMatchedResources(ctx context.Context, func (c *appConnectionControllerClient) CreateAppConnectionPolicy(ctx context.Context, in *CreateAppConnectionPolicyRequest, opts ...grpc.CallOption) (*CreateAppConnectionPolicyResponse, error) { out := new(CreateAppConnectionPolicyResponse) - err := c.cc.Invoke(ctx, "/AppConnectionController/CreateAppConnectionPolicy", in, out, opts...) + err := c.cc.Invoke(ctx, AppConnectionController_CreateAppConnectionPolicy_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -129,7 +161,7 @@ func (c *appConnectionControllerClient) CreateAppConnectionPolicy(ctx context.Co func (c *appConnectionControllerClient) GetAppConnectionPolicy(ctx context.Context, in *GetAppConnectionPolicyRequest, opts ...grpc.CallOption) (*GetAppConnectionPolicyResponse, error) { out := new(GetAppConnectionPolicyResponse) - err := c.cc.Invoke(ctx, "/AppConnectionController/GetAppConnectionPolicy", in, out, opts...) + err := c.cc.Invoke(ctx, AppConnectionController_GetAppConnectionPolicy_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -138,7 +170,7 @@ func (c *appConnectionControllerClient) GetAppConnectionPolicy(ctx context.Conte func (c *appConnectionControllerClient) DeleteAppConnectionPolicy(ctx context.Context, in *DeleteAppConnectionPolicyRequest, opts ...grpc.CallOption) (*DeleteAppConnectionPolicyResponse, error) { out := new(DeleteAppConnectionPolicyResponse) - err := c.cc.Invoke(ctx, "/AppConnectionController/DeleteAppConnectionPolicy", in, out, opts...) + err := c.cc.Invoke(ctx, AppConnectionController_DeleteAppConnectionPolicy_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -147,7 +179,7 @@ func (c *appConnectionControllerClient) DeleteAppConnectionPolicy(ctx context.Co func (c *appConnectionControllerClient) ListAppConnectionPolicies(ctx context.Context, in *ListAppConnectionPoliciesRequest, opts ...grpc.CallOption) (*ListAppConnectionPoliciesResponse, error) { out := new(ListAppConnectionPoliciesResponse) - err := c.cc.Invoke(ctx, "/AppConnectionController/ListAppConnectionPolicies", in, out, opts...) + err := c.cc.Invoke(ctx, AppConnectionController_ListAppConnectionPolicies_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -239,7 +271,7 @@ func _AppConnectionController_ConnectApps_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/AppConnectionController/ConnectApps", + FullMethod: AppConnectionController_ConnectApps_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(AppConnectionControllerServer).ConnectApps(ctx, req.(*AppConnection)) @@ -257,7 +289,7 @@ func _AppConnectionController_DisconnectApps_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/AppConnectionController/DisconnectApps", + FullMethod: AppConnectionController_DisconnectApps_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(AppConnectionControllerServer).DisconnectApps(ctx, req.(*AppDisconnectionRequest)) @@ -275,7 +307,7 @@ func _AppConnectionController_GetAppConnection_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/AppConnectionController/GetAppConnection", + FullMethod: AppConnectionController_GetAppConnection_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(AppConnectionControllerServer).GetAppConnection(ctx, req.(*GetAppConnectionRequest)) @@ -293,7 +325,7 @@ func _AppConnectionController_ListConnectedApps_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/AppConnectionController/ListConnectedApps", + FullMethod: AppConnectionController_ListConnectedApps_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(AppConnectionControllerServer).ListConnectedApps(ctx, req.(*ListAppConnectionsRequest)) @@ -311,7 +343,7 @@ func _AppConnectionController_GetAppConnectionStatus_Handler(srv interface{}, ct } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/AppConnectionController/GetAppConnectionStatus", + FullMethod: AppConnectionController_GetAppConnectionStatus_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(AppConnectionControllerServer).GetAppConnectionStatus(ctx, req.(*GetAppConnectionStatusRequest)) @@ -329,7 +361,7 @@ func _AppConnectionController_GetAppConnectionStatistics_Handler(srv interface{} } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/AppConnectionController/GetAppConnectionStatistics", + FullMethod: AppConnectionController_GetAppConnectionStatistics_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(AppConnectionControllerServer).GetAppConnectionStatistics(ctx, req.(*GetAppConnectionStatisticsRequest)) @@ -347,7 +379,7 @@ func _AppConnectionController_GetAppConnectionEvents_Handler(srv interface{}, ct } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/AppConnectionController/GetAppConnectionEvents", + FullMethod: AppConnectionController_GetAppConnectionEvents_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(AppConnectionControllerServer).GetAppConnectionEvents(ctx, req.(*GetAppConnectionEventsRequest)) @@ -365,7 +397,7 @@ func _AppConnectionController_GetMatchedResources_Handler(srv interface{}, ctx c } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/AppConnectionController/GetMatchedResources", + FullMethod: AppConnectionController_GetMatchedResources_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(AppConnectionControllerServer).GetMatchedResources(ctx, req.(*AppConnection)) @@ -383,7 +415,7 @@ func _AppConnectionController_CreateAppConnectionPolicy_Handler(srv interface{}, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/AppConnectionController/CreateAppConnectionPolicy", + FullMethod: AppConnectionController_CreateAppConnectionPolicy_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(AppConnectionControllerServer).CreateAppConnectionPolicy(ctx, req.(*CreateAppConnectionPolicyRequest)) @@ -401,7 +433,7 @@ func _AppConnectionController_GetAppConnectionPolicy_Handler(srv interface{}, ct } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/AppConnectionController/GetAppConnectionPolicy", + FullMethod: AppConnectionController_GetAppConnectionPolicy_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(AppConnectionControllerServer).GetAppConnectionPolicy(ctx, req.(*GetAppConnectionPolicyRequest)) @@ -419,7 +451,7 @@ func _AppConnectionController_DeleteAppConnectionPolicy_Handler(srv interface{}, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/AppConnectionController/DeleteAppConnectionPolicy", + FullMethod: AppConnectionController_DeleteAppConnectionPolicy_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(AppConnectionControllerServer).DeleteAppConnectionPolicy(ctx, req.(*DeleteAppConnectionPolicyRequest)) @@ -437,7 +469,7 @@ func _AppConnectionController_ListAppConnectionPolicies_Handler(srv interface{}, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/AppConnectionController/ListAppConnectionPolicies", + FullMethod: AppConnectionController_ListAppConnectionPolicies_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(AppConnectionControllerServer).ListAppConnectionPolicies(ctx, req.(*ListAppConnectionPoliciesRequest)) diff --git a/pb/cloud_request.pb.go b/pb/cloud_request.pb.go index 949e0d6..bd26c43 100644 --- a/pb/cloud_request.pb.go +++ b/pb/cloud_request.pb.go @@ -1,7 +1,24 @@ +// Copyright (c) 2023 Cisco Systems, Inc. and its affiliates +// All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http:www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 -// protoc v4.22.2 +// protoc-gen-go v1.31.0 +// protoc v3.12.4 // source: cloud_request.proto package awi @@ -26,7 +43,7 @@ type ListInstancesRequest struct { unknownFields protoimpl.UnknownFields Provider string `protobuf:"bytes,1,opt,name=Provider,proto3" json:"Provider,omitempty"` - // Deprecated: Do not use. + // Deprecated: Marked as deprecated in cloud_request.proto. Tag string `protobuf:"bytes,2,opt,name=Tag,proto3" json:"Tag,omitempty"` Vpc string `protobuf:"bytes,3,opt,name=Vpc,proto3" json:"Vpc,omitempty"` Zone string `protobuf:"bytes,4,opt,name=Zone,proto3" json:"Zone,omitempty"` @@ -73,7 +90,7 @@ func (x *ListInstancesRequest) GetProvider() string { return "" } -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in cloud_request.proto. func (x *ListInstancesRequest) GetTag() string { if x != nil { return x.Tag @@ -266,7 +283,7 @@ type ListSubnetRequest struct { CIDR string `protobuf:"bytes,1,opt,name=CIDR,proto3" json:"CIDR,omitempty"` Provider string `protobuf:"bytes,2,opt,name=Provider,proto3" json:"Provider,omitempty"` - // Deprecated: Do not use. + // Deprecated: Marked as deprecated in cloud_request.proto. Tag string `protobuf:"bytes,3,opt,name=Tag,proto3" json:"Tag,omitempty"` VPCID string `protobuf:"bytes,4,opt,name=VPCID,proto3" json:"VPCID,omitempty"` Zone string `protobuf:"bytes,5,opt,name=Zone,proto3" json:"Zone,omitempty"` @@ -320,7 +337,7 @@ func (x *ListSubnetRequest) GetProvider() string { return "" } -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in cloud_request.proto. func (x *ListSubnetRequest) GetTag() string { if x != nil { return x.Tag diff --git a/pb/cloud_request_grpc.pb.go b/pb/cloud_request_grpc.pb.go index 0869246..3eca662 100644 --- a/pb/cloud_request_grpc.pb.go +++ b/pb/cloud_request_grpc.pb.go @@ -1,7 +1,24 @@ +// Copyright (c) 2023 Cisco Systems, Inc. and its affiliates +// All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http:www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v4.22.2 +// - protoc-gen-go-grpc v1.3.0 +// - protoc v3.12.4 // source: cloud_request.proto package awi @@ -18,6 +35,15 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +const ( + Cloud_ListInstances_FullMethodName = "/Cloud/ListInstances" + Cloud_ListSubnets_FullMethodName = "/Cloud/ListSubnets" + Cloud_ListSites_FullMethodName = "/Cloud/ListSites" + Cloud_ListVPCs_FullMethodName = "/Cloud/ListVPCs" + Cloud_ListVPCTags_FullMethodName = "/Cloud/ListVPCTags" + Cloud_ListVPNs_FullMethodName = "/Cloud/ListVPNs" +) + // CloudClient is the client API for Cloud service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -40,7 +66,7 @@ func NewCloudClient(cc grpc.ClientConnInterface) CloudClient { func (c *cloudClient) ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) { out := new(ListInstancesResponse) - err := c.cc.Invoke(ctx, "/Cloud/ListInstances", in, out, opts...) + err := c.cc.Invoke(ctx, Cloud_ListInstances_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -49,7 +75,7 @@ func (c *cloudClient) ListInstances(ctx context.Context, in *ListInstancesReques func (c *cloudClient) ListSubnets(ctx context.Context, in *ListSubnetRequest, opts ...grpc.CallOption) (*ListSubnetResponse, error) { out := new(ListSubnetResponse) - err := c.cc.Invoke(ctx, "/Cloud/ListSubnets", in, out, opts...) + err := c.cc.Invoke(ctx, Cloud_ListSubnets_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -58,7 +84,7 @@ func (c *cloudClient) ListSubnets(ctx context.Context, in *ListSubnetRequest, op func (c *cloudClient) ListSites(ctx context.Context, in *ListSiteRequest, opts ...grpc.CallOption) (*ListSiteResponse, error) { out := new(ListSiteResponse) - err := c.cc.Invoke(ctx, "/Cloud/ListSites", in, out, opts...) + err := c.cc.Invoke(ctx, Cloud_ListSites_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -67,7 +93,7 @@ func (c *cloudClient) ListSites(ctx context.Context, in *ListSiteRequest, opts . func (c *cloudClient) ListVPCs(ctx context.Context, in *ListVPCRequest, opts ...grpc.CallOption) (*ListVPCResponse, error) { out := new(ListVPCResponse) - err := c.cc.Invoke(ctx, "/Cloud/ListVPCs", in, out, opts...) + err := c.cc.Invoke(ctx, Cloud_ListVPCs_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -76,7 +102,7 @@ func (c *cloudClient) ListVPCs(ctx context.Context, in *ListVPCRequest, opts ... func (c *cloudClient) ListVPCTags(ctx context.Context, in *ListVPCTagRequest, opts ...grpc.CallOption) (*ListVPCResponse, error) { out := new(ListVPCResponse) - err := c.cc.Invoke(ctx, "/Cloud/ListVPCTags", in, out, opts...) + err := c.cc.Invoke(ctx, Cloud_ListVPCTags_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -85,7 +111,7 @@ func (c *cloudClient) ListVPCTags(ctx context.Context, in *ListVPCTagRequest, op func (c *cloudClient) ListVPNs(ctx context.Context, in *ListVPNRequest, opts ...grpc.CallOption) (*ListVPNResponse, error) { out := new(ListVPNResponse) - err := c.cc.Invoke(ctx, "/Cloud/ListVPNs", in, out, opts...) + err := c.cc.Invoke(ctx, Cloud_ListVPNs_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -150,7 +176,7 @@ func _Cloud_ListInstances_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/Cloud/ListInstances", + FullMethod: Cloud_ListInstances_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(CloudServer).ListInstances(ctx, req.(*ListInstancesRequest)) @@ -168,7 +194,7 @@ func _Cloud_ListSubnets_Handler(srv interface{}, ctx context.Context, dec func(i } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/Cloud/ListSubnets", + FullMethod: Cloud_ListSubnets_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(CloudServer).ListSubnets(ctx, req.(*ListSubnetRequest)) @@ -186,7 +212,7 @@ func _Cloud_ListSites_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/Cloud/ListSites", + FullMethod: Cloud_ListSites_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(CloudServer).ListSites(ctx, req.(*ListSiteRequest)) @@ -204,7 +230,7 @@ func _Cloud_ListVPCs_Handler(srv interface{}, ctx context.Context, dec func(inte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/Cloud/ListVPCs", + FullMethod: Cloud_ListVPCs_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(CloudServer).ListVPCs(ctx, req.(*ListVPCRequest)) @@ -222,7 +248,7 @@ func _Cloud_ListVPCTags_Handler(srv interface{}, ctx context.Context, dec func(i } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/Cloud/ListVPCTags", + FullMethod: Cloud_ListVPCTags_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(CloudServer).ListVPCTags(ctx, req.(*ListVPCTagRequest)) @@ -240,7 +266,7 @@ func _Cloud_ListVPNs_Handler(srv interface{}, ctx context.Context, dec func(inte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/Cloud/ListVPNs", + FullMethod: Cloud_ListVPNs_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(CloudServer).ListVPNs(ctx, req.(*ListVPNRequest)) diff --git a/pb/common.pb.go b/pb/common.pb.go index 86fbed0..06fd62a 100644 --- a/pb/common.pb.go +++ b/pb/common.pb.go @@ -1,7 +1,24 @@ +// Copyright (c) 2023 Cisco Systems, Inc. and its affiliates +// All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http:www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 -// protoc v4.22.2 +// protoc-gen-go v1.31.0 +// protoc v3.12.4 // source: common.proto package awi diff --git a/pb/network_domain.pb.go b/pb/network_domain.pb.go index 0be8a08..522f33b 100644 --- a/pb/network_domain.pb.go +++ b/pb/network_domain.pb.go @@ -1,7 +1,24 @@ +// Copyright (c) 2023 Cisco Systems, Inc. and its affiliates +// All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http:www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 -// protoc v4.22.2 +// protoc-gen-go v1.31.0 +// protoc v3.12.4 // source: network_domain.proto package awi @@ -32,6 +49,7 @@ type NetworkDomainObject struct { AccountId string `protobuf:"bytes,5,opt,name=accountId,proto3" json:"accountId,omitempty"` SideId string `protobuf:"bytes,6,opt,name=sideId,proto3" json:"sideId,omitempty"` Labels map[string]string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Region string `protobuf:"bytes,8,opt,name=region,proto3" json:"region,omitempty"` } func (x *NetworkDomainObject) Reset() { @@ -115,11 +133,18 @@ func (x *NetworkDomainObject) GetLabels() map[string]string { return nil } +func (x *NetworkDomainObject) GetRegion() string { + if x != nil { + return x.Region + } + return "" +} + var File_network_domain_proto protoreflect.FileDescriptor var file_network_domain_proto_rawDesc = []byte{ 0x0a, 0x14, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x02, 0x0a, 0x13, 0x4e, 0x65, 0x74, 0x77, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x02, 0x0a, 0x13, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x02, @@ -133,11 +158,13 @@ var file_network_domain_proto_rawDesc = []byte{ 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, - 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x08, 0x5a, - 0x06, 0x2e, 0x2f, 0x3b, 0x61, 0x77, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6c, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, + 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x08, 0x5a, 0x06, 0x2e, 0x2f, 0x3b, 0x61, 0x77, 0x69, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/pb/network_domain_connection.pb.go b/pb/network_domain_connection.pb.go index fa9834f..8204353 100644 --- a/pb/network_domain_connection.pb.go +++ b/pb/network_domain_connection.pb.go @@ -1,7 +1,24 @@ +// Copyright (c) 2023 Cisco Systems, Inc. and its affiliates +// All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http:www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 -// protoc v4.22.2 +// protoc-gen-go v1.31.0 +// protoc v3.12.4 // source: network_domain_connection.proto package awi diff --git a/pb/network_policy.pb.go b/pb/network_policy.pb.go index 42c2899..a8a3116 100644 --- a/pb/network_policy.pb.go +++ b/pb/network_policy.pb.go @@ -1,7 +1,24 @@ +// Copyright (c) 2023 Cisco Systems, Inc. and its affiliates +// All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http:www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 -// protoc v4.22.2 +// protoc-gen-go v1.31.0 +// protoc v3.12.4 // source: network_policy.proto package awi diff --git a/pb/network_policy_service.pb.go b/pb/network_policy_service.pb.go index 09d8b55..2994b6b 100644 --- a/pb/network_policy_service.pb.go +++ b/pb/network_policy_service.pb.go @@ -1,7 +1,24 @@ +// Copyright (c) 2023 Cisco Systems, Inc. and its affiliates +// All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http:www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 -// protoc v4.22.2 +// protoc-gen-go v1.31.0 +// protoc v3.12.4 // source: network_policy_service.proto package awi diff --git a/pb/network_policy_service_grpc.pb.go b/pb/network_policy_service_grpc.pb.go index 0454b57..51033ac 100644 --- a/pb/network_policy_service_grpc.pb.go +++ b/pb/network_policy_service_grpc.pb.go @@ -1,7 +1,24 @@ +// Copyright (c) 2023 Cisco Systems, Inc. and its affiliates +// All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http:www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v4.22.2 +// - protoc-gen-go-grpc v1.3.0 +// - protoc v3.12.4 // source: network_policy_service.proto package awi @@ -18,6 +35,12 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +const ( + NetworkSLAService_CreateNetworkSLA_FullMethodName = "/NetworkSLAService/CreateNetworkSLA" + NetworkSLAService_DeleteNetworkSLA_FullMethodName = "/NetworkSLAService/DeleteNetworkSLA" + NetworkSLAService_ListNetworkSLAs_FullMethodName = "/NetworkSLAService/ListNetworkSLAs" +) + // NetworkSLAServiceClient is the client API for NetworkSLAService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -37,7 +60,7 @@ func NewNetworkSLAServiceClient(cc grpc.ClientConnInterface) NetworkSLAServiceCl func (c *networkSLAServiceClient) CreateNetworkSLA(ctx context.Context, in *NetworkSLA, opts ...grpc.CallOption) (*NetworkSLACreateResponse, error) { out := new(NetworkSLACreateResponse) - err := c.cc.Invoke(ctx, "/NetworkSLAService/CreateNetworkSLA", in, out, opts...) + err := c.cc.Invoke(ctx, NetworkSLAService_CreateNetworkSLA_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -46,7 +69,7 @@ func (c *networkSLAServiceClient) CreateNetworkSLA(ctx context.Context, in *Netw func (c *networkSLAServiceClient) DeleteNetworkSLA(ctx context.Context, in *NetworkSLADeleteRequest, opts ...grpc.CallOption) (*NetworkSLADeleteResponse, error) { out := new(NetworkSLADeleteResponse) - err := c.cc.Invoke(ctx, "/NetworkSLAService/DeleteNetworkSLA", in, out, opts...) + err := c.cc.Invoke(ctx, NetworkSLAService_DeleteNetworkSLA_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -55,7 +78,7 @@ func (c *networkSLAServiceClient) DeleteNetworkSLA(ctx context.Context, in *Netw func (c *networkSLAServiceClient) ListNetworkSLAs(ctx context.Context, in *NetworkSLAListReqest, opts ...grpc.CallOption) (*NetworkSLAListResponse, error) { out := new(NetworkSLAListResponse) - err := c.cc.Invoke(ctx, "/NetworkSLAService/ListNetworkSLAs", in, out, opts...) + err := c.cc.Invoke(ctx, NetworkSLAService_ListNetworkSLAs_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -108,7 +131,7 @@ func _NetworkSLAService_CreateNetworkSLA_Handler(srv interface{}, ctx context.Co } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/NetworkSLAService/CreateNetworkSLA", + FullMethod: NetworkSLAService_CreateNetworkSLA_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(NetworkSLAServiceServer).CreateNetworkSLA(ctx, req.(*NetworkSLA)) @@ -126,7 +149,7 @@ func _NetworkSLAService_DeleteNetworkSLA_Handler(srv interface{}, ctx context.Co } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/NetworkSLAService/DeleteNetworkSLA", + FullMethod: NetworkSLAService_DeleteNetworkSLA_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(NetworkSLAServiceServer).DeleteNetworkSLA(ctx, req.(*NetworkSLADeleteRequest)) @@ -144,7 +167,7 @@ func _NetworkSLAService_ListNetworkSLAs_Handler(srv interface{}, ctx context.Con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/NetworkSLAService/ListNetworkSLAs", + FullMethod: NetworkSLAService_ListNetworkSLAs_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(NetworkSLAServiceServer).ListNetworkSLAs(ctx, req.(*NetworkSLAListReqest)) diff --git a/pb/options.pb.go b/pb/options.pb.go index 4a4b46c..d98f16b 100644 --- a/pb/options.pb.go +++ b/pb/options.pb.go @@ -1,15 +1,32 @@ +// Copyright (c) 2023 Cisco Systems, Inc. and its affiliates +// All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http:www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 -// protoc v4.22.2 +// protoc-gen-go v1.31.0 +// protoc v3.12.4 // source: options.proto package awi import ( + descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - descriptorpb "google.golang.org/protobuf/types/descriptorpb" reflect "reflect" ) @@ -22,7 +39,7 @@ const ( var file_options_proto_extTypes = []protoimpl.ExtensionInfo{ { - ExtendedType: (*descriptorpb.EnumOptions)(nil), + ExtendedType: (*descriptor.EnumOptions)(nil), ExtensionType: (*bool)(nil), Field: 1060, Name: "alpha_enum", @@ -30,7 +47,7 @@ var file_options_proto_extTypes = []protoimpl.ExtensionInfo{ Filename: "options.proto", }, { - ExtendedType: (*descriptorpb.EnumValueOptions)(nil), + ExtendedType: (*descriptor.EnumValueOptions)(nil), ExtensionType: (*bool)(nil), Field: 1060, Name: "alpha_enum_value", @@ -38,7 +55,7 @@ var file_options_proto_extTypes = []protoimpl.ExtensionInfo{ Filename: "options.proto", }, { - ExtendedType: (*descriptorpb.FieldOptions)(nil), + ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*bool)(nil), Field: 1059, Name: "controller_secret", @@ -46,7 +63,7 @@ var file_options_proto_extTypes = []protoimpl.ExtensionInfo{ Filename: "options.proto", }, { - ExtendedType: (*descriptorpb.FieldOptions)(nil), + ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*bool)(nil), Field: 1060, Name: "alpha_field", @@ -54,7 +71,7 @@ var file_options_proto_extTypes = []protoimpl.ExtensionInfo{ Filename: "options.proto", }, { - ExtendedType: (*descriptorpb.MessageOptions)(nil), + ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 1060, Name: "alpha_message", @@ -62,7 +79,7 @@ var file_options_proto_extTypes = []protoimpl.ExtensionInfo{ Filename: "options.proto", }, { - ExtendedType: (*descriptorpb.MethodOptions)(nil), + ExtendedType: (*descriptor.MethodOptions)(nil), ExtensionType: (*bool)(nil), Field: 1060, Name: "alpha_method", @@ -70,7 +87,7 @@ var file_options_proto_extTypes = []protoimpl.ExtensionInfo{ Filename: "options.proto", }, { - ExtendedType: (*descriptorpb.ServiceOptions)(nil), + ExtendedType: (*descriptor.ServiceOptions)(nil), ExtensionType: (*bool)(nil), Field: 1060, Name: "alpha_service", @@ -79,7 +96,7 @@ var file_options_proto_extTypes = []protoimpl.ExtensionInfo{ }, } -// Extension fields to descriptorpb.EnumOptions. +// Extension fields to descriptor.EnumOptions. var ( // Indicates that this enum is OPTIONAL and part of an experimental // API that may be deprecated and eventually removed between minor @@ -89,7 +106,7 @@ var ( E_AlphaEnum = &file_options_proto_extTypes[0] ) -// Extension fields to descriptorpb.EnumValueOptions. +// Extension fields to descriptor.EnumValueOptions. var ( // Indicates that this enum value is OPTIONAL and part of an // experimental API that may be deprecated and eventually removed @@ -99,7 +116,7 @@ var ( E_AlphaEnumValue = &file_options_proto_extTypes[1] ) -// Extension fields to descriptorpb.FieldOptions. +// Extension fields to descriptor.FieldOptions. var ( // Indicates that a field MAY contain information that is sensitive // and MUST be treated as such (e.g. not logged). @@ -114,7 +131,7 @@ var ( E_AlphaField = &file_options_proto_extTypes[3] ) -// Extension fields to descriptorpb.MessageOptions. +// Extension fields to descriptor.MessageOptions. var ( // Indicates that this message is OPTIONAL and part of an experimental // API that may be deprecated and eventually removed between minor @@ -124,7 +141,7 @@ var ( E_AlphaMessage = &file_options_proto_extTypes[4] ) -// Extension fields to descriptorpb.MethodOptions. +// Extension fields to descriptor.MethodOptions. var ( // Indicates that this method is OPTIONAL and part of an experimental // API that may be deprecated and eventually removed between minor @@ -134,7 +151,7 @@ var ( E_AlphaMethod = &file_options_proto_extTypes[5] ) -// Extension fields to descriptorpb.ServiceOptions. +// Extension fields to descriptor.ServiceOptions. var ( // Indicates that this service is OPTIONAL and part of an experimental // API that may be deprecated and eventually removed between minor @@ -185,12 +202,12 @@ var file_options_proto_rawDesc = []byte{ } var file_options_proto_goTypes = []interface{}{ - (*descriptorpb.EnumOptions)(nil), // 0: google.protobuf.EnumOptions - (*descriptorpb.EnumValueOptions)(nil), // 1: google.protobuf.EnumValueOptions - (*descriptorpb.FieldOptions)(nil), // 2: google.protobuf.FieldOptions - (*descriptorpb.MessageOptions)(nil), // 3: google.protobuf.MessageOptions - (*descriptorpb.MethodOptions)(nil), // 4: google.protobuf.MethodOptions - (*descriptorpb.ServiceOptions)(nil), // 5: google.protobuf.ServiceOptions + (*descriptor.EnumOptions)(nil), // 0: google.protobuf.EnumOptions + (*descriptor.EnumValueOptions)(nil), // 1: google.protobuf.EnumValueOptions + (*descriptor.FieldOptions)(nil), // 2: google.protobuf.FieldOptions + (*descriptor.MessageOptions)(nil), // 3: google.protobuf.MessageOptions + (*descriptor.MethodOptions)(nil), // 4: google.protobuf.MethodOptions + (*descriptor.ServiceOptions)(nil), // 5: google.protobuf.ServiceOptions } var file_options_proto_depIdxs = []int32{ 0, // 0: alpha_enum:extendee -> google.protobuf.EnumOptions diff --git a/pb/security_policies.pb.go b/pb/security_policies.pb.go index eda6029..59154c7 100644 --- a/pb/security_policies.pb.go +++ b/pb/security_policies.pb.go @@ -1,7 +1,24 @@ +// Copyright (c) 2023 Cisco Systems, Inc. and its affiliates +// All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http:www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 -// protoc v4.22.2 +// protoc-gen-go v1.31.0 +// protoc v3.12.4 // source: security_policies.proto package awi diff --git a/pb/security_policy_service.pb.go b/pb/security_policy_service.pb.go index 2bccb3b..190351e 100644 --- a/pb/security_policy_service.pb.go +++ b/pb/security_policy_service.pb.go @@ -1,7 +1,24 @@ +// Copyright (c) 2023 Cisco Systems, Inc. and its affiliates +// All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http:www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 -// protoc v4.22.2 +// protoc-gen-go v1.31.0 +// protoc v3.12.4 // source: security_policy_service.proto package awi diff --git a/pb/security_policy_service_grpc.pb.go b/pb/security_policy_service_grpc.pb.go index f17d694..c821d4f 100644 --- a/pb/security_policy_service_grpc.pb.go +++ b/pb/security_policy_service_grpc.pb.go @@ -1,7 +1,24 @@ +// Copyright (c) 2023 Cisco Systems, Inc. and its affiliates +// All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http:www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v4.22.2 +// - protoc-gen-go-grpc v1.3.0 +// - protoc v3.12.4 // source: security_policy_service.proto package awi @@ -18,6 +35,12 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +const ( + SecurityPolicyService_CreateAccessPolicy_FullMethodName = "/SecurityPolicyService/CreateAccessPolicy" + SecurityPolicyService_DeleteAccessPolicy_FullMethodName = "/SecurityPolicyService/DeleteAccessPolicy" + SecurityPolicyService_ListAccessPolicies_FullMethodName = "/SecurityPolicyService/ListAccessPolicies" +) + // SecurityPolicyServiceClient is the client API for SecurityPolicyService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -37,7 +60,7 @@ func NewSecurityPolicyServiceClient(cc grpc.ClientConnInterface) SecurityPolicyS func (c *securityPolicyServiceClient) CreateAccessPolicy(ctx context.Context, in *AccessPolicyCreateRequest, opts ...grpc.CallOption) (*AccessPolicyCreateResponse, error) { out := new(AccessPolicyCreateResponse) - err := c.cc.Invoke(ctx, "/SecurityPolicyService/CreateAccessPolicy", in, out, opts...) + err := c.cc.Invoke(ctx, SecurityPolicyService_CreateAccessPolicy_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -46,7 +69,7 @@ func (c *securityPolicyServiceClient) CreateAccessPolicy(ctx context.Context, in func (c *securityPolicyServiceClient) DeleteAccessPolicy(ctx context.Context, in *AccessPolicyDeleteRequest, opts ...grpc.CallOption) (*AccessPolicyDeleteResponse, error) { out := new(AccessPolicyDeleteResponse) - err := c.cc.Invoke(ctx, "/SecurityPolicyService/DeleteAccessPolicy", in, out, opts...) + err := c.cc.Invoke(ctx, SecurityPolicyService_DeleteAccessPolicy_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -55,7 +78,7 @@ func (c *securityPolicyServiceClient) DeleteAccessPolicy(ctx context.Context, in func (c *securityPolicyServiceClient) ListAccessPolicies(ctx context.Context, in *AccessPolicyListRequest, opts ...grpc.CallOption) (*AccessPolicyListResponse, error) { out := new(AccessPolicyListResponse) - err := c.cc.Invoke(ctx, "/SecurityPolicyService/ListAccessPolicies", in, out, opts...) + err := c.cc.Invoke(ctx, SecurityPolicyService_ListAccessPolicies_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -108,7 +131,7 @@ func _SecurityPolicyService_CreateAccessPolicy_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/SecurityPolicyService/CreateAccessPolicy", + FullMethod: SecurityPolicyService_CreateAccessPolicy_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SecurityPolicyServiceServer).CreateAccessPolicy(ctx, req.(*AccessPolicyCreateRequest)) @@ -126,7 +149,7 @@ func _SecurityPolicyService_DeleteAccessPolicy_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/SecurityPolicyService/DeleteAccessPolicy", + FullMethod: SecurityPolicyService_DeleteAccessPolicy_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SecurityPolicyServiceServer).DeleteAccessPolicy(ctx, req.(*AccessPolicyDeleteRequest)) @@ -144,7 +167,7 @@ func _SecurityPolicyService_ListAccessPolicies_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/SecurityPolicyService/ListAccessPolicies", + FullMethod: SecurityPolicyService_ListAccessPolicies_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SecurityPolicyServiceServer).ListAccessPolicies(ctx, req.(*AccessPolicyListRequest)) diff --git a/pb/service_controller.pb.go b/pb/service_controller.pb.go index cca248c..1625a44 100644 --- a/pb/service_controller.pb.go +++ b/pb/service_controller.pb.go @@ -1,7 +1,24 @@ +// Copyright (c) 2023 Cisco Systems, Inc. and its affiliates +// All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http:www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 -// protoc v4.22.2 +// protoc-gen-go v1.31.0 +// protoc v3.12.4 // source: service_controller.proto package awi diff --git a/pb/service_controller_grpc.pb.go b/pb/service_controller_grpc.pb.go index fb9d1b3..d3560d1 100644 --- a/pb/service_controller_grpc.pb.go +++ b/pb/service_controller_grpc.pb.go @@ -1,7 +1,24 @@ +// Copyright (c) 2023 Cisco Systems, Inc. and its affiliates +// All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http:www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v4.22.2 +// - protoc-gen-go-grpc v1.3.0 +// - protoc v3.12.4 // source: service_controller.proto package awi @@ -18,6 +35,14 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +const ( + ConnectionController_Connect_FullMethodName = "/ConnectionController/Connect" + ConnectionController_Disconnect_FullMethodName = "/ConnectionController/Disconnect" + ConnectionController_GetConnection_FullMethodName = "/ConnectionController/GetConnection" + ConnectionController_ListConnections_FullMethodName = "/ConnectionController/ListConnections" + ConnectionController_GetConnectionStatus_FullMethodName = "/ConnectionController/GetConnectionStatus" +) + // ConnectionControllerClient is the client API for ConnectionController service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -39,7 +64,7 @@ func NewConnectionControllerClient(cc grpc.ClientConnInterface) ConnectionContro func (c *connectionControllerClient) Connect(ctx context.Context, in *ConnectionRequest, opts ...grpc.CallOption) (*ConnectionResponse, error) { out := new(ConnectionResponse) - err := c.cc.Invoke(ctx, "/ConnectionController/Connect", in, out, opts...) + err := c.cc.Invoke(ctx, ConnectionController_Connect_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -48,7 +73,7 @@ func (c *connectionControllerClient) Connect(ctx context.Context, in *Connection func (c *connectionControllerClient) Disconnect(ctx context.Context, in *DisconnectRequest, opts ...grpc.CallOption) (*DisconnectResponse, error) { out := new(DisconnectResponse) - err := c.cc.Invoke(ctx, "/ConnectionController/Disconnect", in, out, opts...) + err := c.cc.Invoke(ctx, ConnectionController_Disconnect_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -57,7 +82,7 @@ func (c *connectionControllerClient) Disconnect(ctx context.Context, in *Disconn func (c *connectionControllerClient) GetConnection(ctx context.Context, in *GetConnectionRequest, opts ...grpc.CallOption) (*ConnectionResponse, error) { out := new(ConnectionResponse) - err := c.cc.Invoke(ctx, "/ConnectionController/GetConnection", in, out, opts...) + err := c.cc.Invoke(ctx, ConnectionController_GetConnection_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -66,7 +91,7 @@ func (c *connectionControllerClient) GetConnection(ctx context.Context, in *GetC func (c *connectionControllerClient) ListConnections(ctx context.Context, in *ListConnectionsRequest, opts ...grpc.CallOption) (*ListConnectionsResponse, error) { out := new(ListConnectionsResponse) - err := c.cc.Invoke(ctx, "/ConnectionController/ListConnections", in, out, opts...) + err := c.cc.Invoke(ctx, ConnectionController_ListConnections_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -75,7 +100,7 @@ func (c *connectionControllerClient) ListConnections(ctx context.Context, in *Li func (c *connectionControllerClient) GetConnectionStatus(ctx context.Context, in *ConnectionStatusRequest, opts ...grpc.CallOption) (*ConnectionStatusResponse, error) { out := new(ConnectionStatusResponse) - err := c.cc.Invoke(ctx, "/ConnectionController/GetConnectionStatus", in, out, opts...) + err := c.cc.Invoke(ctx, ConnectionController_GetConnectionStatus_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -136,7 +161,7 @@ func _ConnectionController_Connect_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/ConnectionController/Connect", + FullMethod: ConnectionController_Connect_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ConnectionControllerServer).Connect(ctx, req.(*ConnectionRequest)) @@ -154,7 +179,7 @@ func _ConnectionController_Disconnect_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/ConnectionController/Disconnect", + FullMethod: ConnectionController_Disconnect_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ConnectionControllerServer).Disconnect(ctx, req.(*DisconnectRequest)) @@ -172,7 +197,7 @@ func _ConnectionController_GetConnection_Handler(srv interface{}, ctx context.Co } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/ConnectionController/GetConnection", + FullMethod: ConnectionController_GetConnection_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ConnectionControllerServer).GetConnection(ctx, req.(*GetConnectionRequest)) @@ -190,7 +215,7 @@ func _ConnectionController_ListConnections_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/ConnectionController/ListConnections", + FullMethod: ConnectionController_ListConnections_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ConnectionControllerServer).ListConnections(ctx, req.(*ListConnectionsRequest)) @@ -208,7 +233,7 @@ func _ConnectionController_GetConnectionStatus_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/ConnectionController/GetConnectionStatus", + FullMethod: ConnectionController_GetConnectionStatus_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ConnectionControllerServer).GetConnectionStatus(ctx, req.(*ConnectionStatusRequest)) diff --git a/pb/sla.pb.go b/pb/sla.pb.go index e4faae7..24939a2 100644 --- a/pb/sla.pb.go +++ b/pb/sla.pb.go @@ -1,7 +1,24 @@ +// Copyright (c) 2023 Cisco Systems, Inc. and its affiliates +// All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http:www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 -// protoc v4.22.2 +// protoc-gen-go v1.31.0 +// protoc v3.12.4 // source: sla.proto package awi diff --git a/proto/network_domain.proto b/proto/network_domain.proto index e7b0f2c..2e34113 100644 --- a/proto/network_domain.proto +++ b/proto/network_domain.proto @@ -27,4 +27,5 @@ message NetworkDomainObject { string accountId = 5; string sideId = 6; map labels = 7; + string region = 8; } \ No newline at end of file diff --git a/ts/app_connection.ts b/ts/app_connection.ts index 678fce9..9cda6ab 100644 --- a/ts/app_connection.ts +++ b/ts/app_connection.ts @@ -1,22 +1,3 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Instance, K8sService, Pod, Subnet } from "./cloud_request"; diff --git a/ts/app_connection_controller.ts b/ts/app_connection_controller.ts index ad9faef..095af13 100644 --- a/ts/app_connection_controller.ts +++ b/ts/app_connection_controller.ts @@ -1,22 +1,3 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - /* eslint-disable */ import type { CallContext, CallOptions } from "nice-grpc-common"; import { diff --git a/ts/cloud_request.ts b/ts/cloud_request.ts index a622223..085e3b0 100644 --- a/ts/cloud_request.ts +++ b/ts/cloud_request.ts @@ -1,22 +1,3 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - /* eslint-disable */ import type { CallContext, CallOptions } from "nice-grpc-common"; import _m0 from "protobufjs/minimal"; diff --git a/ts/common.ts b/ts/common.ts index 33d5067..ac7c8c3 100644 --- a/ts/common.ts +++ b/ts/common.ts @@ -1,22 +1,3 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/ts/google/protobuf/descriptor.ts b/ts/google/protobuf/descriptor.ts index 0ca8e80..653b194 100644 --- a/ts/google/protobuf/descriptor.ts +++ b/ts/google/protobuf/descriptor.ts @@ -1,22 +1,3 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; @@ -65,13 +46,9 @@ export interface FileDescriptorProto { | undefined; /** * The syntax of the proto file. - * The supported values are "proto2", "proto3", and "editions". - * - * If `edition` is present, this value must be "editions". + * The supported values are "proto2" and "proto3". */ syntax: string; - /** The edition of the proto file, which is an opaque string. */ - edition: string; } /** Describes a message type. */ @@ -145,6 +122,7 @@ export interface FieldDescriptorProto { * For booleans, "true" or "false". * For strings, contains the default text contents (not escaped in any way). * For bytes, contains the C escaped value. All bytes >= 128 are escaped. + * TODO(kenton): Base-64 encode? */ defaultValue: string; /** @@ -322,18 +300,18 @@ export interface FileOptions { */ javaPackage: string; /** - * Controls the name of the wrapper Java class generated for the .proto file. - * That class will always contain the .proto file's getDescriptor() method as - * well as any top-level extensions defined in the .proto file. - * If java_multiple_files is disabled, then all the other classes from the - * .proto file will be nested inside the single wrapper outer class. + * If set, all the classes from the .proto file are wrapped in a single + * outer class with the given name. This applies to both Proto1 + * (equivalent to the old "--one_java_file" option) and Proto2 (where + * a .proto always translates to a single class, but you may want to + * explicitly choose the class name). */ javaOuterClassname: string; /** - * If enabled, then the Java code generator will generate a separate .java + * If set true, then the Java code generator will generate a separate .java * file for each top-level message, enum, and service defined in the .proto - * file. Thus, these types will *not* be nested inside the wrapper class - * named by java_outer_classname. However, the wrapper class will still be + * file. Thus, these types will *not* be nested inside the outer class + * named by java_outer_classname. However, the outer class will still be * generated to contain the file's getDescriptor() method as well as any * top-level extensions defined in the file. */ @@ -481,10 +459,6 @@ export interface MessageOptions { */ deprecated: boolean; /** - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. - * * Whether the message is an automatically generated map entry type for the * maps field. * @@ -502,23 +476,12 @@ export interface MessageOptions { * use a native map in the target language to hold the keys and values. * The reflection APIs in such implementations still need to work as * if the field is a repeated message field. - */ - mapEntry: boolean; - /** - * Enable the legacy handling of JSON field name conflicts. This lowercases - * and strips underscored from the fields before comparison in proto3 only. - * The new behavior takes `json_name` into account and applies to proto2 as - * well. - * - * This should only be used as a temporary measure against broken builds due - * to the change in behavior for JSON field name conflicts. - * - * TODO(b/261750190) This is legacy behavior we plan to remove once downstream - * teams have had time to migrate. * - * @deprecated + * NOTE: Do not set the option in .proto files. Always use the maps syntax + * instead. The option should only be implicitly set by the proto compiler + * parser. */ - deprecatedLegacyJsonFieldConflicts: boolean; + mapEntry: boolean; /** The parser stores options it doesn't recognize here. See above. */ uninterpretedOption: UninterpretedOption[]; } @@ -581,17 +544,8 @@ export interface FieldOptions { * implementation must either *always* check its required fields, or *never* * check its required fields, regardless of whether or not the message has * been parsed. - * - * As of May 2022, lazy verifies the contents of the byte stream during - * parsing. An invalid byte stream will cause the overall parsing to fail. */ lazy: boolean; - /** - * unverified_lazy does no correctness checks on the byte stream. This should - * only be used where lazy with verification is prohibitive for performance - * reasons. - */ - unverifiedLazy: boolean; /** * Is this field deprecated? * Depending on the target platform, this can emit Deprecated annotations @@ -601,13 +555,6 @@ export interface FieldOptions { deprecated: boolean; /** For Google-internal migration only. Do not use. */ weak: boolean; - /** - * Indicate that the field value should not be printed out when using debug - * formats, e.g. when the field contains sensitive credentials. - */ - debugRedact: boolean; - retention: FieldOptions_OptionRetention; - target: FieldOptions_OptionTargetType; /** The parser stores options it doesn't recognize here. See above. */ uninterpretedOption: UninterpretedOption[]; } @@ -630,38 +577,6 @@ export enum FieldOptions_JSType { UNRECOGNIZED = -1, } -/** - * If set to RETENTION_SOURCE, the option will be omitted from the binary. - * Note: as of January 2023, support for this is in progress and does not yet - * have an effect (b/264593489). - */ -export enum FieldOptions_OptionRetention { - RETENTION_UNKNOWN = 0, - RETENTION_RUNTIME = 1, - RETENTION_SOURCE = 2, - UNRECOGNIZED = -1, -} - -/** - * This indicates the types of entities that the field may apply to when used - * as an option. If it is unset, then the field may be freely used as an - * option on any kind of entity. Note: as of January 2023, support for this is - * in progress and does not yet have an effect (b/264593489). - */ -export enum FieldOptions_OptionTargetType { - TARGET_TYPE_UNKNOWN = 0, - TARGET_TYPE_FILE = 1, - TARGET_TYPE_EXTENSION_RANGE = 2, - TARGET_TYPE_MESSAGE = 3, - TARGET_TYPE_FIELD = 4, - TARGET_TYPE_ONEOF = 5, - TARGET_TYPE_ENUM = 6, - TARGET_TYPE_ENUM_ENTRY = 7, - TARGET_TYPE_SERVICE = 8, - TARGET_TYPE_METHOD = 9, - UNRECOGNIZED = -1, -} - export interface OneofOptions { /** The parser stores options it doesn't recognize here. See above. */ uninterpretedOption: UninterpretedOption[]; @@ -680,17 +595,6 @@ export interface EnumOptions { * is a formalization for deprecating enums. */ deprecated: boolean; - /** - * Enable the legacy handling of JSON field name conflicts. This lowercases - * and strips underscored from the fields before comparison in proto3 only. - * The new behavior takes `json_name` into account and applies to proto2 as - * well. - * TODO(b/261750190) Remove this legacy behavior once downstream teams have - * had time to migrate. - * - * @deprecated - */ - deprecatedLegacyJsonFieldConflicts: boolean; /** The parser stores options it doesn't recognize here. See above. */ uninterpretedOption: UninterpretedOption[]; } @@ -772,8 +676,8 @@ export interface UninterpretedOption { * The name of the uninterpreted option. Each string represents a segment in * a dot-separated name. is_extension is true iff a segment represents an * extension (denoted with parentheses in options specs in .proto files). - * E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents - * "foo.(bar.baz).moo". + * E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents + * "foo.(bar.baz).qux". */ export interface UninterpretedOption_NamePart { namePart: string; @@ -839,8 +743,8 @@ export interface SourceCodeInfo_Location { * location. * * Each element is a field number or an index. They form a path from - * the root FileDescriptorProto to the place where the definition occurs. - * For example, this path: + * the root FileDescriptorProto to the place where the definition. For + * example, this path: * [ 4, 3, 2, 7, 1 ] * refers to: * file.message_type(3) // 4, 3 @@ -896,13 +800,13 @@ export interface SourceCodeInfo_Location { * // Comment attached to baz. * // Another line attached to baz. * - * // Comment attached to moo. + * // Comment attached to qux. * // - * // Another line attached to moo. - * optional double moo = 4; + * // Another line attached to qux. + * optional double qux = 4; * * // Detached comment for corge. This is not leading or trailing comments - * // to moo or corge because there are blank lines separating it from + * // to qux or corge because there are blank lines separating it from * // both. * * // Detached comment for corge paragraph 2. @@ -950,25 +854,10 @@ export interface GeneratedCodeInfo_Annotation { begin: number; /** * Identifies the ending offset in bytes in the generated code that - * relates to the identified object. The end offset should be one past + * relates to the identified offset. The end offset should be one past * the last relevant byte (so the length of the text = end - begin). */ end: number; - semantic: GeneratedCodeInfo_Annotation_Semantic; -} - -/** - * Represents the identified object's effect on the element in the original - * .proto file. - */ -export enum GeneratedCodeInfo_Annotation_Semantic { - /** NONE - There is no effect or the effect is indescribable. */ - NONE = 0, - /** SET - The element is set or otherwise mutated. */ - SET = 1, - /** ALIAS - An alias to the element is returned. */ - ALIAS = 2, - UNRECOGNIZED = -1, } function createBaseFileDescriptorSet(): FileDescriptorSet { @@ -1030,7 +919,6 @@ function createBaseFileDescriptorProto(): FileDescriptorProto { options: undefined, sourceCodeInfo: undefined, syntax: "", - edition: "", }; } @@ -1076,9 +964,6 @@ export const FileDescriptorProto = { if (message.syntax !== "") { writer.uint32(98).string(message.syntax); } - if (message.edition !== "") { - writer.uint32(106).string(message.edition); - } return writer; }, @@ -1193,13 +1078,6 @@ export const FileDescriptorProto = { message.syntax = reader.string(); continue; - case 13: - if (tag !== 106) { - break; - } - - message.edition = reader.string(); - continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -1230,7 +1108,6 @@ export const FileDescriptorProto = { ? SourceCodeInfo.fromPartial(object.sourceCodeInfo) : undefined; message.syntax = object.syntax ?? ""; - message.edition = object.edition ?? ""; return message; }, }; @@ -2477,7 +2354,6 @@ function createBaseMessageOptions(): MessageOptions { noStandardDescriptorAccessor: false, deprecated: false, mapEntry: false, - deprecatedLegacyJsonFieldConflicts: false, uninterpretedOption: [], }; } @@ -2496,9 +2372,6 @@ export const MessageOptions = { if (message.mapEntry === true) { writer.uint32(56).bool(message.mapEntry); } - if (message.deprecatedLegacyJsonFieldConflicts === true) { - writer.uint32(88).bool(message.deprecatedLegacyJsonFieldConflicts); - } for (const v of message.uninterpretedOption) { UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); } @@ -2540,13 +2413,6 @@ export const MessageOptions = { message.mapEntry = reader.bool(); continue; - case 11: - if (tag !== 88) { - break; - } - - message.deprecatedLegacyJsonFieldConflicts = reader.bool(); - continue; case 999: if (tag !== 7994) { break; @@ -2572,26 +2438,13 @@ export const MessageOptions = { message.noStandardDescriptorAccessor = object.noStandardDescriptorAccessor ?? false; message.deprecated = object.deprecated ?? false; message.mapEntry = object.mapEntry ?? false; - message.deprecatedLegacyJsonFieldConflicts = object.deprecatedLegacyJsonFieldConflicts ?? false; message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || []; return message; }, }; function createBaseFieldOptions(): FieldOptions { - return { - ctype: 0, - packed: false, - jstype: 0, - lazy: false, - unverifiedLazy: false, - deprecated: false, - weak: false, - debugRedact: false, - retention: 0, - target: 0, - uninterpretedOption: [], - }; + return { ctype: 0, packed: false, jstype: 0, lazy: false, deprecated: false, weak: false, uninterpretedOption: [] }; } export const FieldOptions = { @@ -2608,24 +2461,12 @@ export const FieldOptions = { if (message.lazy === true) { writer.uint32(40).bool(message.lazy); } - if (message.unverifiedLazy === true) { - writer.uint32(120).bool(message.unverifiedLazy); - } if (message.deprecated === true) { writer.uint32(24).bool(message.deprecated); } if (message.weak === true) { writer.uint32(80).bool(message.weak); } - if (message.debugRedact === true) { - writer.uint32(128).bool(message.debugRedact); - } - if (message.retention !== 0) { - writer.uint32(136).int32(message.retention); - } - if (message.target !== 0) { - writer.uint32(144).int32(message.target); - } for (const v of message.uninterpretedOption) { UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); } @@ -2667,13 +2508,6 @@ export const FieldOptions = { message.lazy = reader.bool(); continue; - case 15: - if (tag !== 120) { - break; - } - - message.unverifiedLazy = reader.bool(); - continue; case 3: if (tag !== 24) { break; @@ -2688,27 +2522,6 @@ export const FieldOptions = { message.weak = reader.bool(); continue; - case 16: - if (tag !== 128) { - break; - } - - message.debugRedact = reader.bool(); - continue; - case 17: - if (tag !== 136) { - break; - } - - message.retention = reader.int32() as any; - continue; - case 18: - if (tag !== 144) { - break; - } - - message.target = reader.int32() as any; - continue; case 999: if (tag !== 7994) { break; @@ -2734,12 +2547,8 @@ export const FieldOptions = { message.packed = object.packed ?? false; message.jstype = object.jstype ?? 0; message.lazy = object.lazy ?? false; - message.unverifiedLazy = object.unverifiedLazy ?? false; message.deprecated = object.deprecated ?? false; message.weak = object.weak ?? false; - message.debugRedact = object.debugRedact ?? false; - message.retention = object.retention ?? 0; - message.target = object.target ?? 0; message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || []; return message; }, @@ -2791,7 +2600,7 @@ export const OneofOptions = { }; function createBaseEnumOptions(): EnumOptions { - return { allowAlias: false, deprecated: false, deprecatedLegacyJsonFieldConflicts: false, uninterpretedOption: [] }; + return { allowAlias: false, deprecated: false, uninterpretedOption: [] }; } export const EnumOptions = { @@ -2802,9 +2611,6 @@ export const EnumOptions = { if (message.deprecated === true) { writer.uint32(24).bool(message.deprecated); } - if (message.deprecatedLegacyJsonFieldConflicts === true) { - writer.uint32(48).bool(message.deprecatedLegacyJsonFieldConflicts); - } for (const v of message.uninterpretedOption) { UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); } @@ -2832,13 +2638,6 @@ export const EnumOptions = { message.deprecated = reader.bool(); continue; - case 6: - if (tag !== 48) { - break; - } - - message.deprecatedLegacyJsonFieldConflicts = reader.bool(); - continue; case 999: if (tag !== 7994) { break; @@ -2862,7 +2661,6 @@ export const EnumOptions = { const message = createBaseEnumOptions(); message.allowAlias = object.allowAlias ?? false; message.deprecated = object.deprecated ?? false; - message.deprecatedLegacyJsonFieldConflicts = object.deprecatedLegacyJsonFieldConflicts ?? false; message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || []; return message; }, @@ -3426,7 +3224,7 @@ export const GeneratedCodeInfo = { }; function createBaseGeneratedCodeInfo_Annotation(): GeneratedCodeInfo_Annotation { - return { path: [], sourceFile: "", begin: 0, end: 0, semantic: 0 }; + return { path: [], sourceFile: "", begin: 0, end: 0 }; } export const GeneratedCodeInfo_Annotation = { @@ -3445,9 +3243,6 @@ export const GeneratedCodeInfo_Annotation = { if (message.end !== 0) { writer.uint32(32).int32(message.end); } - if (message.semantic !== 0) { - writer.uint32(40).int32(message.semantic); - } return writer; }, @@ -3496,13 +3291,6 @@ export const GeneratedCodeInfo_Annotation = { message.end = reader.int32(); continue; - case 5: - if (tag !== 40) { - break; - } - - message.semantic = reader.int32() as any; - continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -3521,7 +3309,6 @@ export const GeneratedCodeInfo_Annotation = { message.sourceFile = object.sourceFile ?? ""; message.begin = object.begin ?? 0; message.end = object.end ?? 0; - message.semantic = object.semantic ?? 0; return message; }, }; diff --git a/ts/network_domain.ts b/ts/network_domain.ts index ce7fdcb..d8a63aa 100644 --- a/ts/network_domain.ts +++ b/ts/network_domain.ts @@ -1,22 +1,3 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - /* eslint-disable */ import _m0 from "protobufjs/minimal"; @@ -30,6 +11,7 @@ export interface NetworkDomainObject { accountId: string; sideId: string; labels: { [key: string]: string }; + region: string; } export interface NetworkDomainObject_LabelsEntry { @@ -38,7 +20,7 @@ export interface NetworkDomainObject_LabelsEntry { } function createBaseNetworkDomainObject(): NetworkDomainObject { - return { type: "", provider: "", id: "", name: "", accountId: "", sideId: "", labels: {} }; + return { type: "", provider: "", id: "", name: "", accountId: "", sideId: "", labels: {}, region: "" }; } export const NetworkDomainObject = { @@ -64,6 +46,9 @@ export const NetworkDomainObject = { Object.entries(message.labels).forEach(([key, value]) => { NetworkDomainObject_LabelsEntry.encode({ key: key as any, value }, writer.uint32(58).fork()).ldelim(); }); + if (message.region !== "") { + writer.uint32(66).string(message.region); + } return writer; }, @@ -126,6 +111,13 @@ export const NetworkDomainObject = { message.labels[entry7.key] = entry7.value; } continue; + case 8: + if (tag !== 66) { + break; + } + + message.region = reader.string(); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -152,6 +144,7 @@ export const NetworkDomainObject = { } return acc; }, {}); + message.region = object.region ?? ""; return message; }, }; diff --git a/ts/network_domain_connection.ts b/ts/network_domain_connection.ts index 954d722..c9c8c0f 100644 --- a/ts/network_domain_connection.ts +++ b/ts/network_domain_connection.ts @@ -1,22 +1,3 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Error, Status } from "./common"; diff --git a/ts/network_policy.ts b/ts/network_policy.ts index 19e8c03..29b5ff8 100644 --- a/ts/network_policy.ts +++ b/ts/network_policy.ts @@ -1,22 +1,3 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - /* eslint-disable */ import _m0 from "protobufjs/minimal"; diff --git a/ts/network_policy_service.ts b/ts/network_policy_service.ts index fb2563a..c83df5c 100644 --- a/ts/network_policy_service.ts +++ b/ts/network_policy_service.ts @@ -1,22 +1,3 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - /* eslint-disable */ import type { CallContext, CallOptions } from "nice-grpc-common"; import _m0 from "protobufjs/minimal"; diff --git a/ts/options.ts b/ts/options.ts index e3afab9..ce9f872 100644 --- a/ts/options.ts +++ b/ts/options.ts @@ -1,22 +1,3 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - /* eslint-disable */ export const protobufPackage = ""; diff --git a/ts/security_policies.ts b/ts/security_policies.ts index 213ba1f..3e7b0a0 100644 --- a/ts/security_policies.ts +++ b/ts/security_policies.ts @@ -1,22 +1,3 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - /* eslint-disable */ import _m0 from "protobufjs/minimal"; diff --git a/ts/security_policy_service.ts b/ts/security_policy_service.ts index 9e80480..2df79da 100644 --- a/ts/security_policy_service.ts +++ b/ts/security_policy_service.ts @@ -1,22 +1,3 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - /* eslint-disable */ import type { CallContext, CallOptions } from "nice-grpc-common"; import _m0 from "protobufjs/minimal"; diff --git a/ts/service_controller.ts b/ts/service_controller.ts index 7835d0d..180e3f9 100644 --- a/ts/service_controller.ts +++ b/ts/service_controller.ts @@ -1,22 +1,3 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - /* eslint-disable */ import type { CallContext, CallOptions } from "nice-grpc-common"; import { diff --git a/ts/sla.ts b/ts/sla.ts index 8408292..d9daa32 100644 --- a/ts/sla.ts +++ b/ts/sla.ts @@ -1,22 +1,3 @@ -/** - * Copyright (c) 2023 Cisco Systems, Inc. and its affiliates - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http:www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ - /* eslint-disable */ import _m0 from "protobufjs/minimal";