samples

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_samples_samples_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Cyclic

type Cyclic struct {
	One    *One    `protobuf:"bytes,1,opt,name=one,proto3" json:"one,omitempty"`
	Cylcic *Cyclic `protobuf:"bytes,2,opt,name=cylcic,proto3" json:"cylcic,omitempty"`
	// contains filtered or unexported fields
}

func (*Cyclic) Descriptor deprecated

func (*Cyclic) Descriptor() ([]byte, []int)

Deprecated: Use Cyclic.ProtoReflect.Descriptor instead.

func (*Cyclic) GetCylcic

func (x *Cyclic) GetCylcic() *Cyclic

func (*Cyclic) GetOne

func (x *Cyclic) GetOne() *One

func (*Cyclic) ProtoMessage

func (*Cyclic) ProtoMessage()

func (*Cyclic) ProtoReflect

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

func (*Cyclic) Reset

func (x *Cyclic) Reset()

func (*Cyclic) String

func (x *Cyclic) String() string

type Known

type Known struct {
	Ts          *timestamppb.Timestamp   `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Duration    *durationpb.Duration     `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
	TsRep       []*timestamppb.Timestamp `protobuf:"bytes,3,rep,name=ts_rep,json=tsRep,proto3" json:"ts_rep,omitempty"`
	DurationRep []*durationpb.Duration   `protobuf:"bytes,4,rep,name=duration_rep,json=durationRep,proto3" json:"duration_rep,omitempty"`
	// contains filtered or unexported fields
}

func (*Known) Descriptor deprecated

func (*Known) Descriptor() ([]byte, []int)

Deprecated: Use Known.ProtoReflect.Descriptor instead.

func (*Known) GetDuration

func (x *Known) GetDuration() *durationpb.Duration

func (*Known) GetDurationRep

func (x *Known) GetDurationRep() []*durationpb.Duration

func (*Known) GetTs

func (x *Known) GetTs() *timestamppb.Timestamp

func (*Known) GetTsRep

func (x *Known) GetTsRep() []*timestamppb.Timestamp

func (*Known) ProtoMessage

func (*Known) ProtoMessage()

func (*Known) ProtoReflect

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

func (*Known) Reset

func (x *Known) Reset()

func (*Known) String

func (x *Known) String() string

type Nested

type Nested struct {
	NestedScalar         *ScalarTypes   `protobuf:"bytes,1,opt,name=nested_scalar,json=nestedScalar,proto3" json:"nested_scalar,omitempty"`
	NestedRepeatedScalar []*ScalarTypes `protobuf:"bytes,2,rep,name=nested_repeated_scalar,json=nestedRepeatedScalar,proto3" json:"nested_repeated_scalar,omitempty"`
	Deep                 *One           `protobuf:"bytes,3,opt,name=deep,proto3" json:"deep,omitempty"`
	// contains filtered or unexported fields
}

func (*Nested) Descriptor deprecated

func (*Nested) Descriptor() ([]byte, []int)

Deprecated: Use Nested.ProtoReflect.Descriptor instead.

func (*Nested) GetDeep

func (x *Nested) GetDeep() *One

func (*Nested) GetNestedRepeatedScalar

func (x *Nested) GetNestedRepeatedScalar() []*ScalarTypes

func (*Nested) GetNestedScalar

func (x *Nested) GetNestedScalar() *ScalarTypes

func (*Nested) ProtoMessage

func (*Nested) ProtoMessage()

func (*Nested) ProtoReflect

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

func (*Nested) Reset

func (x *Nested) Reset()

func (*Nested) String

func (x *Nested) String() string

type One

type One struct {
	Two *Two `protobuf:"bytes,1,opt,name=two,proto3" json:"two,omitempty"`
	// contains filtered or unexported fields
}

func (*One) Descriptor deprecated

func (*One) Descriptor() ([]byte, []int)

Deprecated: Use One.ProtoReflect.Descriptor instead.

func (*One) GetTwo

func (x *One) GetTwo() *Two

func (*One) ProtoMessage

func (*One) ProtoMessage()

func (*One) ProtoReflect

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

func (*One) Reset

func (x *One) Reset()

func (*One) String

func (x *One) String() string

type OneOfScala

type OneOfScala struct {

	// Types that are assignable to Value:
	//
	//	*OneOfScala_Double
	//	*OneOfScala_Float
	//	*OneOfScala_Int32
	//	*OneOfScala_Int64
	//	*OneOfScala_Uint32
	//	*OneOfScala_Uint64
	//	*OneOfScala_Sint32
	//	*OneOfScala_Sint64
	//	*OneOfScala_Fixed32
	//	*OneOfScala_Fixed64
	//	*OneOfScala_Sfixed32
	//	*OneOfScala_Sfixed64
	//	*OneOfScala_Bool
	//	*OneOfScala_String_
	//	*OneOfScala_Bytes
	Value isOneOfScala_Value `protobuf_oneof:"value"`
	// Types that are assignable to Nested:
	//
	//	*OneOfScala_One
	Nested isOneOfScala_Nested `protobuf_oneof:"nested"`
	// contains filtered or unexported fields
}

func (*OneOfScala) Descriptor deprecated

func (*OneOfScala) Descriptor() ([]byte, []int)

Deprecated: Use OneOfScala.ProtoReflect.Descriptor instead.

func (*OneOfScala) GetBool

func (x *OneOfScala) GetBool() bool

func (*OneOfScala) GetBytes

func (x *OneOfScala) GetBytes() []byte

func (*OneOfScala) GetDouble

func (x *OneOfScala) GetDouble() float64

func (*OneOfScala) GetFixed32

func (x *OneOfScala) GetFixed32() uint32

func (*OneOfScala) GetFixed64

func (x *OneOfScala) GetFixed64() uint64

func (*OneOfScala) GetFloat

func (x *OneOfScala) GetFloat() float32

func (*OneOfScala) GetInt32

func (x *OneOfScala) GetInt32() int32

func (*OneOfScala) GetInt64

func (x *OneOfScala) GetInt64() int64

func (*OneOfScala) GetNested

func (m *OneOfScala) GetNested() isOneOfScala_Nested

func (*OneOfScala) GetOne

func (x *OneOfScala) GetOne() *One

func (*OneOfScala) GetSfixed32

func (x *OneOfScala) GetSfixed32() int32

func (*OneOfScala) GetSfixed64

func (x *OneOfScala) GetSfixed64() int64

func (*OneOfScala) GetSint32

func (x *OneOfScala) GetSint32() int32

func (*OneOfScala) GetSint64

func (x *OneOfScala) GetSint64() int64

func (*OneOfScala) GetString_

func (x *OneOfScala) GetString_() string

func (*OneOfScala) GetUint32

func (x *OneOfScala) GetUint32() uint32

func (*OneOfScala) GetUint64

func (x *OneOfScala) GetUint64() uint64

func (*OneOfScala) GetValue

func (m *OneOfScala) GetValue() isOneOfScala_Value

func (*OneOfScala) ProtoMessage

func (*OneOfScala) ProtoMessage()

func (*OneOfScala) ProtoReflect

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

func (*OneOfScala) Reset

func (x *OneOfScala) Reset()

func (*OneOfScala) String

func (x *OneOfScala) String() string

type OneOfScala_Bool

type OneOfScala_Bool struct {
	Bool bool `protobuf:"varint,13,opt,name=bool,proto3,oneof"`
}

type OneOfScala_Bytes

type OneOfScala_Bytes struct {
	Bytes []byte `protobuf:"bytes,15,opt,name=bytes,proto3,oneof"`
}

type OneOfScala_Double

type OneOfScala_Double struct {
	Double float64 `protobuf:"fixed64,1,opt,name=double,proto3,oneof"`
}

type OneOfScala_Fixed32

type OneOfScala_Fixed32 struct {
	Fixed32 uint32 `protobuf:"fixed32,9,opt,name=fixed32,proto3,oneof"`
}

type OneOfScala_Fixed64

type OneOfScala_Fixed64 struct {
	Fixed64 uint64 `protobuf:"fixed64,10,opt,name=fixed64,proto3,oneof"`
}

type OneOfScala_Float

type OneOfScala_Float struct {
	Float float32 `protobuf:"fixed32,2,opt,name=float,proto3,oneof"`
}

type OneOfScala_Int32

type OneOfScala_Int32 struct {
	Int32 int32 `protobuf:"varint,3,opt,name=int32,proto3,oneof"`
}

type OneOfScala_Int64

type OneOfScala_Int64 struct {
	Int64 int64 `protobuf:"varint,4,opt,name=int64,proto3,oneof"`
}

type OneOfScala_One

type OneOfScala_One struct {
	One *One `protobuf:"bytes,16,opt,name=one,proto3,oneof"`
}

type OneOfScala_Sfixed32

type OneOfScala_Sfixed32 struct {
	Sfixed32 int32 `protobuf:"fixed32,11,opt,name=sfixed32,proto3,oneof"`
}

type OneOfScala_Sfixed64

type OneOfScala_Sfixed64 struct {
	Sfixed64 int64 `protobuf:"fixed64,12,opt,name=sfixed64,proto3,oneof"`
}

type OneOfScala_Sint32

type OneOfScala_Sint32 struct {
	Sint32 int32 `protobuf:"zigzag32,7,opt,name=sint32,proto3,oneof"`
}

type OneOfScala_Sint64

type OneOfScala_Sint64 struct {
	Sint64 int64 `protobuf:"zigzag64,8,opt,name=sint64,proto3,oneof"`
}

type OneOfScala_String_

type OneOfScala_String_ struct {
	String_ string `protobuf:"bytes,14,opt,name=string,proto3,oneof"`
}

type OneOfScala_Uint32

type OneOfScala_Uint32 struct {
	Uint32 uint32 `protobuf:"varint,5,opt,name=uint32,proto3,oneof"`
}

type OneOfScala_Uint64

type OneOfScala_Uint64 struct {
	Uint64 uint64 `protobuf:"varint,6,opt,name=uint64,proto3,oneof"`
}

type ScalarTypes

type ScalarTypes struct {
	Double   float64 `protobuf:"fixed64,1,opt,name=double,proto3" json:"double,omitempty"`
	Float    float32 `protobuf:"fixed32,2,opt,name=float,proto3" json:"float,omitempty"`
	Int32    int32   `protobuf:"varint,3,opt,name=int32,proto3" json:"int32,omitempty"`
	Int64    int64   `protobuf:"varint,4,opt,name=int64,proto3" json:"int64,omitempty"`
	Uint32   uint32  `protobuf:"varint,5,opt,name=uint32,proto3" json:"uint32,omitempty"`
	Uint64   uint64  `protobuf:"varint,6,opt,name=uint64,proto3" json:"uint64,omitempty"`
	Sint32   int32   `protobuf:"zigzag32,7,opt,name=sint32,proto3" json:"sint32,omitempty"`
	Sint64   int64   `protobuf:"zigzag64,8,opt,name=sint64,proto3" json:"sint64,omitempty"`
	Fixed32  uint32  `protobuf:"fixed32,9,opt,name=fixed32,proto3" json:"fixed32,omitempty"`
	Fixed64  uint64  `protobuf:"fixed64,10,opt,name=fixed64,proto3" json:"fixed64,omitempty"`
	Sfixed32 int32   `protobuf:"fixed32,11,opt,name=sfixed32,proto3" json:"sfixed32,omitempty"`
	Sfixed64 int64   `protobuf:"fixed64,12,opt,name=sfixed64,proto3" json:"sfixed64,omitempty"`
	Bool     bool    `protobuf:"varint,13,opt,name=bool,proto3" json:"bool,omitempty"`
	String_  string  `protobuf:"bytes,14,opt,name=string,proto3" json:"string,omitempty"`
	Bytes    []byte  `protobuf:"bytes,15,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*ScalarTypes) Descriptor deprecated

func (*ScalarTypes) Descriptor() ([]byte, []int)

Deprecated: Use ScalarTypes.ProtoReflect.Descriptor instead.

func (*ScalarTypes) GetBool

func (x *ScalarTypes) GetBool() bool

func (*ScalarTypes) GetBytes

func (x *ScalarTypes) GetBytes() []byte

func (*ScalarTypes) GetDouble

func (x *ScalarTypes) GetDouble() float64

func (*ScalarTypes) GetFixed32

func (x *ScalarTypes) GetFixed32() uint32

func (*ScalarTypes) GetFixed64

func (x *ScalarTypes) GetFixed64() uint64

func (*ScalarTypes) GetFloat

func (x *ScalarTypes) GetFloat() float32

func (*ScalarTypes) GetInt32

func (x *ScalarTypes) GetInt32() int32

func (*ScalarTypes) GetInt64

func (x *ScalarTypes) GetInt64() int64

func (*ScalarTypes) GetSfixed32

func (x *ScalarTypes) GetSfixed32() int32

func (*ScalarTypes) GetSfixed64

func (x *ScalarTypes) GetSfixed64() int64

func (*ScalarTypes) GetSint32

func (x *ScalarTypes) GetSint32() int32

func (*ScalarTypes) GetSint64

func (x *ScalarTypes) GetSint64() int64

func (*ScalarTypes) GetString_

func (x *ScalarTypes) GetString_() string

func (*ScalarTypes) GetUint32

func (x *ScalarTypes) GetUint32() uint32

func (*ScalarTypes) GetUint64

func (x *ScalarTypes) GetUint64() uint64

func (*ScalarTypes) ProtoMessage

func (*ScalarTypes) ProtoMessage()

func (*ScalarTypes) ProtoReflect

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

func (*ScalarTypes) Reset

func (x *ScalarTypes) Reset()

func (*ScalarTypes) String

func (x *ScalarTypes) String() string

type ScalarTypesOptional

type ScalarTypesOptional struct {
	Double   *float64 `protobuf:"fixed64,1,opt,name=double,proto3,oneof" json:"double,omitempty"`
	Float    *float32 `protobuf:"fixed32,2,opt,name=float,proto3,oneof" json:"float,omitempty"`
	Int32    *int32   `protobuf:"varint,3,opt,name=int32,proto3,oneof" json:"int32,omitempty"`
	Int64    *int64   `protobuf:"varint,4,opt,name=int64,proto3,oneof" json:"int64,omitempty"`
	Uint32   *uint32  `protobuf:"varint,5,opt,name=uint32,proto3,oneof" json:"uint32,omitempty"`
	Uint64   *uint64  `protobuf:"varint,6,opt,name=uint64,proto3,oneof" json:"uint64,omitempty"`
	Sint32   *int32   `protobuf:"zigzag32,7,opt,name=sint32,proto3,oneof" json:"sint32,omitempty"`
	Sint64   *int64   `protobuf:"zigzag64,8,opt,name=sint64,proto3,oneof" json:"sint64,omitempty"`
	Fixed32  *uint32  `protobuf:"fixed32,9,opt,name=fixed32,proto3,oneof" json:"fixed32,omitempty"`
	Fixed64  *uint64  `protobuf:"fixed64,10,opt,name=fixed64,proto3,oneof" json:"fixed64,omitempty"`
	Sfixed32 *int32   `protobuf:"fixed32,11,opt,name=sfixed32,proto3,oneof" json:"sfixed32,omitempty"`
	Sfixed64 *int64   `protobuf:"fixed64,12,opt,name=sfixed64,proto3,oneof" json:"sfixed64,omitempty"`
	Bool     *bool    `protobuf:"varint,13,opt,name=bool,proto3,oneof" json:"bool,omitempty"`
	String_  *string  `protobuf:"bytes,14,opt,name=string,proto3,oneof" json:"string,omitempty"`
	Bytes    []byte   `protobuf:"bytes,15,opt,name=bytes,proto3,oneof" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*ScalarTypesOptional) Descriptor deprecated

func (*ScalarTypesOptional) Descriptor() ([]byte, []int)

Deprecated: Use ScalarTypesOptional.ProtoReflect.Descriptor instead.

func (*ScalarTypesOptional) GetBool

func (x *ScalarTypesOptional) GetBool() bool

func (*ScalarTypesOptional) GetBytes

func (x *ScalarTypesOptional) GetBytes() []byte

func (*ScalarTypesOptional) GetDouble

func (x *ScalarTypesOptional) GetDouble() float64

func (*ScalarTypesOptional) GetFixed32

func (x *ScalarTypesOptional) GetFixed32() uint32

func (*ScalarTypesOptional) GetFixed64

func (x *ScalarTypesOptional) GetFixed64() uint64

func (*ScalarTypesOptional) GetFloat

func (x *ScalarTypesOptional) GetFloat() float32

func (*ScalarTypesOptional) GetInt32

func (x *ScalarTypesOptional) GetInt32() int32

func (*ScalarTypesOptional) GetInt64

func (x *ScalarTypesOptional) GetInt64() int64

func (*ScalarTypesOptional) GetSfixed32

func (x *ScalarTypesOptional) GetSfixed32() int32

func (*ScalarTypesOptional) GetSfixed64

func (x *ScalarTypesOptional) GetSfixed64() int64

func (*ScalarTypesOptional) GetSint32

func (x *ScalarTypesOptional) GetSint32() int32

func (*ScalarTypesOptional) GetSint64

func (x *ScalarTypesOptional) GetSint64() int64

func (*ScalarTypesOptional) GetString_

func (x *ScalarTypesOptional) GetString_() string

func (*ScalarTypesOptional) GetUint32

func (x *ScalarTypesOptional) GetUint32() uint32

func (*ScalarTypesOptional) GetUint64

func (x *ScalarTypesOptional) GetUint64() uint64

func (*ScalarTypesOptional) ProtoMessage

func (*ScalarTypesOptional) ProtoMessage()

func (*ScalarTypesOptional) ProtoReflect

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

func (*ScalarTypesOptional) Reset

func (x *ScalarTypesOptional) Reset()

func (*ScalarTypesOptional) String

func (x *ScalarTypesOptional) String() string

type ScalarTypesRepeated

type ScalarTypesRepeated struct {
	Double   []float64 `protobuf:"fixed64,1,rep,packed,name=double,proto3" json:"double,omitempty"`
	Float    []float32 `protobuf:"fixed32,2,rep,packed,name=float,proto3" json:"float,omitempty"`
	Int32    []int32   `protobuf:"varint,3,rep,packed,name=int32,proto3" json:"int32,omitempty"`
	Int64    []int64   `protobuf:"varint,4,rep,packed,name=int64,proto3" json:"int64,omitempty"`
	Uint32   []uint32  `protobuf:"varint,5,rep,packed,name=uint32,proto3" json:"uint32,omitempty"`
	Uint64   []uint64  `protobuf:"varint,6,rep,packed,name=uint64,proto3" json:"uint64,omitempty"`
	Sint32   []int32   `protobuf:"zigzag32,7,rep,packed,name=sint32,proto3" json:"sint32,omitempty"`
	Sint64   []int64   `protobuf:"zigzag64,8,rep,packed,name=sint64,proto3" json:"sint64,omitempty"`
	Fixed32  []uint32  `protobuf:"fixed32,9,rep,packed,name=fixed32,proto3" json:"fixed32,omitempty"`
	Fixed64  []uint64  `protobuf:"fixed64,10,rep,packed,name=fixed64,proto3" json:"fixed64,omitempty"`
	Sfixed32 []int32   `protobuf:"fixed32,11,rep,packed,name=sfixed32,proto3" json:"sfixed32,omitempty"`
	Sfixed64 []int64   `protobuf:"fixed64,12,rep,packed,name=sfixed64,proto3" json:"sfixed64,omitempty"`
	Bool     []bool    `protobuf:"varint,13,rep,packed,name=bool,proto3" json:"bool,omitempty"`
	String_  []string  `protobuf:"bytes,14,rep,name=string,proto3" json:"string,omitempty"`
	Bytes    [][]byte  `protobuf:"bytes,15,rep,name=bytes,proto3" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*ScalarTypesRepeated) Descriptor deprecated

func (*ScalarTypesRepeated) Descriptor() ([]byte, []int)

Deprecated: Use ScalarTypesRepeated.ProtoReflect.Descriptor instead.

func (*ScalarTypesRepeated) GetBool

func (x *ScalarTypesRepeated) GetBool() []bool

func (*ScalarTypesRepeated) GetBytes

func (x *ScalarTypesRepeated) GetBytes() [][]byte

func (*ScalarTypesRepeated) GetDouble

func (x *ScalarTypesRepeated) GetDouble() []float64

func (*ScalarTypesRepeated) GetFixed32

func (x *ScalarTypesRepeated) GetFixed32() []uint32

func (*ScalarTypesRepeated) GetFixed64

func (x *ScalarTypesRepeated) GetFixed64() []uint64

func (*ScalarTypesRepeated) GetFloat

func (x *ScalarTypesRepeated) GetFloat() []float32

func (*ScalarTypesRepeated) GetInt32

func (x *ScalarTypesRepeated) GetInt32() []int32

func (*ScalarTypesRepeated) GetInt64

func (x *ScalarTypesRepeated) GetInt64() []int64

func (*ScalarTypesRepeated) GetSfixed32

func (x *ScalarTypesRepeated) GetSfixed32() []int32

func (*ScalarTypesRepeated) GetSfixed64

func (x *ScalarTypesRepeated) GetSfixed64() []int64

func (*ScalarTypesRepeated) GetSint32

func (x *ScalarTypesRepeated) GetSint32() []int32

func (*ScalarTypesRepeated) GetSint64

func (x *ScalarTypesRepeated) GetSint64() []int64

func (*ScalarTypesRepeated) GetString_

func (x *ScalarTypesRepeated) GetString_() []string

func (*ScalarTypesRepeated) GetUint32

func (x *ScalarTypesRepeated) GetUint32() []uint32

func (*ScalarTypesRepeated) GetUint64

func (x *ScalarTypesRepeated) GetUint64() []uint64

func (*ScalarTypesRepeated) ProtoMessage

func (*ScalarTypesRepeated) ProtoMessage()

func (*ScalarTypesRepeated) ProtoReflect

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

func (*ScalarTypesRepeated) Reset

func (x *ScalarTypesRepeated) Reset()

func (*ScalarTypesRepeated) String

func (x *ScalarTypesRepeated) String() string

type SimpleOneOf added in v0.0.2

type SimpleOneOf struct {

	// Types that are assignable to Value:
	//
	//	*SimpleOneOf_K
	//	*SimpleOneOf_V
	//	*SimpleOneOf_One
	Value isSimpleOneOf_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*SimpleOneOf) Descriptor deprecated added in v0.0.2

func (*SimpleOneOf) Descriptor() ([]byte, []int)

Deprecated: Use SimpleOneOf.ProtoReflect.Descriptor instead.

func (*SimpleOneOf) GetK added in v0.0.2

func (x *SimpleOneOf) GetK() string

func (*SimpleOneOf) GetOne added in v0.0.2

func (x *SimpleOneOf) GetOne() *One

func (*SimpleOneOf) GetV added in v0.0.2

func (x *SimpleOneOf) GetV() string

func (*SimpleOneOf) GetValue added in v0.0.2

func (m *SimpleOneOf) GetValue() isSimpleOneOf_Value

func (*SimpleOneOf) ProtoMessage added in v0.0.2

func (*SimpleOneOf) ProtoMessage()

func (*SimpleOneOf) ProtoReflect added in v0.0.2

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

func (*SimpleOneOf) Reset added in v0.0.2

func (x *SimpleOneOf) Reset()

func (*SimpleOneOf) String added in v0.0.2

func (x *SimpleOneOf) String() string

type SimpleOneOf_K added in v0.0.2

type SimpleOneOf_K struct {
	K string `protobuf:"bytes,1,opt,name=k,proto3,oneof"`
}

type SimpleOneOf_One added in v0.0.2

type SimpleOneOf_One struct {
	One *One `protobuf:"bytes,3,opt,name=one,proto3,oneof"`
}

type SimpleOneOf_V added in v0.0.2

type SimpleOneOf_V struct {
	V string `protobuf:"bytes,2,opt,name=v,proto3,oneof"`
}

type Three

type Three struct {
	Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Three) Descriptor deprecated

func (*Three) Descriptor() ([]byte, []int)

Deprecated: Use Three.ProtoReflect.Descriptor instead.

func (*Three) GetValue

func (x *Three) GetValue() uint64

func (*Three) ProtoMessage

func (*Three) ProtoMessage()

func (*Three) ProtoReflect

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

func (*Three) Reset

func (x *Three) Reset()

func (*Three) String

func (x *Three) String() string

type Two

type Two struct {
	Three *Three `protobuf:"bytes,1,opt,name=three,proto3" json:"three,omitempty"`
	// contains filtered or unexported fields
}

func (*Two) Descriptor deprecated

func (*Two) Descriptor() ([]byte, []int)

Deprecated: Use Two.ProtoReflect.Descriptor instead.

func (*Two) GetThree

func (x *Two) GetThree() *Three

func (*Two) ProtoMessage

func (*Two) ProtoMessage()

func (*Two) ProtoReflect

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

func (*Two) Reset

func (x *Two) Reset()

func (*Two) String

func (x *Two) String() string

Jump to

Keyboard shortcuts

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