testv1

package
v0.1.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional string p2t_string_ext = 100;
	E_P2TStringExt = &file_buf_protoyaml_test_v1_pb2_proto_extTypes[0]
	// repeated string p2t_repeated_string_ext = 101;
	E_P2TRepeatedStringExt = &file_buf_protoyaml_test_v1_pb2_proto_extTypes[1]
)

Extension fields to Proto2Test.

View Source
var File_buf_protoyaml_test_v1_const_proto protoreflect.FileDescriptor
View Source
var File_buf_protoyaml_test_v1_pb2_proto protoreflect.FileDescriptor
View Source
var File_buf_protoyaml_test_v1_pb3_proto protoreflect.FileDescriptor
View Source
var File_buf_protoyaml_test_v1_validate_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConstValues

type ConstValues struct {
	Name       string                    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`       // file name, relative to root of source tree
	Package    string                    `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"` // e.g. "foo", "foo.bar", etc.
	Dependency []string                  `protobuf:"bytes,3,rep,name=dependency,proto3" json:"dependency,omitempty"`
	Options    *descriptorpb.FileOptions `protobuf:"bytes,8,opt,name=options,proto3" json:"options,omitempty"`
	Values     map[string]*anypb.Any     `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConstValues) Descriptor deprecated

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

Deprecated: Use ConstValues.ProtoReflect.Descriptor instead.

func (*ConstValues) GetDependency

func (x *ConstValues) GetDependency() []string

func (*ConstValues) GetName

func (x *ConstValues) GetName() string

func (*ConstValues) GetOptions

func (x *ConstValues) GetOptions() *descriptorpb.FileOptions

func (*ConstValues) GetPackage

func (x *ConstValues) GetPackage() string

func (*ConstValues) GetValues

func (x *ConstValues) GetValues() map[string]*anypb.Any

func (*ConstValues) ProtoMessage

func (*ConstValues) ProtoMessage()

func (*ConstValues) ProtoReflect

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

func (*ConstValues) Reset

func (x *ConstValues) Reset()

func (*ConstValues) String

func (x *ConstValues) String() string

type Proto2Test added in v0.1.9

type Proto2Test struct {
	// contains filtered or unexported fields
}

func (*Proto2Test) Descriptor deprecated added in v0.1.9

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

Deprecated: Use Proto2Test.ProtoReflect.Descriptor instead.

func (*Proto2Test) ProtoMessage added in v0.1.9

func (*Proto2Test) ProtoMessage()

func (*Proto2Test) ProtoReflect added in v0.1.9

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

func (*Proto2Test) Reset added in v0.1.9

func (x *Proto2Test) Reset()

func (*Proto2Test) String added in v0.1.9

func (x *Proto2Test) String() string

type Proto3Test

type Proto3Test struct {
	Values []*proto3.TestAllTypes `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Proto3Test) Descriptor deprecated

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

Deprecated: Use Proto3Test.ProtoReflect.Descriptor instead.

func (*Proto3Test) GetValues

func (x *Proto3Test) GetValues() []*proto3.TestAllTypes

func (*Proto3Test) ProtoMessage

func (*Proto3Test) ProtoMessage()

func (*Proto3Test) ProtoReflect

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

func (*Proto3Test) Reset

func (x *Proto3Test) Reset()

func (*Proto3Test) String

func (x *Proto3Test) String() string

type ValidateTest

type ValidateTest struct {
	Cases []*ValidateTestCase `protobuf:"bytes,1,rep,name=cases,proto3" json:"cases,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateTest) Descriptor deprecated

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

Deprecated: Use ValidateTest.ProtoReflect.Descriptor instead.

func (*ValidateTest) GetCases

func (x *ValidateTest) GetCases() []*ValidateTestCase

func (*ValidateTest) ProtoMessage

func (*ValidateTest) ProtoMessage()

func (*ValidateTest) ProtoReflect

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

func (*ValidateTest) Reset

func (x *ValidateTest) Reset()

func (*ValidateTest) String

func (x *ValidateTest) String() string

type ValidateTestCase

type ValidateTestCase struct {
	Dynamic   *anypb.Any        `protobuf:"bytes,1,opt,name=dynamic,proto3" json:"dynamic,omitempty"`
	FloatGtLt float32           `protobuf:"fixed32,2,opt,name=float_gt_lt,json=floatGtLt,proto3" json:"float_gt_lt,omitempty"`
	StringMap map[string]string `` /* 176-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ValidateTestCase) Descriptor deprecated

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

Deprecated: Use ValidateTestCase.ProtoReflect.Descriptor instead.

func (*ValidateTestCase) GetDynamic

func (x *ValidateTestCase) GetDynamic() *anypb.Any

func (*ValidateTestCase) GetFloatGtLt

func (x *ValidateTestCase) GetFloatGtLt() float32

func (*ValidateTestCase) GetStringMap

func (x *ValidateTestCase) GetStringMap() map[string]string

func (*ValidateTestCase) ProtoMessage

func (*ValidateTestCase) ProtoMessage()

func (*ValidateTestCase) ProtoReflect

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

func (*ValidateTestCase) Reset

func (x *ValidateTestCase) Reset()

func (*ValidateTestCase) String

func (x *ValidateTestCase) String() string

Jump to

Keyboard shortcuts

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