diff --git a/api/csharp/Chirpstack/google/api/Http.cs b/api/csharp/Chirpstack/google/api/Http.cs index c9611753..460f3775 100644 --- a/api/csharp/Chirpstack/google/api/Http.cs +++ b/api/csharp/Chirpstack/google/api/Http.cs @@ -451,15 +451,18 @@ namespace Google.Api { /// 1. Leaf request fields (recursive expansion nested messages in the request /// message) are classified into three categories: /// - Fields referred by the path template. They are passed via the URL path. - /// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + /// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They + /// are passed via the HTTP /// request body. /// - All other fields are passed via the URL query parameters, and the /// parameter name is the field path in the request message. A repeated /// field can be represented as multiple query parameters under the same /// name. - /// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + /// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL + /// query parameter, all fields /// are passed via URL path and HTTP request body. - /// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + /// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP + /// request body, all /// fields are passed via URL path and URL query parameters. /// /// ### Path template syntax @@ -626,7 +629,8 @@ namespace Google.Api { /// /// Selects a method to which this rule applies. /// - /// Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + /// Refer to [selector][google.api.DocumentationRule.selector] for syntax + /// details. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] diff --git a/api/grpc-web/google/api/backend_pb.d.ts b/api/grpc-web/google/api/backend_pb.d.ts index 49105d46..9b342d41 100644 --- a/api/grpc-web/google/api/backend_pb.d.ts +++ b/api/grpc-web/google/api/backend_pb.d.ts @@ -50,6 +50,9 @@ export class BackendRule extends jspb.Message { getProtocol(): string; setProtocol(value: string): BackendRule; + getOverridesByRequestProtocolMap(): jspb.Map; + clearOverridesByRequestProtocolMap(): BackendRule; + getAuthenticationCase(): BackendRule.AuthenticationCase; serializeBinary(): Uint8Array; @@ -71,6 +74,7 @@ export namespace BackendRule { jwtAudience: string, disableAuth: boolean, protocol: string, + overridesByRequestProtocolMap: Array<[string, BackendRule.AsObject]>, } export enum PathTranslation { diff --git a/api/grpc-web/google/api/backend_pb.js b/api/grpc-web/google/api/backend_pb.js index 0095b99c..8dfb7ff7 100644 --- a/api/grpc-web/google/api/backend_pb.js +++ b/api/grpc-web/google/api/backend_pb.js @@ -284,7 +284,8 @@ proto.google.api.BackendRule.toObject = function(includeInstance, msg) { pathTranslation: jspb.Message.getFieldWithDefault(msg, 6, 0), jwtAudience: jspb.Message.getFieldWithDefault(msg, 7, ""), disableAuth: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), - protocol: jspb.Message.getFieldWithDefault(msg, 9, "") + protocol: jspb.Message.getFieldWithDefault(msg, 9, ""), + overridesByRequestProtocolMap: (f = msg.getOverridesByRequestProtocolMap()) ? f.toObject(includeInstance, proto.google.api.BackendRule.toObject) : [] }; if (includeInstance) { @@ -357,6 +358,12 @@ proto.google.api.BackendRule.deserializeBinaryFromReader = function(msg, reader) var value = /** @type {string} */ (reader.readString()); msg.setProtocol(value); break; + case 10: + var value = msg.getOverridesByRequestProtocolMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.api.BackendRule.deserializeBinaryFromReader, "", new proto.google.api.BackendRule()); + }); + break; default: reader.skipField(); break; @@ -449,6 +456,10 @@ proto.google.api.BackendRule.serializeBinaryToWriter = function(message, writer) f ); } + f = message.getOverridesByRequestProtocolMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.api.BackendRule.serializeBinaryToWriter); + } }; @@ -659,4 +670,26 @@ proto.google.api.BackendRule.prototype.setProtocol = function(value) { }; +/** + * map overrides_by_request_protocol = 10; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.google.api.BackendRule.prototype.getOverridesByRequestProtocolMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 10, opt_noLazyCreate, + proto.google.api.BackendRule)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.google.api.BackendRule} returns this + */ +proto.google.api.BackendRule.prototype.clearOverridesByRequestProtocolMap = function() { + this.getOverridesByRequestProtocolMap().clear(); + return this;}; + + goog.object.extend(exports, proto.google.api); diff --git a/api/grpc-web/google/api/client_pb.d.ts b/api/grpc-web/google/api/client_pb.d.ts index c777d661..08ed4fd9 100644 --- a/api/grpc-web/google/api/client_pb.d.ts +++ b/api/grpc-web/google/api/client_pb.d.ts @@ -137,6 +137,9 @@ export class Publishing extends jspb.Message { clearLibrarySettingsList(): Publishing; addLibrarySettings(value?: ClientLibrarySettings, index?: number): ClientLibrarySettings; + getProtoReferenceDocumentationUri(): string; + setProtoReferenceDocumentationUri(value: string): Publishing; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Publishing.AsObject; static toObject(includeInstance: boolean, msg: Publishing): Publishing.AsObject; @@ -156,6 +159,7 @@ export namespace Publishing { docTagPrefix: string, organization: ClientLibraryOrganization, librarySettingsList: Array, + protoReferenceDocumentationUri: string, } } @@ -273,6 +277,27 @@ export class DotnetSettings extends jspb.Message { hasCommon(): boolean; clearCommon(): DotnetSettings; + getRenamedServicesMap(): jspb.Map; + clearRenamedServicesMap(): DotnetSettings; + + getRenamedResourcesMap(): jspb.Map; + clearRenamedResourcesMap(): DotnetSettings; + + getIgnoredResourcesList(): Array; + setIgnoredResourcesList(value: Array): DotnetSettings; + clearIgnoredResourcesList(): DotnetSettings; + addIgnoredResources(value: string, index?: number): DotnetSettings; + + getForcedNamespaceAliasesList(): Array; + setForcedNamespaceAliasesList(value: Array): DotnetSettings; + clearForcedNamespaceAliasesList(): DotnetSettings; + addForcedNamespaceAliases(value: string, index?: number): DotnetSettings; + + getHandwrittenSignaturesList(): Array; + setHandwrittenSignaturesList(value: Array): DotnetSettings; + clearHandwrittenSignaturesList(): DotnetSettings; + addHandwrittenSignatures(value: string, index?: number): DotnetSettings; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DotnetSettings.AsObject; static toObject(includeInstance: boolean, msg: DotnetSettings): DotnetSettings.AsObject; @@ -284,6 +309,11 @@ export class DotnetSettings extends jspb.Message { export namespace DotnetSettings { export type AsObject = { common?: CommonLanguageSettings.AsObject, + renamedServicesMap: Array<[string, string]>, + renamedResourcesMap: Array<[string, string]>, + ignoredResourcesList: Array, + forcedNamespaceAliasesList: Array, + handwrittenSignaturesList: Array, } } @@ -394,6 +424,9 @@ export enum ClientLibraryOrganization { ADS = 2, PHOTOS = 3, STREET_VIEW = 4, + SHOPPING = 5, + GEO = 6, + GENERATIVE_AI = 7, } export enum ClientLibraryDestination { CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0, diff --git a/api/grpc-web/google/api/client_pb.js b/api/grpc-web/google/api/client_pb.js index f92e4519..e51c4c74 100644 --- a/api/grpc-web/google/api/client_pb.js +++ b/api/grpc-web/google/api/client_pb.js @@ -215,7 +215,7 @@ if (goog.DEBUG && !COMPILED) { * @constructor */ proto.google.api.DotnetSettings = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.DotnetSettings.repeatedFields_, null); }; goog.inherits(proto.google.api.DotnetSettings, jspb.Message); if (goog.DEBUG && !COMPILED) { @@ -1142,7 +1142,8 @@ proto.google.api.Publishing.toObject = function(includeInstance, msg) { docTagPrefix: jspb.Message.getFieldWithDefault(msg, 106, ""), organization: jspb.Message.getFieldWithDefault(msg, 107, 0), librarySettingsList: jspb.Message.toObjectList(msg.getLibrarySettingsList(), - proto.google.api.ClientLibrarySettings.toObject, includeInstance) + proto.google.api.ClientLibrarySettings.toObject, includeInstance), + protoReferenceDocumentationUri: jspb.Message.getFieldWithDefault(msg, 110, "") }; if (includeInstance) { @@ -1217,6 +1218,10 @@ proto.google.api.Publishing.deserializeBinaryFromReader = function(msg, reader) reader.readMessage(value,proto.google.api.ClientLibrarySettings.deserializeBinaryFromReader); msg.addLibrarySettings(value); break; + case 110: + var value = /** @type {string} */ (reader.readString()); + msg.setProtoReferenceDocumentationUri(value); + break; default: reader.skipField(); break; @@ -1311,6 +1316,13 @@ proto.google.api.Publishing.serializeBinaryToWriter = function(message, writer) proto.google.api.ClientLibrarySettings.serializeBinaryToWriter ); } + f = message.getProtoReferenceDocumentationUri(); + if (f.length > 0) { + writer.writeString( + 110, + f + ); + } }; @@ -1535,6 +1547,24 @@ proto.google.api.Publishing.prototype.clearLibrarySettingsList = function() { }; +/** + * optional string proto_reference_documentation_uri = 110; + * @return {string} + */ +proto.google.api.Publishing.prototype.getProtoReferenceDocumentationUri = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 110, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.Publishing} returns this + */ +proto.google.api.Publishing.prototype.setProtoReferenceDocumentationUri = function(value) { + return jspb.Message.setProto3StringField(this, 110, value); +}; + + @@ -2354,6 +2384,13 @@ proto.google.api.NodeSettings.prototype.hasCommon = function() { +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.DotnetSettings.repeatedFields_ = [4,5,6]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -2385,7 +2422,12 @@ proto.google.api.DotnetSettings.prototype.toObject = function(opt_includeInstanc */ proto.google.api.DotnetSettings.toObject = function(includeInstance, msg) { var f, obj = { - common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) + common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f), + renamedServicesMap: (f = msg.getRenamedServicesMap()) ? f.toObject(includeInstance, undefined) : [], + renamedResourcesMap: (f = msg.getRenamedResourcesMap()) ? f.toObject(includeInstance, undefined) : [], + ignoredResourcesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, + forcedNamespaceAliasesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + handwrittenSignaturesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f }; if (includeInstance) { @@ -2427,6 +2469,30 @@ proto.google.api.DotnetSettings.deserializeBinaryFromReader = function(msg, read reader.readMessage(value,proto.google.api.CommonLanguageSettings.deserializeBinaryFromReader); msg.setCommon(value); break; + case 2: + var value = msg.getRenamedServicesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + case 3: + var value = msg.getRenamedResourcesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.addIgnoredResources(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.addForcedNamespaceAliases(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addHandwrittenSignatures(value); + break; default: reader.skipField(); break; @@ -2464,6 +2530,35 @@ proto.google.api.DotnetSettings.serializeBinaryToWriter = function(message, writ proto.google.api.CommonLanguageSettings.serializeBinaryToWriter ); } + f = message.getRenamedServicesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } + f = message.getRenamedResourcesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } + f = message.getIgnoredResourcesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 4, + f + ); + } + f = message.getForcedNamespaceAliasesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 5, + f + ); + } + f = message.getHandwrittenSignaturesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } }; @@ -2504,6 +2599,161 @@ proto.google.api.DotnetSettings.prototype.hasCommon = function() { }; +/** + * map renamed_services = 2; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.google.api.DotnetSettings.prototype.getRenamedServicesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 2, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.clearRenamedServicesMap = function() { + this.getRenamedServicesMap().clear(); + return this;}; + + +/** + * map renamed_resources = 3; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.google.api.DotnetSettings.prototype.getRenamedResourcesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 3, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.clearRenamedResourcesMap = function() { + this.getRenamedResourcesMap().clear(); + return this;}; + + +/** + * repeated string ignored_resources = 4; + * @return {!Array} + */ +proto.google.api.DotnetSettings.prototype.getIgnoredResourcesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.setIgnoredResourcesList = function(value) { + return jspb.Message.setField(this, 4, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.addIgnoredResources = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 4, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.clearIgnoredResourcesList = function() { + return this.setIgnoredResourcesList([]); +}; + + +/** + * repeated string forced_namespace_aliases = 5; + * @return {!Array} + */ +proto.google.api.DotnetSettings.prototype.getForcedNamespaceAliasesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.setForcedNamespaceAliasesList = function(value) { + return jspb.Message.setField(this, 5, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.addForcedNamespaceAliases = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.clearForcedNamespaceAliasesList = function() { + return this.setForcedNamespaceAliasesList([]); +}; + + +/** + * repeated string handwritten_signatures = 6; + * @return {!Array} + */ +proto.google.api.DotnetSettings.prototype.getHandwrittenSignaturesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.setHandwrittenSignaturesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.addHandwrittenSignatures = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.clearHandwrittenSignaturesList = function() { + return this.setHandwrittenSignaturesList([]); +}; + + @@ -3278,7 +3528,10 @@ proto.google.api.ClientLibraryOrganization = { CLOUD: 1, ADS: 2, PHOTOS: 3, - STREET_VIEW: 4 + STREET_VIEW: 4, + SHOPPING: 5, + GEO: 6, + GENERATIVE_AI: 7 }; /** diff --git a/api/grpc-web/google/api/error_reason_pb.d.ts b/api/grpc-web/google/api/error_reason_pb.d.ts index c61a3997..1a7c2e08 100644 --- a/api/grpc-web/google/api/error_reason_pb.d.ts +++ b/api/grpc-web/google/api/error_reason_pb.d.ts @@ -31,4 +31,6 @@ export enum ErrorReason { SYSTEM_PARAMETER_UNSUPPORTED = 26, ORG_RESTRICTION_VIOLATION = 27, ORG_RESTRICTION_HEADER_INVALID = 28, + SERVICE_NOT_VISIBLE = 29, + GCP_SUSPENDED = 30, } diff --git a/api/grpc-web/google/api/error_reason_pb.js b/api/grpc-web/google/api/error_reason_pb.js index 6aed33dd..725ef6d8 100644 --- a/api/grpc-web/google/api/error_reason_pb.js +++ b/api/grpc-web/google/api/error_reason_pb.js @@ -44,7 +44,9 @@ proto.google.api.ErrorReason = { RESOURCE_USAGE_RESTRICTION_VIOLATED: 25, SYSTEM_PARAMETER_UNSUPPORTED: 26, ORG_RESTRICTION_VIOLATION: 27, - ORG_RESTRICTION_HEADER_INVALID: 28 + ORG_RESTRICTION_HEADER_INVALID: 28, + SERVICE_NOT_VISIBLE: 29, + GCP_SUSPENDED: 30 }; goog.object.extend(exports, proto.google.api); diff --git a/api/js/google/api/backend_pb.d.ts b/api/js/google/api/backend_pb.d.ts index e218eb3a..9308e9d5 100644 --- a/api/js/google/api/backend_pb.d.ts +++ b/api/js/google/api/backend_pb.d.ts @@ -57,6 +57,8 @@ export class BackendRule extends jspb.Message { getProtocol(): string; setProtocol(value: string): void; + getOverridesByRequestProtocolMap(): jspb.Map; + clearOverridesByRequestProtocolMap(): void; getAuthenticationCase(): BackendRule.AuthenticationCase; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): BackendRule.AsObject; @@ -79,6 +81,7 @@ export namespace BackendRule { jwtAudience: string, disableAuth: boolean, protocol: string, + overridesByRequestProtocolMap: Array<[string, BackendRule.AsObject]>, } export interface PathTranslationMap { diff --git a/api/js/google/api/backend_pb.js b/api/js/google/api/backend_pb.js index 0095b99c..8dfb7ff7 100644 --- a/api/js/google/api/backend_pb.js +++ b/api/js/google/api/backend_pb.js @@ -284,7 +284,8 @@ proto.google.api.BackendRule.toObject = function(includeInstance, msg) { pathTranslation: jspb.Message.getFieldWithDefault(msg, 6, 0), jwtAudience: jspb.Message.getFieldWithDefault(msg, 7, ""), disableAuth: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), - protocol: jspb.Message.getFieldWithDefault(msg, 9, "") + protocol: jspb.Message.getFieldWithDefault(msg, 9, ""), + overridesByRequestProtocolMap: (f = msg.getOverridesByRequestProtocolMap()) ? f.toObject(includeInstance, proto.google.api.BackendRule.toObject) : [] }; if (includeInstance) { @@ -357,6 +358,12 @@ proto.google.api.BackendRule.deserializeBinaryFromReader = function(msg, reader) var value = /** @type {string} */ (reader.readString()); msg.setProtocol(value); break; + case 10: + var value = msg.getOverridesByRequestProtocolMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.api.BackendRule.deserializeBinaryFromReader, "", new proto.google.api.BackendRule()); + }); + break; default: reader.skipField(); break; @@ -449,6 +456,10 @@ proto.google.api.BackendRule.serializeBinaryToWriter = function(message, writer) f ); } + f = message.getOverridesByRequestProtocolMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.api.BackendRule.serializeBinaryToWriter); + } }; @@ -659,4 +670,26 @@ proto.google.api.BackendRule.prototype.setProtocol = function(value) { }; +/** + * map overrides_by_request_protocol = 10; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.google.api.BackendRule.prototype.getOverridesByRequestProtocolMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 10, opt_noLazyCreate, + proto.google.api.BackendRule)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.google.api.BackendRule} returns this + */ +proto.google.api.BackendRule.prototype.clearOverridesByRequestProtocolMap = function() { + this.getOverridesByRequestProtocolMap().clear(); + return this;}; + + goog.object.extend(exports, proto.google.api); diff --git a/api/js/google/api/client_pb.d.ts b/api/js/google/api/client_pb.d.ts index b3342c55..a16fa00c 100644 --- a/api/js/google/api/client_pb.d.ts +++ b/api/js/google/api/client_pb.d.ts @@ -142,6 +142,9 @@ export class Publishing extends jspb.Message { setLibrarySettingsList(value: Array): void; addLibrarySettings(value?: ClientLibrarySettings, index?: number): ClientLibrarySettings; + getProtoReferenceDocumentationUri(): string; + setProtoReferenceDocumentationUri(value: string): void; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Publishing.AsObject; static toObject(includeInstance: boolean, msg: Publishing): Publishing.AsObject; @@ -163,6 +166,7 @@ export namespace Publishing { docTagPrefix: string, organization: ClientLibraryOrganizationMap[keyof ClientLibraryOrganizationMap], librarySettingsList: Array, + protoReferenceDocumentationUri: string, } } @@ -289,6 +293,25 @@ export class DotnetSettings extends jspb.Message { getCommon(): CommonLanguageSettings | undefined; setCommon(value?: CommonLanguageSettings): void; + getRenamedServicesMap(): jspb.Map; + clearRenamedServicesMap(): void; + getRenamedResourcesMap(): jspb.Map; + clearRenamedResourcesMap(): void; + clearIgnoredResourcesList(): void; + getIgnoredResourcesList(): Array; + setIgnoredResourcesList(value: Array): void; + addIgnoredResources(value: string, index?: number): string; + + clearForcedNamespaceAliasesList(): void; + getForcedNamespaceAliasesList(): Array; + setForcedNamespaceAliasesList(value: Array): void; + addForcedNamespaceAliases(value: string, index?: number): string; + + clearHandwrittenSignaturesList(): void; + getHandwrittenSignaturesList(): Array; + setHandwrittenSignaturesList(value: Array): void; + addHandwrittenSignatures(value: string, index?: number): string; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DotnetSettings.AsObject; static toObject(includeInstance: boolean, msg: DotnetSettings): DotnetSettings.AsObject; @@ -302,6 +325,11 @@ export class DotnetSettings extends jspb.Message { export namespace DotnetSettings { export type AsObject = { common?: CommonLanguageSettings.AsObject, + renamedServicesMap: Array<[string, string]>, + renamedResourcesMap: Array<[string, string]>, + ignoredResourcesList: Array, + forcedNamespaceAliasesList: Array, + handwrittenSignaturesList: Array, } } @@ -425,6 +453,9 @@ export interface ClientLibraryOrganizationMap { ADS: 2; PHOTOS: 3; STREET_VIEW: 4; + SHOPPING: 5; + GEO: 6; + GENERATIVE_AI: 7; } export const ClientLibraryOrganization: ClientLibraryOrganizationMap; diff --git a/api/js/google/api/client_pb.js b/api/js/google/api/client_pb.js index f92e4519..e51c4c74 100644 --- a/api/js/google/api/client_pb.js +++ b/api/js/google/api/client_pb.js @@ -215,7 +215,7 @@ if (goog.DEBUG && !COMPILED) { * @constructor */ proto.google.api.DotnetSettings = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.DotnetSettings.repeatedFields_, null); }; goog.inherits(proto.google.api.DotnetSettings, jspb.Message); if (goog.DEBUG && !COMPILED) { @@ -1142,7 +1142,8 @@ proto.google.api.Publishing.toObject = function(includeInstance, msg) { docTagPrefix: jspb.Message.getFieldWithDefault(msg, 106, ""), organization: jspb.Message.getFieldWithDefault(msg, 107, 0), librarySettingsList: jspb.Message.toObjectList(msg.getLibrarySettingsList(), - proto.google.api.ClientLibrarySettings.toObject, includeInstance) + proto.google.api.ClientLibrarySettings.toObject, includeInstance), + protoReferenceDocumentationUri: jspb.Message.getFieldWithDefault(msg, 110, "") }; if (includeInstance) { @@ -1217,6 +1218,10 @@ proto.google.api.Publishing.deserializeBinaryFromReader = function(msg, reader) reader.readMessage(value,proto.google.api.ClientLibrarySettings.deserializeBinaryFromReader); msg.addLibrarySettings(value); break; + case 110: + var value = /** @type {string} */ (reader.readString()); + msg.setProtoReferenceDocumentationUri(value); + break; default: reader.skipField(); break; @@ -1311,6 +1316,13 @@ proto.google.api.Publishing.serializeBinaryToWriter = function(message, writer) proto.google.api.ClientLibrarySettings.serializeBinaryToWriter ); } + f = message.getProtoReferenceDocumentationUri(); + if (f.length > 0) { + writer.writeString( + 110, + f + ); + } }; @@ -1535,6 +1547,24 @@ proto.google.api.Publishing.prototype.clearLibrarySettingsList = function() { }; +/** + * optional string proto_reference_documentation_uri = 110; + * @return {string} + */ +proto.google.api.Publishing.prototype.getProtoReferenceDocumentationUri = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 110, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.api.Publishing} returns this + */ +proto.google.api.Publishing.prototype.setProtoReferenceDocumentationUri = function(value) { + return jspb.Message.setProto3StringField(this, 110, value); +}; + + @@ -2354,6 +2384,13 @@ proto.google.api.NodeSettings.prototype.hasCommon = function() { +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.api.DotnetSettings.repeatedFields_ = [4,5,6]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -2385,7 +2422,12 @@ proto.google.api.DotnetSettings.prototype.toObject = function(opt_includeInstanc */ proto.google.api.DotnetSettings.toObject = function(includeInstance, msg) { var f, obj = { - common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) + common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f), + renamedServicesMap: (f = msg.getRenamedServicesMap()) ? f.toObject(includeInstance, undefined) : [], + renamedResourcesMap: (f = msg.getRenamedResourcesMap()) ? f.toObject(includeInstance, undefined) : [], + ignoredResourcesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, + forcedNamespaceAliasesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + handwrittenSignaturesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f }; if (includeInstance) { @@ -2427,6 +2469,30 @@ proto.google.api.DotnetSettings.deserializeBinaryFromReader = function(msg, read reader.readMessage(value,proto.google.api.CommonLanguageSettings.deserializeBinaryFromReader); msg.setCommon(value); break; + case 2: + var value = msg.getRenamedServicesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + case 3: + var value = msg.getRenamedResourcesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.addIgnoredResources(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.addForcedNamespaceAliases(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addHandwrittenSignatures(value); + break; default: reader.skipField(); break; @@ -2464,6 +2530,35 @@ proto.google.api.DotnetSettings.serializeBinaryToWriter = function(message, writ proto.google.api.CommonLanguageSettings.serializeBinaryToWriter ); } + f = message.getRenamedServicesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } + f = message.getRenamedResourcesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } + f = message.getIgnoredResourcesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 4, + f + ); + } + f = message.getForcedNamespaceAliasesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 5, + f + ); + } + f = message.getHandwrittenSignaturesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } }; @@ -2504,6 +2599,161 @@ proto.google.api.DotnetSettings.prototype.hasCommon = function() { }; +/** + * map renamed_services = 2; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.google.api.DotnetSettings.prototype.getRenamedServicesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 2, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.clearRenamedServicesMap = function() { + this.getRenamedServicesMap().clear(); + return this;}; + + +/** + * map renamed_resources = 3; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.google.api.DotnetSettings.prototype.getRenamedResourcesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 3, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.clearRenamedResourcesMap = function() { + this.getRenamedResourcesMap().clear(); + return this;}; + + +/** + * repeated string ignored_resources = 4; + * @return {!Array} + */ +proto.google.api.DotnetSettings.prototype.getIgnoredResourcesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.setIgnoredResourcesList = function(value) { + return jspb.Message.setField(this, 4, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.addIgnoredResources = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 4, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.clearIgnoredResourcesList = function() { + return this.setIgnoredResourcesList([]); +}; + + +/** + * repeated string forced_namespace_aliases = 5; + * @return {!Array} + */ +proto.google.api.DotnetSettings.prototype.getForcedNamespaceAliasesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.setForcedNamespaceAliasesList = function(value) { + return jspb.Message.setField(this, 5, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.addForcedNamespaceAliases = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.clearForcedNamespaceAliasesList = function() { + return this.setForcedNamespaceAliasesList([]); +}; + + +/** + * repeated string handwritten_signatures = 6; + * @return {!Array} + */ +proto.google.api.DotnetSettings.prototype.getHandwrittenSignaturesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.setHandwrittenSignaturesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.addHandwrittenSignatures = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.api.DotnetSettings} returns this + */ +proto.google.api.DotnetSettings.prototype.clearHandwrittenSignaturesList = function() { + return this.setHandwrittenSignaturesList([]); +}; + + @@ -3278,7 +3528,10 @@ proto.google.api.ClientLibraryOrganization = { CLOUD: 1, ADS: 2, PHOTOS: 3, - STREET_VIEW: 4 + STREET_VIEW: 4, + SHOPPING: 5, + GEO: 6, + GENERATIVE_AI: 7 }; /** diff --git a/api/js/google/api/error_reason_pb.d.ts b/api/js/google/api/error_reason_pb.d.ts index 916fe871..04835884 100644 --- a/api/js/google/api/error_reason_pb.d.ts +++ b/api/js/google/api/error_reason_pb.d.ts @@ -32,6 +32,8 @@ export interface ErrorReasonMap { SYSTEM_PARAMETER_UNSUPPORTED: 26; ORG_RESTRICTION_VIOLATION: 27; ORG_RESTRICTION_HEADER_INVALID: 28; + SERVICE_NOT_VISIBLE: 29; + GCP_SUSPENDED: 30; } export const ErrorReason: ErrorReasonMap; diff --git a/api/js/google/api/error_reason_pb.js b/api/js/google/api/error_reason_pb.js index 6aed33dd..725ef6d8 100644 --- a/api/js/google/api/error_reason_pb.js +++ b/api/js/google/api/error_reason_pb.js @@ -44,7 +44,9 @@ proto.google.api.ErrorReason = { RESOURCE_USAGE_RESTRICTION_VIOLATED: 25, SYSTEM_PARAMETER_UNSUPPORTED: 26, ORG_RESTRICTION_VIOLATION: 27, - ORG_RESTRICTION_HEADER_INVALID: 28 + ORG_RESTRICTION_HEADER_INVALID: 28, + SERVICE_NOT_VISIBLE: 29, + GCP_SUSPENDED: 30 }; goog.object.extend(exports, proto.google.api); diff --git a/api/rust/proto/google/google/api/http.proto b/api/rust/proto/google/google/api/http.proto index 113fa936..31d867a2 100644 --- a/api/rust/proto/google/google/api/http.proto +++ b/api/rust/proto/google/google/api/http.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -210,15 +210,18 @@ message Http { // 1. Leaf request fields (recursive expansion nested messages in the request // message) are classified into three categories: // - Fields referred by the path template. They are passed via the URL path. -// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP +// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They +// are passed via the HTTP // request body. // - All other fields are passed via the URL query parameters, and the // parameter name is the field path in the request message. A repeated // field can be represented as multiple query parameters under the same // name. -// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields +// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL +// query parameter, all fields // are passed via URL path and HTTP request body. -// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all +// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP +// request body, all // fields are passed via URL path and URL query parameters. // // ### Path template syntax @@ -313,7 +316,8 @@ message Http { message HttpRule { // Selects a method to which this rule applies. // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + // Refer to [selector][google.api.DocumentationRule.selector] for syntax + // details. string selector = 1; // Determines the URL pattern is matched by this rules. This pattern can be