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

package test

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

Index

Package Files

ext.pb.go test.pb.go test_import.pb.go test_public.pb.go

Constants

const (
    Default_TestAllTypes_DefaultInt32       = int32(81)
    Default_TestAllTypes_DefaultInt64       = int64(82)
    Default_TestAllTypes_DefaultUint32      = uint32(83)
    Default_TestAllTypes_DefaultUint64      = uint64(84)
    Default_TestAllTypes_DefaultSint32      = int32(-85)
    Default_TestAllTypes_DefaultSint64      = int64(86)
    Default_TestAllTypes_DefaultFixed32     = uint32(87)
    Default_TestAllTypes_DefaultFixed64     = uint64(88)
    Default_TestAllTypes_DefaultSfixed32    = int32(89)
    Default_TestAllTypes_DefaultSfixed64    = int64(-90)
    Default_TestAllTypes_DefaultFloat       = float32(91.5)
    Default_TestAllTypes_DefaultDouble      = float64(92000)
    Default_TestAllTypes_DefaultBool        = bool(true)
    Default_TestAllTypes_DefaultString      = string("hello")
    Default_TestAllTypes_DefaultNestedEnum  = TestAllTypes_BAR
    Default_TestAllTypes_DefaultForeignEnum = ForeignEnum_FOREIGN_BAR
)

Default values for TestAllTypes fields.

Variables

var (
    ForeignEnum_name = map[int32]string{
        4:  "FOREIGN_FOO",
        5:  "FOREIGN_BAR",
        6:  "FOREIGN_BAZ",
    }
    ForeignEnum_value = map[string]int32{
        "FOREIGN_FOO": 4,
        "FOREIGN_BAR": 5,
        "FOREIGN_BAZ": 6,
    }
)

Enum value maps for ForeignEnum.

var (
    TestReservedEnumFields_name = map[int32]string{
        0: "RESERVED_ENUM",
    }
    TestReservedEnumFields_value = map[string]int32{
        "RESERVED_ENUM": 0,
    }
)

Enum value maps for TestReservedEnumFields.

var (
    TestAllTypes_NestedEnum_name = map[int32]string{
        0:  "FOO",
        1:  "BAR",
        2:  "BAZ",
        -1: "NEG",
    }
    TestAllTypes_NestedEnum_value = map[string]int32{
        "FOO": 0,
        "BAR": 1,
        "BAZ": 2,
        "NEG": -1,
    }
)

Enum value maps for TestAllTypes_NestedEnum.

var (
    TestDeprecatedMessage_DeprecatedEnum_name = map[int32]string{
        0: "DEPRECATED",
    }
    TestDeprecatedMessage_DeprecatedEnum_value = map[string]int32{
        "DEPRECATED": 0,
    }
)

Enum value maps for TestDeprecatedMessage_DeprecatedEnum.

var (
    // optional int32 optional_int32 = 1;
    E_OptionalInt32 = &file_internal_testprotos_test_test_proto_extTypes[0]
    // optional int64 optional_int64 = 2;
    E_OptionalInt64 = &file_internal_testprotos_test_test_proto_extTypes[1]
    // optional uint32 optional_uint32 = 3;
    E_OptionalUint32 = &file_internal_testprotos_test_test_proto_extTypes[2]
    // optional uint64 optional_uint64 = 4;
    E_OptionalUint64 = &file_internal_testprotos_test_test_proto_extTypes[3]
    // optional sint32 optional_sint32 = 5;
    E_OptionalSint32 = &file_internal_testprotos_test_test_proto_extTypes[4]
    // optional sint64 optional_sint64 = 6;
    E_OptionalSint64 = &file_internal_testprotos_test_test_proto_extTypes[5]
    // optional fixed32 optional_fixed32 = 7;
    E_OptionalFixed32 = &file_internal_testprotos_test_test_proto_extTypes[6]
    // optional fixed64 optional_fixed64 = 8;
    E_OptionalFixed64 = &file_internal_testprotos_test_test_proto_extTypes[7]
    // optional sfixed32 optional_sfixed32 = 9;
    E_OptionalSfixed32 = &file_internal_testprotos_test_test_proto_extTypes[8]
    // optional sfixed64 optional_sfixed64 = 10;
    E_OptionalSfixed64 = &file_internal_testprotos_test_test_proto_extTypes[9]
    // optional float optional_float = 11;
    E_OptionalFloat = &file_internal_testprotos_test_test_proto_extTypes[10]
    // optional double optional_double = 12;
    E_OptionalDouble = &file_internal_testprotos_test_test_proto_extTypes[11]
    // optional bool optional_bool = 13;
    E_OptionalBool = &file_internal_testprotos_test_test_proto_extTypes[12]
    // optional string optional_string = 14;
    E_OptionalString = &file_internal_testprotos_test_test_proto_extTypes[13]
    // optional bytes optional_bytes = 15;
    E_OptionalBytes = &file_internal_testprotos_test_test_proto_extTypes[14]
    // optional goproto.proto.test.OptionalGroup optionalgroup = 16;
    E_Optionalgroup = &file_internal_testprotos_test_test_proto_extTypes[15]
    // optional goproto.proto.test.TestAllExtensions.NestedMessage optional_nested_message = 18;
    E_OptionalNestedMessage = &file_internal_testprotos_test_test_proto_extTypes[16]
    // optional goproto.proto.test.TestAllTypes.NestedEnum optional_nested_enum = 21;
    E_OptionalNestedEnum = &file_internal_testprotos_test_test_proto_extTypes[17]
    // repeated int32 repeated_int32 = 31;
    E_RepeatedInt32 = &file_internal_testprotos_test_test_proto_extTypes[18]
    // repeated int64 repeated_int64 = 32;
    E_RepeatedInt64 = &file_internal_testprotos_test_test_proto_extTypes[19]
    // repeated uint32 repeated_uint32 = 33;
    E_RepeatedUint32 = &file_internal_testprotos_test_test_proto_extTypes[20]
    // repeated uint64 repeated_uint64 = 34;
    E_RepeatedUint64 = &file_internal_testprotos_test_test_proto_extTypes[21]
    // repeated sint32 repeated_sint32 = 35;
    E_RepeatedSint32 = &file_internal_testprotos_test_test_proto_extTypes[22]
    // repeated sint64 repeated_sint64 = 36;
    E_RepeatedSint64 = &file_internal_testprotos_test_test_proto_extTypes[23]
    // repeated fixed32 repeated_fixed32 = 37;
    E_RepeatedFixed32 = &file_internal_testprotos_test_test_proto_extTypes[24]
    // repeated fixed64 repeated_fixed64 = 38;
    E_RepeatedFixed64 = &file_internal_testprotos_test_test_proto_extTypes[25]
    // repeated sfixed32 repeated_sfixed32 = 39;
    E_RepeatedSfixed32 = &file_internal_testprotos_test_test_proto_extTypes[26]
    // repeated sfixed64 repeated_sfixed64 = 40;
    E_RepeatedSfixed64 = &file_internal_testprotos_test_test_proto_extTypes[27]
    // repeated float repeated_float = 41;
    E_RepeatedFloat = &file_internal_testprotos_test_test_proto_extTypes[28]
    // repeated double repeated_double = 42;
    E_RepeatedDouble = &file_internal_testprotos_test_test_proto_extTypes[29]
    // repeated bool repeated_bool = 43;
    E_RepeatedBool = &file_internal_testprotos_test_test_proto_extTypes[30]
    // repeated string repeated_string = 44;
    E_RepeatedString = &file_internal_testprotos_test_test_proto_extTypes[31]
    // repeated bytes repeated_bytes = 45;
    E_RepeatedBytes = &file_internal_testprotos_test_test_proto_extTypes[32]
    // repeated goproto.proto.test.RepeatedGroup repeatedgroup = 46;
    E_Repeatedgroup = &file_internal_testprotos_test_test_proto_extTypes[33]
    // repeated goproto.proto.test.TestAllExtensions.NestedMessage repeated_nested_message = 48;
    E_RepeatedNestedMessage = &file_internal_testprotos_test_test_proto_extTypes[34]
    // repeated goproto.proto.test.TestAllTypes.NestedEnum repeated_nested_enum = 51;
    E_RepeatedNestedEnum = &file_internal_testprotos_test_test_proto_extTypes[35]
    // optional int32 default_int32 = 81;
    E_DefaultInt32 = &file_internal_testprotos_test_test_proto_extTypes[36]
    // optional int64 default_int64 = 82;
    E_DefaultInt64 = &file_internal_testprotos_test_test_proto_extTypes[37]
    // optional uint32 default_uint32 = 83;
    E_DefaultUint32 = &file_internal_testprotos_test_test_proto_extTypes[38]
    // optional uint64 default_uint64 = 84;
    E_DefaultUint64 = &file_internal_testprotos_test_test_proto_extTypes[39]
    // optional sint32 default_sint32 = 85;
    E_DefaultSint32 = &file_internal_testprotos_test_test_proto_extTypes[40]
    // optional sint64 default_sint64 = 86;
    E_DefaultSint64 = &file_internal_testprotos_test_test_proto_extTypes[41]
    // optional fixed32 default_fixed32 = 87;
    E_DefaultFixed32 = &file_internal_testprotos_test_test_proto_extTypes[42]
    // optional fixed64 default_fixed64 = 88;
    E_DefaultFixed64 = &file_internal_testprotos_test_test_proto_extTypes[43]
    // optional sfixed32 default_sfixed32 = 89;
    E_DefaultSfixed32 = &file_internal_testprotos_test_test_proto_extTypes[44]
    // optional sfixed64 default_sfixed64 = 80;
    E_DefaultSfixed64 = &file_internal_testprotos_test_test_proto_extTypes[45]
    // optional float default_float = 91;
    E_DefaultFloat = &file_internal_testprotos_test_test_proto_extTypes[46]
    // optional double default_double = 92;
    E_DefaultDouble = &file_internal_testprotos_test_test_proto_extTypes[47]
    // optional bool default_bool = 93;
    E_DefaultBool = &file_internal_testprotos_test_test_proto_extTypes[48]
    // optional string default_string = 94;
    E_DefaultString = &file_internal_testprotos_test_test_proto_extTypes[49]
    // optional bytes default_bytes = 95;
    E_DefaultBytes = &file_internal_testprotos_test_test_proto_extTypes[50]
    // optional string nested_string_extension = 1003;
    E_TestNestedExtension_NestedStringExtension = &file_internal_testprotos_test_test_proto_extTypes[79]
    // optional goproto.proto.test.TestRequired single = 1000;
    E_TestRequired_Single = &file_internal_testprotos_test_test_proto_extTypes[80]
    // repeated goproto.proto.test.TestRequired multi = 1001;
    E_TestRequired_Multi = &file_internal_testprotos_test_test_proto_extTypes[81]
)

