v1

package
v0.0.0-...-f4f78ed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2025 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_v1_external_proto protoreflect.FileDescriptor
View Source
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 (*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 (*ExternalSimple_ExternalNested) Reset

func (x *ExternalSimple_ExternalNested) Reset()

func (*ExternalSimple_ExternalNested) 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) Descriptor() ([]byte, []int)

Deprecated: Use Simple.ProtoReflect.Descriptor instead.

func (*Simple) GetFieldA

func (x *Simple) GetFieldA() uint32

func (*Simple) GetFieldB

func (x *Simple) GetFieldB() string

func (*Simple) GetFieldC

func (m *Simple) GetFieldC() isSimple_FieldC

func (*Simple) GetName

func (x *Simple) GetName() string

func (*Simple) GetNumber

func (x *Simple) GetNumber() uint32

func (*Simple) ProtoMessage

func (*Simple) ProtoMessage()

func (*Simple) ProtoReflect

func (x *Simple) ProtoReflect() protoreflect.Message

func (*Simple) Reset

func (x *Simple) Reset()

func (*Simple) String

func (x *Simple) String() string

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL