Back to godoc.org

Package msetextpb

v1.25.0
Latest Go to latest

The latest major version is .

Published: Jun 22, 2020 | License: BSD-3-Clause | Module: google.golang.org/protobuf

Index

Variables

var (
	// optional goproto.proto.messageset.Ext1 message_set_extension = 1000;
	E_Ext1_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[0]
	// optional goproto.proto.messageset.Ext2 message_set_extension = 1001;
	E_Ext2_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[1]
	// optional goproto.proto.messageset.ExtRequired message_set_extension = 1002;
	E_ExtRequired_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[2]
	// optional goproto.proto.messageset.ExtLargeNumber message_set_extension = 536870912;
	E_ExtLargeNumber_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[3] // 1<<29
)

Extension fields to messagesetpb.MessageSet.

var File_internal_testprotos_messageset_msetextpb_msetextpb_proto protoreflect.FileDescriptor

type Ext1

type Ext1 struct {
	Ext1Field1 *int32 `protobuf:"varint,1,opt,name=ext1_field1,json=ext1Field1" json:"ext1_field1,omitempty"`
	Ext1Field2 *int32 `protobuf:"varint,2,opt,name=ext1_field2,json=ext1Field2" json:"ext1_field2,omitempty"`
	// contains filtered or unexported fields
}

func (*Ext1) Descriptor

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

Deprecated: Use Ext1.ProtoReflect.Descriptor instead.

func (*Ext1) GetExt1Field1

func (x *Ext1) GetExt1Field1() int32

func (*Ext1) GetExt1Field2

func (x *Ext1) GetExt1Field2() int32

func (*Ext1) ProtoMessage

func (*Ext1) ProtoMessage()

func (*Ext1) ProtoReflect

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

func (*Ext1) Reset

func (x *Ext1) Reset()

func (*Ext1) String

func (x *Ext1) String() string

type Ext2

type Ext2 struct {
	Ext2Field1 *int32 `protobuf:"varint,1,opt,name=ext2_field1,json=ext2Field1" json:"ext2_field1,omitempty"`
	// contains filtered or unexported fields
}

func (*Ext2) Descriptor

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

Deprecated: Use Ext2.ProtoReflect.Descriptor instead.

func (*Ext2) GetExt2Field1

func (x *Ext2) GetExt2Field1() int32

func (*Ext2) ProtoMessage

func (*Ext2) ProtoMessage()

func (*Ext2) ProtoReflect

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

func (*Ext2) Reset

func (x *Ext2) Reset()

func (*Ext2) String

func (x *Ext2) String() string

type ExtLargeNumber

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

func (*ExtLargeNumber) Descriptor

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

Deprecated: Use ExtLargeNumber.ProtoReflect.Descriptor instead.

func (*ExtLargeNumber) ProtoMessage

func (*ExtLargeNumber) ProtoMessage()

func (*ExtLargeNumber) ProtoReflect

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

func (*ExtLargeNumber) Reset

func (x *ExtLargeNumber) Reset()

func (*ExtLargeNumber) String

func (x *ExtLargeNumber) String() string

type ExtRequired

type ExtRequired struct {
	RequiredField1 *int32 `protobuf:"varint,1,req,name=required_field1,json=requiredField1" json:"required_field1,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtRequired) Descriptor

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

Deprecated: Use ExtRequired.ProtoReflect.Descriptor instead.

func (*ExtRequired) GetRequiredField1

func (x *ExtRequired) GetRequiredField1() int32

func (*ExtRequired) ProtoMessage

func (*ExtRequired) ProtoMessage()

func (*ExtRequired) ProtoReflect

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

func (*ExtRequired) Reset

func (x *ExtRequired) Reset()

func (*ExtRequired) String

func (x *ExtRequired) String() string

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier