testpb

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_testpb_test_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PossibleOne

type PossibleOne struct {
	Property_1 string `protobuf:"bytes,1,opt,name=property_1,json=property1,proto3" json:"property_1,omitempty"`
	Property_2 string `protobuf:"bytes,2,opt,name=property_2,json=property2,proto3" json:"property_2,omitempty"`
	// contains filtered or unexported fields
}

func (*PossibleOne) Descriptor deprecated

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

Deprecated: Use PossibleOne.ProtoReflect.Descriptor instead.

func (*PossibleOne) GetProperty_1

func (x *PossibleOne) GetProperty_1() string

func (*PossibleOne) GetProperty_2

func (x *PossibleOne) GetProperty_2() string

func (*PossibleOne) ProtoMessage

func (*PossibleOne) ProtoMessage()

func (*PossibleOne) ProtoReflect

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

func (*PossibleOne) Reset

func (x *PossibleOne) Reset()

func (*PossibleOne) String

func (x *PossibleOne) String() string

type PossibleThree

type PossibleThree struct {
	Property_1 float64 `protobuf:"fixed64,1,opt,name=property_1,json=property1,proto3" json:"property_1,omitempty"`
	Property_2 float64 `protobuf:"fixed64,2,opt,name=property_2,json=property2,proto3" json:"property_2,omitempty"`
	// contains filtered or unexported fields
}

func (*PossibleThree) Descriptor deprecated

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

Deprecated: Use PossibleThree.ProtoReflect.Descriptor instead.

func (*PossibleThree) GetProperty_1

func (x *PossibleThree) GetProperty_1() float64

func (*PossibleThree) GetProperty_2

func (x *PossibleThree) GetProperty_2() float64

func (*PossibleThree) ProtoMessage

func (*PossibleThree) ProtoMessage()

func (*PossibleThree) ProtoReflect

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

func (*PossibleThree) Reset

func (x *PossibleThree) Reset()

func (*PossibleThree) String

func (x *PossibleThree) String() string

type PossibleTwo

type PossibleTwo struct {
	Property_1 bool `protobuf:"varint,1,opt,name=property_1,json=property1,proto3" json:"property_1,omitempty"`
	Property_2 bool `protobuf:"varint,2,opt,name=property_2,json=property2,proto3" json:"property_2,omitempty"`
	// contains filtered or unexported fields
}

func (*PossibleTwo) Descriptor deprecated

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

Deprecated: Use PossibleTwo.ProtoReflect.Descriptor instead.

func (*PossibleTwo) GetProperty_1

func (x *PossibleTwo) GetProperty_1() bool

func (*PossibleTwo) GetProperty_2

func (x *PossibleTwo) GetProperty_2() bool

func (*PossibleTwo) ProtoMessage

func (*PossibleTwo) ProtoMessage()

func (*PossibleTwo) ProtoReflect

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

func (*PossibleTwo) Reset

func (x *PossibleTwo) Reset()

func (*PossibleTwo) String

func (x *PossibleTwo) String() string

type TestMessage

type TestMessage struct {
	Property_1 string `protobuf:"bytes,1,opt,name=property_1,json=property1,proto3" json:"property_1,omitempty"`
	Property_2 string `protobuf:"bytes,2,opt,name=property_2,json=property2,proto3" json:"property_2,omitempty"`
	// Types that are assignable to OneofField:
	//
	//	*TestMessage_PossibleOne
	//	*TestMessage_PossibleTwo
	//	*TestMessage_PossibleThree
	OneofField isTestMessage_OneofField `protobuf_oneof:"oneof_field"`
	// contains filtered or unexported fields
}

func (*TestMessage) Descriptor deprecated

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

Deprecated: Use TestMessage.ProtoReflect.Descriptor instead.

func (*TestMessage) GetOneofField

func (m *TestMessage) GetOneofField() isTestMessage_OneofField

func (*TestMessage) GetPossibleOne

func (x *TestMessage) GetPossibleOne() *PossibleOne

func (*TestMessage) GetPossibleThree

func (x *TestMessage) GetPossibleThree() *PossibleThree

func (*TestMessage) GetPossibleTwo

func (x *TestMessage) GetPossibleTwo() *PossibleTwo

func (*TestMessage) GetProperty_1

func (x *TestMessage) GetProperty_1() string

func (*TestMessage) GetProperty_2

func (x *TestMessage) GetProperty_2() string

func (*TestMessage) ProtoMessage

func (*TestMessage) ProtoMessage()

func (*TestMessage) ProtoReflect

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

func (*TestMessage) Reset

func (x *TestMessage) Reset()

func (*TestMessage) String

func (x *TestMessage) String() string

type TestMessage_PossibleOne

type TestMessage_PossibleOne struct {
	PossibleOne *PossibleOne `protobuf:"bytes,3,opt,name=possible_one,json=possibleOne,proto3,oneof"`
}

type TestMessage_PossibleThree

type TestMessage_PossibleThree struct {
	PossibleThree *PossibleThree `protobuf:"bytes,5,opt,name=possible_three,json=possibleThree,proto3,oneof"`
}

type TestMessage_PossibleTwo

type TestMessage_PossibleTwo struct {
	PossibleTwo *PossibleTwo `protobuf:"bytes,4,opt,name=possible_two,json=possibleTwo,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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