Documentation ¶
Index ¶
- Variables
- type Example
- func (*Example) Descriptor() ([]byte, []int)deprecated
- func (x *Example) GetA() string
- func (x *Example) GetBJk() int32
- func (x *Example) GetID() string
- func (x *Example) GetMm() *SecondMessage
- func (x *Example) GetMm2() *SecondMessage
- func (m *Example) GetOneOf() isExample_OneOf
- func (x *Example) GetReplaceDefault() string
- func (x *Example) GetWithNewMultiple() string
- func (x *Example) GetWithNewTags() string
- func (*Example) ProtoMessage()
- func (x *Example) ProtoReflect() protoreflect.Message
- func (x *Example) Reset()
- func (x *Example) String() string
- type Example_A
- type Example_BJk
- type SecondMessage
- func (*SecondMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SecondMessage) GetReplaceDefault() string
- func (x *SecondMessage) GetWithNewMultiple() string
- func (x *SecondMessage) GetWithNewTags() string
- func (*SecondMessage) ProtoMessage()
- func (x *SecondMessage) ProtoReflect() protoreflect.Message
- func (x *SecondMessage) Reset()
- func (x *SecondMessage) String() string
- type ThirdExample
- type ThirdExample_InnerExample
- func (*ThirdExample_InnerExample) Descriptor() ([]byte, []int)deprecated
- func (x *ThirdExample_InnerExample) GetId() string
- func (x *ThirdExample_InnerExample) GetYes() int32
- func (*ThirdExample_InnerExample) ProtoMessage()
- func (x *ThirdExample_InnerExample) ProtoReflect() protoreflect.Message
- func (x *ThirdExample_InnerExample) Reset()
- func (x *ThirdExample_InnerExample) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_cmd_protoc_gen_retag_example_example_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Example ¶
type Example struct { WithNewTags string `protobuf:"bytes,1,opt,name=with_new_tags,json=withNewTags,proto3" json:"with_new_tags,omitempty"` WithNewMultiple string `protobuf:"bytes,2,opt,name=with_new_multiple,json=withNewMultiple,proto3" json:"with_new_multiple,omitempty"` ReplaceDefault string `protobuf:"bytes,3,opt,name=replace_default,json=replaceDefault,proto3" json:"replace_default,omitempty"` // Types that are assignable to OneOf: // // *Example_A // *Example_BJk OneOf isExample_OneOf `protobuf_oneof:"one_of"` ID *string `protobuf:"bytes,4,opt,name=ID,proto3,oneof" json:"ID,omitempty"` Mm *SecondMessage `protobuf:"bytes,7,opt,name=mm,proto3" json:"mm,omitempty"` Mm2 *SecondMessage `protobuf:"bytes,8,opt,name=mm2,proto3,oneof" json:"mm2,omitempty"` // contains filtered or unexported fields }
func (*Example) Descriptor
deprecated
func (*Example) GetMm ¶
func (x *Example) GetMm() *SecondMessage
func (*Example) GetMm2 ¶
func (x *Example) GetMm2() *SecondMessage
func (*Example) GetReplaceDefault ¶
func (*Example) GetWithNewMultiple ¶
func (*Example) GetWithNewTags ¶
func (*Example) ProtoMessage ¶
func (*Example) ProtoMessage()
func (*Example) ProtoReflect ¶
func (x *Example) ProtoReflect() protoreflect.Message
type Example_BJk ¶
type Example_BJk struct {
BJk int32 `protobuf:"varint,6,opt,name=b_jk,json=bJk,proto3,oneof"`
}
type SecondMessage ¶
type SecondMessage struct { WithNewTags string `protobuf:"bytes,1,opt,name=with_new_tags,json=withNewTags,proto3" json:"with_new_tags,omitempty"` WithNewMultiple string `protobuf:"bytes,2,opt,name=with_new_multiple,json=withNewMultiple,proto3" json:"with_new_multiple,omitempty"` ReplaceDefault string `protobuf:"bytes,3,opt,name=replace_default,json=replaceDefault,proto3" json:"replace_default,omitempty"` // contains filtered or unexported fields }
func (*SecondMessage) Descriptor
deprecated
func (*SecondMessage) Descriptor() ([]byte, []int)
Deprecated: Use SecondMessage.ProtoReflect.Descriptor instead.
func (*SecondMessage) GetReplaceDefault ¶
func (x *SecondMessage) GetReplaceDefault() string
func (*SecondMessage) GetWithNewMultiple ¶
func (x *SecondMessage) GetWithNewMultiple() string
func (*SecondMessage) GetWithNewTags ¶
func (x *SecondMessage) GetWithNewTags() string
func (*SecondMessage) ProtoMessage ¶
func (*SecondMessage) ProtoMessage()
func (*SecondMessage) ProtoReflect ¶
func (x *SecondMessage) ProtoReflect() protoreflect.Message
func (*SecondMessage) Reset ¶
func (x *SecondMessage) Reset()
func (*SecondMessage) String ¶
func (x *SecondMessage) String() string
type ThirdExample ¶
type ThirdExample struct { InnerExample *ThirdExample_InnerExample `protobuf:"bytes,1,opt,name=inner_example,json=innerExample,proto3" json:"inner_example,omitempty"` // contains filtered or unexported fields }
func (*ThirdExample) Descriptor
deprecated
func (*ThirdExample) Descriptor() ([]byte, []int)
Deprecated: Use ThirdExample.ProtoReflect.Descriptor instead.
func (*ThirdExample) GetInnerExample ¶
func (x *ThirdExample) GetInnerExample() *ThirdExample_InnerExample
func (*ThirdExample) ProtoMessage ¶
func (*ThirdExample) ProtoMessage()
func (*ThirdExample) ProtoReflect ¶
func (x *ThirdExample) ProtoReflect() protoreflect.Message
func (*ThirdExample) Reset ¶
func (x *ThirdExample) Reset()
func (*ThirdExample) String ¶
func (x *ThirdExample) String() string
type ThirdExample_InnerExample ¶
type ThirdExample_InnerExample struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Yes int32 `protobuf:"varint,2,opt,name=yes,proto3" json:"yes,omitempty"` // contains filtered or unexported fields }
func (*ThirdExample_InnerExample) Descriptor
deprecated
func (*ThirdExample_InnerExample) Descriptor() ([]byte, []int)
Deprecated: Use ThirdExample_InnerExample.ProtoReflect.Descriptor instead.
func (*ThirdExample_InnerExample) GetId ¶
func (x *ThirdExample_InnerExample) GetId() string
func (*ThirdExample_InnerExample) GetYes ¶
func (x *ThirdExample_InnerExample) GetYes() int32
func (*ThirdExample_InnerExample) ProtoMessage ¶
func (*ThirdExample_InnerExample) ProtoMessage()
func (*ThirdExample_InnerExample) ProtoReflect ¶
func (x *ThirdExample_InnerExample) ProtoReflect() protoreflect.Message
func (*ThirdExample_InnerExample) Reset ¶
func (x *ThirdExample_InnerExample) Reset()
func (*ThirdExample_InnerExample) String ¶
func (x *ThirdExample_InnerExample) String() string
Click to show internal directories.
Click to hide internal directories.