You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "google/api/http.proto" (package "google.api", syntax proto3)
|
||||
// tslint:disable
|
||||
//
|
||||
@@ -447,7 +447,7 @@ export interface CustomHttpPattern {
|
||||
class Http$Type extends MessageType<Http> {
|
||||
constructor() {
|
||||
super("google.api.Http", [
|
||||
{ no: 1, name: "rules", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => HttpRule },
|
||||
{ no: 1, name: "rules", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => HttpRule },
|
||||
{ no: 2, name: "fully_decode_reserved_expansion", kind: "scalar", localName: "fully_decode_reserved_expansion", T: 8 /*ScalarType.BOOL*/ }
|
||||
]);
|
||||
}
|
||||
@@ -511,7 +511,7 @@ class HttpRule$Type extends MessageType<HttpRule> {
|
||||
{ no: 8, name: "custom", kind: "message", oneof: "pattern", T: () => CustomHttpPattern },
|
||||
{ no: 7, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 12, name: "response_body", kind: "scalar", localName: "response_body", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 11, name: "additional_bindings", kind: "message", localName: "additional_bindings", repeat: 1 /*RepeatType.PACKED*/, T: () => HttpRule }
|
||||
{ no: 11, name: "additional_bindings", kind: "message", localName: "additional_bindings", repeat: 2 /*RepeatType.UNPACKED*/, T: () => HttpRule }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<HttpRule>): HttpRule {
|
||||
@@ -608,18 +608,18 @@ class HttpRule$Type extends MessageType<HttpRule> {
|
||||
/* string patch = 6; */
|
||||
if (message.pattern.oneofKind === "patch")
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.pattern.patch);
|
||||
/* google.api.CustomHttpPattern custom = 8; */
|
||||
if (message.pattern.oneofKind === "custom")
|
||||
CustomHttpPattern.internalBinaryWrite(message.pattern.custom, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string body = 7; */
|
||||
if (message.body !== "")
|
||||
writer.tag(7, WireType.LengthDelimited).string(message.body);
|
||||
/* string response_body = 12; */
|
||||
if (message.response_body !== "")
|
||||
writer.tag(12, WireType.LengthDelimited).string(message.response_body);
|
||||
/* google.api.CustomHttpPattern custom = 8; */
|
||||
if (message.pattern.oneofKind === "custom")
|
||||
CustomHttpPattern.internalBinaryWrite(message.pattern.custom, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated google.api.HttpRule additional_bindings = 11; */
|
||||
for (let i = 0; i < message.additional_bindings.length; i++)
|
||||
HttpRule.internalBinaryWrite(message.additional_bindings[i], writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string response_body = 12; */
|
||||
if (message.response_body !== "")
|
||||
writer.tag(12, WireType.LengthDelimited).string(message.response_body);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user