Extension fields to TestAllExtensions.

var (
    // repeated int32 packed_int32 = 90;
    E_PackedInt32 = &file_internal_testprotos_test_test_proto_extTypes[51]
    // repeated int64 packed_int64 = 91;
    E_PackedInt64 = &file_internal_testprotos_test_test_proto_extTypes[52]
    // repeated uint32 packed_uint32 = 92;
    E_PackedUint32 = &file_internal_testprotos_test_test_proto_extTypes[53]
    // repeated uint64 packed_uint64 = 93;
    E_PackedUint64 = &file_internal_testprotos_test_test_proto_extTypes[54]
    // repeated sint32 packed_sint32 = 94;
    E_PackedSint32 = &file_internal_testprotos_test_test_proto_extTypes[55]
    // repeated sint64 packed_sint64 = 95;
    E_PackedSint64 = &file_internal_testprotos_test_test_proto_extTypes[56]
    // repeated fixed32 packed_fixed32 = 96;
    E_PackedFixed32 = &file_internal_testprotos_test_test_proto_extTypes[57]
    // repeated fixed64 packed_fixed64 = 97;
    E_PackedFixed64 = &file_internal_testprotos_test_test_proto_extTypes[58]
    // repeated sfixed32 packed_sfixed32 = 98;
    E_PackedSfixed32 = &file_internal_testprotos_test_test_proto_extTypes[59]
    // repeated sfixed64 packed_sfixed64 = 99;
    E_PackedSfixed64 = &file_internal_testprotos_test_test_proto_extTypes[60]
    // repeated float packed_float = 100;
    E_PackedFloat = &file_internal_testprotos_test_test_proto_extTypes[61]
    // repeated double packed_double = 101;
    E_PackedDouble = &file_internal_testprotos_test_test_proto_extTypes[62]
    // repeated bool packed_bool = 102;
    E_PackedBool = &file_internal_testprotos_test_test_proto_extTypes[63]
    // repeated goproto.proto.test.ForeignEnum packed_enum = 103;
    E_PackedEnum = &file_internal_testprotos_test_test_proto_extTypes[64]
)

Extension fields to TestPackedExtensions.

var (
    // repeated int32 unpacked_int32 = 90;
    E_UnpackedInt32 = &file_internal_testprotos_test_test_proto_extTypes[65]
    // repeated int64 unpacked_int64 = 91;
    E_UnpackedInt64 = &file_internal_testprotos_test_test_proto_extTypes[66]
    // repeated uint32 unpacked_uint32 = 92;
    E_UnpackedUint32 = &file_internal_testprotos_test_test_proto_extTypes[67]
    // repeated uint64 unpacked_uint64 = 93;
    E_UnpackedUint64 = &file_internal_testprotos_test_test_proto_extTypes[68]
    // repeated sint32 unpacked_sint32 = 94;
    E_UnpackedSint32 = &file_internal_testprotos_test_test_proto_extTypes[69]
    // repeated sint64 unpacked_sint64 = 95;
    E_UnpackedSint64 = &file_internal_testprotos_test_test_proto_extTypes[70]
    // repeated fixed32 unpacked_fixed32 = 96;
    E_UnpackedFixed32 = &file_internal_testprotos_test_test_proto_extTypes[71]
    // repeated fixed64 unpacked_fixed64 = 97;
    E_UnpackedFixed64 = &file_internal_testprotos_test_test_proto_extTypes[72]
    // repeated sfixed32 unpacked_sfixed32 = 98;
    E_UnpackedSfixed32 = &file_internal_testprotos_test_test_proto_extTypes[73]
    // repeated sfixed64 unpacked_sfixed64 = 99;
    E_UnpackedSfixed64 = &file_internal_testprotos_test_test_proto_extTypes[74]
    // repeated float unpacked_float = 100;
    E_UnpackedFloat = &file_internal_testprotos_test_test_proto_extTypes[75]
    // repeated double unpacked_double = 101;
    E_UnpackedDouble = &file_internal_testprotos_test_test_proto_extTypes[76]
    // repeated bool unpacked_bool = 102;
    E_UnpackedBool = &file_internal_testprotos_test_test_proto_extTypes[77]
    // repeated goproto.proto.test.ForeignEnum unpacked_enum = 103;
    E_UnpackedEnum = &file_internal_testprotos_test_test_proto_extTypes[78]
)

Extension fields to TestUnpackedExtensions.

var (
    ImportEnum_name = map[int32]string{
        0: "IMPORT_ZERO",
    }
    ImportEnum_value = map[string]int32{
        "IMPORT_ZERO": 0,
    }
)

Enum value maps for ImportEnum.

var (
    Default_TestAllTypes_DefaultBytes = []byte("world")
)

Default values for TestAllTypes fields.

var (
    Default_WeirdDefault_WeirdDefault = []byte("hello, \"world!\"\ndeadޭ\xbe\xefbeef`")
)

Default values for WeirdDefault fields.

var (
    // optional int32 foreign_int32_extension = 2000;
    E_ForeignInt32Extension = &file_internal_testprotos_test_ext_proto_extTypes[0]
)

Extension fields to TestAllExtensions.

var File_internal_testprotos_test_ext_proto protoreflect.FileDescriptor
var File_internal_testprotos_test_test_import_proto protoreflect.FileDescriptor
var File_internal_testprotos_test_test_proto protoreflect.FileDescriptor
var File_internal_testprotos_test_test_public_proto protoreflect.FileDescriptor

type FooRequest Uses

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

Test that RPC services work.

func (*FooRequest) Descriptor Uses

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

Deprecated: Use FooRequest.ProtoReflect.Descriptor instead.

func (*FooRequest) ProtoMessage Uses

func (*FooRequest) ProtoMessage()

func (*FooRequest) ProtoReflect Uses

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

func (*FooRequest) Reset Uses

func (x *FooRequest) Reset()

func (*FooRequest) String Uses

func (x *FooRequest) String() string

type FooResponse Uses

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

func (*FooResponse) Descriptor Uses

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

Deprecated: Use FooResponse.ProtoReflect.Descriptor instead.

func (*FooResponse) ProtoMessage Uses

func (*FooResponse) ProtoMessage()

func (*FooResponse) ProtoReflect Uses

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

func (*FooResponse) Reset Uses

func (x *FooResponse) Reset()

func (*FooResponse) String Uses

func (x *FooResponse) String() string

type ForeignEnum Uses

type ForeignEnum int32
const (
    ForeignEnum_FOREIGN_FOO ForeignEnum = 4
    ForeignEnum_FOREIGN_BAR ForeignEnum = 5
    ForeignEnum_FOREIGN_BAZ ForeignEnum = 6
)

func (ForeignEnum) Descriptor Uses

func (ForeignEnum) Descriptor() protoreflect.EnumDescriptor

func (ForeignEnum) Enum Uses

func (x ForeignEnum) Enum() *ForeignEnum

func (ForeignEnum) EnumDescriptor Uses

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

Deprecated: Use ForeignEnum.Descriptor instead.

func (ForeignEnum) Number Uses

func (x ForeignEnum) Number() protoreflect.EnumNumber

func (ForeignEnum) String Uses

func (x ForeignEnum) String() string

func (ForeignEnum) Type Uses

func (ForeignEnum) Type() protoreflect.EnumType

func (*ForeignEnum) UnmarshalJSON Uses

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

Deprecated: Do not use.

type ForeignMessage Uses

type ForeignMessage struct {
    C   *int32 `protobuf:"varint,1,opt,name=c" json:"c,omitempty"`
    D   *int32 `protobuf:"varint,2,opt,name=d" json:"d,omitempty"`
    // contains filtered or unexported fields
}

func (*ForeignMessage) Descriptor Uses

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

Deprecated: Use ForeignMessage.ProtoReflect.Descriptor instead.

func (*ForeignMessage) GetC Uses

func (x *ForeignMessage) GetC() int32

func (*ForeignMessage) GetD Uses

func (x *ForeignMessage) GetD() int32

func (*ForeignMessage) ProtoMessage Uses

func (*ForeignMessage) ProtoMessage()

func (*ForeignMessage) ProtoReflect Uses

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

func (*ForeignMessage) Reset Uses

func (x *ForeignMessage) Reset()

func (*ForeignMessage) String Uses

func (x *ForeignMessage) String() string

type ImportEnum Uses

type ImportEnum int32
const (
    ImportEnum_IMPORT_ZERO ImportEnum = 0
)

func (ImportEnum) Descriptor Uses

func (ImportEnum) Descriptor() protoreflect.EnumDescriptor

func (ImportEnum) Enum Uses

func (x ImportEnum) Enum() *ImportEnum

func (ImportEnum) EnumDescriptor Uses

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

Deprecated: Use ImportEnum.Descriptor instead.

func (ImportEnum) Number Uses

func (x ImportEnum) Number() protoreflect.EnumNumber

func (ImportEnum) String Uses

func (x ImportEnum) String() string

func (ImportEnum) Type Uses

func (ImportEnum) Type() protoreflect.EnumType

func (*ImportEnum) UnmarshalJSON Uses

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

Deprecated: Do not use.

type ImportMessage Uses

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

func (*ImportMessage) Descriptor Uses

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

Deprecated: Use ImportMessage.ProtoReflect.Descriptor instead.

func (*ImportMessage) ProtoMessage Uses

func (*ImportMessage) ProtoMessage()

func (*ImportMessage) ProtoReflect Uses

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

func (*ImportMessage) Reset Uses

func (x *ImportMessage) Reset()

func (*ImportMessage) String Uses

func (x *ImportMessage) String() string

type OptionalGroup Uses

