registry

package
v1.34.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Enum1_name = map[int32]string{
		1: "ONE",
	}
	Enum1_value = map[string]int32{
		"ONE": 1,
	}
)

Enum value maps for Enum1.

View Source
var (
	Enum2_name = map[int32]string{
		1: "UNO",
	}
	Enum2_value = map[string]int32{
		"UNO": 1,
	}
)

Enum value maps for Enum2.

View Source
var (
	Enum3_name = map[int32]string{
		1: "YI",
	}
	Enum3_value = map[string]int32{
		"YI": 1,
	}
)

Enum value maps for Enum3.

View Source
var (
	// optional string string_field = 11;
	E_StringField = &file_internal_testprotos_registry_test_proto_extTypes[0]
	// optional testprotos.Enum1 enum_field = 12;
	E_EnumField = &file_internal_testprotos_registry_test_proto_extTypes[1]
	// optional testprotos.Message2 message_field = 13;
	E_MessageField = &file_internal_testprotos_registry_test_proto_extTypes[2]
	// optional testprotos.Message2 message_field = 21;
	E_Message4_MessageField = &file_internal_testprotos_registry_test_proto_extTypes[3]
	// optional testprotos.Enum1 enum_field = 22;
	E_Message4_EnumField = &file_internal_testprotos_registry_test_proto_extTypes[4]
	// optional string string_field = 23;
	E_Message4_StringField = &file_internal_testprotos_registry_test_proto_extTypes[5]
)

Extension fields to Message1.

View Source
var File_internal_testprotos_registry_test_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Enum1

type Enum1 int32
const (
	Enum1_ONE Enum1 = 1
)

func (Enum1) Descriptor

func (Enum1) Descriptor() protoreflect.EnumDescriptor

func (Enum1) Enum

func (x Enum1) Enum() *Enum1

func (Enum1) EnumDescriptor deprecated

func (Enum1) EnumDescriptor() ([]byte, []int)

Deprecated: Use Enum1.Descriptor instead.

func (Enum1) Number

func (x Enum1) Number() protoreflect.EnumNumber

func (Enum1) String

func (x Enum1) String() string

func (Enum1) Type

func (Enum1) Type() protoreflect.EnumType

func (*Enum1) UnmarshalJSON deprecated

func (x *Enum1) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Enum2

type Enum2 int32
const (
	Enum2_UNO Enum2 = 1
)

func (Enum2) Descriptor

func (Enum2) Descriptor() protoreflect.EnumDescriptor

func (Enum2) Enum

func (x Enum2) Enum() *Enum2

func (Enum2) EnumDescriptor deprecated

func (Enum2) EnumDescriptor() ([]byte, []int)

Deprecated: Use Enum2.Descriptor instead.

func (Enum2) Number

func (x Enum2) Number() protoreflect.EnumNumber

func (Enum2) String

func (x Enum2) String() string

func (Enum2) Type

func (Enum2) Type() protoreflect.EnumType

func (*Enum2) UnmarshalJSON deprecated

func (x *Enum2) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Enum3

type Enum3 int32
const (
	Enum3_YI Enum3 = 1
)

func (Enum3) Descriptor

func (Enum3) Descriptor() protoreflect.EnumDescriptor

func (Enum3) Enum

func (x Enum3) Enum() *Enum3

func (Enum3) EnumDescriptor deprecated

func (Enum3) EnumDescriptor() ([]byte, []int)

Deprecated: Use Enum3.Descriptor instead.

func (Enum3) Number

func (x Enum3) Number() protoreflect.EnumNumber

func (Enum3) String

func (x Enum3) String() string

func (Enum3) Type

func (Enum3) Type() protoreflect.EnumType

func (*Enum3) UnmarshalJSON deprecated

func (x *Enum3) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Message1

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

func (*Message1) Descriptor deprecated

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

Deprecated: Use Message1.ProtoReflect.Descriptor instead.

func (*Message1) ProtoMessage

func (*Message1) ProtoMessage()

func (*Message1) ProtoReflect

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

func (*Message1) Reset

func (x *Message1) Reset()

func (*Message1) String

func (x *Message1) String() string

type Message2

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

func (*Message2) Descriptor deprecated

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

Deprecated: Use Message2.ProtoReflect.Descriptor instead.

func (*Message2) ProtoMessage

func (*Message2) ProtoMessage()

func (*Message2) ProtoReflect

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

func (*Message2) Reset

func (x *Message2) Reset()

func (*Message2) String

func (x *Message2) String() string

type Message3

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

func (*Message3) Descriptor deprecated

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

Deprecated: Use Message3.ProtoReflect.Descriptor instead.

func (*Message3) ProtoMessage

func (*Message3) ProtoMessage()

func (*Message3) ProtoReflect

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

func (*Message3) Reset

func (x *Message3) Reset()

func (*Message3) String

func (x *Message3) String() string

type Message4

type Message4 struct {
	BoolField *bool `protobuf:"varint,30,opt,name=bool_field,json=boolField" json:"bool_field,omitempty"`
	// contains filtered or unexported fields
}

func (*Message4) Descriptor deprecated

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

Deprecated: Use Message4.ProtoReflect.Descriptor instead.

func (*Message4) GetBoolField

func (x *Message4) GetBoolField() bool

func (*Message4) ProtoMessage

func (*Message4) ProtoMessage()

func (*Message4) ProtoReflect

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

func (*Message4) Reset

func (x *Message4) Reset()

func (*Message4) String

func (x *Message4) String() string

Jump to

Keyboard shortcuts

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