mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-04-25 09:02:46 +00:00
cmd/protoc-gen-go: used named types for special fields
Using a named fields gives us the flexibility to change the underlying representation of special fields without needing to regenerate user code. We add a named type for ExtensionFields, UnknownFields, and SizeCache. Change-Id: I107cf82899850ea76665310ce79def60f0f7ab97 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/172402 Reviewed-by: Damien Neil <dneil@google.com>
This commit is contained in:
parent
50c16719d7
commit
5e71dc95f2
@ -15,8 +15,8 @@ const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
|
|||||||
|
|
||||||
type Request struct {
|
type Request struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Request) Reset() {
|
func (x *Request) Reset() {
|
||||||
@ -44,8 +44,8 @@ func (*Request) Descriptor() ([]byte, []int) {
|
|||||||
|
|
||||||
type Response struct {
|
type Response struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Response) Reset() {
|
func (x *Response) Reset() {
|
||||||
|
@ -371,10 +371,10 @@ func genMessage(gen *protogen.Plugin, g *protogen.GeneratedFile, f *fileInfo, me
|
|||||||
tags = append(tags, `protobuf_messageset:"1"`)
|
tags = append(tags, `protobuf_messageset:"1"`)
|
||||||
}
|
}
|
||||||
tags = append(tags, `json:"-"`)
|
tags = append(tags, `json:"-"`)
|
||||||
g.P("XXX_InternalExtensions ", protoimplPackage.Ident("ExtensionFieldsV1"), " `", strings.Join(tags, " "), "`")
|
g.P("XXX_InternalExtensions ", protoimplPackage.Ident("ExtensionFields"), " `", strings.Join(tags, " "), "`")
|
||||||
}
|
}
|
||||||
g.P("XXX_unrecognized []byte `json:\"-\"`")
|
g.P("XXX_unrecognized ", protoimplPackage.Ident("UnknownFields"), " `json:\"-\"`")
|
||||||
g.P("XXX_sizecache int32 `json:\"-\"`")
|
g.P("XXX_sizecache ", protoimplPackage.Ident("SizeCache"), " `json:\"-\"`")
|
||||||
g.P("}")
|
g.P("}")
|
||||||
g.P()
|
g.P()
|
||||||
|
|
||||||
|
@ -65,8 +65,8 @@ func (AnnotationsTestEnum) EnumDescriptor() ([]byte, []int) {
|
|||||||
type AnnotationsTestMessage struct {
|
type AnnotationsTestMessage struct {
|
||||||
AnnotationsTestField *string `protobuf:"bytes,1,opt,name=AnnotationsTestField" json:"AnnotationsTestField,omitempty"`
|
AnnotationsTestField *string `protobuf:"bytes,1,opt,name=AnnotationsTestField" json:"AnnotationsTestField,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AnnotationsTestMessage) Reset() {
|
func (x *AnnotationsTestMessage) Reset() {
|
||||||
|
@ -1 +1 @@
|
|||||||
annotation:{path:5 path:0 source_file:"annotations/annotations.proto" begin:461 end:480} annotation:{path:5 path:0 path:2 path:0 source_file:"annotations/annotations.proto" begin:497 end:544} annotation:{path:4 path:0 source_file:"annotations/annotations.proto" begin:1732 end:1754} annotation:{path:4 path:0 path:2 path:0 source_file:"annotations/annotations.proto" begin:1765 end:1785} annotation:{path:4 path:0 path:2 path:0 source_file:"annotations/annotations.proto" begin:2746 end:2769}
|
annotation:{path:5 path:0 source_file:"annotations/annotations.proto" begin:461 end:480} annotation:{path:5 path:0 path:2 path:0 source_file:"annotations/annotations.proto" begin:497 end:544} annotation:{path:4 path:0 source_file:"annotations/annotations.proto" begin:1732 end:1754} annotation:{path:4 path:0 path:2 path:0 source_file:"annotations/annotations.proto" begin:1765 end:1785} annotation:{path:4 path:0 path:2 path:0 source_file:"annotations/annotations.proto" begin:2806 end:2829}
|
@ -26,8 +26,8 @@ type Message1 struct {
|
|||||||
// *Message1_Oneof1AField1
|
// *Message1_Oneof1AField1
|
||||||
Oneof1A isMessage1_Oneof1A `protobuf_oneof:"Oneof1a"`
|
Oneof1A isMessage1_Oneof1A `protobuf_oneof:"Oneof1a"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Message1) Reset() {
|
func (x *Message1) Reset() {
|
||||||
@ -94,8 +94,8 @@ func (*Message1_Oneof1AField1) isMessage1_Oneof1A() {}
|
|||||||
// COMMENT: Message2
|
// COMMENT: Message2
|
||||||
type Message2 struct {
|
type Message2 struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Message2) Reset() {
|
func (x *Message2) Reset() {
|
||||||
@ -124,8 +124,8 @@ func (*Message2) Descriptor() ([]byte, []int) {
|
|||||||
// COMMENT: Message1A
|
// COMMENT: Message1A
|
||||||
type Message1_Message1A struct {
|
type Message1_Message1A struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Message1_Message1A) Reset() {
|
func (x *Message1_Message1A) Reset() {
|
||||||
@ -154,8 +154,8 @@ func (*Message1_Message1A) Descriptor() ([]byte, []int) {
|
|||||||
// COMMENT: Message1B
|
// COMMENT: Message1B
|
||||||
type Message1_Message1B struct {
|
type Message1_Message1B struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Message1_Message1B) Reset() {
|
func (x *Message1_Message1B) Reset() {
|
||||||
@ -184,8 +184,8 @@ func (*Message1_Message1B) Descriptor() ([]byte, []int) {
|
|||||||
// COMMENT: Message2A
|
// COMMENT: Message2A
|
||||||
type Message2_Message2A struct {
|
type Message2_Message2A struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Message2_Message2A) Reset() {
|
func (x *Message2_Message2A) Reset() {
|
||||||
@ -214,8 +214,8 @@ func (*Message2_Message2A) Descriptor() ([]byte, []int) {
|
|||||||
// COMMENT: Message2B
|
// COMMENT: Message2B
|
||||||
type Message2_Message2B struct {
|
type Message2_Message2B struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Message2_Message2B) Reset() {
|
func (x *Message2_Message2B) Reset() {
|
||||||
|
@ -49,8 +49,8 @@ func (DeprecatedEnum) EnumDescriptor() ([]byte, []int) {
|
|||||||
type DeprecatedMessage struct {
|
type DeprecatedMessage struct {
|
||||||
DeprecatedField string `protobuf:"bytes,1,opt,name=deprecated_field,json=deprecatedField,proto3" json:"deprecated_field,omitempty"` // Deprecated: Do not use.
|
DeprecatedField string `protobuf:"bytes,1,opt,name=deprecated_field,json=deprecatedField,proto3" json:"deprecated_field,omitempty"` // Deprecated: Do not use.
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeprecatedMessage) Reset() {
|
func (x *DeprecatedMessage) Reset() {
|
||||||
|
@ -16,9 +16,9 @@ const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
|
|||||||
type BaseMessage struct {
|
type BaseMessage struct {
|
||||||
Field *string `protobuf:"bytes,1,opt,name=field" json:"field,omitempty"`
|
Field *string `protobuf:"bytes,1,opt,name=field" json:"field,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `json:"-"`
|
XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *BaseMessage) Reset() {
|
func (x *BaseMessage) Reset() {
|
||||||
@ -63,9 +63,9 @@ func (x *BaseMessage) GetField() string {
|
|||||||
|
|
||||||
type MessageSetWireFormatMessage struct {
|
type MessageSetWireFormatMessage struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `protobuf_messageset:"1" json:"-"`
|
XXX_InternalExtensions protoimpl.ExtensionFields `protobuf_messageset:"1" json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MessageSetWireFormatMessage) Reset() {
|
func (x *MessageSetWireFormatMessage) Reset() {
|
||||||
|
@ -67,8 +67,8 @@ func (Enum) EnumDescriptor() ([]byte, []int) {
|
|||||||
type Message struct {
|
type Message struct {
|
||||||
Data []byte `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
|
Data []byte `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Message) Reset() {
|
func (x *Message) Reset() {
|
||||||
@ -104,8 +104,8 @@ func (x *Message) GetData() []byte {
|
|||||||
type ExtensionGroup struct {
|
type ExtensionGroup struct {
|
||||||
ExtensionGroup *string `protobuf:"bytes,120,opt,name=extension_group,json=extensionGroup" json:"extension_group,omitempty"`
|
ExtensionGroup *string `protobuf:"bytes,120,opt,name=extension_group,json=extensionGroup" json:"extension_group,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ExtensionGroup) Reset() {
|
func (x *ExtensionGroup) Reset() {
|
||||||
@ -141,8 +141,8 @@ func (x *ExtensionGroup) GetExtensionGroup() string {
|
|||||||
// Extend in the scope of another type.
|
// Extend in the scope of another type.
|
||||||
type ExtendingMessage struct {
|
type ExtendingMessage struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ExtendingMessage) Reset() {
|
func (x *ExtendingMessage) Reset() {
|
||||||
@ -171,8 +171,8 @@ func (*ExtendingMessage) Descriptor() ([]byte, []int) {
|
|||||||
type RepeatedGroup struct {
|
type RepeatedGroup struct {
|
||||||
RepeatedXGroup []string `protobuf:"bytes,319,rep,name=repeated_x_group,json=repeatedXGroup" json:"repeated_x_group,omitempty"`
|
RepeatedXGroup []string `protobuf:"bytes,319,rep,name=repeated_x_group,json=repeatedXGroup" json:"repeated_x_group,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RepeatedGroup) Reset() {
|
func (x *RepeatedGroup) Reset() {
|
||||||
@ -208,9 +208,9 @@ func (x *RepeatedGroup) GetRepeatedXGroup() []string {
|
|||||||
// An extension of an extension.
|
// An extension of an extension.
|
||||||
type Extendable struct {
|
type Extendable struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `json:"-"`
|
XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Extendable) Reset() {
|
func (x *Extendable) Reset() {
|
||||||
@ -248,8 +248,8 @@ func (*Extendable) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
|
|||||||
// Message set wire format.
|
// Message set wire format.
|
||||||
type MessageSetWireFormatExtension struct {
|
type MessageSetWireFormatExtension struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MessageSetWireFormatExtension) Reset() {
|
func (x *MessageSetWireFormatExtension) Reset() {
|
||||||
@ -277,8 +277,8 @@ func (*MessageSetWireFormatExtension) Descriptor() ([]byte, []int) {
|
|||||||
|
|
||||||
type Message_M struct {
|
type Message_M struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Message_M) Reset() {
|
func (x *Message_M) Reset() {
|
||||||
@ -306,8 +306,8 @@ func (*Message_M) Descriptor() ([]byte, []int) {
|
|||||||
|
|
||||||
type ExtendingMessage_ExtendingMessageSubmessage struct {
|
type ExtendingMessage_ExtendingMessageSubmessage struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ExtendingMessage_ExtendingMessageSubmessage) Reset() {
|
func (x *ExtendingMessage_ExtendingMessageSubmessage) Reset() {
|
||||||
|
@ -16,8 +16,8 @@ const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
|
|||||||
type ExtraMessage struct {
|
type ExtraMessage struct {
|
||||||
Data []byte `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
|
Data []byte `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ExtraMessage) Reset() {
|
func (x *ExtraMessage) Reset() {
|
||||||
|
@ -49,8 +49,8 @@ func (Enum) EnumDescriptor() ([]byte, []int) {
|
|||||||
|
|
||||||
type Message struct {
|
type Message struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Message) Reset() {
|
func (x *Message) Reset() {
|
||||||
|
@ -54,8 +54,8 @@ type Message struct {
|
|||||||
// *Message_OneofMessageConflict_
|
// *Message_OneofMessageConflict_
|
||||||
OneofConflictC isMessage_OneofConflictC `protobuf_oneof:"oneof_conflict_c"`
|
OneofConflictC isMessage_OneofConflictC `protobuf_oneof:"oneof_conflict_c"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Message) Reset() {
|
func (x *Message) Reset() {
|
||||||
@ -276,8 +276,8 @@ func (*Message_OneofMessageConflict_) isMessage_OneofConflictC() {}
|
|||||||
|
|
||||||
type Message_OneofMessageConflict struct {
|
type Message_OneofMessageConflict struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Message_OneofMessageConflict) Reset() {
|
func (x *Message_OneofMessageConflict) Reset() {
|
||||||
|
@ -62,8 +62,8 @@ type Public struct {
|
|||||||
E *sub.E `protobuf:"varint,2,opt,name=e,enum=goproto.protoc.import_public.sub.E" json:"e,omitempty"`
|
E *sub.E `protobuf:"varint,2,opt,name=e,enum=goproto.protoc.import_public.sub.E" json:"e,omitempty"`
|
||||||
Local *Local `protobuf:"bytes,3,opt,name=local" json:"local,omitempty"`
|
Local *Local `protobuf:"bytes,3,opt,name=local" json:"local,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Public) Reset() {
|
func (x *Public) Reset() {
|
||||||
|
@ -18,8 +18,8 @@ type Local struct {
|
|||||||
M *sub.M `protobuf:"bytes,1,opt,name=m" json:"m,omitempty"`
|
M *sub.M `protobuf:"bytes,1,opt,name=m" json:"m,omitempty"`
|
||||||
E *sub.E `protobuf:"varint,2,opt,name=e,enum=goproto.protoc.import_public.sub.E" json:"e,omitempty"`
|
E *sub.E `protobuf:"varint,2,opt,name=e,enum=goproto.protoc.import_public.sub.E" json:"e,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Local) Reset() {
|
func (x *Local) Reset() {
|
||||||
|
@ -177,9 +177,9 @@ type M struct {
|
|||||||
// *M_OneofInt64
|
// *M_OneofInt64
|
||||||
OneofField isM_OneofField `protobuf_oneof:"oneof_field"`
|
OneofField isM_OneofField `protobuf_oneof:"oneof_field"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `json:"-"`
|
XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *M) Reset() {
|
func (x *M) Reset() {
|
||||||
@ -298,8 +298,8 @@ type M_Submessage struct {
|
|||||||
// *M_Submessage_SubmessageOneofInt64
|
// *M_Submessage_SubmessageOneofInt64
|
||||||
SubmessageOneofField isM_Submessage_SubmessageOneofField `protobuf_oneof:"submessage_oneof_field"`
|
SubmessageOneofField isM_Submessage_SubmessageOneofField `protobuf_oneof:"submessage_oneof_field"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *M_Submessage) Reset() {
|
func (x *M_Submessage) Reset() {
|
||||||
|
@ -15,8 +15,8 @@ const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
|
|||||||
|
|
||||||
type M2 struct {
|
type M2 struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *M2) Reset() {
|
func (x *M2) Reset() {
|
||||||
|
@ -15,8 +15,8 @@ const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
|
|||||||
|
|
||||||
type Sub2Message struct {
|
type Sub2Message struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Sub2Message) Reset() {
|
func (x *Sub2Message) Reset() {
|
||||||
|
@ -15,8 +15,8 @@ const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
|
|||||||
|
|
||||||
type M struct {
|
type M struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *M) Reset() {
|
func (x *M) Reset() {
|
||||||
|
@ -48,8 +48,8 @@ func (E1) EnumDescriptor() ([]byte, []int) {
|
|||||||
|
|
||||||
type M1 struct {
|
type M1 struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *M1) Reset() {
|
func (x *M1) Reset() {
|
||||||
@ -78,8 +78,8 @@ func (*M1) Descriptor() ([]byte, []int) {
|
|||||||
type M1_1 struct {
|
type M1_1 struct {
|
||||||
M1 *M1 `protobuf:"bytes,1,opt,name=m1,proto3" json:"m1,omitempty"`
|
M1 *M1 `protobuf:"bytes,1,opt,name=m1,proto3" json:"m1,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *M1_1) Reset() {
|
func (x *M1_1) Reset() {
|
||||||
|
@ -15,8 +15,8 @@ const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
|
|||||||
|
|
||||||
type M2 struct {
|
type M2 struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *M2) Reset() {
|
func (x *M2) Reset() {
|
||||||
|
@ -15,8 +15,8 @@ const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
|
|||||||
|
|
||||||
type M3 struct {
|
type M3 struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *M3) Reset() {
|
func (x *M3) Reset() {
|
||||||
|
@ -15,8 +15,8 @@ const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
|
|||||||
|
|
||||||
type M4 struct {
|
type M4 struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *M4) Reset() {
|
func (x *M4) Reset() {
|
||||||
|
@ -15,8 +15,8 @@ const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
|
|||||||
|
|
||||||
type M1 struct {
|
type M1 struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *M1) Reset() {
|
func (x *M1) Reset() {
|
||||||
|
@ -15,8 +15,8 @@ const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
|
|||||||
|
|
||||||
type M2 struct {
|
type M2 struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *M2) Reset() {
|
func (x *M2) Reset() {
|
||||||
|
@ -17,8 +17,8 @@ const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
|
|||||||
type A1M1 struct {
|
type A1M1 struct {
|
||||||
F *test_a_1.M1 `protobuf:"bytes,1,opt,name=f,proto3" json:"f,omitempty"`
|
F *test_a_1.M1 `protobuf:"bytes,1,opt,name=f,proto3" json:"f,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *A1M1) Reset() {
|
func (x *A1M1) Reset() {
|
||||||
|
@ -17,8 +17,8 @@ const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
|
|||||||
type A1M2 struct {
|
type A1M2 struct {
|
||||||
F *test_a_1.M2 `protobuf:"bytes,1,opt,name=f,proto3" json:"f,omitempty"`
|
F *test_a_1.M2 `protobuf:"bytes,1,opt,name=f,proto3" json:"f,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *A1M2) Reset() {
|
func (x *A1M2) Reset() {
|
||||||
|
@ -24,8 +24,8 @@ type All struct {
|
|||||||
Bm2 *test_b_1.M2 `protobuf:"bytes,6,opt,name=bm2,proto3" json:"bm2,omitempty"`
|
Bm2 *test_b_1.M2 `protobuf:"bytes,6,opt,name=bm2,proto3" json:"bm2,omitempty"`
|
||||||
Fmt *fmt.M `protobuf:"bytes,7,opt,name=fmt,proto3" json:"fmt,omitempty"`
|
Fmt *fmt.M `protobuf:"bytes,7,opt,name=fmt,proto3" json:"fmt,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *All) Reset() {
|
func (x *All) Reset() {
|
||||||
|
@ -18,8 +18,8 @@ type Foo struct {
|
|||||||
// *Foo_GetBar
|
// *Foo_GetBar
|
||||||
Bar isFoo_Bar `protobuf_oneof:"bar"`
|
Bar isFoo_Bar `protobuf_oneof:"bar"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Foo) Reset() {
|
func (x *Foo) Reset() {
|
||||||
|
@ -66,8 +66,8 @@ type Message struct {
|
|||||||
StringField *string `protobuf:"bytes,1,opt,name=string_field,json=stringField" json:"string_field,omitempty"`
|
StringField *string `protobuf:"bytes,1,opt,name=string_field,json=stringField" json:"string_field,omitempty"`
|
||||||
EnumField *Enum `protobuf:"varint,2,opt,name=enum_field,json=enumField,enum=Enum,def=0" json:"enum_field,omitempty"`
|
EnumField *Enum `protobuf:"varint,2,opt,name=enum_field,json=enumField,enum=Enum,def=0" json:"enum_field,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Message) Reset() {
|
func (x *Message) Reset() {
|
||||||
|
8
cmd/protoc-gen-go/testdata/proto2/enum.pb.go
vendored
8
cmd/protoc-gen-go/testdata/proto2/enum.pb.go
vendored
@ -324,8 +324,8 @@ type EnumContainerMessage1 struct {
|
|||||||
DefaultDuplicate1 *EnumType2 `protobuf:"varint,1,opt,name=default_duplicate1,json=defaultDuplicate1,enum=goproto.protoc.proto2.EnumType2,def=1" json:"default_duplicate1,omitempty"`
|
DefaultDuplicate1 *EnumType2 `protobuf:"varint,1,opt,name=default_duplicate1,json=defaultDuplicate1,enum=goproto.protoc.proto2.EnumType2,def=1" json:"default_duplicate1,omitempty"`
|
||||||
DefaultDuplicate2 *EnumType2 `protobuf:"varint,2,opt,name=default_duplicate2,json=defaultDuplicate2,enum=goproto.protoc.proto2.EnumType2,def=1" json:"default_duplicate2,omitempty"`
|
DefaultDuplicate2 *EnumType2 `protobuf:"varint,2,opt,name=default_duplicate2,json=defaultDuplicate2,enum=goproto.protoc.proto2.EnumType2,def=1" json:"default_duplicate2,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EnumContainerMessage1) Reset() {
|
func (x *EnumContainerMessage1) Reset() {
|
||||||
@ -370,8 +370,8 @@ func (x *EnumContainerMessage1) GetDefaultDuplicate2() EnumType2 {
|
|||||||
|
|
||||||
type EnumContainerMessage1_EnumContainerMessage2 struct {
|
type EnumContainerMessage1_EnumContainerMessage2 struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EnumContainerMessage1_EnumContainerMessage2) Reset() {
|
func (x *EnumContainerMessage1_EnumContainerMessage2) Reset() {
|
||||||
|
24
cmd/protoc-gen-go/testdata/proto2/fields.pb.go
vendored
24
cmd/protoc-gen-go/testdata/proto2/fields.pb.go
vendored
@ -174,8 +174,8 @@ type FieldTestMessage struct {
|
|||||||
// *FieldTestMessage_OneofTwo_2
|
// *FieldTestMessage_OneofTwo_2
|
||||||
OneofTwo isFieldTestMessage_OneofTwo `protobuf_oneof:"oneof_two"`
|
OneofTwo isFieldTestMessage_OneofTwo `protobuf_oneof:"oneof_two"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FieldTestMessage) Reset() {
|
func (x *FieldTestMessage) Reset() {
|
||||||
@ -1121,8 +1121,8 @@ func (*FieldTestMessage_OneofTwo_2) isFieldTestMessage_OneofTwo() {}
|
|||||||
type FieldTestMessage_OptionalGroup struct {
|
type FieldTestMessage_OptionalGroup struct {
|
||||||
OptionalGroup *string `protobuf:"bytes,19,opt,name=optional_group,json=optionalGroup" json:"optional_group,omitempty"`
|
OptionalGroup *string `protobuf:"bytes,19,opt,name=optional_group,json=optionalGroup" json:"optional_group,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FieldTestMessage_OptionalGroup) Reset() {
|
func (x *FieldTestMessage_OptionalGroup) Reset() {
|
||||||
@ -1158,8 +1158,8 @@ func (x *FieldTestMessage_OptionalGroup) GetOptionalGroup() string {
|
|||||||
type FieldTestMessage_RequiredGroup struct {
|
type FieldTestMessage_RequiredGroup struct {
|
||||||
RequiredGroup *string `protobuf:"bytes,119,req,name=required_group,json=requiredGroup" json:"required_group,omitempty"`
|
RequiredGroup *string `protobuf:"bytes,119,req,name=required_group,json=requiredGroup" json:"required_group,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FieldTestMessage_RequiredGroup) Reset() {
|
func (x *FieldTestMessage_RequiredGroup) Reset() {
|
||||||
@ -1195,8 +1195,8 @@ func (x *FieldTestMessage_RequiredGroup) GetRequiredGroup() string {
|
|||||||
type FieldTestMessage_RepeatedGroup struct {
|
type FieldTestMessage_RepeatedGroup struct {
|
||||||
RepeatedGroup []string `protobuf:"bytes,219,rep,name=repeated_group,json=repeatedGroup" json:"repeated_group,omitempty"`
|
RepeatedGroup []string `protobuf:"bytes,219,rep,name=repeated_group,json=repeatedGroup" json:"repeated_group,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FieldTestMessage_RepeatedGroup) Reset() {
|
func (x *FieldTestMessage_RepeatedGroup) Reset() {
|
||||||
@ -1232,8 +1232,8 @@ func (x *FieldTestMessage_RepeatedGroup) GetRepeatedGroup() []string {
|
|||||||
type FieldTestMessage_OneofGroup struct {
|
type FieldTestMessage_OneofGroup struct {
|
||||||
OneofGroupField *string `protobuf:"bytes,619,opt,name=oneof_group_field,json=oneofGroupField" json:"oneof_group_field,omitempty"`
|
OneofGroupField *string `protobuf:"bytes,619,opt,name=oneof_group_field,json=oneofGroupField" json:"oneof_group_field,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FieldTestMessage_OneofGroup) Reset() {
|
func (x *FieldTestMessage_OneofGroup) Reset() {
|
||||||
@ -1268,8 +1268,8 @@ func (x *FieldTestMessage_OneofGroup) GetOneofGroupField() string {
|
|||||||
|
|
||||||
type FieldTestMessage_Message struct {
|
type FieldTestMessage_Message struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FieldTestMessage_Message) Reset() {
|
func (x *FieldTestMessage_Message) Reset() {
|
||||||
|
@ -17,8 +17,8 @@ type Layer1 struct {
|
|||||||
L2 *Layer1_Layer2 `protobuf:"bytes,1,opt,name=l2" json:"l2,omitempty"`
|
L2 *Layer1_Layer2 `protobuf:"bytes,1,opt,name=l2" json:"l2,omitempty"`
|
||||||
L3 *Layer1_Layer2_Layer3 `protobuf:"bytes,2,opt,name=l3" json:"l3,omitempty"`
|
L3 *Layer1_Layer2_Layer3 `protobuf:"bytes,2,opt,name=l3" json:"l3,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Layer1) Reset() {
|
func (x *Layer1) Reset() {
|
||||||
@ -61,8 +61,8 @@ func (x *Layer1) GetL3() *Layer1_Layer2_Layer3 {
|
|||||||
type Layer1_Layer2 struct {
|
type Layer1_Layer2 struct {
|
||||||
L3 *Layer1_Layer2_Layer3 `protobuf:"bytes,1,opt,name=l3" json:"l3,omitempty"`
|
L3 *Layer1_Layer2_Layer3 `protobuf:"bytes,1,opt,name=l3" json:"l3,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Layer1_Layer2) Reset() {
|
func (x *Layer1_Layer2) Reset() {
|
||||||
@ -97,8 +97,8 @@ func (x *Layer1_Layer2) GetL3() *Layer1_Layer2_Layer3 {
|
|||||||
|
|
||||||
type Layer1_Layer2_Layer3 struct {
|
type Layer1_Layer2_Layer3 struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Layer1_Layer2_Layer3) Reset() {
|
func (x *Layer1_Layer2_Layer3) Reset() {
|
||||||
|
@ -17,8 +17,8 @@ type Message struct {
|
|||||||
I32 *int32 `protobuf:"varint,1,opt,name=i32" json:"i32,omitempty"`
|
I32 *int32 `protobuf:"varint,1,opt,name=i32" json:"i32,omitempty"`
|
||||||
M *Message `protobuf:"bytes,2,opt,name=m" json:"m,omitempty"`
|
M *Message `protobuf:"bytes,2,opt,name=m" json:"m,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Message) Reset() {
|
func (x *Message) Reset() {
|
||||||
|
@ -85,8 +85,8 @@ type FieldTestMessage struct {
|
|||||||
MapStringMessage map[string]*FieldTestMessage_Message `protobuf:"bytes,501,rep,name=map_string_message,json=mapStringMessage,proto3" json:"map_string_message,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
MapStringMessage map[string]*FieldTestMessage_Message `protobuf:"bytes,501,rep,name=map_string_message,json=mapStringMessage,proto3" json:"map_string_message,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||||
MapFixed64Enum map[uint64]FieldTestMessage_Enum `protobuf:"bytes,502,rep,name=map_fixed64_enum,json=mapFixed64Enum,proto3" json:"map_fixed64_enum,omitempty" protobuf_key:"fixed64,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=goproto.protoc.proto3.FieldTestMessage_Enum"`
|
MapFixed64Enum map[uint64]FieldTestMessage_Enum `protobuf:"bytes,502,rep,name=map_fixed64_enum,json=mapFixed64Enum,proto3" json:"map_fixed64_enum,omitempty" protobuf_key:"fixed64,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=goproto.protoc.proto3.FieldTestMessage_Enum"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FieldTestMessage) Reset() {
|
func (x *FieldTestMessage) Reset() {
|
||||||
@ -373,8 +373,8 @@ func (x *FieldTestMessage) GetMapFixed64Enum() map[uint64]FieldTestMessage_Enum
|
|||||||
|
|
||||||
type FieldTestMessage_Message struct {
|
type FieldTestMessage_Message struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FieldTestMessage_Message) Reset() {
|
func (x *FieldTestMessage_Message) Reset() {
|
||||||
|
@ -142,8 +142,8 @@ type Scalars struct {
|
|||||||
OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
|
OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
|
||||||
OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
|
OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Scalars) Reset() {
|
func (x *Scalars) Reset() {
|
||||||
@ -281,8 +281,8 @@ type Enums struct {
|
|||||||
OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
|
OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
|
||||||
RptNestedEnum []Enums_NestedEnum `protobuf:"varint,4,rep,name=rpt_nested_enum,json=rptNestedEnum,enum=pb2.Enums_NestedEnum" json:"rpt_nested_enum,omitempty"`
|
RptNestedEnum []Enums_NestedEnum `protobuf:"varint,4,rep,name=rpt_nested_enum,json=rptNestedEnum,enum=pb2.Enums_NestedEnum" json:"rpt_nested_enum,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Enums) Reset() {
|
func (x *Enums) Reset() {
|
||||||
@ -348,8 +348,8 @@ type Repeats struct {
|
|||||||
RptString []string `protobuf:"bytes,8,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
|
RptString []string `protobuf:"bytes,8,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
|
||||||
RptBytes [][]byte `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
|
RptBytes [][]byte `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Repeats) Reset() {
|
func (x *Repeats) Reset() {
|
||||||
@ -443,8 +443,8 @@ type Nested struct {
|
|||||||
OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
|
OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
|
||||||
OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
|
OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Nested) Reset() {
|
func (x *Nested) Reset() {
|
||||||
@ -491,8 +491,8 @@ type Nests struct {
|
|||||||
RptNested []*Nested `protobuf:"bytes,4,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
|
RptNested []*Nested `protobuf:"bytes,4,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
|
||||||
Rptgroup []*Nests_RptGroup `protobuf:"group,5,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
|
Rptgroup []*Nests_RptGroup `protobuf:"group,5,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Nests) Reset() {
|
func (x *Nests) Reset() {
|
||||||
@ -555,8 +555,8 @@ type Requireds struct {
|
|||||||
ReqEnum *Enum `protobuf:"varint,5,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
|
ReqEnum *Enum `protobuf:"varint,5,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
|
||||||
ReqNested *Nested `protobuf:"bytes,6,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
|
ReqNested *Nested `protobuf:"bytes,6,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Requireds) Reset() {
|
func (x *Requireds) Reset() {
|
||||||
@ -629,8 +629,8 @@ type PartialRequired struct {
|
|||||||
ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
|
ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
|
||||||
OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
|
OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PartialRequired) Reset() {
|
func (x *PartialRequired) Reset() {
|
||||||
@ -673,8 +673,8 @@ func (x *PartialRequired) GetOptString() string {
|
|||||||
type NestedWithRequired struct {
|
type NestedWithRequired struct {
|
||||||
ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
|
ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *NestedWithRequired) Reset() {
|
func (x *NestedWithRequired) Reset() {
|
||||||
@ -715,8 +715,8 @@ type IndirectRequired struct {
|
|||||||
// *IndirectRequired_OneofNested
|
// *IndirectRequired_OneofNested
|
||||||
Union isIndirectRequired_Union `protobuf_oneof:"union"`
|
Union isIndirectRequired_Union `protobuf_oneof:"union"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *IndirectRequired) Reset() {
|
func (x *IndirectRequired) Reset() {
|
||||||
@ -799,9 +799,9 @@ type Extensions struct {
|
|||||||
OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
|
OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
|
||||||
OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
|
OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `json:"-"`
|
XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Extensions) Reset() {
|
func (x *Extensions) Reset() {
|
||||||
@ -859,8 +859,8 @@ func (x *Extensions) GetOptInt32() int32 {
|
|||||||
|
|
||||||
type ExtensionsContainer struct {
|
type ExtensionsContainer struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ExtensionsContainer) Reset() {
|
func (x *ExtensionsContainer) Reset() {
|
||||||
@ -888,9 +888,9 @@ func (*ExtensionsContainer) Descriptor() ([]byte, []int) {
|
|||||||
|
|
||||||
type MessageSet struct {
|
type MessageSet struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `protobuf_messageset:"1" json:"-"`
|
XXX_InternalExtensions protoimpl.ExtensionFields `protobuf_messageset:"1" json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MessageSet) Reset() {
|
func (x *MessageSet) Reset() {
|
||||||
@ -928,8 +928,8 @@ func (*MessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
|
|||||||
type MessageSetExtension struct {
|
type MessageSetExtension struct {
|
||||||
OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
|
OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MessageSetExtension) Reset() {
|
func (x *MessageSetExtension) Reset() {
|
||||||
@ -964,9 +964,9 @@ func (x *MessageSetExtension) GetOptString() string {
|
|||||||
|
|
||||||
type FakeMessageSet struct {
|
type FakeMessageSet struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `json:"-"`
|
XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FakeMessageSet) Reset() {
|
func (x *FakeMessageSet) Reset() {
|
||||||
@ -1004,8 +1004,8 @@ func (*FakeMessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
|
|||||||
type FakeMessageSetExtension struct {
|
type FakeMessageSetExtension struct {
|
||||||
OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
|
OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FakeMessageSetExtension) Reset() {
|
func (x *FakeMessageSetExtension) Reset() {
|
||||||
@ -1059,8 +1059,8 @@ type KnownTypes struct {
|
|||||||
OptAny *known.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
|
OptAny *known.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
|
||||||
OptFieldmask *known.FieldMask `protobuf:"bytes,40,opt,name=opt_fieldmask,json=optFieldmask" json:"opt_fieldmask,omitempty"`
|
OptFieldmask *known.FieldMask `protobuf:"bytes,40,opt,name=opt_fieldmask,json=optFieldmask" json:"opt_fieldmask,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *KnownTypes) Reset() {
|
func (x *KnownTypes) Reset() {
|
||||||
@ -1217,8 +1217,8 @@ type Nests_OptGroup struct {
|
|||||||
OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
|
OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
|
||||||
Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,3,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
|
Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,3,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Nests_OptGroup) Reset() {
|
func (x *Nests_OptGroup) Reset() {
|
||||||
@ -1268,8 +1268,8 @@ func (x *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup {
|
|||||||
type Nests_RptGroup struct {
|
type Nests_RptGroup struct {
|
||||||
RptString []string `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
|
RptString []string `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Nests_RptGroup) Reset() {
|
func (x *Nests_RptGroup) Reset() {
|
||||||
@ -1305,8 +1305,8 @@ func (x *Nests_RptGroup) GetRptString() []string {
|
|||||||
type Nests_OptGroup_OptNestedGroup struct {
|
type Nests_OptGroup_OptNestedGroup struct {
|
||||||
OptFixed32 *uint32 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
|
OptFixed32 *uint32 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Nests_OptGroup_OptNestedGroup) Reset() {
|
func (x *Nests_OptGroup_OptNestedGroup) Reset() {
|
||||||
|
@ -115,8 +115,8 @@ type Scalars struct {
|
|||||||
SBytes []byte `protobuf:"bytes,14,opt,name=s_bytes,json=sBytes,proto3" json:"s_bytes,omitempty"`
|
SBytes []byte `protobuf:"bytes,14,opt,name=s_bytes,json=sBytes,proto3" json:"s_bytes,omitempty"`
|
||||||
SString string `protobuf:"bytes,13,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
|
SString string `protobuf:"bytes,13,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Scalars) Reset() {
|
func (x *Scalars) Reset() {
|
||||||
@ -252,8 +252,8 @@ type Enums struct {
|
|||||||
SEnum Enum `protobuf:"varint,1,opt,name=s_enum,json=sEnum,proto3,enum=pb3.Enum" json:"s_enum,omitempty"`
|
SEnum Enum `protobuf:"varint,1,opt,name=s_enum,json=sEnum,proto3,enum=pb3.Enum" json:"s_enum,omitempty"`
|
||||||
SNestedEnum Enums_NestedEnum `protobuf:"varint,3,opt,name=s_nested_enum,json=sNestedEnum,proto3,enum=pb3.Enums_NestedEnum" json:"s_nested_enum,omitempty"`
|
SNestedEnum Enums_NestedEnum `protobuf:"varint,3,opt,name=s_nested_enum,json=sNestedEnum,proto3,enum=pb3.Enums_NestedEnum" json:"s_nested_enum,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Enums) Reset() {
|
func (x *Enums) Reset() {
|
||||||
@ -297,8 +297,8 @@ func (x *Enums) GetSNestedEnum() Enums_NestedEnum {
|
|||||||
type Nests struct {
|
type Nests struct {
|
||||||
SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
|
SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Nests) Reset() {
|
func (x *Nests) Reset() {
|
||||||
@ -336,8 +336,8 @@ type Nested struct {
|
|||||||
SString string `protobuf:"bytes,1,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
|
SString string `protobuf:"bytes,1,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
|
||||||
SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
|
SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Nested) Reset() {
|
func (x *Nested) Reset() {
|
||||||
@ -385,8 +385,8 @@ type Oneofs struct {
|
|||||||
// *Oneofs_OneofNested
|
// *Oneofs_OneofNested
|
||||||
Union isOneofs_Union `protobuf_oneof:"union"`
|
Union isOneofs_Union `protobuf_oneof:"union"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Oneofs) Reset() {
|
func (x *Oneofs) Reset() {
|
||||||
@ -479,8 +479,8 @@ type Maps struct {
|
|||||||
StrToNested map[string]*Nested `protobuf:"bytes,4,rep,name=str_to_nested,json=strToNested,proto3" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
StrToNested map[string]*Nested `protobuf:"bytes,4,rep,name=str_to_nested,json=strToNested,proto3" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||||
StrToOneofs map[string]*Oneofs `protobuf:"bytes,5,rep,name=str_to_oneofs,json=strToOneofs,proto3" json:"str_to_oneofs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
StrToOneofs map[string]*Oneofs `protobuf:"bytes,5,rep,name=str_to_oneofs,json=strToOneofs,proto3" json:"str_to_oneofs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Maps) Reset() {
|
func (x *Maps) Reset() {
|
||||||
@ -545,8 +545,8 @@ func (x *Maps) GetStrToOneofs() map[string]*Oneofs {
|
|||||||
type JSONNames struct {
|
type JSONNames struct {
|
||||||
SString string `protobuf:"bytes,1,opt,name=s_string,json=foo_bar,proto3" json:"s_string,omitempty"`
|
SString string `protobuf:"bytes,1,opt,name=s_string,json=foo_bar,proto3" json:"s_string,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *JSONNames) Reset() {
|
func (x *JSONNames) Reset() {
|
||||||
|
@ -120,8 +120,8 @@ func (TestCategory) EnumDescriptor() ([]byte, []int) {
|
|||||||
type FailureSet struct {
|
type FailureSet struct {
|
||||||
Failure []string `protobuf:"bytes,1,rep,name=failure,proto3" json:"failure,omitempty"`
|
Failure []string `protobuf:"bytes,1,rep,name=failure,proto3" json:"failure,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FailureSet) Reset() {
|
func (x *FailureSet) Reset() {
|
||||||
@ -188,8 +188,8 @@ type ConformanceRequest struct {
|
|||||||
// Specify details for how to encode jspb.
|
// Specify details for how to encode jspb.
|
||||||
JspbEncodingOptions *JspbEncodingConfig `protobuf:"bytes,6,opt,name=jspb_encoding_options,json=jspbEncodingOptions,proto3" json:"jspb_encoding_options,omitempty"`
|
JspbEncodingOptions *JspbEncodingConfig `protobuf:"bytes,6,opt,name=jspb_encoding_options,json=jspbEncodingOptions,proto3" json:"jspb_encoding_options,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ConformanceRequest) Reset() {
|
func (x *ConformanceRequest) Reset() {
|
||||||
@ -351,8 +351,8 @@ type ConformanceResponse struct {
|
|||||||
// *ConformanceResponse_TextPayload
|
// *ConformanceResponse_TextPayload
|
||||||
Result isConformanceResponse_Result `protobuf_oneof:"result"`
|
Result isConformanceResponse_Result `protobuf_oneof:"result"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ConformanceResponse) Reset() {
|
func (x *ConformanceResponse) Reset() {
|
||||||
@ -512,8 +512,8 @@ type JspbEncodingConfig struct {
|
|||||||
// Encode the value field of Any as jspb array if ture, otherwise binary.
|
// Encode the value field of Any as jspb array if ture, otherwise binary.
|
||||||
UseJspbArrayAnyFormat bool `protobuf:"varint,1,opt,name=use_jspb_array_any_format,json=useJspbArrayAnyFormat,proto3" json:"use_jspb_array_any_format,omitempty"`
|
UseJspbArrayAnyFormat bool `protobuf:"varint,1,opt,name=use_jspb_array_any_format,json=useJspbArrayAnyFormat,proto3" json:"use_jspb_array_any_format,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *JspbEncodingConfig) Reset() {
|
func (x *JspbEncodingConfig) Reset() {
|
||||||
|
@ -39,8 +39,8 @@ type Legacy struct {
|
|||||||
F11 *proto2_v1_21.Message `protobuf:"bytes,11,opt,name=f11,proto3" json:"f11,omitempty"`
|
F11 *proto2_v1_21.Message `protobuf:"bytes,11,opt,name=f11,proto3" json:"f11,omitempty"`
|
||||||
F12 *proto3_v1_21.Message `protobuf:"bytes,12,opt,name=f12,proto3" json:"f12,omitempty"`
|
F12 *proto3_v1_21.Message `protobuf:"bytes,12,opt,name=f12,proto3" json:"f12,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Legacy) Reset() {
|
func (x *Legacy) Reset() {
|
||||||
|
@ -315,8 +315,8 @@ type TestAllTypes struct {
|
|||||||
// *TestAllTypes_OneofEnum
|
// *TestAllTypes_OneofEnum
|
||||||
OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"`
|
OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TestAllTypes) Reset() {
|
func (x *TestAllTypes) Reset() {
|
||||||
@ -1058,8 +1058,8 @@ type TestDeprecatedMessage struct {
|
|||||||
// *TestDeprecatedMessage_DeprecatedOneofField
|
// *TestDeprecatedMessage_DeprecatedOneofField
|
||||||
DeprecatedOneof isTestDeprecatedMessage_DeprecatedOneof `protobuf_oneof:"deprecated_oneof"`
|
DeprecatedOneof isTestDeprecatedMessage_DeprecatedOneof `protobuf_oneof:"deprecated_oneof"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TestDeprecatedMessage) Reset() {
|
func (x *TestDeprecatedMessage) Reset() {
|
||||||
@ -1129,8 +1129,8 @@ type ForeignMessage struct {
|
|||||||
C *int32 `protobuf:"varint,1,opt,name=c" json:"c,omitempty"`
|
C *int32 `protobuf:"varint,1,opt,name=c" json:"c,omitempty"`
|
||||||
D *int32 `protobuf:"varint,2,opt,name=d" json:"d,omitempty"`
|
D *int32 `protobuf:"varint,2,opt,name=d" json:"d,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ForeignMessage) Reset() {
|
func (x *ForeignMessage) Reset() {
|
||||||
@ -1172,8 +1172,8 @@ func (x *ForeignMessage) GetD() int32 {
|
|||||||
|
|
||||||
type TestReservedFields struct {
|
type TestReservedFields struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TestReservedFields) Reset() {
|
func (x *TestReservedFields) Reset() {
|
||||||
@ -1201,9 +1201,9 @@ func (*TestReservedFields) Descriptor() ([]byte, []int) {
|
|||||||
|
|
||||||
type TestAllExtensions struct {
|
type TestAllExtensions struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `json:"-"`
|
XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TestAllExtensions) Reset() {
|
func (x *TestAllExtensions) Reset() {
|
||||||
@ -1241,8 +1241,8 @@ func (*TestAllExtensions) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
|
|||||||
type OptionalGroupExtension struct {
|
type OptionalGroupExtension struct {
|
||||||
A *int32 `protobuf:"varint,17,opt,name=a" json:"a,omitempty"`
|
A *int32 `protobuf:"varint,17,opt,name=a" json:"a,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *OptionalGroupExtension) Reset() {
|
func (x *OptionalGroupExtension) Reset() {
|
||||||
@ -1278,8 +1278,8 @@ func (x *OptionalGroupExtension) GetA() int32 {
|
|||||||
type RepeatedGroupExtension struct {
|
type RepeatedGroupExtension struct {
|
||||||
A *int32 `protobuf:"varint,47,opt,name=a" json:"a,omitempty"`
|
A *int32 `protobuf:"varint,47,opt,name=a" json:"a,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RepeatedGroupExtension) Reset() {
|
func (x *RepeatedGroupExtension) Reset() {
|
||||||
@ -1314,8 +1314,8 @@ func (x *RepeatedGroupExtension) GetA() int32 {
|
|||||||
|
|
||||||
type TestNestedExtension struct {
|
type TestNestedExtension struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TestNestedExtension) Reset() {
|
func (x *TestNestedExtension) Reset() {
|
||||||
@ -1344,8 +1344,8 @@ func (*TestNestedExtension) Descriptor() ([]byte, []int) {
|
|||||||
type TestRequired struct {
|
type TestRequired struct {
|
||||||
RequiredField *int32 `protobuf:"varint,1,req,name=required_field,json=requiredField" json:"required_field,omitempty"`
|
RequiredField *int32 `protobuf:"varint,1,req,name=required_field,json=requiredField" json:"required_field,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TestRequired) Reset() {
|
func (x *TestRequired) Reset() {
|
||||||
@ -1383,8 +1383,8 @@ type TestRequiredForeign struct {
|
|||||||
RepeatedMessage []*TestRequired `protobuf:"bytes,2,rep,name=repeated_message,json=repeatedMessage" json:"repeated_message,omitempty"`
|
RepeatedMessage []*TestRequired `protobuf:"bytes,2,rep,name=repeated_message,json=repeatedMessage" json:"repeated_message,omitempty"`
|
||||||
MapMessage map[int32]*TestRequired `protobuf:"bytes,3,rep,name=map_message,json=mapMessage" json:"map_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
MapMessage map[int32]*TestRequired `protobuf:"bytes,3,rep,name=map_message,json=mapMessage" json:"map_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TestRequiredForeign) Reset() {
|
func (x *TestRequiredForeign) Reset() {
|
||||||
@ -1435,8 +1435,8 @@ type TestRequiredGroupFields struct {
|
|||||||
Optionalgroup *TestRequiredGroupFields_OptionalGroup `protobuf:"group,1,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
|
Optionalgroup *TestRequiredGroupFields_OptionalGroup `protobuf:"group,1,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
|
||||||
Repeatedgroup []*TestRequiredGroupFields_RepeatedGroup `protobuf:"group,3,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
|
Repeatedgroup []*TestRequiredGroupFields_RepeatedGroup `protobuf:"group,3,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TestRequiredGroupFields) Reset() {
|
func (x *TestRequiredGroupFields) Reset() {
|
||||||
@ -1479,8 +1479,8 @@ func (x *TestRequiredGroupFields) GetRepeatedgroup() []*TestRequiredGroupFields_
|
|||||||
// Test that RPC services work.
|
// Test that RPC services work.
|
||||||
type FooRequest struct {
|
type FooRequest struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FooRequest) Reset() {
|
func (x *FooRequest) Reset() {
|
||||||
@ -1508,8 +1508,8 @@ func (*FooRequest) Descriptor() ([]byte, []int) {
|
|||||||
|
|
||||||
type FooResponse struct {
|
type FooResponse struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FooResponse) Reset() {
|
func (x *FooResponse) Reset() {
|
||||||
@ -1539,8 +1539,8 @@ type TestAllTypes_NestedMessage struct {
|
|||||||
A *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"`
|
A *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"`
|
||||||
Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive" json:"corecursive,omitempty"`
|
Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive" json:"corecursive,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TestAllTypes_NestedMessage) Reset() {
|
func (x *TestAllTypes_NestedMessage) Reset() {
|
||||||
@ -1583,8 +1583,8 @@ func (x *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes {
|
|||||||
type TestAllTypes_OptionalGroup struct {
|
type TestAllTypes_OptionalGroup struct {
|
||||||
A *int32 `protobuf:"varint,17,opt,name=a" json:"a,omitempty"`
|
A *int32 `protobuf:"varint,17,opt,name=a" json:"a,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TestAllTypes_OptionalGroup) Reset() {
|
func (x *TestAllTypes_OptionalGroup) Reset() {
|
||||||
@ -1620,8 +1620,8 @@ func (x *TestAllTypes_OptionalGroup) GetA() int32 {
|
|||||||
type TestAllTypes_RepeatedGroup struct {
|
type TestAllTypes_RepeatedGroup struct {
|
||||||
A *int32 `protobuf:"varint,47,opt,name=a" json:"a,omitempty"`
|
A *int32 `protobuf:"varint,47,opt,name=a" json:"a,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TestAllTypes_RepeatedGroup) Reset() {
|
func (x *TestAllTypes_RepeatedGroup) Reset() {
|
||||||
@ -1657,8 +1657,8 @@ func (x *TestAllTypes_RepeatedGroup) GetA() int32 {
|
|||||||
type TestRequiredGroupFields_OptionalGroup struct {
|
type TestRequiredGroupFields_OptionalGroup struct {
|
||||||
A *int32 `protobuf:"varint,2,req,name=a" json:"a,omitempty"`
|
A *int32 `protobuf:"varint,2,req,name=a" json:"a,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TestRequiredGroupFields_OptionalGroup) Reset() {
|
func (x *TestRequiredGroupFields_OptionalGroup) Reset() {
|
||||||
@ -1694,8 +1694,8 @@ func (x *TestRequiredGroupFields_OptionalGroup) GetA() int32 {
|
|||||||
type TestRequiredGroupFields_RepeatedGroup struct {
|
type TestRequiredGroupFields_RepeatedGroup struct {
|
||||||
A *int32 `protobuf:"varint,4,req,name=a" json:"a,omitempty"`
|
A *int32 `protobuf:"varint,4,req,name=a" json:"a,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TestRequiredGroupFields_RepeatedGroup) Reset() {
|
func (x *TestRequiredGroupFields_RepeatedGroup) Reset() {
|
||||||
|
@ -64,8 +64,8 @@ func (ImportEnum) EnumDescriptor() ([]byte, []int) {
|
|||||||
|
|
||||||
type ImportMessage struct {
|
type ImportMessage struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ImportMessage) Reset() {
|
func (x *ImportMessage) Reset() {
|
||||||
|
@ -15,8 +15,8 @@ const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
|
|||||||
|
|
||||||
type PublicImportMessage struct {
|
type PublicImportMessage struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PublicImportMessage) Reset() {
|
func (x *PublicImportMessage) Reset() {
|
||||||
|
@ -15,8 +15,8 @@ const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
|
|||||||
|
|
||||||
type WeakImportMessage struct {
|
type WeakImportMessage struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *WeakImportMessage) Reset() {
|
func (x *WeakImportMessage) Reset() {
|
||||||
|
@ -169,8 +169,8 @@ type TestAllTypes struct {
|
|||||||
// *TestAllTypes_OneofEnum
|
// *TestAllTypes_OneofEnum
|
||||||
OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"`
|
OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TestAllTypes) Reset() {
|
func (x *TestAllTypes) Reset() {
|
||||||
@ -756,8 +756,8 @@ type ForeignMessage struct {
|
|||||||
C int32 `protobuf:"varint,1,opt,name=c,proto3" json:"c,omitempty"`
|
C int32 `protobuf:"varint,1,opt,name=c,proto3" json:"c,omitempty"`
|
||||||
D int32 `protobuf:"varint,2,opt,name=d,proto3" json:"d,omitempty"`
|
D int32 `protobuf:"varint,2,opt,name=d,proto3" json:"d,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ForeignMessage) Reset() {
|
func (x *ForeignMessage) Reset() {
|
||||||
@ -801,8 +801,8 @@ type TestAllTypes_NestedMessage struct {
|
|||||||
A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
|
A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
|
||||||
Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive,proto3" json:"corecursive,omitempty"`
|
Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive,proto3" json:"corecursive,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TestAllTypes_NestedMessage) Reset() {
|
func (x *TestAllTypes_NestedMessage) Reset() {
|
||||||
|
@ -48,8 +48,8 @@ func (ImportEnum) EnumDescriptor() ([]byte, []int) {
|
|||||||
|
|
||||||
type ImportMessage struct {
|
type ImportMessage struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ImportMessage) Reset() {
|
func (x *ImportMessage) Reset() {
|
||||||
|
@ -162,9 +162,9 @@ func (Enum3) EnumDescriptor() ([]byte, []int) {
|
|||||||
|
|
||||||
type Message1 struct {
|
type Message1 struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `json:"-"`
|
XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Message1) Reset() {
|
func (x *Message1) Reset() {
|
||||||
@ -201,8 +201,8 @@ func (*Message1) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
|
|||||||
|
|
||||||
type Message2 struct {
|
type Message2 struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Message2) Reset() {
|
func (x *Message2) Reset() {
|
||||||
@ -230,8 +230,8 @@ func (*Message2) Descriptor() ([]byte, []int) {
|
|||||||
|
|
||||||
type Message3 struct {
|
type Message3 struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Message3) Reset() {
|
func (x *Message3) Reset() {
|
||||||
@ -260,8 +260,8 @@ func (*Message3) Descriptor() ([]byte, []int) {
|
|||||||
type Message4 struct {
|
type Message4 struct {
|
||||||
BoolField *bool `protobuf:"varint,30,opt,name=bool_field,json=boolField" json:"bool_field,omitempty"`
|
BoolField *bool `protobuf:"varint,30,opt,name=bool_field,json=boolField" json:"bool_field,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Message4) Reset() {
|
func (x *Message4) Reset() {
|
||||||
|
@ -41,6 +41,11 @@ type (
|
|||||||
MessageType = impl.MessageType
|
MessageType = impl.MessageType
|
||||||
FileBuilder = fileinit.FileBuilder
|
FileBuilder = fileinit.FileBuilder
|
||||||
|
|
||||||
|
// TODO: Change these to more efficient data structures.
|
||||||
|
ExtensionFields = map[int32]impl.ExtensionFieldV1
|
||||||
|
UnknownFields = []byte
|
||||||
|
SizeCache = int32
|
||||||
|
|
||||||
ExtensionFieldV1 = impl.ExtensionFieldV1
|
ExtensionFieldV1 = impl.ExtensionFieldV1
|
||||||
ExtensionFieldsV1 = impl.ExtensionFieldsV1
|
ExtensionFieldsV1 = impl.ExtensionFieldsV1
|
||||||
)
|
)
|
||||||
|
@ -414,8 +414,8 @@ func (MethodOptions_IdempotencyLevel) EnumDescriptor() ([]byte, []int) {
|
|||||||
type FileDescriptorSet struct {
|
type FileDescriptorSet struct {
|
||||||
File []*FileDescriptorProto `protobuf:"bytes,1,rep,name=file" json:"file,omitempty"`
|
File []*FileDescriptorProto `protobuf:"bytes,1,rep,name=file" json:"file,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FileDescriptorSet) Reset() {
|
func (x *FileDescriptorSet) Reset() {
|
||||||
@ -474,8 +474,8 @@ type FileDescriptorProto struct {
|
|||||||
// The supported values are "proto2" and "proto3".
|
// The supported values are "proto2" and "proto3".
|
||||||
Syntax *string `protobuf:"bytes,12,opt,name=syntax" json:"syntax,omitempty"`
|
Syntax *string `protobuf:"bytes,12,opt,name=syntax" json:"syntax,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FileDescriptorProto) Reset() {
|
func (x *FileDescriptorProto) Reset() {
|
||||||
@ -600,8 +600,8 @@ type DescriptorProto struct {
|
|||||||
// A given name may only be reserved once.
|
// A given name may only be reserved once.
|
||||||
ReservedName []string `protobuf:"bytes,10,rep,name=reserved_name,json=reservedName" json:"reserved_name,omitempty"`
|
ReservedName []string `protobuf:"bytes,10,rep,name=reserved_name,json=reservedName" json:"reserved_name,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DescriptorProto) Reset() {
|
func (x *DescriptorProto) Reset() {
|
||||||
@ -701,9 +701,9 @@ type ExtensionRangeOptions struct {
|
|||||||
// The parser stores options it doesn't recognize here. See above.
|
// The parser stores options it doesn't recognize here. See above.
|
||||||
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
|
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `json:"-"`
|
XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ExtensionRangeOptions) Reset() {
|
func (x *ExtensionRangeOptions) Reset() {
|
||||||
@ -778,8 +778,8 @@ type FieldDescriptorProto struct {
|
|||||||
JsonName *string `protobuf:"bytes,10,opt,name=json_name,json=jsonName" json:"json_name,omitempty"`
|
JsonName *string `protobuf:"bytes,10,opt,name=json_name,json=jsonName" json:"json_name,omitempty"`
|
||||||
Options *FieldOptions `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"`
|
Options *FieldOptions `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FieldDescriptorProto) Reset() {
|
func (x *FieldDescriptorProto) Reset() {
|
||||||
@ -880,8 +880,8 @@ type OneofDescriptorProto struct {
|
|||||||
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||||
Options *OneofOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"`
|
Options *OneofOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *OneofDescriptorProto) Reset() {
|
func (x *OneofDescriptorProto) Reset() {
|
||||||
@ -934,8 +934,8 @@ type EnumDescriptorProto struct {
|
|||||||
// be reserved once.
|
// be reserved once.
|
||||||
ReservedName []string `protobuf:"bytes,5,rep,name=reserved_name,json=reservedName" json:"reserved_name,omitempty"`
|
ReservedName []string `protobuf:"bytes,5,rep,name=reserved_name,json=reservedName" json:"reserved_name,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EnumDescriptorProto) Reset() {
|
func (x *EnumDescriptorProto) Reset() {
|
||||||
@ -1002,8 +1002,8 @@ type EnumValueDescriptorProto struct {
|
|||||||
Number *int32 `protobuf:"varint,2,opt,name=number" json:"number,omitempty"`
|
Number *int32 `protobuf:"varint,2,opt,name=number" json:"number,omitempty"`
|
||||||
Options *EnumValueOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
|
Options *EnumValueOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EnumValueDescriptorProto) Reset() {
|
func (x *EnumValueDescriptorProto) Reset() {
|
||||||
@ -1056,8 +1056,8 @@ type ServiceDescriptorProto struct {
|
|||||||
Method []*MethodDescriptorProto `protobuf:"bytes,2,rep,name=method" json:"method,omitempty"`
|
Method []*MethodDescriptorProto `protobuf:"bytes,2,rep,name=method" json:"method,omitempty"`
|
||||||
Options *ServiceOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
|
Options *ServiceOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ServiceDescriptorProto) Reset() {
|
func (x *ServiceDescriptorProto) Reset() {
|
||||||
@ -1117,8 +1117,8 @@ type MethodDescriptorProto struct {
|
|||||||
// Identifies if server streams multiple server messages
|
// Identifies if server streams multiple server messages
|
||||||
ServerStreaming *bool `protobuf:"varint,6,opt,name=server_streaming,json=serverStreaming,def=0" json:"server_streaming,omitempty"`
|
ServerStreaming *bool `protobuf:"varint,6,opt,name=server_streaming,json=serverStreaming,def=0" json:"server_streaming,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MethodDescriptorProto) Reset() {
|
func (x *MethodDescriptorProto) Reset() {
|
||||||
@ -1275,9 +1275,9 @@ type FileOptions struct {
|
|||||||
// See the documentation for the "Options" section above.
|
// See the documentation for the "Options" section above.
|
||||||
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
|
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `json:"-"`
|
XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FileOptions) Reset() {
|
func (x *FileOptions) Reset() {
|
||||||
@ -1524,9 +1524,9 @@ type MessageOptions struct {
|
|||||||
// The parser stores options it doesn't recognize here. See above.
|
// The parser stores options it doesn't recognize here. See above.
|
||||||
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
|
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `json:"-"`
|
XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MessageOptions) Reset() {
|
func (x *MessageOptions) Reset() {
|
||||||
@ -1663,9 +1663,9 @@ type FieldOptions struct {
|
|||||||
// The parser stores options it doesn't recognize here. See above.
|
// The parser stores options it doesn't recognize here. See above.
|
||||||
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
|
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `json:"-"`
|
XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FieldOptions) Reset() {
|
func (x *FieldOptions) Reset() {
|
||||||
@ -1759,9 +1759,9 @@ type OneofOptions struct {
|
|||||||
// The parser stores options it doesn't recognize here. See above.
|
// The parser stores options it doesn't recognize here. See above.
|
||||||
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
|
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `json:"-"`
|
XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *OneofOptions) Reset() {
|
func (x *OneofOptions) Reset() {
|
||||||
@ -1815,9 +1815,9 @@ type EnumOptions struct {
|
|||||||
// The parser stores options it doesn't recognize here. See above.
|
// The parser stores options it doesn't recognize here. See above.
|
||||||
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
|
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `json:"-"`
|
XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EnumOptions) Reset() {
|
func (x *EnumOptions) Reset() {
|
||||||
@ -1884,9 +1884,9 @@ type EnumValueOptions struct {
|
|||||||
// The parser stores options it doesn't recognize here. See above.
|
// The parser stores options it doesn't recognize here. See above.
|
||||||
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
|
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `json:"-"`
|
XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EnumValueOptions) Reset() {
|
func (x *EnumValueOptions) Reset() {
|
||||||
@ -1946,9 +1946,9 @@ type ServiceOptions struct {
|
|||||||
// The parser stores options it doesn't recognize here. See above.
|
// The parser stores options it doesn't recognize here. See above.
|
||||||
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
|
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `json:"-"`
|
XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ServiceOptions) Reset() {
|
func (x *ServiceOptions) Reset() {
|
||||||
@ -2009,9 +2009,9 @@ type MethodOptions struct {
|
|||||||
// The parser stores options it doesn't recognize here. See above.
|
// The parser stores options it doesn't recognize here. See above.
|
||||||
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
|
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `json:"-"`
|
XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MethodOptions) Reset() {
|
func (x *MethodOptions) Reset() {
|
||||||
@ -2087,8 +2087,8 @@ type UninterpretedOption struct {
|
|||||||
StringValue []byte `protobuf:"bytes,7,opt,name=string_value,json=stringValue" json:"string_value,omitempty"`
|
StringValue []byte `protobuf:"bytes,7,opt,name=string_value,json=stringValue" json:"string_value,omitempty"`
|
||||||
AggregateValue *string `protobuf:"bytes,8,opt,name=aggregate_value,json=aggregateValue" json:"aggregate_value,omitempty"`
|
AggregateValue *string `protobuf:"bytes,8,opt,name=aggregate_value,json=aggregateValue" json:"aggregate_value,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UninterpretedOption) Reset() {
|
func (x *UninterpretedOption) Reset() {
|
||||||
@ -2211,8 +2211,8 @@ type SourceCodeInfo struct {
|
|||||||
// be recorded in the future.
|
// be recorded in the future.
|
||||||
Location []*SourceCodeInfo_Location `protobuf:"bytes,1,rep,name=location" json:"location,omitempty"`
|
Location []*SourceCodeInfo_Location `protobuf:"bytes,1,rep,name=location" json:"location,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SourceCodeInfo) Reset() {
|
func (x *SourceCodeInfo) Reset() {
|
||||||
@ -2253,8 +2253,8 @@ type GeneratedCodeInfo struct {
|
|||||||
// of its generating .proto file.
|
// of its generating .proto file.
|
||||||
Annotation []*GeneratedCodeInfo_Annotation `protobuf:"bytes,1,rep,name=annotation" json:"annotation,omitempty"`
|
Annotation []*GeneratedCodeInfo_Annotation `protobuf:"bytes,1,rep,name=annotation" json:"annotation,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GeneratedCodeInfo) Reset() {
|
func (x *GeneratedCodeInfo) Reset() {
|
||||||
@ -2292,8 +2292,8 @@ type DescriptorProto_ExtensionRange struct {
|
|||||||
End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"`
|
End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"`
|
||||||
Options *ExtensionRangeOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
|
Options *ExtensionRangeOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DescriptorProto_ExtensionRange) Reset() {
|
func (x *DescriptorProto_ExtensionRange) Reset() {
|
||||||
@ -2347,8 +2347,8 @@ type DescriptorProto_ReservedRange struct {
|
|||||||
Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"`
|
Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"`
|
||||||
End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"`
|
End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DescriptorProto_ReservedRange) Reset() {
|
func (x *DescriptorProto_ReservedRange) Reset() {
|
||||||
@ -2398,8 +2398,8 @@ type EnumDescriptorProto_EnumReservedRange struct {
|
|||||||
Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"`
|
Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"`
|
||||||
End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"`
|
End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EnumDescriptorProto_EnumReservedRange) Reset() {
|
func (x *EnumDescriptorProto_EnumReservedRange) Reset() {
|
||||||
@ -2448,8 +2448,8 @@ type UninterpretedOption_NamePart struct {
|
|||||||
NamePart *string `protobuf:"bytes,1,req,name=name_part,json=namePart" json:"name_part,omitempty"`
|
NamePart *string `protobuf:"bytes,1,req,name=name_part,json=namePart" json:"name_part,omitempty"`
|
||||||
IsExtension *bool `protobuf:"varint,2,req,name=is_extension,json=isExtension" json:"is_extension,omitempty"`
|
IsExtension *bool `protobuf:"varint,2,req,name=is_extension,json=isExtension" json:"is_extension,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UninterpretedOption_NamePart) Reset() {
|
func (x *UninterpretedOption_NamePart) Reset() {
|
||||||
@ -2571,8 +2571,8 @@ type SourceCodeInfo_Location struct {
|
|||||||
TrailingComments *string `protobuf:"bytes,4,opt,name=trailing_comments,json=trailingComments" json:"trailing_comments,omitempty"`
|
TrailingComments *string `protobuf:"bytes,4,opt,name=trailing_comments,json=trailingComments" json:"trailing_comments,omitempty"`
|
||||||
LeadingDetachedComments []string `protobuf:"bytes,6,rep,name=leading_detached_comments,json=leadingDetachedComments" json:"leading_detached_comments,omitempty"`
|
LeadingDetachedComments []string `protobuf:"bytes,6,rep,name=leading_detached_comments,json=leadingDetachedComments" json:"leading_detached_comments,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SourceCodeInfo_Location) Reset() {
|
func (x *SourceCodeInfo_Location) Reset() {
|
||||||
@ -2647,8 +2647,8 @@ type GeneratedCodeInfo_Annotation struct {
|
|||||||
// the last relevant byte (so the length of the text = end - begin).
|
// the last relevant byte (so the length of the text = end - begin).
|
||||||
End *int32 `protobuf:"varint,4,opt,name=end" json:"end,omitempty"`
|
End *int32 `protobuf:"varint,4,opt,name=end" json:"end,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GeneratedCodeInfo_Annotation) Reset() {
|
func (x *GeneratedCodeInfo_Annotation) Reset() {
|
||||||
|
@ -126,8 +126,8 @@ type Any struct {
|
|||||||
// Must be a valid serialized protocol buffer of the above specified type.
|
// Must be a valid serialized protocol buffer of the above specified type.
|
||||||
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Any) Reset() {
|
func (x *Any) Reset() {
|
||||||
|
@ -60,8 +60,8 @@ type Api struct {
|
|||||||
// The source syntax of the service.
|
// The source syntax of the service.
|
||||||
Syntax Syntax `protobuf:"varint,7,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"`
|
Syntax Syntax `protobuf:"varint,7,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Api) Reset() {
|
func (x *Api) Reset() {
|
||||||
@ -153,8 +153,8 @@ type Method struct {
|
|||||||
// The source syntax of this method.
|
// The source syntax of this method.
|
||||||
Syntax Syntax `protobuf:"varint,7,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"`
|
Syntax Syntax `protobuf:"varint,7,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Method) Reset() {
|
func (x *Method) Reset() {
|
||||||
@ -314,8 +314,8 @@ type Mixin struct {
|
|||||||
// are rooted.
|
// are rooted.
|
||||||
Root string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
|
Root string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Mixin) Reset() {
|
func (x *Mixin) Reset() {
|
||||||
|
@ -86,8 +86,8 @@ type Duration struct {
|
|||||||
// to +999,999,999 inclusive.
|
// to +999,999,999 inclusive.
|
||||||
Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
|
Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Duration) Reset() {
|
func (x *Duration) Reset() {
|
||||||
|
@ -24,8 +24,8 @@ const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
|
|||||||
// The JSON representation for `Empty` is empty JSON object `{}`.
|
// The JSON representation for `Empty` is empty JSON object `{}`.
|
||||||
type Empty struct {
|
type Empty struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Empty) Reset() {
|
func (x *Empty) Reset() {
|
||||||
|
@ -216,8 +216,8 @@ type FieldMask struct {
|
|||||||
// The set of field mask paths.
|
// The set of field mask paths.
|
||||||
Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
|
Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FieldMask) Reset() {
|
func (x *FieldMask) Reset() {
|
||||||
|
@ -20,8 +20,8 @@ type SourceContext struct {
|
|||||||
// protobuf element. For example: `"google/protobuf/source_context.proto"`.
|
// protobuf element. For example: `"google/protobuf/source_context.proto"`.
|
||||||
FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
|
FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SourceContext) Reset() {
|
func (x *SourceContext) Reset() {
|
||||||
|
@ -65,8 +65,8 @@ type Struct struct {
|
|||||||
// Unordered map of dynamically typed values.
|
// Unordered map of dynamically typed values.
|
||||||
Fields map[string]*Value `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
Fields map[string]*Value `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Struct) Reset() {
|
func (x *Struct) Reset() {
|
||||||
@ -125,8 +125,8 @@ type Value struct {
|
|||||||
// *Value_ListValue
|
// *Value_ListValue
|
||||||
Kind isValue_Kind `protobuf_oneof:"kind"`
|
Kind isValue_Kind `protobuf_oneof:"kind"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Value) Reset() {
|
func (x *Value) Reset() {
|
||||||
@ -262,8 +262,8 @@ type ListValue struct {
|
|||||||
// Repeated field of dynamically typed values.
|
// Repeated field of dynamically typed values.
|
||||||
Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListValue) Reset() {
|
func (x *ListValue) Reset() {
|
||||||
|
@ -106,8 +106,8 @@ type Timestamp struct {
|
|||||||
// inclusive.
|
// inclusive.
|
||||||
Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
|
Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Timestamp) Reset() {
|
func (x *Timestamp) Reset() {
|
||||||
|
@ -221,8 +221,8 @@ type Type struct {
|
|||||||
// The source syntax.
|
// The source syntax.
|
||||||
Syntax Syntax `protobuf:"varint,6,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"`
|
Syntax Syntax `protobuf:"varint,6,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Type) Reset() {
|
func (x *Type) Reset() {
|
||||||
@ -315,8 +315,8 @@ type Field struct {
|
|||||||
// The string value of the default value of this field. Proto2 syntax only.
|
// The string value of the default value of this field. Proto2 syntax only.
|
||||||
DefaultValue string `protobuf:"bytes,11,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
|
DefaultValue string `protobuf:"bytes,11,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Field) Reset() {
|
func (x *Field) Reset() {
|
||||||
@ -425,8 +425,8 @@ type Enum struct {
|
|||||||
// The source syntax.
|
// The source syntax.
|
||||||
Syntax Syntax `protobuf:"varint,5,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"`
|
Syntax Syntax `protobuf:"varint,5,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Enum) Reset() {
|
func (x *Enum) Reset() {
|
||||||
@ -496,8 +496,8 @@ type EnumValue struct {
|
|||||||
// Protocol buffer options.
|
// Protocol buffer options.
|
||||||
Options []*Option `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"`
|
Options []*Option `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EnumValue) Reset() {
|
func (x *EnumValue) Reset() {
|
||||||
@ -558,8 +558,8 @@ type Option struct {
|
|||||||
// value using the google.protobuf.Int32Value type.
|
// value using the google.protobuf.Int32Value type.
|
||||||
Value *Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
Value *Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Option) Reset() {
|
func (x *Option) Reset() {
|
||||||
|
@ -20,8 +20,8 @@ type DoubleValue struct {
|
|||||||
// The double value.
|
// The double value.
|
||||||
Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
|
Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DoubleValue) Reset() {
|
func (x *DoubleValue) Reset() {
|
||||||
@ -63,8 +63,8 @@ type FloatValue struct {
|
|||||||
// The float value.
|
// The float value.
|
||||||
Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
|
Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FloatValue) Reset() {
|
func (x *FloatValue) Reset() {
|
||||||
@ -106,8 +106,8 @@ type Int64Value struct {
|
|||||||
// The int64 value.
|
// The int64 value.
|
||||||
Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
|
Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Int64Value) Reset() {
|
func (x *Int64Value) Reset() {
|
||||||
@ -149,8 +149,8 @@ type UInt64Value struct {
|
|||||||
// The uint64 value.
|
// The uint64 value.
|
||||||
Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
|
Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UInt64Value) Reset() {
|
func (x *UInt64Value) Reset() {
|
||||||
@ -192,8 +192,8 @@ type Int32Value struct {
|
|||||||
// The int32 value.
|
// The int32 value.
|
||||||
Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
|
Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Int32Value) Reset() {
|
func (x *Int32Value) Reset() {
|
||||||
@ -235,8 +235,8 @@ type UInt32Value struct {
|
|||||||
// The uint32 value.
|
// The uint32 value.
|
||||||
Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
|
Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UInt32Value) Reset() {
|
func (x *UInt32Value) Reset() {
|
||||||
@ -278,8 +278,8 @@ type BoolValue struct {
|
|||||||
// The bool value.
|
// The bool value.
|
||||||
Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
|
Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *BoolValue) Reset() {
|
func (x *BoolValue) Reset() {
|
||||||
@ -321,8 +321,8 @@ type StringValue struct {
|
|||||||
// The string value.
|
// The string value.
|
||||||
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
|
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *StringValue) Reset() {
|
func (x *StringValue) Reset() {
|
||||||
@ -364,8 +364,8 @@ type BytesValue struct {
|
|||||||
// The bytes value.
|
// The bytes value.
|
||||||
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
|
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *BytesValue) Reset() {
|
func (x *BytesValue) Reset() {
|
||||||
|
@ -23,8 +23,8 @@ type Version struct {
|
|||||||
// be empty for mainline stable releases.
|
// be empty for mainline stable releases.
|
||||||
Suffix *string `protobuf:"bytes,4,opt,name=suffix" json:"suffix,omitempty"`
|
Suffix *string `protobuf:"bytes,4,opt,name=suffix" json:"suffix,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Version) Reset() {
|
func (x *Version) Reset() {
|
||||||
@ -104,8 +104,8 @@ type CodeGeneratorRequest struct {
|
|||||||
// The version number of protocol compiler.
|
// The version number of protocol compiler.
|
||||||
CompilerVersion *Version `protobuf:"bytes,3,opt,name=compiler_version,json=compilerVersion" json:"compiler_version,omitempty"`
|
CompilerVersion *Version `protobuf:"bytes,3,opt,name=compiler_version,json=compilerVersion" json:"compiler_version,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CodeGeneratorRequest) Reset() {
|
func (x *CodeGeneratorRequest) Reset() {
|
||||||
@ -172,8 +172,8 @@ type CodeGeneratorResponse struct {
|
|||||||
Error *string `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
|
Error *string `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
|
||||||
File []*CodeGeneratorResponse_File `protobuf:"bytes,15,rep,name=file" json:"file,omitempty"`
|
File []*CodeGeneratorResponse_File `protobuf:"bytes,15,rep,name=file" json:"file,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CodeGeneratorResponse) Reset() {
|
func (x *CodeGeneratorResponse) Reset() {
|
||||||
@ -268,8 +268,8 @@ type CodeGeneratorResponse_File struct {
|
|||||||
// The file contents.
|
// The file contents.
|
||||||
Content *string `protobuf:"bytes,15,opt,name=content" json:"content,omitempty"`
|
Content *string `protobuf:"bytes,15,opt,name=content" json:"content,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized protoimpl.UnknownFields `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache protoimpl.SizeCache `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CodeGeneratorResponse_File) Reset() {
|
func (x *CodeGeneratorResponse_File) Reset() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user