type OptionalGroup struct {
    A                     *int32                           `protobuf:"varint,17,opt,name=a" json:"a,omitempty"`
    SameFieldNumber       *int32                           `protobuf:"varint,16,opt,name=same_field_number,json=sameFieldNumber" json:"same_field_number,omitempty"`
    OptionalNestedMessage *TestAllExtensions_NestedMessage `protobuf:"bytes,1000,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
    // contains filtered or unexported fields
}

func (*OptionalGroup) Descriptor Uses

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

Deprecated: Use OptionalGroup.ProtoReflect.Descriptor instead.

func (*OptionalGroup) GetA Uses

func (x *OptionalGroup) GetA() int32

func (*OptionalGroup) GetOptionalNestedMessage Uses

func (x *OptionalGroup) GetOptionalNestedMessage() *TestAllExtensions_NestedMessage

func (*OptionalGroup) GetSameFieldNumber Uses

func (x *OptionalGroup) GetSameFieldNumber() int32

func (*OptionalGroup) ProtoMessage Uses

func (*OptionalGroup) ProtoMessage()

func (*OptionalGroup) ProtoReflect Uses

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

func (*OptionalGroup) Reset Uses

func (x *OptionalGroup) Reset()

func (*OptionalGroup) String Uses

func (x *OptionalGroup) String() string

type PublicImportMessage Uses

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

func (*PublicImportMessage) Descriptor Uses

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

Deprecated: Use PublicImportMessage.ProtoReflect.Descriptor instead.

func (*PublicImportMessage) ProtoMessage Uses

func (*PublicImportMessage) ProtoMessage()

func (*PublicImportMessage) ProtoReflect Uses

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

func (*PublicImportMessage) Reset Uses

func (x *PublicImportMessage) Reset()

func (*PublicImportMessage) String Uses

func (x *PublicImportMessage) String() string

type RepeatedGroup Uses

type RepeatedGroup struct {
    A                     *int32                           `protobuf:"varint,47,opt,name=a" json:"a,omitempty"`
    OptionalNestedMessage *TestAllExtensions_NestedMessage `protobuf:"bytes,1001,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
    // contains filtered or unexported fields
}

func (*RepeatedGroup) Descriptor Uses

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

Deprecated: Use RepeatedGroup.ProtoReflect.Descriptor instead.

func (*RepeatedGroup) GetA Uses

func (x *RepeatedGroup) GetA() int32

func (*RepeatedGroup) GetOptionalNestedMessage Uses

func (x *RepeatedGroup) GetOptionalNestedMessage() *TestAllExtensions_NestedMessage

func (*RepeatedGroup) ProtoMessage Uses

func (*RepeatedGroup) ProtoMessage()

func (*RepeatedGroup) ProtoReflect Uses

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

func (*RepeatedGroup) Reset Uses

func (x *RepeatedGroup) Reset()

func (*RepeatedGroup) String Uses

func (x *RepeatedGroup) String() string

type TestAllExtensions Uses

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

func (*TestAllExtensions) Descriptor Uses

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

Deprecated: Use TestAllExtensions.ProtoReflect.Descriptor instead.

func (*TestAllExtensions) ExtensionRangeArray Uses

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

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

func (*TestAllExtensions) ProtoMessage Uses

func (*TestAllExtensions) ProtoMessage()

func (*TestAllExtensions) ProtoReflect Uses

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

func (*TestAllExtensions) Reset Uses

func (x *TestAllExtensions) Reset()

func (*TestAllExtensions) String Uses

func (x *TestAllExtensions) String() string

type TestAllExtensions_NestedMessage Uses

type TestAllExtensions_NestedMessage struct {
    A           *int32             `protobuf:"varint,1,opt,name=a" json:"a,omitempty"`
    Corecursive *TestAllExtensions `protobuf:"bytes,2,opt,name=corecursive" json:"corecursive,omitempty"`
    // contains filtered or unexported fields
}

func (*TestAllExtensions_NestedMessage) Descriptor Uses

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

Deprecated: Use TestAllExtensions_NestedMessage.ProtoReflect.Descriptor instead.

func (*TestAllExtensions_NestedMessage) GetA Uses

func (x *TestAllExtensions_NestedMessage) GetA() int32

func (*TestAllExtensions_NestedMessage) GetCorecursive Uses

func (x *TestAllExtensions_NestedMessage) GetCorecursive() *TestAllExtensions

func (*TestAllExtensions_NestedMessage) ProtoMessage Uses

func (*TestAllExtensions_NestedMessage) ProtoMessage()

func (*TestAllExtensions_NestedMessage) ProtoReflect Uses

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

func (*TestAllExtensions_NestedMessage) Reset Uses

func (x *TestAllExtensions_NestedMessage) Reset()

func (*TestAllExtensions_NestedMessage) String Uses

func (x *TestAllExtensions_NestedMessage) String() string

type TestAllTypes Uses

type TestAllTypes struct {
    OptionalInt32          *int32                                 `protobuf:"varint,1,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
    OptionalInt64          *int64                                 `protobuf:"varint,2,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
    OptionalUint32         *uint32                                `protobuf:"varint,3,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
    OptionalUint64         *uint64                                `protobuf:"varint,4,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
    OptionalSint32         *int32                                 `protobuf:"zigzag32,5,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
    OptionalSint64         *int64                                 `protobuf:"zigzag64,6,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
    OptionalFixed32        *uint32                                `protobuf:"fixed32,7,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
    OptionalFixed64        *uint64                                `protobuf:"fixed64,8,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
    OptionalSfixed32       *int32                                 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
    OptionalSfixed64       *int64                                 `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
    OptionalFloat          *float32                               `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
    OptionalDouble         *float64                               `protobuf:"fixed64,12,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
    OptionalBool           *bool                                  `protobuf:"varint,13,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
    OptionalString         *string                                `protobuf:"bytes,14,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
    OptionalBytes          []byte                                 `protobuf:"bytes,15,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
    Optionalgroup          *TestAllTypes_OptionalGroup            `protobuf:"group,16,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
    OptionalNestedMessage  *TestAllTypes_NestedMessage            `protobuf:"bytes,18,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
    OptionalForeignMessage *ForeignMessage                        `protobuf:"bytes,19,opt,name=optional_foreign_message,json=optionalForeignMessage" json:"optional_foreign_message,omitempty"`
    OptionalImportMessage  *ImportMessage                         `protobuf:"bytes,20,opt,name=optional_import_message,json=optionalImportMessage" json:"optional_import_message,omitempty"`
    OptionalNestedEnum     *TestAllTypes_NestedEnum               `protobuf:"varint,21,opt,name=optional_nested_enum,json=optionalNestedEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum" json:"optional_nested_enum,omitempty"`
    OptionalForeignEnum    *ForeignEnum                           `protobuf:"varint,22,opt,name=optional_foreign_enum,json=optionalForeignEnum,enum=goproto.proto.test.ForeignEnum" json:"optional_foreign_enum,omitempty"`
    OptionalImportEnum     *ImportEnum                            `protobuf:"varint,23,opt,name=optional_import_enum,json=optionalImportEnum,enum=goproto.proto.test.ImportEnum" json:"optional_import_enum,omitempty"`
    RepeatedInt32          []int32                                `protobuf:"varint,31,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
    RepeatedInt64          []int64                                `protobuf:"varint,32,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
    RepeatedUint32         []uint32                               `protobuf:"varint,33,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
    RepeatedUint64         []uint64                               `protobuf:"varint,34,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
    RepeatedSint32         []int32                                `protobuf:"zigzag32,35,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
    RepeatedSint64         []int64                                `protobuf:"zigzag64,36,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
    RepeatedFixed32        []uint32                               `protobuf:"fixed32,37,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
    RepeatedFixed64        []uint64                               `protobuf:"fixed64,38,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
    RepeatedSfixed32       []int32                                `protobuf:"fixed32,39,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
    RepeatedSfixed64       []int64                                `protobuf:"fixed64,40,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
    RepeatedFloat          []float32                              `protobuf:"fixed32,41,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
    RepeatedDouble         []float64                              `protobuf:"fixed64,42,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
    RepeatedBool           []bool                                 `protobuf:"varint,43,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
    RepeatedString         []string                               `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
    RepeatedBytes          [][]byte                               `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`
    Repeatedgroup          []*TestAllTypes_RepeatedGroup          `protobuf:"group,46,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
    RepeatedNestedMessage  []*TestAllTypes_NestedMessage          `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage" json:"repeated_nested_message,omitempty"`
    RepeatedForeignMessage []*ForeignMessage                      `protobuf:"bytes,49,rep,name=repeated_foreign_message,json=repeatedForeignMessage" json:"repeated_foreign_message,omitempty"`
    RepeatedImportmessage  []*ImportMessage                       `protobuf:"bytes,50,rep,name=repeated_importmessage,json=repeatedImportmessage" json:"repeated_importmessage,omitempty"`
    RepeatedNestedEnum     []TestAllTypes_NestedEnum              `protobuf:"varint,51,rep,name=repeated_nested_enum,json=repeatedNestedEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum" json:"repeated_nested_enum,omitempty"`
    RepeatedForeignEnum    []ForeignEnum                          `protobuf:"varint,52,rep,name=repeated_foreign_enum,json=repeatedForeignEnum,enum=goproto.proto.test.ForeignEnum" json:"repeated_foreign_enum,omitempty"`
    RepeatedImportenum     []ImportEnum                           `protobuf:"varint,53,rep,name=repeated_importenum,json=repeatedImportenum,enum=goproto.proto.test.ImportEnum" json:"repeated_importenum,omitempty"`
    MapInt32Int32          map[int32]int32                        `protobuf:"bytes,56,rep,name=map_int32_int32,json=mapInt32Int32" json:"map_int32_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
    MapInt64Int64          map[int64]int64                        `protobuf:"bytes,57,rep,name=map_int64_int64,json=mapInt64Int64" json:"map_int64_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
    MapUint32Uint32        map[uint32]uint32                      `protobuf:"bytes,58,rep,name=map_uint32_uint32,json=mapUint32Uint32" json:"map_uint32_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
    MapUint64Uint64        map[uint64]uint64                      `protobuf:"bytes,59,rep,name=map_uint64_uint64,json=mapUint64Uint64" json:"map_uint64_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
    MapSint32Sint32        map[int32]int32                        `protobuf:"bytes,60,rep,name=map_sint32_sint32,json=mapSint32Sint32" json:"map_sint32_sint32,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
    MapSint64Sint64        map[int64]int64                        `protobuf:"bytes,61,rep,name=map_sint64_sint64,json=mapSint64Sint64" json:"map_sint64_sint64,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
    MapFixed32Fixed32      map[uint32]uint32                      `protobuf:"bytes,62,rep,name=map_fixed32_fixed32,json=mapFixed32Fixed32" json:"map_fixed32_fixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
    MapFixed64Fixed64      map[uint64]uint64                      `protobuf:"bytes,63,rep,name=map_fixed64_fixed64,json=mapFixed64Fixed64" json:"map_fixed64_fixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
    MapSfixed32Sfixed32    map[int32]int32                        `protobuf:"bytes,64,rep,name=map_sfixed32_sfixed32,json=mapSfixed32Sfixed32" json:"map_sfixed32_sfixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
    MapSfixed64Sfixed64    map[int64]int64                        `protobuf:"bytes,65,rep,name=map_sfixed64_sfixed64,json=mapSfixed64Sfixed64" json:"map_sfixed64_sfixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
    MapInt32Float          map[int32]float32                      `protobuf:"bytes,66,rep,name=map_int32_float,json=mapInt32Float" json:"map_int32_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
    MapInt32Double         map[int32]float64                      `protobuf:"bytes,67,rep,name=map_int32_double,json=mapInt32Double" json:"map_int32_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
    MapBoolBool            map[bool]bool                          `protobuf:"bytes,68,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
    MapStringString        map[string]string                      `protobuf:"bytes,69,rep,name=map_string_string,json=mapStringString" json:"map_string_string,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
    MapStringBytes         map[string][]byte                      `protobuf:"bytes,70,rep,name=map_string_bytes,json=mapStringBytes" json:"map_string_bytes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
    MapStringNestedMessage map[string]*TestAllTypes_NestedMessage `protobuf:"bytes,71,rep,name=map_string_nested_message,json=mapStringNestedMessage" json:"map_string_nested_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
    MapStringNestedEnum    map[string]TestAllTypes_NestedEnum     `protobuf:"bytes,73,rep,name=map_string_nested_enum,json=mapStringNestedEnum" json:"map_string_nested_enum,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=goproto.proto.test.TestAllTypes_NestedEnum"`
    // Singular with defaults
    DefaultInt32       *int32                   `protobuf:"varint,81,opt,name=default_int32,json=defaultInt32,def=81" json:"default_int32,omitempty"`
    DefaultInt64       *int64                   `protobuf:"varint,82,opt,name=default_int64,json=defaultInt64,def=82" json:"default_int64,omitempty"`
    DefaultUint32      *uint32                  `protobuf:"varint,83,opt,name=default_uint32,json=defaultUint32,def=83" json:"default_uint32,omitempty"`
    DefaultUint64      *uint64                  `protobuf:"varint,84,opt,name=default_uint64,json=defaultUint64,def=84" json:"default_uint64,omitempty"`
    DefaultSint32      *int32                   `protobuf:"zigzag32,85,opt,name=default_sint32,json=defaultSint32,def=-85" json:"default_sint32,omitempty"`
    DefaultSint64      *int64                   `protobuf:"zigzag64,86,opt,name=default_sint64,json=defaultSint64,def=86" json:"default_sint64,omitempty"`
    DefaultFixed32     *uint32                  `protobuf:"fixed32,87,opt,name=default_fixed32,json=defaultFixed32,def=87" json:"default_fixed32,omitempty"`
    DefaultFixed64     *uint64                  `protobuf:"fixed64,88,opt,name=default_fixed64,json=defaultFixed64,def=88" json:"default_fixed64,omitempty"`
    DefaultSfixed32    *int32                   `protobuf:"fixed32,89,opt,name=default_sfixed32,json=defaultSfixed32,def=89" json:"default_sfixed32,omitempty"`
    DefaultSfixed64    *int64                   `protobuf:"fixed64,80,opt,name=default_sfixed64,json=defaultSfixed64,def=-90" json:"default_sfixed64,omitempty"`
    DefaultFloat       *float32                 `protobuf:"fixed32,91,opt,name=default_float,json=defaultFloat,def=91.5" json:"default_float,omitempty"`
    DefaultDouble      *float64                 `protobuf:"fixed64,92,opt,name=default_double,json=defaultDouble,def=92000" json:"default_double,omitempty"`
    DefaultBool        *bool                    `protobuf:"varint,93,opt,name=default_bool,json=defaultBool,def=1" json:"default_bool,omitempty"`
    DefaultString      *string                  `protobuf:"bytes,94,opt,name=default_string,json=defaultString,def=hello" json:"default_string,omitempty"`
    DefaultBytes       []byte                   `protobuf:"bytes,95,opt,name=default_bytes,json=defaultBytes,def=world" json:"default_bytes,omitempty"`
    DefaultNestedEnum  *TestAllTypes_NestedEnum `protobuf:"varint,96,opt,name=default_nested_enum,json=defaultNestedEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum,def=1" json:"default_nested_enum,omitempty"`
    DefaultForeignEnum *ForeignEnum             `protobuf:"varint,97,opt,name=default_foreign_enum,json=defaultForeignEnum,enum=goproto.proto.test.ForeignEnum,def=5" json:"default_foreign_enum,omitempty"`
    // Types that are assignable to OneofField:
    //	*TestAllTypes_OneofUint32
    //	*TestAllTypes_OneofNestedMessage
    //	*TestAllTypes_OneofString
    //	*TestAllTypes_OneofBytes
    //	*TestAllTypes_OneofBool
    //	*TestAllTypes_OneofUint64
    //	*TestAllTypes_OneofFloat
    //	*TestAllTypes_OneofDouble
    //	*TestAllTypes_OneofEnum
    //	*TestAllTypes_Oneofgroup
    OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"`
    // A oneof with exactly one field.
    //
    // Types that are assignable to OneofOptional:
    //	*TestAllTypes_OneofOptionalUint32
    OneofOptional isTestAllTypes_OneofOptional `protobuf_oneof:"oneof_optional"`
    // contains filtered or unexported fields
}

