test3_opaque

package
v1.36.2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const TestAllTypes_OneofBool_case case_TestAllTypes_OneofField = 115
View Source
const TestAllTypes_OneofBytes_case case_TestAllTypes_OneofField = 114
View Source
const TestAllTypes_OneofDouble_case case_TestAllTypes_OneofField = 118
View Source
const TestAllTypes_OneofEnum_case case_TestAllTypes_OneofField = 119
View Source
const TestAllTypes_OneofField_not_set_case case_TestAllTypes_OneofField = 0
View Source
const TestAllTypes_OneofFloat_case case_TestAllTypes_OneofField = 117
View Source
const TestAllTypes_OneofNestedMessage_case case_TestAllTypes_OneofField = 112
View Source
const TestAllTypes_OneofString_case case_TestAllTypes_OneofField = 113
View Source
const TestAllTypes_OneofUint32_case case_TestAllTypes_OneofField = 111
View Source
const TestAllTypes_OneofUint64_case case_TestAllTypes_OneofField = 116

Variables

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

Enum value maps for ForeignEnum.

View Source
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.

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

Enum value maps for ImportEnum.

View Source
var File_internal_testprotos_test3_test3_opaque_test_import_opaque_proto protoreflect.FileDescriptor
View Source
var File_internal_testprotos_test3_test3_opaque_test_opaque_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ForeignEnum

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

func (ForeignEnum) Descriptor

func (ForeignEnum) Enum

func (x ForeignEnum) Enum() *ForeignEnum

func (ForeignEnum) Number

func (x ForeignEnum) Number() protoreflect.EnumNumber

func (ForeignEnum) String

func (x ForeignEnum) String() string

func (ForeignEnum) Type

type ForeignMessage

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

func (*ForeignMessage) GetC

func (x *ForeignMessage) GetC() int32

func (*ForeignMessage) GetD

func (x *ForeignMessage) GetD() int32

func (*ForeignMessage) ProtoMessage

func (*ForeignMessage) ProtoMessage()

func (*ForeignMessage) ProtoReflect

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

func (*ForeignMessage) Reset

func (x *ForeignMessage) Reset()

func (*ForeignMessage) SetC

func (x *ForeignMessage) SetC(v int32)

func (*ForeignMessage) SetD

func (x *ForeignMessage) SetD(v int32)

func (*ForeignMessage) String

func (x *ForeignMessage) String() string

type ForeignMessage_builder

type ForeignMessage_builder struct {
	C int32
	D int32
	// contains filtered or unexported fields
}

func (ForeignMessage_builder) Build

type ImportEnum

type ImportEnum int32
const (
	ImportEnum_IMPORT_ZERO ImportEnum = 0
)

func (ImportEnum) Descriptor

func (ImportEnum) Descriptor() protoreflect.EnumDescriptor

func (ImportEnum) Enum

func (x ImportEnum) Enum() *ImportEnum

func (ImportEnum) Number

func (x ImportEnum) Number() protoreflect.EnumNumber

func (ImportEnum) String

func (x ImportEnum) String() string

func (ImportEnum) Type

type ImportMessage

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

func (*ImportMessage) ProtoMessage

func (*ImportMessage) ProtoMessage()

func (*ImportMessage) ProtoReflect

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

func (*ImportMessage) Reset

func (x *ImportMessage) Reset()

func (*ImportMessage) String

func (x *ImportMessage) String() string

type ImportMessage_builder

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

func (ImportMessage_builder) Build

type TestAllTypes

type TestAllTypes struct {
	XXX_raceDetectHookData protoimpl.RaceDetectHookData
	XXX_presence           [3]uint32
	// contains filtered or unexported fields
}

func (*TestAllTypes) ClearOneofBool

func (x *TestAllTypes) ClearOneofBool()

func (*TestAllTypes) ClearOneofBytes

func (x *TestAllTypes) ClearOneofBytes()

func (*TestAllTypes) ClearOneofDouble

func (x *TestAllTypes) ClearOneofDouble()

func (*TestAllTypes) ClearOneofEnum

func (x *TestAllTypes) ClearOneofEnum()

func (*TestAllTypes) ClearOneofField

func (x *TestAllTypes) ClearOneofField()

func (*TestAllTypes) ClearOneofFloat

func (x *TestAllTypes) ClearOneofFloat()

func (*TestAllTypes) ClearOneofNestedMessage

func (x *TestAllTypes) ClearOneofNestedMessage()

func (*TestAllTypes) ClearOneofString

func (x *TestAllTypes) ClearOneofString()

func (*TestAllTypes) ClearOneofUint32

func (x *TestAllTypes) ClearOneofUint32()

func (*TestAllTypes) ClearOneofUint64

func (x *TestAllTypes) ClearOneofUint64()

