protobuf: google.golang.org/protobuf/internal/testprotos/registry Index | Files

package registry

import "google.golang.org/protobuf/internal/testprotos/registry"

Index

Package Files

test.pb.go

Variables

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

Enum value maps for Enum1.

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

Enum value maps for Enum2.

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

Enum value maps for Enum3.

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.

var File_internal_testprotos_registry_test_proto protoreflect.FileDescriptor

type Enum1 Uses

type Enum1 int32
const (
    Enum1_ONE Enum1 = 1
)

func (Enum1) Descriptor Uses

func (Enum1) Descriptor() protoreflect.EnumDescriptor

func (Enum1) Enum Uses

func (x Enum1) Enum() *Enum1

func (Enum1) EnumDescriptor Uses

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

Deprecated: Use Enum1.Descriptor instead.

func (Enum1) Number Uses

func (x Enum1) Number() protoreflect.EnumNumber

func (Enum1) String Uses

func (x Enum1) String() string

func (Enum1) Type Uses

func (Enum1) Type() protoreflect.EnumType

func (*Enum1) UnmarshalJSON Uses

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

Deprecated: Do not use.

type Enum2 Uses

type Enum2 int32
const (
    Enum2_UNO Enum2 = 1
)

func (Enum2) Descriptor Uses

func (Enum2) Descriptor() protoreflect.EnumDescriptor

func (Enum2) Enum Uses

func (x Enum2) Enum() *Enum2

func (Enum2) EnumDescriptor Uses

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

Deprecated: Use Enum2.Descriptor instead.

func (Enum2) Number Uses

func (x Enum2) Number() protoreflect.EnumNumber

func (Enum2) String Uses

func (x Enum2) String() string

func (Enum2) Type Uses

func (Enum2) Type() protoreflect.EnumType

func (*Enum2) UnmarshalJSON Uses

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

Deprecated: Do not use.

type Enum3 Uses

type Enum3 int32
const (
    Enum3_YI Enum3 = 1
)

func (Enum3) Descriptor Uses

func (Enum3) Descriptor() protoreflect.EnumDescriptor

func (Enum3) Enum Uses

func (x Enum3) Enum() *Enum3

func (Enum3) EnumDescriptor Uses

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

Deprecated: Use Enum3.Descriptor instead.

func (Enum3) Number Uses

func (x Enum3) Number() protoreflect.EnumNumber

func (Enum3) String Uses

func (x Enum3) String() string

func (Enum3) Type Uses

func (Enum3) Type() protoreflect.EnumType

func (*Enum3) UnmarshalJSON Uses

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

Deprecated: Do not use.

type Message1 Uses

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

func (*Message1) Descriptor Uses

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

Deprecated: Use Message1.ProtoReflect.Descriptor instead.

func (*Message1) ExtensionRangeArray Uses

func (*Message1) ExtensionRangeArray() []protoiface.ExtensionRangeV1

Deprecated: Use Message1.ProtoReflect.Descriptor.ExtensionRanges instead.

func (*Message1) ProtoMessage Uses

func (*Message1) ProtoMessage()

func (*Message1) ProtoReflect Uses

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

func (*Message1) Reset Uses

func (x *Message1) Reset()

func (*Message1) String Uses

func (x *Message1) String() string

type Message2 Uses

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

func (*Message2) Descriptor Uses

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

Deprecated: Use Message2.ProtoReflect.Descriptor instead.

func (*Message2) ProtoMessage Uses

func (*Message2) ProtoMessage()

func (*Message2) ProtoReflect Uses

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

func (*Message2) Reset Uses

func (x *Message2) Reset()

func (*Message2) String Uses

func (x *Message2) String() string

type Message3 Uses

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

func (*Message3) Descriptor Uses

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

Deprecated: Use Message3.ProtoReflect.Descriptor instead.

func (*Message3) ProtoMessage Uses

func (*Message3) ProtoMessage()

func (*Message3) ProtoReflect Uses

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

func (*Message3) Reset Uses

func (x *Message3) Reset()

func (*Message3) String Uses

func (x *Message3) String() string

type Message4 Uses

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 Uses

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

Deprecated: Use Message4.ProtoReflect.Descriptor instead.

func (*Message4) GetBoolField Uses

func (x *Message4) GetBoolField() bool

func (*Message4) ProtoMessage Uses

func (*Message4) ProtoMessage()

func (*Message4) ProtoReflect Uses

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

func (*Message4) Reset Uses

func (x *Message4) Reset()

func (*Message4) String Uses

func (x *Message4) String() string

Package registry imports 5 packages (graph). Updated 2020-08-08. Refresh now. Tools for package owners.