func (*TestAllTypes) Descriptor Uses

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

Deprecated: Use TestAllTypes.ProtoReflect.Descriptor instead.

func (*TestAllTypes) GetDefaultBool Uses

func (x *TestAllTypes) GetDefaultBool() bool

func (*TestAllTypes) GetDefaultBytes Uses

func (x *TestAllTypes) GetDefaultBytes() []byte

func (*TestAllTypes) GetDefaultDouble Uses

func (x *TestAllTypes) GetDefaultDouble() float64

func (*TestAllTypes) GetDefaultFixed32 Uses

func (x *TestAllTypes) GetDefaultFixed32() uint32

func (*TestAllTypes) GetDefaultFixed64 Uses

func (x *TestAllTypes) GetDefaultFixed64() uint64

func (*TestAllTypes) GetDefaultFloat Uses

func (x *TestAllTypes) GetDefaultFloat() float32

func (*TestAllTypes) GetDefaultForeignEnum Uses

func (x *TestAllTypes) GetDefaultForeignEnum() ForeignEnum

func (*TestAllTypes) GetDefaultInt32 Uses

func (x *TestAllTypes) GetDefaultInt32() int32

func (*TestAllTypes) GetDefaultInt64 Uses

func (x *TestAllTypes) GetDefaultInt64() int64

func (*TestAllTypes) GetDefaultNestedEnum Uses

func (x *TestAllTypes) GetDefaultNestedEnum() TestAllTypes_NestedEnum

func (*TestAllTypes) GetDefaultSfixed32 Uses

func (x *TestAllTypes) GetDefaultSfixed32() int32

func (*TestAllTypes) GetDefaultSfixed64 Uses

func (x *TestAllTypes) GetDefaultSfixed64() int64

func (*TestAllTypes) GetDefaultSint32 Uses

func (x *TestAllTypes) GetDefaultSint32() int32

func (*TestAllTypes) GetDefaultSint64 Uses

func (x *TestAllTypes) GetDefaultSint64() int64

func (*TestAllTypes) GetDefaultString Uses

func (x *TestAllTypes) GetDefaultString() string

func (*TestAllTypes) GetDefaultUint32 Uses

func (x *TestAllTypes) GetDefaultUint32() uint32

func (*TestAllTypes) GetDefaultUint64 Uses

func (x *TestAllTypes) GetDefaultUint64() uint64

func (*TestAllTypes) GetMapBoolBool Uses

func (x *TestAllTypes) GetMapBoolBool() map[bool]bool

func (*TestAllTypes) GetMapFixed32Fixed32 Uses

func (x *TestAllTypes) GetMapFixed32Fixed32() map[uint32]uint32

func (*TestAllTypes) GetMapFixed64Fixed64 Uses

func (x *TestAllTypes) GetMapFixed64Fixed64() map[uint64]uint64

func (*TestAllTypes) GetMapInt32Double Uses

func (x *TestAllTypes) GetMapInt32Double() map[int32]float64

func (*TestAllTypes) GetMapInt32Float Uses

func (x *TestAllTypes) GetMapInt32Float() map[int32]float32

func (*TestAllTypes) GetMapInt32Int32 Uses

func (x *TestAllTypes) GetMapInt32Int32() map[int32]int32

func (*TestAllTypes) GetMapInt64Int64 Uses

func (x *TestAllTypes) GetMapInt64Int64() map[int64]int64

func (*TestAllTypes) GetMapSfixed32Sfixed32 Uses

func (x *TestAllTypes) GetMapSfixed32Sfixed32() map[int32]int32

func (*TestAllTypes) GetMapSfixed64Sfixed64 Uses

func (x *TestAllTypes) GetMapSfixed64Sfixed64() map[int64]int64

func (*TestAllTypes) GetMapSint32Sint32 Uses

func (x *TestAllTypes) GetMapSint32Sint32() map[int32]int32

func (*TestAllTypes) GetMapSint64Sint64 Uses

func (x *TestAllTypes) GetMapSint64Sint64() map[int64]int64

func (*TestAllTypes) GetMapStringBytes Uses

func (x *TestAllTypes) GetMapStringBytes() map[string][]byte

func (*TestAllTypes) GetMapStringNestedEnum Uses

func (x *TestAllTypes) GetMapStringNestedEnum() map[string]TestAllTypes_NestedEnum

func (*TestAllTypes) GetMapStringNestedMessage Uses

func (x *TestAllTypes) GetMapStringNestedMessage() map[string]*TestAllTypes_NestedMessage

func (*TestAllTypes) GetMapStringString Uses

func (x *TestAllTypes) GetMapStringString() map[string]string

func (*TestAllTypes) GetMapUint32Uint32 Uses

func (x *TestAllTypes) GetMapUint32Uint32() map[uint32]uint32

func (*TestAllTypes) GetMapUint64Uint64 Uses

func (x *TestAllTypes) GetMapUint64Uint64() map[uint64]uint64