func (*TestAllTypes) ClearOptionalBool

func (x *TestAllTypes) ClearOptionalBool()

func (*TestAllTypes) ClearOptionalBytes

func (x *TestAllTypes) ClearOptionalBytes()

func (*TestAllTypes) ClearOptionalDouble

func (x *TestAllTypes) ClearOptionalDouble()

func (*TestAllTypes) ClearOptionalFixed32

func (x *TestAllTypes) ClearOptionalFixed32()

func (*TestAllTypes) ClearOptionalFixed64

func (x *TestAllTypes) ClearOptionalFixed64()

func (*TestAllTypes) ClearOptionalFloat

func (x *TestAllTypes) ClearOptionalFloat()

func (*TestAllTypes) ClearOptionalForeignEnum

func (x *TestAllTypes) ClearOptionalForeignEnum()

func (*TestAllTypes) ClearOptionalForeignMessage

func (x *TestAllTypes) ClearOptionalForeignMessage()

func (*TestAllTypes) ClearOptionalImportEnum

func (x *TestAllTypes) ClearOptionalImportEnum()

func (*TestAllTypes) ClearOptionalImportMessage

func (x *TestAllTypes) ClearOptionalImportMessage()

func (*TestAllTypes) ClearOptionalInt32

func (x *TestAllTypes) ClearOptionalInt32()

func (*TestAllTypes) ClearOptionalInt64

func (x *TestAllTypes) ClearOptionalInt64()

func (*TestAllTypes) ClearOptionalNestedEnum

func (x *TestAllTypes) ClearOptionalNestedEnum()

func (*TestAllTypes) ClearOptionalNestedMessage

func (x *TestAllTypes) ClearOptionalNestedMessage()

func (*TestAllTypes) ClearOptionalSfixed32

func (x *TestAllTypes) ClearOptionalSfixed32()

func (*TestAllTypes) ClearOptionalSfixed64

func (x *TestAllTypes) ClearOptionalSfixed64()

func (*TestAllTypes) ClearOptionalSint32

func (x *TestAllTypes) ClearOptionalSint32()

func (*TestAllTypes) ClearOptionalSint64

func (x *TestAllTypes) ClearOptionalSint64()

func (*TestAllTypes) ClearOptionalString

func (x *TestAllTypes) ClearOptionalString()

func (*TestAllTypes) ClearOptionalUint32

func (x *TestAllTypes) ClearOptionalUint32()

func (*TestAllTypes) ClearOptionalUint64

func (x *TestAllTypes) ClearOptionalUint64()

func (*TestAllTypes) ClearSingularForeignMessage

func (x *TestAllTypes) ClearSingularForeignMessage()

func (*TestAllTypes) ClearSingularImportMessage

func (x *TestAllTypes) ClearSingularImportMessage()

func (*TestAllTypes) ClearSingularNestedMessage

func (x *TestAllTypes) ClearSingularNestedMessage()

func (*TestAllTypes) GetMapBoolBool

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

func (*TestAllTypes) GetMapFixed32Fixed32

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

func (*TestAllTypes) GetMapFixed64Fixed64

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

func (*TestAllTypes) GetMapInt32Double

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

func (*TestAllTypes) GetMapInt32Float

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

func (*TestAllTypes) GetMapInt32Int32

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

func (*TestAllTypes) GetMapInt64Int64

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

func (*TestAllTypes) GetMapSfixed32Sfixed32

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

func (*TestAllTypes) GetMapSfixed64Sfixed64

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

func (*TestAllTypes) GetMapSint32Sint32

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

func (*TestAllTypes) GetMapSint64Sint64

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

func (*TestAllTypes) GetMapStringBytes

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

func (*TestAllTypes) GetMapStringNestedEnum

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

func (*TestAllTypes) GetMapStringNestedMessage

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

func (*TestAllTypes) GetMapStringString

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

func (*TestAllTypes) GetMapUint32Uint32

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

func (*TestAllTypes) GetMapUint64Uint64

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

func (*TestAllTypes) GetOneofBool

func (x *TestAllTypes) GetOneofBool() bool

func (*TestAllTypes) GetOneofBytes

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

func (*TestAllTypes) GetOneofDouble

func (x *TestAllTypes) GetOneofDouble() float64

func (*TestAllTypes) GetOneofEnum

func (x *TestAllTypes) GetOneofEnum() TestAllTypes_NestedEnum

func (*TestAllTypes) GetOneofFloat

func (x *TestAllTypes) GetOneofFloat() float32

func (*TestAllTypes) GetOneofNestedMessage

