...

Package extra

import "google.golang.org/protobuf/cmd/protoc-gen-go/testdata/extensions/extra"
Overview
Index

Overview ▾

Variables

var File_cmd_protoc_gen_go_testdata_extensions_extra_extra_proto protoreflect.FileDescriptor

type ExtraMessage

type ExtraMessage struct {
    Data []byte `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
    // contains filtered or unexported fields
}

func (*ExtraMessage) Descriptor

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

Deprecated: Use ExtraMessage.ProtoReflect.Descriptor instead.

func (*ExtraMessage) GetData

func (x *ExtraMessage) GetData() []byte

func (*ExtraMessage) ProtoMessage

func (*ExtraMessage) ProtoMessage()

func (*ExtraMessage) ProtoReflect

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

func (*ExtraMessage) Reset

func (x *ExtraMessage) Reset()

func (*ExtraMessage) String

func (x *ExtraMessage) String() string