func (*TestAllTypes) GetOneofBool Uses

func (x *TestAllTypes) GetOneofBool() bool

func (*TestAllTypes) GetOneofBytes Uses

func (x *TestAllTypes) GetOneofBytes() []byte

func (*TestAllTypes) GetOneofDouble Uses

func (x *TestAllTypes) GetOneofDouble() float64

func (*TestAllTypes) GetOneofEnum Uses

func (x *TestAllTypes) GetOneofEnum() TestAllTypes_NestedEnum

func (*TestAllTypes) GetOneofField Uses

func (m *TestAllTypes) GetOneofField() isTestAllTypes_OneofField

func (*TestAllTypes) GetOneofFloat Uses

func (x *TestAllTypes) GetOneofFloat() float32

func (*TestAllTypes) GetOneofNestedMessage Uses

func (x *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage

func (*TestAllTypes) GetOneofOptional Uses

func (m *TestAllTypes) GetOneofOptional() isTestAllTypes_OneofOptional

func (*TestAllTypes) GetOneofOptionalUint32 Uses

func (x *TestAllTypes) GetOneofOptionalUint32() uint32

func (*TestAllTypes) GetOneofString Uses

func (x *TestAllTypes) GetOneofString() string

func (*TestAllTypes) GetOneofUint32 Uses

func (x *TestAllTypes) GetOneofUint32() uint32

func (*TestAllTypes) GetOneofUint64 Uses

func (x *TestAllTypes) GetOneofUint64() uint64

func (*TestAllTypes) GetOneofgroup Uses

func (x *TestAllTypes) GetOneofgroup() *TestAllTypes_OneofGroup

func (*TestAllTypes) GetOptionalBool Uses

func (x *TestAllTypes) GetOptionalBool() bool

func (*TestAllTypes) GetOptionalBytes Uses

func (x *TestAllTypes) GetOptionalBytes() []byte

func (*TestAllTypes) GetOptionalDouble Uses

func (x *TestAllTypes) GetOptionalDouble() float64

func (*TestAllTypes) GetOptionalFixed32 Uses

func (x *TestAllTypes) GetOptionalFixed32() uint32

func (*TestAllTypes) GetOptionalFixed64 Uses

func (x *TestAllTypes) GetOptionalFixed64() uint64

func (*TestAllTypes) GetOptionalFloat Uses

func (x *TestAllTypes) GetOptionalFloat() float32

func (*TestAllTypes) GetOptionalForeignEnum Uses

func (x *TestAllTypes) GetOptionalForeignEnum() ForeignEnum

func (*TestAllTypes) GetOptionalForeignMessage Uses

func (x *TestAllTypes) GetOptionalForeignMessage() *ForeignMessage

func (*TestAllTypes) GetOptionalImportEnum Uses

func (x *TestAllTypes) GetOptionalImportEnum() ImportEnum

func (*TestAllTypes) GetOptionalImportMessage Uses

func (x *TestAllTypes) GetOptionalImportMessage() *ImportMessage

func (*TestAllTypes) GetOptionalInt32 Uses

func (x *TestAllTypes) GetOptionalInt32() int32

func (*TestAllTypes) GetOptionalInt64 Uses

func (x *TestAllTypes) GetOptionalInt64() int64

func (*TestAllTypes) GetOptionalNestedEnum Uses

func (x *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum

func (*TestAllTypes) GetOptionalNestedMessage Uses

func (x *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage

func (*TestAllTypes) GetOptionalSfixed32 Uses

func (x *TestAllTypes) GetOptionalSfixed32() int32

func (*TestAllTypes) GetOptionalSfixed64 Uses

func (x *TestAllTypes) GetOptionalSfixed64() int64

func (*TestAllTypes) GetOptionalSint32 Uses

func (x *TestAllTypes) GetOptionalSint32() int32

func (*TestAllTypes) GetOptionalSint64 Uses

func (x *TestAllTypes) GetOptionalSint64() int64

func (*TestAllTypes) GetOptionalString Uses

func (x *TestAllTypes) GetOptionalString() string

func (*TestAllTypes) GetOptionalUint32 Uses

func (x *TestAllTypes) GetOptionalUint32() uint32

func (*TestAllTypes) GetOptionalUint64 Uses

func (x *TestAllTypes) GetOptionalUint64() uint64

func (*TestAllTypes) GetOptionalgroup Uses

func (x *TestAllTypes) GetOptionalgroup() *TestAllTypes_OptionalGroup

func (*TestAllTypes) GetRepeatedBool Uses

func (x *TestAllTypes) GetRepeatedBool() []bool

func (*TestAllTypes) GetRepeatedBytes Uses

func (x *TestAllTypes) GetRepeatedBytes() [][]byte

func (*TestAllTypes) GetRepeatedDouble Uses

func (x *TestAllTypes) GetRepeatedDouble() []float64

func (*TestAllTypes) GetRepeatedFixed32 Uses

func (x *TestAllTypes) GetRepeatedFixed32() []uint32

func (*TestAllTypes) GetRepeatedFixed64 Uses

func (x *TestAllTypes) GetRepeatedFixed64() []uint64

func (*TestAllTypes) GetRepeatedFloat Uses

func (x *TestAllTypes) GetRepeatedFloat() []float32

func (*TestAllTypes) GetRepeatedForeignEnum Uses

func (x *TestAllTypes) GetRepeatedForeignEnum() []ForeignEnum

func (*TestAllTypes) GetRepeatedForeignMessage Uses

func (x *TestAllTypes) GetRepeatedForeignMessage() []*ForeignMessage

func (*TestAllTypes) GetRepeatedImportenum Uses

func (x *TestAllTypes) GetRepeatedImportenum() []ImportEnum

func (*TestAllTypes) GetRepeatedImportmessage Uses

func (x *TestAllTypes) GetRepeatedImportmessage() []*ImportMessage

func (*TestAllTypes) GetRepeatedInt32 Uses

func (x *TestAllTypes) GetRepeatedInt32() []int32

func (*TestAllTypes) GetRepeatedInt64 Uses

func (x *TestAllTypes) GetRepeatedInt64() []int64

func (*TestAllTypes) GetRepeatedNestedEnum Uses

func (x *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum

func (*TestAllTypes) GetRepeatedNestedMessage Uses

func (x *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage

func (*TestAllTypes) GetRepeatedSfixed32 Uses

func (x *TestAllTypes) GetRepeatedSfixed32() []int32

func (*TestAllTypes) GetRepeatedSfixed64 Uses

func (x *TestAllTypes) GetRepeatedSfixed64() []int64

func (*TestAllTypes) GetRepeatedSint32 Uses

func (x *TestAllTypes) GetRepeatedSint32() []int32

func (*TestAllTypes) GetRepeatedSint64 Uses

func (x *TestAllTypes) GetRepeatedSint64() []int64

func (*TestAllTypes) GetRepeatedString Uses

func (x *TestAllTypes) GetRepeatedString() []string

func (*TestAllTypes) GetRepeatedUint32 Uses

func (x *TestAllTypes) GetRepeatedUint32() []uint32

func (*TestAllTypes) GetRepeatedUint64 Uses

func (x *TestAllTypes) GetRepeatedUint64() []uint64

func (*TestAllTypes) GetRepeatedgroup Uses

func (x *TestAllTypes) GetRepeatedgroup() []*TestAllTypes_RepeatedGroup

func (*TestAllTypes) ProtoMessage Uses

func (*TestAllTypes) ProtoMessage()

func (*TestAllTypes) ProtoReflect Uses

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

func (*TestAllTypes) Reset Uses

func (x *TestAllTypes) Reset()

func (*TestAllTypes) String Uses

func (x *TestAllTypes) String() string

type TestAllTypes_NestedEnum Uses

type TestAllTypes_NestedEnum int32
const (
    TestAllTypes_FOO TestAllTypes_NestedEnum = 0
    TestAllTypes_BAR TestAllTypes_NestedEnum = 1
    TestAllTypes_BAZ TestAllTypes_NestedEnum = 2
    TestAllTypes_NEG TestAllTypes_NestedEnum = -1 // Intentionally negative.
)

func (TestAllTypes_NestedEnum) Descriptor Uses

func (TestAllTypes_NestedEnum) Descriptor() protoreflect.EnumDescriptor

func (TestAllTypes_NestedEnum) Enum Uses

func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum

func (TestAllTypes_NestedEnum) EnumDescriptor Uses

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

Deprecated: Use TestAllTypes_NestedEnum.Descriptor instead.

func (TestAllTypes_NestedEnum) Number Uses

func (x TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber

func (TestAllTypes_NestedEnum) String Uses

func (x TestAllTypes_NestedEnum) String() string

func (TestAllTypes_NestedEnum) Type Uses

func (TestAllTypes_NestedEnum) Type() protoreflect.EnumType

func (*TestAllTypes_NestedEnum) UnmarshalJSON Uses

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

Deprecated: Do not use.

type TestAllTypes_NestedMessage Uses

type TestAllTypes_NestedMessage struct {
    A           *int32        `protobuf:"varint,1,opt,name=a" json:"a,omitempty"`
    Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive" json:"corecursive,omitempty"`
    // contains filtered or unexported fields
}

func (*TestAllTypes_NestedMessage) Descriptor Uses

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

Deprecated: Use TestAllTypes_NestedMessage.ProtoReflect.Descriptor instead.

func (*TestAllTypes_NestedMessage) GetA Uses

func (x *TestAllTypes_NestedMessage) GetA() int32

func (*TestAllTypes_NestedMessage) GetCorecursive Uses

func (x *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes

func (*TestAllTypes_NestedMessage) ProtoMessage Uses

func (*TestAllTypes_NestedMessage) ProtoMessage()

func (*TestAllTypes_NestedMessage) ProtoReflect Uses

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

func (*TestAllTypes_NestedMessage) Reset Uses

func (x *TestAllTypes_NestedMessage) Reset()

func (*TestAllTypes_NestedMessage) String Uses

func (x *TestAllTypes_NestedMessage) String() string

type TestAllTypes_OneofBool Uses

type TestAllTypes_OneofBool struct {
    OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,oneof"`
}

type TestAllTypes_OneofBytes Uses

type TestAllTypes_OneofBytes struct {
    OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,oneof"`
}

type TestAllTypes_OneofDouble Uses

type TestAllTypes_OneofDouble struct {
    OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,oneof"`
}

type TestAllTypes_OneofEnum Uses

type TestAllTypes_OneofEnum struct {
    OneofEnum TestAllTypes_NestedEnum `protobuf:"varint,119,opt,name=oneof_enum,json=oneofEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum,oneof"`
}

type TestAllTypes_OneofFloat Uses

type TestAllTypes_OneofFloat struct {
    OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,oneof"`
}

type TestAllTypes_OneofGroup Uses

type TestAllTypes_OneofGroup struct {
    A   *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"`
    B   *int32 `protobuf:"varint,2,opt,name=b" json:"b,omitempty"`
    // contains filtered or unexported fields
}

func (*TestAllTypes_OneofGroup) Descriptor Uses

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

Deprecated: Use TestAllTypes_OneofGroup.ProtoReflect.Descriptor instead.

func (*TestAllTypes_OneofGroup) GetA Uses

func (x *TestAllTypes_OneofGroup) GetA() int32

func (*TestAllTypes_OneofGroup) GetB Uses

func (x *TestAllTypes_OneofGroup) GetB() int32

func (*TestAllTypes_OneofGroup) ProtoMessage Uses

func (*TestAllTypes_OneofGroup) ProtoMessage()

func (*TestAllTypes_OneofGroup) ProtoReflect Uses

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

func (*TestAllTypes_OneofGroup) Reset Uses

func (x *TestAllTypes_OneofGroup) Reset()

func (*TestAllTypes_OneofGroup) String Uses

func (x *TestAllTypes_OneofGroup) String() string

type TestAllTypes_OneofNestedMessage Uses

type TestAllTypes_OneofNestedMessage struct {
    OneofNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,oneof"`
}

type TestAllTypes_OneofOptionalUint32 Uses

type TestAllTypes_OneofOptionalUint32 struct {
    OneofOptionalUint32 uint32 `protobuf:"varint,120,opt,name=oneof_optional_uint32,json=oneofOptionalUint32,oneof"`
}

type TestAllTypes_OneofString Uses

type TestAllTypes_OneofString struct {
    OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,oneof"`
}

type TestAllTypes_OneofUint32 Uses

type TestAllTypes_OneofUint32 struct {
    OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,oneof"`
}

type TestAllTypes_OneofUint64 Uses

type TestAllTypes_OneofUint64 struct {
    OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,oneof"`
}

type TestAllTypes_Oneofgroup Uses

type TestAllTypes_Oneofgroup struct {
    Oneofgroup *TestAllTypes_OneofGroup `protobuf:"group,121,opt,name=OneofGroup,json=oneofgroup,oneof"`
}

type TestAllTypes_OptionalGroup Uses

type TestAllTypes_OptionalGroup struct {
    A                     *int32                      `protobuf:"varint,17,opt,name=a" json:"a,omitempty"`
    OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,1000,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
    SameFieldNumber       *int32                      `protobuf:"varint,16,opt,name=same_field_number,json=sameFieldNumber" json:"same_field_number,omitempty"`
    // contains filtered or unexported fields
}

func (*TestAllTypes_OptionalGroup) Descriptor Uses

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

Deprecated: Use TestAllTypes_OptionalGroup.ProtoReflect.Descriptor instead.

func (*TestAllTypes_OptionalGroup) GetA Uses

func (x *TestAllTypes_OptionalGroup) GetA() int32

func (*TestAllTypes_OptionalGroup) GetOptionalNestedMessage Uses

func (x *TestAllTypes_OptionalGroup) GetOptionalNestedMessage() *TestAllTypes_NestedMessage

func (*TestAllTypes_OptionalGroup) GetSameFieldNumber Uses

func (x *TestAllTypes_OptionalGroup) GetSameFieldNumber() int32

func (*TestAllTypes_OptionalGroup) ProtoMessage Uses

func (*TestAllTypes_OptionalGroup) ProtoMessage()

func (*TestAllTypes_OptionalGroup) ProtoReflect Uses

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

func (*TestAllTypes_OptionalGroup) Reset Uses

func (x *TestAllTypes_OptionalGroup) Reset()

func (*TestAllTypes_OptionalGroup) String Uses

func (x *TestAllTypes_OptionalGroup) String() string

type TestAllTypes_RepeatedGroup Uses

type TestAllTypes_RepeatedGroup struct {
    A                     *int32                      `protobuf:"varint,47,opt,name=a" json:"a,omitempty"`
    OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,1001,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
    // contains filtered or unexported fields
}

func (*TestAllTypes_RepeatedGroup) Descriptor Uses

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

Deprecated: Use TestAllTypes_RepeatedGroup.ProtoReflect.Descriptor instead.

func (*TestAllTypes_RepeatedGroup) GetA Uses

func (x *TestAllTypes_RepeatedGroup) GetA() int32

func (*TestAllTypes_RepeatedGroup) GetOptionalNestedMessage Uses

func (x *TestAllTypes_RepeatedGroup) GetOptionalNestedMessage() *TestAllTypes_NestedMessage

func (*TestAllTypes_RepeatedGroup) ProtoMessage Uses

func (*TestAllTypes_RepeatedGroup) ProtoMessage()

func (*TestAllTypes_RepeatedGroup) ProtoReflect Uses

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

func (*TestAllTypes_RepeatedGroup) Reset Uses

func (x *TestAllTypes_RepeatedGroup) Reset()

func (*TestAllTypes_RepeatedGroup) String Uses

func (x *TestAllTypes_RepeatedGroup) String() string

type TestDeprecatedMessage Uses

type TestDeprecatedMessage struct {

    // Deprecated: Do not use.
    DeprecatedInt32 *int32 `protobuf:"varint,1,opt,name=deprecated_int32,json=deprecatedInt32" json:"deprecated_int32,omitempty"`
    // Types that are assignable to DeprecatedOneof:
    //	*TestDeprecatedMessage_DeprecatedOneofField
    DeprecatedOneof isTestDeprecatedMessage_DeprecatedOneof `protobuf_oneof:"deprecated_oneof"`
    // contains filtered or unexported fields
}

Deprecated: Do not use.

func (*TestDeprecatedMessage) Descriptor Uses

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

Deprecated: Use TestDeprecatedMessage.ProtoReflect.Descriptor instead.

func (*TestDeprecatedMessage) GetDeprecatedInt32 Uses

func (x *TestDeprecatedMessage) GetDeprecatedInt32() int32

Deprecated: Do not use.

func (*TestDeprecatedMessage) GetDeprecatedOneof Uses

func (m *TestDeprecatedMessage) GetDeprecatedOneof() isTestDeprecatedMessage_DeprecatedOneof

func (*TestDeprecatedMessage) GetDeprecatedOneofField Uses

func (x *TestDeprecatedMessage) GetDeprecatedOneofField() int32

Deprecated: Do not use.

func (*TestDeprecatedMessage) ProtoMessage Uses

func (*TestDeprecatedMessage) ProtoMessage()

func (*TestDeprecatedMessage) ProtoReflect Uses

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

func (*TestDeprecatedMessage) Reset Uses

func (x *TestDeprecatedMessage) Reset()

func (*TestDeprecatedMessage) String Uses

func (x *TestDeprecatedMessage) String() string

type TestDeprecatedMessage_DeprecatedEnum Uses

type TestDeprecatedMessage_DeprecatedEnum int32

Deprecated: Do not use.

const (
    // Deprecated: Do not use.
    TestDeprecatedMessage_DEPRECATED TestDeprecatedMessage_DeprecatedEnum = 0
)

func (TestDeprecatedMessage_DeprecatedEnum) Descriptor Uses

func (TestDeprecatedMessage_DeprecatedEnum) Descriptor() protoreflect.EnumDescriptor

func (TestDeprecatedMessage_DeprecatedEnum) Enum Uses

func (x TestDeprecatedMessage_DeprecatedEnum) Enum() *TestDeprecatedMessage_DeprecatedEnum

func (TestDeprecatedMessage_DeprecatedEnum) EnumDescriptor Uses

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

Deprecated: Use TestDeprecatedMessage_DeprecatedEnum.Descriptor instead.

func (TestDeprecatedMessage_DeprecatedEnum) Number Uses

func (x TestDeprecatedMessage_DeprecatedEnum) Number() protoreflect.EnumNumber

func (TestDeprecatedMessage_DeprecatedEnum) String Uses

func (x TestDeprecatedMessage_DeprecatedEnum) String() string

func (TestDeprecatedMessage_DeprecatedEnum) Type Uses

func (TestDeprecatedMessage_DeprecatedEnum) Type() protoreflect.EnumType

func (*TestDeprecatedMessage_DeprecatedEnum) UnmarshalJSON Uses

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

Deprecated: Do not use.

type TestDeprecatedMessage_DeprecatedOneofField Uses

type TestDeprecatedMessage_DeprecatedOneofField struct {
    // Deprecated: Do not use.
    DeprecatedOneofField int32 `protobuf:"varint,2,opt,name=deprecated_oneof_field,json=deprecatedOneofField,oneof"`
}

type TestNestedExtension Uses

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

func (*TestNestedExtension) Descriptor Uses

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

Deprecated: Use TestNestedExtension.ProtoReflect.Descriptor instead.

func (*TestNestedExtension) ProtoMessage Uses

func (*TestNestedExtension) ProtoMessage()

func (*TestNestedExtension) ProtoReflect Uses

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

func (*TestNestedExtension) Reset Uses

func (x *TestNestedExtension) Reset()

func (*TestNestedExtension) String Uses

func (x *TestNestedExtension) String() string

type TestPackedExtensions Uses

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

func (*TestPackedExtensions) Descriptor Uses

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

Deprecated: Use TestPackedExtensions.ProtoReflect.Descriptor instead.

func (*TestPackedExtensions) ExtensionRangeArray Uses

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

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

func (*TestPackedExtensions) ProtoMessage Uses

func (*TestPackedExtensions) ProtoMessage()

func (*TestPackedExtensions) ProtoReflect Uses

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

func (*TestPackedExtensions) Reset Uses

func (x *TestPackedExtensions) Reset()

func (*TestPackedExtensions) String Uses

func (x *TestPackedExtensions) String() string

type TestPackedTypes Uses

type TestPackedTypes struct {
    PackedInt32    []int32       `protobuf:"varint,90,rep,packed,name=packed_int32,json=packedInt32" json:"packed_int32,omitempty"`
    PackedInt64    []int64       `protobuf:"varint,91,rep,packed,name=packed_int64,json=packedInt64" json:"packed_int64,omitempty"`
    PackedUint32   []uint32      `protobuf:"varint,92,rep,packed,name=packed_uint32,json=packedUint32" json:"packed_uint32,omitempty"`
    PackedUint64   []uint64      `protobuf:"varint,93,rep,packed,name=packed_uint64,json=packedUint64" json:"packed_uint64,omitempty"`
    PackedSint32   []int32       `protobuf:"zigzag32,94,rep,packed,name=packed_sint32,json=packedSint32" json:"packed_sint32,omitempty"`
    PackedSint64   []int64       `protobuf:"zigzag64,95,rep,packed,name=packed_sint64,json=packedSint64" json:"packed_sint64,omitempty"`
    PackedFixed32  []uint32      `protobuf:"fixed32,96,rep,packed,name=packed_fixed32,json=packedFixed32" json:"packed_fixed32,omitempty"`
    PackedFixed64  []uint64      `protobuf:"fixed64,97,rep,packed,name=packed_fixed64,json=packedFixed64" json:"packed_fixed64,omitempty"`
    PackedSfixed32 []int32       `protobuf:"fixed32,98,rep,packed,name=packed_sfixed32,json=packedSfixed32" json:"packed_sfixed32,omitempty"`
    PackedSfixed64 []int64       `protobuf:"fixed64,99,rep,packed,name=packed_sfixed64,json=packedSfixed64" json:"packed_sfixed64,omitempty"`
    PackedFloat    []float32     `protobuf:"fixed32,100,rep,packed,name=packed_float,json=packedFloat" json:"packed_float,omitempty"`
    PackedDouble   []float64     `protobuf:"fixed64,101,rep,packed,name=packed_double,json=packedDouble" json:"packed_double,omitempty"`
    PackedBool     []bool        `protobuf:"varint,102,rep,packed,name=packed_bool,json=packedBool" json:"packed_bool,omitempty"`
    PackedEnum     []ForeignEnum `protobuf:"varint,103,rep,packed,name=packed_enum,json=packedEnum,enum=goproto.proto.test.ForeignEnum" json:"packed_enum,omitempty"`
    // contains filtered or unexported fields
}

func (*TestPackedTypes) Descriptor Uses

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

Deprecated: Use TestPackedTypes.ProtoReflect.Descriptor instead.

func (*TestPackedTypes) GetPackedBool Uses

func (x *TestPackedTypes) GetPackedBool() []bool

func (*TestPackedTypes) GetPackedDouble Uses

func (x *TestPackedTypes) GetPackedDouble() []float64

func (*TestPackedTypes) GetPackedEnum Uses

func (x *TestPackedTypes) GetPackedEnum() []ForeignEnum

func (*TestPackedTypes) GetPackedFixed32 Uses

func (x *TestPackedTypes) GetPackedFixed32() []uint32

func (*TestPackedTypes) GetPackedFixed64 Uses

func (x *TestPackedTypes) GetPackedFixed64() []uint64

func (*TestPackedTypes) GetPackedFloat Uses

func (x *TestPackedTypes) GetPackedFloat() []float32

func (*TestPackedTypes) GetPackedInt32 Uses

func (x *TestPackedTypes) GetPackedInt32() []int32

func (*TestPackedTypes) GetPackedInt64 Uses

func (x *TestPackedTypes) GetPackedInt64() []int64

func (*TestPackedTypes) GetPackedSfixed32 Uses

func (x *TestPackedTypes) GetPackedSfixed32() []int32

func (*TestPackedTypes) GetPackedSfixed64 Uses

func (x *TestPackedTypes) GetPackedSfixed64() []int64

func (*TestPackedTypes) GetPackedSint32 Uses

func (x *TestPackedTypes) GetPackedSint32() []int32

func (*TestPackedTypes) GetPackedSint64 Uses

func (x *TestPackedTypes) GetPackedSint64() []int64

func (*TestPackedTypes) GetPackedUint32 Uses

func (x *TestPackedTypes) GetPackedUint32() []uint32

func (*TestPackedTypes) GetPackedUint64 Uses

func (x *TestPackedTypes) GetPackedUint64() []uint64

func (*TestPackedTypes) ProtoMessage Uses

func (*TestPackedTypes) ProtoMessage()

func (*TestPackedTypes) ProtoReflect Uses

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

func (*TestPackedTypes) Reset Uses

func (x *TestPackedTypes) Reset()

func (*TestPackedTypes) String Uses

func (x *TestPackedTypes) String() string

type TestRequired Uses

type TestRequired struct {
    RequiredField *int32 `protobuf:"varint,1,req,name=required_field,json=requiredField" json:"required_field,omitempty"`
    // contains filtered or unexported fields
}

func (*TestRequired) Descriptor Uses

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

Deprecated: Use TestRequired.ProtoReflect.Descriptor instead.

func (*TestRequired) GetRequiredField Uses

func (x *TestRequired) GetRequiredField() int32

func (*TestRequired) ProtoMessage Uses

func (*TestRequired) ProtoMessage()

func (*TestRequired) ProtoReflect Uses

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

func (*TestRequired) Reset Uses

func (x *TestRequired) Reset()

func (*TestRequired) String Uses

func (x *TestRequired) String() string

type TestRequiredForeign Uses

type TestRequiredForeign struct {
    OptionalMessage *TestRequired           `protobuf:"bytes,1,opt,name=optional_message,json=optionalMessage" json:"optional_message,omitempty"`
    RepeatedMessage []*TestRequired         `protobuf:"bytes,2,rep,name=repeated_message,json=repeatedMessage" json:"repeated_message,omitempty"`
    MapMessage      map[int32]*TestRequired `protobuf:"bytes,3,rep,name=map_message,json=mapMessage" json:"map_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
    // Types that are assignable to OneofField:
    //	*TestRequiredForeign_OneofMessage
    OneofField isTestRequiredForeign_OneofField `protobuf_oneof:"oneof_field"`
    // contains filtered or unexported fields
}

func (*TestRequiredForeign) Descriptor Uses

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

Deprecated: Use TestRequiredForeign.ProtoReflect.Descriptor instead.

func (*TestRequiredForeign) GetMapMessage Uses

func (x *TestRequiredForeign) GetMapMessage() map[int32]*TestRequired

func (*TestRequiredForeign) GetOneofField Uses

func (m *TestRequiredForeign) GetOneofField() isTestRequiredForeign_OneofField

func (*TestRequiredForeign) GetOneofMessage Uses

func (x *TestRequiredForeign) GetOneofMessage() *TestRequired

func (*TestRequiredForeign) GetOptionalMessage Uses

func (x *TestRequiredForeign) GetOptionalMessage() *TestRequired

func (*TestRequiredForeign) GetRepeatedMessage Uses

func (x *TestRequiredForeign) GetRepeatedMessage() []*TestRequired

func (*TestRequiredForeign) ProtoMessage Uses

func (*TestRequiredForeign) ProtoMessage()

func (*TestRequiredForeign) ProtoReflect Uses

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

func (*TestRequiredForeign) Reset Uses

func (x *TestRequiredForeign) Reset()

func (*TestRequiredForeign) String Uses

func (x *TestRequiredForeign) String() string

type TestRequiredForeign_OneofMessage Uses

type TestRequiredForeign_OneofMessage struct {
    OneofMessage *TestRequired `protobuf:"bytes,4,opt,name=oneof_message,json=oneofMessage,oneof"`
}

type TestRequiredGroupFields Uses

type TestRequiredGroupFields struct {
    Optionalgroup *TestRequiredGroupFields_OptionalGroup   `protobuf:"group,1,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
    Repeatedgroup []*TestRequiredGroupFields_RepeatedGroup `protobuf:"group,3,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
    // contains filtered or unexported fields
}

func (*TestRequiredGroupFields) Descriptor Uses

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

Deprecated: Use TestRequiredGroupFields.ProtoReflect.Descriptor instead.

func (*TestRequiredGroupFields) GetOptionalgroup Uses

func (x *TestRequiredGroupFields) GetOptionalgroup() *TestRequiredGroupFields_OptionalGroup

func (*TestRequiredGroupFields) GetRepeatedgroup Uses

func (x *TestRequiredGroupFields) GetRepeatedgroup() []*TestRequiredGroupFields_RepeatedGroup

func (*TestRequiredGroupFields) ProtoMessage Uses

func (*TestRequiredGroupFields) ProtoMessage()

func (*TestRequiredGroupFields) ProtoReflect Uses

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

func (*TestRequiredGroupFields) Reset Uses

func (x *TestRequiredGroupFields) Reset()

func (*TestRequiredGroupFields) String Uses

func (x *TestRequiredGroupFields) String() string

type TestRequiredGroupFields_OptionalGroup Uses

type TestRequiredGroupFields_OptionalGroup struct {
    A *int32 `protobuf:"varint,2,req,name=a" json:"a,omitempty"`
    // contains filtered or unexported fields
}

func (*TestRequiredGroupFields_OptionalGroup) Descriptor Uses

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

Deprecated: Use TestRequiredGroupFields_OptionalGroup.ProtoReflect.Descriptor instead.

func (*TestRequiredGroupFields_OptionalGroup) GetA Uses

func (x *TestRequiredGroupFields_OptionalGroup) GetA() int32

func (*TestRequiredGroupFields_OptionalGroup) ProtoMessage Uses

func (*TestRequiredGroupFields_OptionalGroup) ProtoMessage()

func (*TestRequiredGroupFields_OptionalGroup) ProtoReflect Uses

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

func (*TestRequiredGroupFields_OptionalGroup) Reset Uses

func (x *TestRequiredGroupFields_OptionalGroup) Reset()

func (*TestRequiredGroupFields_OptionalGroup) String Uses

func (x *TestRequiredGroupFields_OptionalGroup) String() string

type TestRequiredGroupFields_RepeatedGroup Uses

type TestRequiredGroupFields_RepeatedGroup struct {
    A *int32 `protobuf:"varint,4,req,name=a" json:"a,omitempty"`
    // contains filtered or unexported fields
}

func (*TestRequiredGroupFields_RepeatedGroup) Descriptor Uses

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

Deprecated: Use TestRequiredGroupFields_RepeatedGroup.ProtoReflect.Descriptor instead.

func (*TestRequiredGroupFields_RepeatedGroup) GetA Uses

func (x *TestRequiredGroupFields_RepeatedGroup) GetA() int32

func (*TestRequiredGroupFields_RepeatedGroup) ProtoMessage Uses

func (*TestRequiredGroupFields_RepeatedGroup) ProtoMessage()

func (*TestRequiredGroupFields_RepeatedGroup) ProtoReflect Uses

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

func (*TestRequiredGroupFields_RepeatedGroup) Reset Uses

func (x *TestRequiredGroupFields_RepeatedGroup) Reset()

func (*TestRequiredGroupFields_RepeatedGroup) String Uses

func (x *TestRequiredGroupFields_RepeatedGroup) String() string

type TestReservedEnumFields Uses

type TestReservedEnumFields int32
const (
    TestReservedEnumFields_RESERVED_ENUM TestReservedEnumFields = 0
)

func (TestReservedEnumFields) Descriptor Uses

func (TestReservedEnumFields) Descriptor() protoreflect.EnumDescriptor

func (TestReservedEnumFields) Enum Uses

func (x TestReservedEnumFields) Enum() *TestReservedEnumFields

func (TestReservedEnumFields) EnumDescriptor Uses

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

Deprecated: Use TestReservedEnumFields.Descriptor instead.

func (TestReservedEnumFields) Number Uses

func (x TestReservedEnumFields) Number() protoreflect.EnumNumber

func (TestReservedEnumFields) String Uses

func (x TestReservedEnumFields) String() string

func (TestReservedEnumFields) Type Uses

func (TestReservedEnumFields) Type() protoreflect.EnumType

func (*TestReservedEnumFields) UnmarshalJSON Uses

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

Deprecated: Do not use.

type TestReservedFields Uses

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

func (*TestReservedFields) Descriptor Uses

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

Deprecated: Use TestReservedFields.ProtoReflect.Descriptor instead.

func (*TestReservedFields) ProtoMessage Uses

func (*TestReservedFields) ProtoMessage()

func (*TestReservedFields) ProtoReflect Uses

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

func (*TestReservedFields) Reset Uses

func (x *TestReservedFields) Reset()

func (*TestReservedFields) String Uses

func (x *TestReservedFields) String() string

type TestUnpackedExtensions Uses

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

func (*TestUnpackedExtensions) Descriptor Uses

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

Deprecated: Use TestUnpackedExtensions.ProtoReflect.Descriptor instead.

func (*TestUnpackedExtensions) ExtensionRangeArray Uses

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

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

func (*TestUnpackedExtensions) ProtoMessage Uses

func (*TestUnpackedExtensions) ProtoMessage()

func (*TestUnpackedExtensions) ProtoReflect Uses

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

func (*TestUnpackedExtensions) Reset Uses

func (x *TestUnpackedExtensions) Reset()

func (*TestUnpackedExtensions) String Uses

func (x *TestUnpackedExtensions) String() string

type TestUnpackedTypes Uses

type TestUnpackedTypes struct {
    UnpackedInt32    []int32       `protobuf:"varint,90,rep,name=unpacked_int32,json=unpackedInt32" json:"unpacked_int32,omitempty"`
    UnpackedInt64    []int64       `protobuf:"varint,91,rep,name=unpacked_int64,json=unpackedInt64" json:"unpacked_int64,omitempty"`
    UnpackedUint32   []uint32      `protobuf:"varint,92,rep,name=unpacked_uint32,json=unpackedUint32" json:"unpacked_uint32,omitempty"`
    UnpackedUint64   []uint64      `protobuf:"varint,93,rep,name=unpacked_uint64,json=unpackedUint64" json:"unpacked_uint64,omitempty"`
    UnpackedSint32   []int32       `protobuf:"zigzag32,94,rep,name=unpacked_sint32,json=unpackedSint32" json:"unpacked_sint32,omitempty"`
    UnpackedSint64   []int64       `protobuf:"zigzag64,95,rep,name=unpacked_sint64,json=unpackedSint64" json:"unpacked_sint64,omitempty"`
    UnpackedFixed32  []uint32      `protobuf:"fixed32,96,rep,name=unpacked_fixed32,json=unpackedFixed32" json:"unpacked_fixed32,omitempty"`
    UnpackedFixed64  []uint64      `protobuf:"fixed64,97,rep,name=unpacked_fixed64,json=unpackedFixed64" json:"unpacked_fixed64,omitempty"`
    UnpackedSfixed32 []int32       `protobuf:"fixed32,98,rep,name=unpacked_sfixed32,json=unpackedSfixed32" json:"unpacked_sfixed32,omitempty"`
    UnpackedSfixed64 []int64       `protobuf:"fixed64,99,rep,name=unpacked_sfixed64,json=unpackedSfixed64" json:"unpacked_sfixed64,omitempty"`
    UnpackedFloat    []float32     `protobuf:"fixed32,100,rep,name=unpacked_float,json=unpackedFloat" json:"unpacked_float,omitempty"`
    UnpackedDouble   []float64     `protobuf:"fixed64,101,rep,name=unpacked_double,json=unpackedDouble" json:"unpacked_double,omitempty"`
    UnpackedBool     []bool        `protobuf:"varint,102,rep,name=unpacked_bool,json=unpackedBool" json:"unpacked_bool,omitempty"`
    UnpackedEnum     []ForeignEnum `protobuf:"varint,103,rep,name=unpacked_enum,json=unpackedEnum,enum=goproto.proto.test.ForeignEnum" json:"unpacked_enum,omitempty"`
    // contains filtered or unexported fields
}

func (*TestUnpackedTypes) Descriptor Uses

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

Deprecated: Use TestUnpackedTypes.ProtoReflect.Descriptor instead.

func (*TestUnpackedTypes) GetUnpackedBool Uses

func (x *TestUnpackedTypes) GetUnpackedBool() []bool

func (*TestUnpackedTypes) GetUnpackedDouble Uses

func (x *TestUnpackedTypes) GetUnpackedDouble() []float64

func (*TestUnpackedTypes) GetUnpackedEnum Uses

func (x *TestUnpackedTypes) GetUnpackedEnum() []ForeignEnum

func (*TestUnpackedTypes) GetUnpackedFixed32 Uses

func (x *TestUnpackedTypes) GetUnpackedFixed32() []uint32

func (*TestUnpackedTypes) GetUnpackedFixed64 Uses

func (x *TestUnpackedTypes) GetUnpackedFixed64() []uint64

func (*TestUnpackedTypes) GetUnpackedFloat Uses

func (x *TestUnpackedTypes) GetUnpackedFloat() []float32

func (*TestUnpackedTypes) GetUnpackedInt32 Uses

func (x *TestUnpackedTypes) GetUnpackedInt32() []int32

func (*TestUnpackedTypes) GetUnpackedInt64 Uses

func (x *TestUnpackedTypes) GetUnpackedInt64() []int64

func (*TestUnpackedTypes) GetUnpackedSfixed32 Uses

func (x *TestUnpackedTypes) GetUnpackedSfixed32() []int32

func (*TestUnpackedTypes) GetUnpackedSfixed64 Uses

func (x *TestUnpackedTypes) GetUnpackedSfixed64() []int64

func (*TestUnpackedTypes) GetUnpackedSint32 Uses

func (x *TestUnpackedTypes) GetUnpackedSint32() []int32

func (*TestUnpackedTypes) GetUnpackedSint64 Uses

func (x *TestUnpackedTypes) GetUnpackedSint64() []int64

func (*TestUnpackedTypes) GetUnpackedUint32 Uses

func (x *TestUnpackedTypes) GetUnpackedUint32() []uint32

func (*TestUnpackedTypes) GetUnpackedUint64 Uses

func (x *TestUnpackedTypes) GetUnpackedUint64() []uint64

func (*TestUnpackedTypes) ProtoMessage Uses

func (*TestUnpackedTypes) ProtoMessage()

func (*TestUnpackedTypes) ProtoReflect Uses

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

func (*TestUnpackedTypes) Reset Uses

func (x *TestUnpackedTypes) Reset()

func (*TestUnpackedTypes) String Uses

func (x *TestUnpackedTypes) String() string

type TestWeak Uses

type TestWeak struct {
    XXX_weak_WeakMessage1 struct{} `protobuf:"bytes,1,opt,name=weak_message1,json=weakMessage1,weak=goproto.proto.test.weak.WeakImportMessage1" json:"weak_message1,omitempty"`
    XXX_weak_WeakMessage2 struct{} `protobuf:"bytes,2,opt,name=weak_message2,json=weakMessage2,weak=goproto.proto.test.weak.WeakImportMessage2" json:"weak_message2,omitempty"`
    // contains filtered or unexported fields
}

func (*TestWeak) Descriptor Uses

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

Deprecated: Use TestWeak.ProtoReflect.Descriptor instead.

func (*TestWeak) GetWeakMessage1 Uses

func (x *TestWeak) GetWeakMessage1() proto.Message

func (*TestWeak) GetWeakMessage2 Uses

func (x *TestWeak) GetWeakMessage2() proto.Message

func (*TestWeak) ProtoMessage Uses

func (*TestWeak) ProtoMessage()

func (*TestWeak) ProtoReflect Uses

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

func (*TestWeak) Reset Uses

func (x *TestWeak) Reset()

func (*TestWeak) SetWeakMessage1 Uses

func (x *TestWeak) SetWeakMessage1(v proto.Message)

func (*TestWeak) SetWeakMessage2 Uses

func (x *TestWeak) SetWeakMessage2(v proto.Message)

func (*TestWeak) String Uses

func (x *TestWeak) String() string

type WeirdDefault Uses

type WeirdDefault struct {
    WeirdDefault []byte `protobuf:"bytes,1,opt,name=weird_default,json=weirdDefault,def=hello, \\\"world!\\\"\\ndead\\336\\255\\276\\357beef\x60" json:"weird_default,omitempty"`
    // contains filtered or unexported fields
}

func (*WeirdDefault) Descriptor Uses

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

Deprecated: Use WeirdDefault.ProtoReflect.Descriptor instead.

func (*WeirdDefault) GetWeirdDefault Uses

func (x *WeirdDefault) GetWeirdDefault() []byte

func (*WeirdDefault) ProtoMessage Uses

func (*WeirdDefault) ProtoMessage()

func (*WeirdDefault) ProtoReflect Uses

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

func (*WeirdDefault) Reset Uses

func (x *WeirdDefault) Reset()

func (*WeirdDefault) String Uses

func (x *WeirdDefault) String() string

Directories

PathSynopsis
weak1
weak2

Package test imports 6 packages (graph) and is imported by 3 packages. Updated 2020-09-22. Refresh now. Tools for package owners.