Documentation ¶
Index ¶
- Variables
- type ExternalSimple
- func (*ExternalSimple) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalSimple) GetFieldC() uint32
- func (x *ExternalSimple) GetFieldD() *ExternalSimple_ExternalNested
- func (*ExternalSimple) ProtoMessage()
- func (x *ExternalSimple) ProtoReflect() protoreflect.Message
- func (x *ExternalSimple) Reset()
- func (x *ExternalSimple) String() string
- type ExternalSimple_ExternalNested
- func (*ExternalSimple_ExternalNested) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalSimple_ExternalNested) GetFieldA() map[string]string
- func (*ExternalSimple_ExternalNested) ProtoMessage()
- func (x *ExternalSimple_ExternalNested) ProtoReflect() protoreflect.Message
- func (x *ExternalSimple_ExternalNested) Reset()
- func (x *ExternalSimple_ExternalNested) String() string
- type ImportedReference
- func (*ImportedReference) Descriptor() ([]byte, []int)deprecated
- func (x *ImportedReference) GetFieldA() uint32
- func (x *ImportedReference) GetFieldB() *ExternalSimple
- func (*ImportedReference) ProtoMessage()
- func (x *ImportedReference) ProtoReflect() protoreflect.Message
- func (x *ImportedReference) Reset()
- func (x *ImportedReference) String() string
- type ReferencedMap
- func (*ReferencedMap) Descriptor() ([]byte, []int)deprecated
- func (x *ReferencedMap) GetFieldA() string
- func (x *ReferencedMap) GetFieldB() *SimpleWithMap_Nested
- func (*ReferencedMap) ProtoMessage()
- func (x *ReferencedMap) ProtoReflect() protoreflect.Message
- func (x *ReferencedMap) Reset()
- func (x *ReferencedMap) String() string
- type Simple
- func (*Simple) Descriptor() ([]byte, []int)deprecated
- func (x *Simple) GetFieldA() uint32
- func (x *Simple) GetFieldB() string
- func (m *Simple) GetFieldC() isSimple_FieldC
- func (x *Simple) GetName() string
- func (x *Simple) GetNumber() uint32
- func (*Simple) ProtoMessage()
- func (x *Simple) ProtoReflect() protoreflect.Message
- func (x *Simple) Reset()
- func (x *Simple) String() string
- type SimpleWithMap
- func (*SimpleWithMap) Descriptor() ([]byte, []int)deprecated
- func (x *SimpleWithMap) GetFieldA() uint32
- func (x *SimpleWithMap) GetFieldB() string
- func (x *SimpleWithMap) GetFieldC() map[string]string
- func (x *SimpleWithMap) GetFieldD() *SimpleWithMap_Nested
- func (*SimpleWithMap) ProtoMessage()
- func (x *SimpleWithMap) ProtoReflect() protoreflect.Message
- func (x *SimpleWithMap) Reset()
- func (x *SimpleWithMap) String() string
- type SimpleWithMap_Nested
- func (*SimpleWithMap_Nested) Descriptor() ([]byte, []int)deprecated
- func (x *SimpleWithMap_Nested) GetNestedFieldD() map[string]string
- func (*SimpleWithMap_Nested) ProtoMessage()
- func (x *SimpleWithMap_Nested) ProtoReflect() protoreflect.Message
- func (x *SimpleWithMap_Nested) Reset()
- func (x *SimpleWithMap_Nested) String() string
- type Simple_Name
- type Simple_Number
Constants ¶
This section is empty.
Variables ¶
var File_v1_external_proto protoreflect.FileDescriptor
var File_v1_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ExternalSimple ¶
type ExternalSimple struct { FieldC uint32 `protobuf:"varint,1,opt,name=fieldC,proto3" json:"fieldC,omitempty"` FieldD *ExternalSimple_ExternalNested `protobuf:"bytes,2,opt,name=fieldD,proto3" json:"fieldD,omitempty"` // contains filtered or unexported fields }
func (*ExternalSimple) Descriptor
deprecated
func (*ExternalSimple) Descriptor() ([]byte, []int)
Deprecated: Use ExternalSimple.ProtoReflect.Descriptor instead.
func (*ExternalSimple) GetFieldC ¶
func (x *ExternalSimple) GetFieldC() uint32
func (*ExternalSimple) GetFieldD ¶
func (x *ExternalSimple) GetFieldD() *ExternalSimple_ExternalNested
func (*ExternalSimple) ProtoMessage ¶
func (*ExternalSimple) ProtoMessage()
func (*ExternalSimple) ProtoReflect ¶
func (x *ExternalSimple) ProtoReflect() protoreflect.Message
func (*ExternalSimple) Reset ¶
func (x *ExternalSimple) Reset()
func (*ExternalSimple) String ¶
func (x *ExternalSimple) String() string
type ExternalSimple_ExternalNested ¶
type ExternalSimple_ExternalNested struct { FieldA map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ExternalSimple_ExternalNested) Descriptor
deprecated
func (*ExternalSimple_ExternalNested) Descriptor() ([]byte, []int)
Deprecated: Use ExternalSimple_ExternalNested.ProtoReflect.Descriptor instead.
func (*ExternalSimple_ExternalNested) GetFieldA ¶
func (x *ExternalSimple_ExternalNested) GetFieldA() map[string]string
func (*ExternalSimple_ExternalNested) ProtoMessage ¶
func (*ExternalSimple_ExternalNested) ProtoMessage()
func (*ExternalSimple_ExternalNested) ProtoReflect ¶
func (x *ExternalSimple_ExternalNested) ProtoReflect() protoreflect.Message
func (*ExternalSimple_ExternalNested) Reset ¶
func (x *ExternalSimple_ExternalNested) Reset()
func (*ExternalSimple_ExternalNested) String ¶
func (x *ExternalSimple_ExternalNested) String() string
type ImportedReference ¶
type ImportedReference struct { FieldA uint32 `protobuf:"varint,1,opt,name=fieldA,proto3" json:"fieldA,omitempty"` FieldB *ExternalSimple `protobuf:"bytes,2,opt,name=fieldB,proto3" json:"fieldB,omitempty"` // contains filtered or unexported fields }
verify no MarshalJSON/UnmarshalJSON functions are created for imported map
func (*ImportedReference) Descriptor
deprecated
func (*ImportedReference) Descriptor() ([]byte, []int)
Deprecated: Use ImportedReference.ProtoReflect.Descriptor instead.
func (*ImportedReference) GetFieldA ¶
func (x *ImportedReference) GetFieldA() uint32
func (*ImportedReference) GetFieldB ¶
func (x *ImportedReference) GetFieldB() *ExternalSimple
func (*ImportedReference) ProtoMessage ¶
func (*ImportedReference) ProtoMessage()
func (*ImportedReference) ProtoReflect ¶
func (x *ImportedReference) ProtoReflect() protoreflect.Message
func (*ImportedReference) Reset ¶
func (x *ImportedReference) Reset()
func (*ImportedReference) String ¶
func (x *ImportedReference) String() string
type ReferencedMap ¶
type ReferencedMap struct { FieldA string `protobuf:"bytes,1,opt,name=fieldA,proto3" json:"fieldA,omitempty"` FieldB *SimpleWithMap_Nested `protobuf:"bytes,2,opt,name=fieldB,proto3" json:"fieldB,omitempty"` // contains filtered or unexported fields }
verify no MarshalJSON/UnmarshalJSON functions are created for referenced map
func (*ReferencedMap) Descriptor
deprecated
func (*ReferencedMap) Descriptor() ([]byte, []int)
Deprecated: Use ReferencedMap.ProtoReflect.Descriptor instead.
func (*ReferencedMap) GetFieldA ¶
func (x *ReferencedMap) GetFieldA() string
func (*ReferencedMap) GetFieldB ¶
func (x *ReferencedMap) GetFieldB() *SimpleWithMap_Nested
func (*ReferencedMap) ProtoMessage ¶
func (*ReferencedMap) ProtoMessage()
func (*ReferencedMap) ProtoReflect ¶
func (x *ReferencedMap) ProtoReflect() protoreflect.Message
func (*ReferencedMap) Reset ¶
func (x *ReferencedMap) Reset()
func (*ReferencedMap) String ¶
func (x *ReferencedMap) String() string
type Simple ¶
type Simple struct { FieldA uint32 `protobuf:"varint,1,opt,name=fieldA,proto3" json:"fieldA,omitempty"` FieldB string `protobuf:"bytes,2,opt,name=fieldB,proto3" json:"fieldB,omitempty"` // Types that are assignable to FieldC: // // *Simple_Name // *Simple_Number FieldC isSimple_FieldC `protobuf_oneof:"fieldC"` // contains filtered or unexported fields }
Simple case +cue-gen:Simple:versions:v1,v1alpha
func (*Simple) Descriptor
deprecated
func (*Simple) ProtoMessage ¶
func (*Simple) ProtoMessage()
func (*Simple) ProtoReflect ¶
func (x *Simple) ProtoReflect() protoreflect.Message
type SimpleWithMap ¶
type SimpleWithMap struct { FieldA uint32 `protobuf:"varint,1,opt,name=fieldA,proto3" json:"fieldA,omitempty"` FieldB string `protobuf:"bytes,2,opt,name=fieldB,proto3" json:"fieldB,omitempty"` FieldC map[string]string `` /* 153-byte string literal not displayed */ FieldD *SimpleWithMap_Nested `protobuf:"bytes,4,opt,name=fieldD,proto3" json:"fieldD,omitempty"` // contains filtered or unexported fields }
Simple case with map and map field should not have MarshalJSON/UnmarshalJSON
func (*SimpleWithMap) Descriptor
deprecated
func (*SimpleWithMap) Descriptor() ([]byte, []int)
Deprecated: Use SimpleWithMap.ProtoReflect.Descriptor instead.
func (*SimpleWithMap) GetFieldA ¶
func (x *SimpleWithMap) GetFieldA() uint32
func (*SimpleWithMap) GetFieldB ¶
func (x *SimpleWithMap) GetFieldB() string
func (*SimpleWithMap) GetFieldC ¶
func (x *SimpleWithMap) GetFieldC() map[string]string
func (*SimpleWithMap) GetFieldD ¶
func (x *SimpleWithMap) GetFieldD() *SimpleWithMap_Nested
func (*SimpleWithMap) ProtoMessage ¶
func (*SimpleWithMap) ProtoMessage()
func (*SimpleWithMap) ProtoReflect ¶
func (x *SimpleWithMap) ProtoReflect() protoreflect.Message
func (*SimpleWithMap) Reset ¶
func (x *SimpleWithMap) Reset()
func (*SimpleWithMap) String ¶
func (x *SimpleWithMap) String() string
type SimpleWithMap_Nested ¶
type SimpleWithMap_Nested struct { NestedFieldD map[string]string `` /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SimpleWithMap_Nested) Descriptor
deprecated
func (*SimpleWithMap_Nested) Descriptor() ([]byte, []int)
Deprecated: Use SimpleWithMap_Nested.ProtoReflect.Descriptor instead.
func (*SimpleWithMap_Nested) GetNestedFieldD ¶
func (x *SimpleWithMap_Nested) GetNestedFieldD() map[string]string
func (*SimpleWithMap_Nested) ProtoMessage ¶
func (*SimpleWithMap_Nested) ProtoMessage()
func (*SimpleWithMap_Nested) ProtoReflect ¶
func (x *SimpleWithMap_Nested) ProtoReflect() protoreflect.Message
func (*SimpleWithMap_Nested) Reset ¶
func (x *SimpleWithMap_Nested) Reset()
func (*SimpleWithMap_Nested) String ¶
func (x *SimpleWithMap_Nested) String() string
type Simple_Name ¶
type Simple_Name struct {
Name string `protobuf:"bytes,3,opt,name=name,proto3,oneof"`
}
type Simple_Number ¶
type Simple_Number struct {
Number uint32 `protobuf:"varint,4,opt,name=number,proto3,oneof"`
}