mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-03-22 12:05:21 +00:00
Update api generated code.
This commit is contained in:
parent
ca666da016
commit
28e940d2b7
12
api/csharp/Chirpstack/google/api/Http.cs
vendored
12
api/csharp/Chirpstack/google/api/Http.cs
vendored
@ -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 {
|
||||
/// <summary>
|
||||
/// 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.
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
|
4
api/grpc-web/google/api/backend_pb.d.ts
vendored
4
api/grpc-web/google/api/backend_pb.d.ts
vendored
@ -50,6 +50,9 @@ export class BackendRule extends jspb.Message {
|
||||
getProtocol(): string;
|
||||
setProtocol(value: string): BackendRule;
|
||||
|
||||
getOverridesByRequestProtocolMap(): jspb.Map<string, BackendRule>;
|
||||
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 {
|
||||
|
35
api/grpc-web/google/api/backend_pb.js
vendored
35
api/grpc-web/google/api/backend_pb.js
vendored
@ -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<string, BackendRule> overrides_by_request_protocol = 10;
|
||||
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
||||
* empty, instead returning `undefined`
|
||||
* @return {!jspb.Map<string,!proto.google.api.BackendRule>}
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.getOverridesByRequestProtocolMap = function(opt_noLazyCreate) {
|
||||
return /** @type {!jspb.Map<string,!proto.google.api.BackendRule>} */ (
|
||||
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);
|
||||
|
33
api/grpc-web/google/api/client_pb.d.ts
vendored
33
api/grpc-web/google/api/client_pb.d.ts
vendored
@ -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<ClientLibrarySettings.AsObject>,
|
||||
protoReferenceDocumentationUri: string,
|
||||
}
|
||||
}
|
||||
|
||||
@ -273,6 +277,27 @@ export class DotnetSettings extends jspb.Message {
|
||||
hasCommon(): boolean;
|
||||
clearCommon(): DotnetSettings;
|
||||
|
||||
getRenamedServicesMap(): jspb.Map<string, string>;
|
||||
clearRenamedServicesMap(): DotnetSettings;
|
||||
|
||||
getRenamedResourcesMap(): jspb.Map<string, string>;
|
||||
clearRenamedResourcesMap(): DotnetSettings;
|
||||
|
||||
getIgnoredResourcesList(): Array<string>;
|
||||
setIgnoredResourcesList(value: Array<string>): DotnetSettings;
|
||||
clearIgnoredResourcesList(): DotnetSettings;
|
||||
addIgnoredResources(value: string, index?: number): DotnetSettings;
|
||||
|
||||
getForcedNamespaceAliasesList(): Array<string>;
|
||||
setForcedNamespaceAliasesList(value: Array<string>): DotnetSettings;
|
||||
clearForcedNamespaceAliasesList(): DotnetSettings;
|
||||
addForcedNamespaceAliases(value: string, index?: number): DotnetSettings;
|
||||
|
||||
getHandwrittenSignaturesList(): Array<string>;
|
||||
setHandwrittenSignaturesList(value: Array<string>): 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<string>,
|
||||
forcedNamespaceAliasesList: Array<string>,
|
||||
handwrittenSignaturesList: Array<string>,
|
||||
}
|
||||
}
|
||||
|
||||
@ -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,
|
||||
|
261
api/grpc-web/google/api/client_pb.js
vendored
261
api/grpc-web/google/api/client_pb.js
vendored
@ -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<number>}
|
||||
* @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<string, string> renamed_services = 2;
|
||||
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
||||
* empty, instead returning `undefined`
|
||||
* @return {!jspb.Map<string,string>}
|
||||
*/
|
||||
proto.google.api.DotnetSettings.prototype.getRenamedServicesMap = function(opt_noLazyCreate) {
|
||||
return /** @type {!jspb.Map<string,string>} */ (
|
||||
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<string, string> renamed_resources = 3;
|
||||
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
||||
* empty, instead returning `undefined`
|
||||
* @return {!jspb.Map<string,string>}
|
||||
*/
|
||||
proto.google.api.DotnetSettings.prototype.getRenamedResourcesMap = function(opt_noLazyCreate) {
|
||||
return /** @type {!jspb.Map<string,string>} */ (
|
||||
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<string>}
|
||||
*/
|
||||
proto.google.api.DotnetSettings.prototype.getIgnoredResourcesList = function() {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<string>} 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<string>}
|
||||
*/
|
||||
proto.google.api.DotnetSettings.prototype.getForcedNamespaceAliasesList = function() {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<string>} 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<string>}
|
||||
*/
|
||||
proto.google.api.DotnetSettings.prototype.getHandwrittenSignaturesList = function() {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<string>} 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
|
||||
};
|
||||
|
||||
/**
|
||||
|
2
api/grpc-web/google/api/error_reason_pb.d.ts
vendored
2
api/grpc-web/google/api/error_reason_pb.d.ts
vendored
@ -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,
|
||||
}
|
||||
|
4
api/grpc-web/google/api/error_reason_pb.js
vendored
4
api/grpc-web/google/api/error_reason_pb.js
vendored
@ -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);
|
||||
|
3
api/js/google/api/backend_pb.d.ts
vendored
3
api/js/google/api/backend_pb.d.ts
vendored
@ -57,6 +57,8 @@ export class BackendRule extends jspb.Message {
|
||||
getProtocol(): string;
|
||||
setProtocol(value: string): void;
|
||||
|
||||
getOverridesByRequestProtocolMap(): jspb.Map<string, BackendRule>;
|
||||
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 {
|
||||
|
35
api/js/google/api/backend_pb.js
vendored
35
api/js/google/api/backend_pb.js
vendored
@ -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<string, BackendRule> overrides_by_request_protocol = 10;
|
||||
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
||||
* empty, instead returning `undefined`
|
||||
* @return {!jspb.Map<string,!proto.google.api.BackendRule>}
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.getOverridesByRequestProtocolMap = function(opt_noLazyCreate) {
|
||||
return /** @type {!jspb.Map<string,!proto.google.api.BackendRule>} */ (
|
||||
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);
|
||||
|
31
api/js/google/api/client_pb.d.ts
vendored
31
api/js/google/api/client_pb.d.ts
vendored
@ -142,6 +142,9 @@ export class Publishing extends jspb.Message {
|
||||
setLibrarySettingsList(value: Array<ClientLibrarySettings>): 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<ClientLibrarySettings.AsObject>,
|
||||
protoReferenceDocumentationUri: string,
|
||||
}
|
||||
}
|
||||
|
||||
@ -289,6 +293,25 @@ export class DotnetSettings extends jspb.Message {
|
||||
getCommon(): CommonLanguageSettings | undefined;
|
||||
setCommon(value?: CommonLanguageSettings): void;
|
||||
|
||||
getRenamedServicesMap(): jspb.Map<string, string>;
|
||||
clearRenamedServicesMap(): void;
|
||||
getRenamedResourcesMap(): jspb.Map<string, string>;
|
||||
clearRenamedResourcesMap(): void;
|
||||
clearIgnoredResourcesList(): void;
|
||||
getIgnoredResourcesList(): Array<string>;
|
||||
setIgnoredResourcesList(value: Array<string>): void;
|
||||
addIgnoredResources(value: string, index?: number): string;
|
||||
|
||||
clearForcedNamespaceAliasesList(): void;
|
||||
getForcedNamespaceAliasesList(): Array<string>;
|
||||
setForcedNamespaceAliasesList(value: Array<string>): void;
|
||||
addForcedNamespaceAliases(value: string, index?: number): string;
|
||||
|
||||
clearHandwrittenSignaturesList(): void;
|
||||
getHandwrittenSignaturesList(): Array<string>;
|
||||
setHandwrittenSignaturesList(value: Array<string>): 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<string>,
|
||||
forcedNamespaceAliasesList: Array<string>,
|
||||
handwrittenSignaturesList: Array<string>,
|
||||
}
|
||||
}
|
||||
|
||||
@ -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;
|
||||
|
261
api/js/google/api/client_pb.js
vendored
261
api/js/google/api/client_pb.js
vendored
@ -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<number>}
|
||||
* @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<string, string> renamed_services = 2;
|
||||
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
||||
* empty, instead returning `undefined`
|
||||
* @return {!jspb.Map<string,string>}
|
||||
*/
|
||||
proto.google.api.DotnetSettings.prototype.getRenamedServicesMap = function(opt_noLazyCreate) {
|
||||
return /** @type {!jspb.Map<string,string>} */ (
|
||||
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<string, string> renamed_resources = 3;
|
||||
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
||||
* empty, instead returning `undefined`
|
||||
* @return {!jspb.Map<string,string>}
|
||||
*/
|
||||
proto.google.api.DotnetSettings.prototype.getRenamedResourcesMap = function(opt_noLazyCreate) {
|
||||
return /** @type {!jspb.Map<string,string>} */ (
|
||||
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<string>}
|
||||
*/
|
||||
proto.google.api.DotnetSettings.prototype.getIgnoredResourcesList = function() {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<string>} 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<string>}
|
||||
*/
|
||||
proto.google.api.DotnetSettings.prototype.getForcedNamespaceAliasesList = function() {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<string>} 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<string>}
|
||||
*/
|
||||
proto.google.api.DotnetSettings.prototype.getHandwrittenSignaturesList = function() {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<string>} 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
|
||||
};
|
||||
|
||||
/**
|
||||
|
2
api/js/google/api/error_reason_pb.d.ts
vendored
2
api/js/google/api/error_reason_pb.d.ts
vendored
@ -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;
|
||||
|
4
api/js/google/api/error_reason_pb.js
vendored
4
api/js/google/api/error_reason_pb.js
vendored
@ -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);
|
||||
|
14
api/rust/proto/google/google/api/http.proto
vendored
14
api/rust/proto/google/google/api/http.proto
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user