types

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tests_types_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CustomType

type CustomType struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value   int32  `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	Enabled bool   `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

CustomType represents a custom type for testing

func (*CustomType) Descriptor deprecated

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

Deprecated: Use CustomType.ProtoReflect.Descriptor instead.

func (*CustomType) GetEnabled

func (x *CustomType) GetEnabled() bool

func (*CustomType) GetName

func (x *CustomType) GetName() string

func (*CustomType) GetValue

func (x *CustomType) GetValue() int32

func (*CustomType) ProtoMessage

func (*CustomType) ProtoMessage()

func (*CustomType) ProtoReflect

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

func (*CustomType) Reset

func (x *CustomType) Reset()

func (*CustomType) String

func (x *CustomType) String() string

Jump to

Keyboard shortcuts

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