Latest generation

This commit is contained in:
ci core model
2025-04-28 12:35:42 +00:00
parent 595d5e3e36
commit 09d656c554
197 changed files with 25094 additions and 25094 deletions

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.9.6
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
// @generated from protobuf file "google/rpc/code.proto" (package "google.rpc", syntax proto3)
// tslint:disable
//

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.9.6
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
// @generated from protobuf file "google/rpc/error_details.proto" (package "google.rpc", syntax proto3)
// tslint:disable
//
@@ -49,7 +49,7 @@ export interface RetryInfo {
*
* @generated from protobuf field: google.protobuf.Duration retry_delay = 1;
*/
retryDelay?: Duration;
retry_delay?: Duration;
}
/**
* Describes additional debugging info.
@@ -62,7 +62,7 @@ export interface DebugInfo {
*
* @generated from protobuf field: repeated string stack_entries = 1;
*/
stackEntries: string[];
stack_entries: string[];
/**
* Additional debugging information provided by the server.
*
@@ -182,7 +182,7 @@ export interface BadRequest {
*
* @generated from protobuf field: repeated google.rpc.BadRequest.FieldViolation field_violations = 1;
*/
fieldViolations: BadRequest_FieldViolation[];
field_violations: BadRequest_FieldViolation[];
}
/**
* A message type used to describe a single bad request field.
@@ -218,14 +218,14 @@ export interface RequestInfo {
*
* @generated from protobuf field: string request_id = 1;
*/
requestId: string;
request_id: string;
/**
* Any data that was used to serve this request. For example, an encrypted
* stack trace that can be sent back to the service provider for debugging.
*
* @generated from protobuf field: string serving_data = 2;
*/
servingData: string;
serving_data: string;
}
/**
* Describes the resource that is being accessed.
@@ -240,7 +240,7 @@ export interface ResourceInfo {
*
* @generated from protobuf field: string resource_type = 1;
*/
resourceType: string;
resource_type: string;
/**
* The name of the resource being accessed. For example, a shared calendar
* name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current
@@ -248,7 +248,7 @@ export interface ResourceInfo {
*
* @generated from protobuf field: string resource_name = 2;
*/
resourceName: string;
resource_name: string;
/**
* The owner of the resource (optional).
* For example, "user:<owner email>" or "project:<Google developer project
@@ -328,7 +328,7 @@ export interface LocalizedMessage {
class RetryInfo$Type extends MessageType<RetryInfo> {
constructor() {
super("google.rpc.RetryInfo", [
{ no: 1, name: "retry_delay", kind: "message", T: () => Duration }
{ no: 1, name: "retry_delay", kind: "message", localName: "retry_delay", T: () => Duration }
]);
}
create(value?: PartialMessage<RetryInfo>): RetryInfo {
@@ -343,7 +343,7 @@ class RetryInfo$Type extends MessageType<RetryInfo> {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* google.protobuf.Duration retry_delay */ 1:
message.retryDelay = Duration.internalBinaryRead(reader, reader.uint32(), options, message.retryDelay);
message.retry_delay = Duration.internalBinaryRead(reader, reader.uint32(), options, message.retry_delay);
break;
default:
let u = options.readUnknownField;
@@ -358,8 +358,8 @@ class RetryInfo$Type extends MessageType<RetryInfo> {
}
internalBinaryWrite(message: RetryInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* google.protobuf.Duration retry_delay = 1; */
if (message.retryDelay)
Duration.internalBinaryWrite(message.retryDelay, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
if (message.retry_delay)
Duration.internalBinaryWrite(message.retry_delay, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -374,13 +374,13 @@ export const RetryInfo = new RetryInfo$Type();
class DebugInfo$Type extends MessageType<DebugInfo> {
constructor() {
super("google.rpc.DebugInfo", [
{ no: 1, name: "stack_entries", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 1, name: "stack_entries", kind: "scalar", localName: "stack_entries", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "detail", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<DebugInfo>): DebugInfo {
const message = globalThis.Object.create((this.messagePrototype!));
message.stackEntries = [];
message.stack_entries = [];
message.detail = "";
if (value !== undefined)
reflectionMergePartial<DebugInfo>(this, message, value);
@@ -392,7 +392,7 @@ class DebugInfo$Type extends MessageType<DebugInfo> {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated string stack_entries */ 1:
message.stackEntries.push(reader.string());
message.stack_entries.push(reader.string());
break;
case /* string detail */ 2:
message.detail = reader.string();
@@ -410,8 +410,8 @@ class DebugInfo$Type extends MessageType<DebugInfo> {
}
internalBinaryWrite(message: DebugInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated string stack_entries = 1; */
for (let i = 0; i < message.stackEntries.length; i++)
writer.tag(1, WireType.LengthDelimited).string(message.stackEntries[i]);
for (let i = 0; i < message.stack_entries.length; i++)
writer.tag(1, WireType.LengthDelimited).string(message.stack_entries[i]);
/* string detail = 2; */
if (message.detail !== "")
writer.tag(2, WireType.LengthDelimited).string(message.detail);
@@ -641,12 +641,12 @@ export const PreconditionFailure_Violation = new PreconditionFailure_Violation$T
class BadRequest$Type extends MessageType<BadRequest> {
constructor() {
super("google.rpc.BadRequest", [
{ no: 1, name: "field_violations", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => BadRequest_FieldViolation }
{ no: 1, name: "field_violations", kind: "message", localName: "field_violations", repeat: 1 /*RepeatType.PACKED*/, T: () => BadRequest_FieldViolation }
]);
}
create(value?: PartialMessage<BadRequest>): BadRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.fieldViolations = [];
message.field_violations = [];
if (value !== undefined)
reflectionMergePartial<BadRequest>(this, message, value);
return message;
@@ -657,7 +657,7 @@ class BadRequest$Type extends MessageType<BadRequest> {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated google.rpc.BadRequest.FieldViolation field_violations */ 1:
message.fieldViolations.push(BadRequest_FieldViolation.internalBinaryRead(reader, reader.uint32(), options));
message.field_violations.push(BadRequest_FieldViolation.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
@@ -672,8 +672,8 @@ class BadRequest$Type extends MessageType<BadRequest> {
}
internalBinaryWrite(message: BadRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated google.rpc.BadRequest.FieldViolation field_violations = 1; */
for (let i = 0; i < message.fieldViolations.length; i++)
BadRequest_FieldViolation.internalBinaryWrite(message.fieldViolations[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
for (let i = 0; i < message.field_violations.length; i++)
BadRequest_FieldViolation.internalBinaryWrite(message.field_violations[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -743,14 +743,14 @@ export const BadRequest_FieldViolation = new BadRequest_FieldViolation$Type();
class RequestInfo$Type extends MessageType<RequestInfo> {
constructor() {
super("google.rpc.RequestInfo", [
{ no: 1, name: "request_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "serving_data", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
{ no: 1, name: "request_id", kind: "scalar", localName: "request_id", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "serving_data", kind: "scalar", localName: "serving_data", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<RequestInfo>): RequestInfo {
const message = globalThis.Object.create((this.messagePrototype!));
message.requestId = "";
message.servingData = "";
message.request_id = "";
message.serving_data = "";
if (value !== undefined)
reflectionMergePartial<RequestInfo>(this, message, value);
return message;
@@ -761,10 +761,10 @@ class RequestInfo$Type extends MessageType<RequestInfo> {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string request_id */ 1:
message.requestId = reader.string();
message.request_id = reader.string();
break;
case /* string serving_data */ 2:
message.servingData = reader.string();
message.serving_data = reader.string();
break;
default:
let u = options.readUnknownField;
@@ -779,11 +779,11 @@ class RequestInfo$Type extends MessageType<RequestInfo> {
}
internalBinaryWrite(message: RequestInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string request_id = 1; */
if (message.requestId !== "")
writer.tag(1, WireType.LengthDelimited).string(message.requestId);
if (message.request_id !== "")
writer.tag(1, WireType.LengthDelimited).string(message.request_id);
/* string serving_data = 2; */
if (message.servingData !== "")
writer.tag(2, WireType.LengthDelimited).string(message.servingData);
if (message.serving_data !== "")
writer.tag(2, WireType.LengthDelimited).string(message.serving_data);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -798,16 +798,16 @@ export const RequestInfo = new RequestInfo$Type();
class ResourceInfo$Type extends MessageType<ResourceInfo> {
constructor() {
super("google.rpc.ResourceInfo", [
{ no: 1, name: "resource_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "resource_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 1, name: "resource_type", kind: "scalar", localName: "resource_type", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "resource_name", kind: "scalar", localName: "resource_name", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "owner", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<ResourceInfo>): ResourceInfo {
const message = globalThis.Object.create((this.messagePrototype!));
message.resourceType = "";
message.resourceName = "";
message.resource_type = "";
message.resource_name = "";
message.owner = "";
message.description = "";
if (value !== undefined)
@@ -820,10 +820,10 @@ class ResourceInfo$Type extends MessageType<ResourceInfo> {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string resource_type */ 1:
message.resourceType = reader.string();
message.resource_type = reader.string();
break;
case /* string resource_name */ 2:
message.resourceName = reader.string();
message.resource_name = reader.string();
break;
case /* string owner */ 3:
message.owner = reader.string();
@@ -844,11 +844,11 @@ class ResourceInfo$Type extends MessageType<ResourceInfo> {
}
internalBinaryWrite(message: ResourceInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string resource_type = 1; */
if (message.resourceType !== "")
writer.tag(1, WireType.LengthDelimited).string(message.resourceType);
if (message.resource_type !== "")
writer.tag(1, WireType.LengthDelimited).string(message.resource_type);
/* string resource_name = 2; */
if (message.resourceName !== "")
writer.tag(2, WireType.LengthDelimited).string(message.resourceName);
if (message.resource_name !== "")
writer.tag(2, WireType.LengthDelimited).string(message.resource_name);
/* string owner = 3; */
if (message.owner !== "")
writer.tag(3, WireType.LengthDelimited).string(message.owner);

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.9.6
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
// @generated from protobuf file "google/rpc/status.proto" (package "google.rpc", syntax proto3)
// tslint:disable
//