func (x *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage

func (*TestAllTypes) GetOneofString

func (x *TestAllTypes) GetOneofString() string

func (*TestAllTypes) GetOneofUint32

func (x *TestAllTypes) GetOneofUint32() uint32

func (*TestAllTypes) GetOneofUint64

func (x *TestAllTypes) GetOneofUint64() uint64

func (*TestAllTypes) GetOptionalBool

func (x *TestAllTypes) GetOptionalBool() bool

func (*TestAllTypes) GetOptionalBytes

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

func (*TestAllTypes) GetOptionalDouble

func (x *TestAllTypes) GetOptionalDouble() float64

func (*TestAllTypes) GetOptionalFixed32

func (x *TestAllTypes) GetOptionalFixed32() uint32

func (*TestAllTypes) GetOptionalFixed64

func (x *TestAllTypes) GetOptionalFixed64() uint64

func (*TestAllTypes) GetOptionalFloat

func (x *TestAllTypes) GetOptionalFloat() float32

func (*TestAllTypes) GetOptionalForeignEnum

func (x *TestAllTypes) GetOptionalForeignEnum() ForeignEnum

func (*TestAllTypes) GetOptionalForeignMessage

func (x *TestAllTypes) GetOptionalForeignMessage() *ForeignMessage

func (*TestAllTypes) GetOptionalImportEnum

func (x *TestAllTypes) GetOptionalImportEnum() ImportEnum

func (*TestAllTypes) GetOptionalImportMessage

func (x *TestAllTypes) GetOptionalImportMessage() *ImportMessage

func (*TestAllTypes) GetOptionalInt32

func (x *TestAllTypes) GetOptionalInt32() int32

func (*TestAllTypes) GetOptionalInt64

func (x *TestAllTypes) GetOptionalInt64() int64

func (*TestAllTypes) GetOptionalNestedEnum

func (x *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum

func (*TestAllTypes) GetOptionalNestedMessage

func (x *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage

func (*TestAllTypes) GetOptionalSfixed32

func (x *TestAllTypes) GetOptionalSfixed32() int32

func (*TestAllTypes) GetOptionalSfixed64

func (x *TestAllTypes) GetOptionalSfixed64() int64

func (*TestAllTypes) GetOptionalSint32

func (x *TestAllTypes) GetOptionalSint32() int32

func (*TestAllTypes) GetOptionalSint64

func (x *TestAllTypes) GetOptionalSint64() int64

func (*TestAllTypes) GetOptionalString

func (x *TestAllTypes) GetOptionalString() string

func (*TestAllTypes) GetOptionalUint32

func (x *TestAllTypes) GetOptionalUint32() uint32

func (*TestAllTypes) GetOptionalUint64

func (x *TestAllTypes) GetOptionalUint64() uint64

func (*TestAllTypes) GetRepeatedBool

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

func (*TestAllTypes) GetRepeatedBytes

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

func (*TestAllTypes) GetRepeatedDouble

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

func (*TestAllTypes) GetRepeatedFixed32

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

func (*TestAllTypes) GetRepeatedFixed64

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

func (*TestAllTypes) GetRepeatedFloat

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

func (*TestAllTypes) GetRepeatedForeignEnum

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

func (*TestAllTypes) GetRepeatedForeignMessage

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

func (*TestAllTypes) GetRepeatedImportenum

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

func (*TestAllTypes) GetRepeatedImportmessage

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

func (*TestAllTypes) GetRepeatedInt32

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

func (*TestAllTypes) GetRepeatedInt64

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

func (*TestAllTypes) GetRepeatedNestedEnum

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

func (*TestAllTypes) GetRepeatedNestedMessage

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

func (*TestAllTypes) GetRepeatedSfixed32

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

func (*TestAllTypes) GetRepeatedSfixed64

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

func (*TestAllTypes) GetRepeatedSint32

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

func (*TestAllTypes) GetRepeatedSint64

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

func (*TestAllTypes) GetRepeatedString

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

func (*TestAllTypes) GetRepeatedUint32

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

func (*TestAllTypes) GetRepeatedUint64

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

func (*TestAllTypes) GetSingularBool

func (x *TestAllTypes) GetSingularBool() bool

func (*TestAllTypes) GetSingularBytes

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

func (*TestAllTypes) GetSingularDouble

func (x *TestAllTypes) GetSingularDouble() float64

func (*TestAllTypes) GetSingularFixed32

func (x *TestAllTypes) GetSingularFixed32() uint32

func (*TestAllTypes) GetSingularFixed64

func (x *TestAllTypes) GetSingularFixed64() uint64

func (*TestAllTypes) GetSingularFloat

func (x *TestAllTypes) GetSingularFloat() float32

func (*TestAllTypes) GetSingularForeignEnum

func (x *TestAllTypes) GetSingularForeignEnum() ForeignEnum

func (*TestAllTypes) GetSingularForeignMessage

func (x *TestAllTypes) GetSingularForeignMessage() *ForeignMessage

func (*TestAllTypes) GetSingularImportEnum

func (x *TestAllTypes) GetSingularImportEnum() ImportEnum

func (*TestAllTypes) GetSingularImportMessage

func (x *TestAllTypes) GetSingularImportMessage() *ImportMessage

func (*TestAllTypes) GetSingularInt32

func (x *TestAllTypes) GetSingularInt32() int32

func (*TestAllTypes) GetSingularInt64

func (x *TestAllTypes) GetSingularInt64() int64

func (*TestAllTypes) GetSingularNestedEnum

func (x *TestAllTypes) GetSingularNestedEnum() TestAllTypes_NestedEnum

func (*TestAllTypes) GetSingularNestedMessage

func (x *TestAllTypes) GetSingularNestedMessage() *TestAllTypes_NestedMessage

func (*TestAllTypes) GetSingularSfixed32

func (x *TestAllTypes) GetSingularSfixed32() int32

func (*TestAllTypes) GetSingularSfixed64

func (x *TestAllTypes) GetSingularSfixed64() int64

func (*TestAllTypes) GetSingularSint32

func (x *TestAllTypes) GetSingularSint32() int32

func (*TestAllTypes) GetSingularSint64

func (x *TestAllTypes) GetSingularSint64() int64

func (*TestAllTypes) GetSingularString

func (x *TestAllTypes) GetSingularString() string

func (*TestAllTypes) GetSingularUint32

func (x *TestAllTypes) GetSingularUint32() uint32

func (*TestAllTypes) GetSingularUint64

func (x *TestAllTypes) GetSingularUint64() uint64

func (*TestAllTypes) HasOneofBool

func (x *TestAllTypes) HasOneofBool() bool

func (*TestAllTypes) HasOneofBytes

func (x *TestAllTypes) HasOneofBytes() bool

func (*TestAllTypes) HasOneofDouble

func (x *TestAllTypes) HasOneofDouble() bool

func (*TestAllTypes) HasOneofEnum

func (x *TestAllTypes) HasOneofEnum() bool

func (*TestAllTypes) HasOneofField

func (x *TestAllTypes) HasOneofField() bool

func (*TestAllTypes) HasOneofFloat

func (x *TestAllTypes) HasOneofFloat() bool

func (*TestAllTypes) HasOneofNestedMessage

func (x *TestAllTypes) HasOneofNestedMessage() bool

func (*TestAllTypes) HasOneofString

func (x *TestAllTypes) HasOneofString() bool

func (*TestAllTypes) HasOneofUint32

func (x *TestAllTypes) HasOneofUint32() bool

func (*TestAllTypes) HasOneofUint64

func (x *TestAllTypes) HasOneofUint64() bool

func (*TestAllTypes) HasOptionalBool

func (x *TestAllTypes) HasOptionalBool() bool

func (*TestAllTypes) HasOptionalBytes

func (x *TestAllTypes) HasOptionalBytes() bool

func (*TestAllTypes) HasOptionalDouble

func (x *TestAllTypes) HasOptionalDouble() bool

func (*TestAllTypes) HasOptionalFixed32

func (x *TestAllTypes) HasOptionalFixed32() bool

func (*TestAllTypes) HasOptionalFixed64

func (x *TestAllTypes) HasOptionalFixed64() bool

func (*TestAllTypes) HasOptionalFloat

func (x *TestAllTypes) HasOptionalFloat() bool

func (*TestAllTypes) HasOptionalForeignEnum

func (x *TestAllTypes) HasOptionalForeignEnum() bool

func (*TestAllTypes) HasOptionalForeignMessage

func (x *TestAllTypes) HasOptionalForeignMessage() bool

func (*TestAllTypes) HasOptionalImportEnum

func (x *TestAllTypes) HasOptionalImportEnum() bool

func (*TestAllTypes) HasOptionalImportMessage

func (x *TestAllTypes) HasOptionalImportMessage() bool

func (*TestAllTypes) HasOptionalInt32

func (x *TestAllTypes) HasOptionalInt32() bool

func (*TestAllTypes) HasOptionalInt64

func (x *TestAllTypes) HasOptionalInt64() bool

func (*TestAllTypes) HasOptionalNestedEnum

func (x *TestAllTypes) HasOptionalNestedEnum() bool

func (*TestAllTypes) HasOptionalNestedMessage

func (x *TestAllTypes) HasOptionalNestedMessage() bool

func (*TestAllTypes) HasOptionalSfixed32

func (x *TestAllTypes) HasOptionalSfixed32() bool

func (*TestAllTypes) HasOptionalSfixed64

func (x *TestAllTypes) HasOptionalSfixed64() bool

func (*TestAllTypes) HasOptionalSint32

func (x *TestAllTypes) HasOptionalSint32() bool

func (*TestAllTypes) HasOptionalSint64

func (x *TestAllTypes) HasOptionalSint64() bool

func (*TestAllTypes) HasOptionalString

func (x *TestAllTypes) HasOptionalString() bool

func (*TestAllTypes) HasOptionalUint32

func (x *TestAllTypes) HasOptionalUint32() bool

func (*TestAllTypes) HasOptionalUint64

func (x *TestAllTypes) HasOptionalUint64() bool

func (*TestAllTypes) HasSingularForeignMessage

func (x *TestAllTypes) HasSingularForeignMessage() bool

func (*TestAllTypes) HasSingularImportMessage

func (x *TestAllTypes) HasSingularImportMessage() bool

func (*TestAllTypes) HasSingularNestedMessage

func (x *TestAllTypes) HasSingularNestedMessage() bool

func (*TestAllTypes) ProtoMessage

func (*TestAllTypes) ProtoMessage()

func (*TestAllTypes) ProtoReflect

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

func (*TestAllTypes) Reset

func (x *TestAllTypes) Reset()

func (*TestAllTypes) SetMapBoolBool

func (x *TestAllTypes) SetMapBoolBool(v map[bool]bool)

func (*TestAllTypes) SetMapFixed32Fixed32

func (x *TestAllTypes) SetMapFixed32Fixed32(v map[uint32]uint32)

func (*TestAllTypes) SetMapFixed64Fixed64

func (x *TestAllTypes) SetMapFixed64Fixed64(v map[uint64]uint64)

func (*TestAllTypes) SetMapInt32Double

func (x *TestAllTypes) SetMapInt32Double(v map[int32]float64)

func (*TestAllTypes) SetMapInt32Float

func (x *TestAllTypes) SetMapInt32Float(v map[int32]float32)

func (*TestAllTypes) SetMapInt32Int32

func (x *TestAllTypes) SetMapInt32Int32(v map[int32]int32)

func (*TestAllTypes) SetMapInt64Int64

func (x *TestAllTypes) SetMapInt64Int64(v map[int64]int64)

func (*TestAllTypes) SetMapSfixed32Sfixed32

func (x *TestAllTypes) SetMapSfixed32Sfixed32(v map[int32]int32)

func (*TestAllTypes) SetMapSfixed64Sfixed64

func (x *TestAllTypes) SetMapSfixed64Sfixed64(v map[int64]int64)

func (*TestAllTypes) SetMapSint32Sint32

func (x *TestAllTypes) SetMapSint32Sint32(v map[int32]int32)

func (*TestAllTypes) SetMapSint64Sint64

func (x *TestAllTypes) SetMapSint64Sint64(v map[int64]int64)

func (*TestAllTypes) SetMapStringBytes

func (x *TestAllTypes) SetMapStringBytes(v map[string][]byte)

func (*TestAllTypes) SetMapStringNestedEnum

func (x *TestAllTypes) SetMapStringNestedEnum(v map[string]TestAllTypes_NestedEnum)

func (*TestAllTypes) SetMapStringNestedMessage

func (x *TestAllTypes) SetMapStringNestedMessage(v map[string]*TestAllTypes_NestedMessage)

func (*TestAllTypes) SetMapStringString

func (x *TestAllTypes) SetMapStringString(v map[string]string)

func (*TestAllTypes) SetMapUint32Uint32

func (x *TestAllTypes) SetMapUint32Uint32(v map[uint32]uint32)

func (*TestAllTypes) SetMapUint64Uint64

func (x *TestAllTypes) SetMapUint64Uint64(v map[uint64]uint64)

func (*TestAllTypes) SetOneofBool

func (x *TestAllTypes) SetOneofBool(v bool)

func (*TestAllTypes) SetOneofBytes

func (x *TestAllTypes) SetOneofBytes(v []byte)

func (*TestAllTypes) SetOneofDouble

func (x *TestAllTypes) SetOneofDouble(v float64)

func (*TestAllTypes) SetOneofEnum

func (x *TestAllTypes) SetOneofEnum(v TestAllTypes_NestedEnum)

func (*TestAllTypes) SetOneofFloat

func (x *TestAllTypes) SetOneofFloat(v float32)

func (*TestAllTypes) SetOneofNestedMessage

func (x *TestAllTypes) SetOneofNestedMessage(v *TestAllTypes_NestedMessage)

func (*TestAllTypes) SetOneofString

func (x *TestAllTypes) SetOneofString(v string)

func (*TestAllTypes) SetOneofUint32

func (x *TestAllTypes) SetOneofUint32(v uint32)

func (*TestAllTypes) SetOneofUint64

func (x *TestAllTypes) SetOneofUint64(v uint64)

func (*TestAllTypes) SetOptionalBool

func (x *TestAllTypes) SetOptionalBool(v bool)

func (*TestAllTypes) SetOptionalBytes

func (x *TestAllTypes) SetOptionalBytes(v []byte)

func (*TestAllTypes) SetOptionalDouble

func (x *TestAllTypes) SetOptionalDouble(v float64)

func (*TestAllTypes) SetOptionalFixed32

func (x *TestAllTypes) SetOptionalFixed32(v uint32)

func (*TestAllTypes) SetOptionalFixed64

func (x *TestAllTypes) SetOptionalFixed64(v uint64)

func (*TestAllTypes) SetOptionalFloat

func (x *TestAllTypes) SetOptionalFloat(v float32)

func (*TestAllTypes) SetOptionalForeignEnum

func (x *TestAllTypes) SetOptionalForeignEnum(v ForeignEnum)

func (*TestAllTypes) SetOptionalForeignMessage

func (x *TestAllTypes) SetOptionalForeignMessage(v *ForeignMessage)

func (*TestAllTypes) SetOptionalImportEnum

func (x *TestAllTypes) SetOptionalImportEnum(v ImportEnum)

func (*TestAllTypes) SetOptionalImportMessage

func (x *TestAllTypes) SetOptionalImportMessage(v *ImportMessage)

func (*TestAllTypes) SetOptionalInt32

func (x *TestAllTypes) SetOptionalInt32(v int32)

func (*TestAllTypes) SetOptionalInt64

func (x *TestAllTypes) SetOptionalInt64(v int64)

func (*TestAllTypes) SetOptionalNestedEnum

func (x *TestAllTypes) SetOptionalNestedEnum(v TestAllTypes_NestedEnum)

func (*TestAllTypes) SetOptionalNestedMessage

func (x *TestAllTypes) SetOptionalNestedMessage(v *TestAllTypes_NestedMessage)

func (*TestAllTypes) SetOptionalSfixed32

func (x *TestAllTypes) SetOptionalSfixed32(v int32)

func (*TestAllTypes) SetOptionalSfixed64

func (x *TestAllTypes) SetOptionalSfixed64(v int64)

func (*TestAllTypes) SetOptionalSint32

func (x *TestAllTypes) SetOptionalSint32(v int32)

func (*TestAllTypes) SetOptionalSint64

func (x *TestAllTypes) SetOptionalSint64(v int64)

func (*TestAllTypes) SetOptionalString

func (x *TestAllTypes) SetOptionalString(v string)

func (*TestAllTypes) SetOptionalUint32

func (x *TestAllTypes) SetOptionalUint32(v uint32)

func (*TestAllTypes) SetOptionalUint64

func (x *TestAllTypes) SetOptionalUint64(v uint64)

func (*TestAllTypes) SetRepeatedBool

func (x *TestAllTypes) SetRepeatedBool(v []bool)

func (*TestAllTypes) SetRepeatedBytes

func (x *TestAllTypes) SetRepeatedBytes(v [][]byte)

func (*TestAllTypes) SetRepeatedDouble

func (x *TestAllTypes) SetRepeatedDouble(v []float64)

func (*TestAllTypes) SetRepeatedFixed32

func (x *TestAllTypes) SetRepeatedFixed32(v []uint32)

func (*TestAllTypes) SetRepeatedFixed64

func (x *TestAllTypes) SetRepeatedFixed64(v []uint64)

func (*TestAllTypes) SetRepeatedFloat

func (x *TestAllTypes) SetRepeatedFloat(v []float32)

func (*TestAllTypes) SetRepeatedForeignEnum

func (x *TestAllTypes) SetRepeatedForeignEnum(v []ForeignEnum)

func (*TestAllTypes) SetRepeatedForeignMessage

func (x *TestAllTypes) SetRepeatedForeignMessage(v []*ForeignMessage)

func (*TestAllTypes) SetRepeatedImportenum

func (x *TestAllTypes) SetRepeatedImportenum(v []ImportEnum)

func (*TestAllTypes) SetRepeatedImportmessage

func (x *TestAllTypes) SetRepeatedImportmessage(v []*ImportMessage)

func (*TestAllTypes) SetRepeatedInt32

func (x *TestAllTypes) SetRepeatedInt32(v []int32)

func (*TestAllTypes) SetRepeatedInt64

func (x *TestAllTypes) SetRepeatedInt64(v []int64)

func (*TestAllTypes) SetRepeatedNestedEnum

func (x *TestAllTypes) SetRepeatedNestedEnum(v []TestAllTypes_NestedEnum)

func (*TestAllTypes) SetRepeatedNestedMessage

func (x *TestAllTypes) SetRepeatedNestedMessage(v []*TestAllTypes_NestedMessage)

func (*TestAllTypes) SetRepeatedSfixed32

func (x *TestAllTypes) SetRepeatedSfixed32(v []int32)

func (*TestAllTypes) SetRepeatedSfixed64

func (x *TestAllTypes) SetRepeatedSfixed64(v []int64)

func (*TestAllTypes) SetRepeatedSint32

func (x *TestAllTypes) SetRepeatedSint32(v []int32)

func (*TestAllTypes) SetRepeatedSint64

func (x *TestAllTypes) SetRepeatedSint64(v []int64)

func (*TestAllTypes) SetRepeatedString

func (x *TestAllTypes) SetRepeatedString(v []string)

func (*TestAllTypes) SetRepeatedUint32

func (x *TestAllTypes) SetRepeatedUint32(v []uint32)

func (*TestAllTypes) SetRepeatedUint64

func (x *TestAllTypes) SetRepeatedUint64(v []uint64)

func (*TestAllTypes) SetSingularBool

func (x *TestAllTypes) SetSingularBool(v bool)

func (*TestAllTypes) SetSingularBytes

func (x *TestAllTypes) SetSingularBytes(v []byte)

func (*TestAllTypes) SetSingularDouble

func (x *TestAllTypes) SetSingularDouble(v float64)

func (*TestAllTypes) SetSingularFixed32

func (x *TestAllTypes) SetSingularFixed32(v uint32)

func (*TestAllTypes) SetSingularFixed64

func (x *TestAllTypes) SetSingularFixed64(v uint64)

func (*TestAllTypes) SetSingularFloat

func (x *TestAllTypes) SetSingularFloat(v float32)

func (*TestAllTypes) SetSingularForeignEnum

func (x *TestAllTypes) SetSingularForeignEnum(v ForeignEnum)

func (*TestAllTypes) SetSingularForeignMessage

func (x *TestAllTypes) SetSingularForeignMessage(v *ForeignMessage)

func (*TestAllTypes) SetSingularImportEnum

func (x *TestAllTypes) SetSingularImportEnum(v ImportEnum)

func (*TestAllTypes) SetSingularImportMessage

func (x *TestAllTypes) SetSingularImportMessage(v *ImportMessage)

func (*TestAllTypes) SetSingularInt32

func (x *TestAllTypes) SetSingularInt32(v int32)

func (*TestAllTypes) SetSingularInt64

func (x *TestAllTypes) SetSingularInt64(v int64)

func (*TestAllTypes) SetSingularNestedEnum

func (x *TestAllTypes) SetSingularNestedEnum(v TestAllTypes_NestedEnum)

func (*TestAllTypes) SetSingularNestedMessage

func (x *TestAllTypes) SetSingularNestedMessage(v *TestAllTypes_NestedMessage)

func (*TestAllTypes) SetSingularSfixed32

func (x *TestAllTypes) SetSingularSfixed32(v int32)

func (*TestAllTypes) SetSingularSfixed64

func (x *TestAllTypes) SetSingularSfixed64(v int64)

func (*TestAllTypes) SetSingularSint32

func (x *TestAllTypes) SetSingularSint32(v int32)

func (*TestAllTypes) SetSingularSint64

func (x *TestAllTypes) SetSingularSint64(v int64)

func (*TestAllTypes) SetSingularString

func (x *TestAllTypes) SetSingularString(v string)

func (*TestAllTypes) SetSingularUint32

func (x *TestAllTypes) SetSingularUint32(v uint32)

func (*TestAllTypes) SetSingularUint64

func (x *TestAllTypes) SetSingularUint64(v uint64)

func (*TestAllTypes) String

func (x *TestAllTypes) String() string

func (*TestAllTypes) WhichOneofField

func (x *TestAllTypes) WhichOneofField() case_TestAllTypes_OneofField

type TestAllTypes_NestedEnum

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

func (TestAllTypes_NestedEnum) Enum

func (TestAllTypes_NestedEnum) Number

func (TestAllTypes_NestedEnum) String

func (x TestAllTypes_NestedEnum) String() string

func (TestAllTypes_NestedEnum) Type

type TestAllTypes_NestedMessage

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

func (*TestAllTypes_NestedMessage) ClearCorecursive

func (x *TestAllTypes_NestedMessage) ClearCorecursive()

func (*TestAllTypes_NestedMessage) GetA

func (*TestAllTypes_NestedMessage) GetCorecursive

func (x *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes

func (*TestAllTypes_NestedMessage) HasCorecursive

func (x *TestAllTypes_NestedMessage) HasCorecursive() bool

func (*TestAllTypes_NestedMessage) ProtoMessage

func (*TestAllTypes_NestedMessage) ProtoMessage()

func (*TestAllTypes_NestedMessage) ProtoReflect

func (*TestAllTypes_NestedMessage) Reset

func (x *TestAllTypes_NestedMessage) Reset()

func (*TestAllTypes_NestedMessage) SetA

func (x *TestAllTypes_NestedMessage) SetA(v int32)

func (*TestAllTypes_NestedMessage) SetCorecursive

func (x *TestAllTypes_NestedMessage) SetCorecursive(v *TestAllTypes)

func (*TestAllTypes_NestedMessage) String

func (x *TestAllTypes_NestedMessage) String() string

type TestAllTypes_NestedMessage_builder

type TestAllTypes_NestedMessage_builder struct {
	A           int32
	Corecursive *TestAllTypes
	// contains filtered or unexported fields
}

func (TestAllTypes_NestedMessage_builder) Build

type TestAllTypes_builder

type TestAllTypes_builder struct {
	SingularInt32          int32
	SingularInt64          int64
	SingularUint32         uint32
	SingularUint64         uint64
	SingularSint32         int32
	SingularSint64         int64
	SingularFixed32        uint32
	SingularFixed64        uint64
	SingularSfixed32       int32
	SingularSfixed64       int64
	SingularFloat          float32
	SingularDouble         float64
	SingularBool           bool
	SingularString         string
	SingularBytes          []byte
	SingularNestedMessage  *TestAllTypes_NestedMessage
	SingularForeignMessage *ForeignMessage
	SingularImportMessage  *ImportMessage
	SingularNestedEnum     TestAllTypes_NestedEnum
	SingularForeignEnum    ForeignEnum
	SingularImportEnum     ImportEnum
	OptionalInt32          *int32
	OptionalInt64          *int64
	OptionalUint32         *uint32
	OptionalUint64         *uint64
	OptionalSint32         *int32
	OptionalSint64         *int64
	OptionalFixed32        *uint32
	OptionalFixed64        *uint64
	OptionalSfixed32       *int32
	OptionalSfixed64       *int64
	OptionalFloat          *float32
	OptionalDouble         *float64
	OptionalBool           *bool
	OptionalString         *string
	OptionalBytes          []byte
	OptionalNestedMessage  *TestAllTypes_NestedMessage
	OptionalForeignMessage *ForeignMessage
	OptionalImportMessage  *ImportMessage
	OptionalNestedEnum     *TestAllTypes_NestedEnum
	OptionalForeignEnum    *ForeignEnum
	OptionalImportEnum     *ImportEnum
	RepeatedInt32          []int32
	RepeatedInt64          []int64
	RepeatedUint32         []uint32
	RepeatedUint64         []uint64
	RepeatedSint32         []int32
	RepeatedSint64         []int64
	RepeatedFixed32        []uint32
	RepeatedFixed64        []uint64
	RepeatedSfixed32       []int32
	RepeatedSfixed64       []int64
	RepeatedFloat          []float32
	RepeatedDouble         []float64
	RepeatedBool           []bool
	RepeatedString         []string
	RepeatedBytes          [][]byte
	RepeatedNestedMessage  []*TestAllTypes_NestedMessage
	RepeatedForeignMessage []*ForeignMessage
	RepeatedImportmessage  []*ImportMessage
	RepeatedNestedEnum     []TestAllTypes_NestedEnum
	RepeatedForeignEnum    []ForeignEnum
	RepeatedImportenum     []ImportEnum
	MapInt32Int32          map[int32]int32
	MapInt64Int64          map[int64]int64
	MapUint32Uint32        map[uint32]uint32
	MapUint64Uint64        map[uint64]uint64
	MapSint32Sint32        map[int32]int32
	MapSint64Sint64        map[int64]int64
	MapFixed32Fixed32      map[uint32]uint32
	MapFixed64Fixed64      map[uint64]uint64
	MapSfixed32Sfixed32    map[int32]int32
	MapSfixed64Sfixed64    map[int64]int64
	MapInt32Float          map[int32]float32
	MapInt32Double         map[int32]float64
	MapBoolBool            map[bool]bool
	MapStringString        map[string]string
	MapStringBytes         map[string][]byte
	MapStringNestedMessage map[string]*TestAllTypes_NestedMessage
	MapStringNestedEnum    map[string]TestAllTypes_NestedEnum
	// Fields of oneof xxx_hidden_OneofField:
	OneofUint32        *uint32
	OneofNestedMessage *TestAllTypes_NestedMessage
	OneofString        *string
	OneofBytes         []byte
	OneofBool          *bool
	OneofUint64        *uint64
	OneofFloat         *float32
	OneofDouble        *float64
	OneofEnum          *TestAllTypes_NestedEnum
	// contains filtered or unexported fields
}

func (TestAllTypes_builder) Build

func (b0 TestAllTypes_builder) Build() *TestAllTypes

Jump to

Keyboard shortcuts

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