...

Package base

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

Overview ▾

Variables

var File_cmd_protoc_gen_go_testdata_extensions_base_base_proto protoreflect.FileDescriptor

type BaseMessage

type BaseMessage struct {
    Field *string `protobuf:"bytes,1,opt,name=field" json:"field,omitempty"`
    // contains filtered or unexported fields
}

func (*BaseMessage) Descriptor

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

Deprecated: Use BaseMessage.ProtoReflect.Descriptor instead.

func (*BaseMessage) GetField

func (x *BaseMessage) GetField() string

func (*BaseMessage) ProtoMessage

func (*BaseMessage) ProtoMessage()

func (*BaseMessage) ProtoReflect

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

func (*BaseMessage) Reset

func (x *BaseMessage) Reset()

func (*BaseMessage) String

func (x *BaseMessage) String() string

type MessageSetWireFormatMessage

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

func (*MessageSetWireFormatMessage) Descriptor

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

Deprecated: Use MessageSetWireFormatMessage.ProtoReflect.Descriptor instead.

func (*MessageSetWireFormatMessage) ProtoMessage

func (*MessageSetWireFormatMessage) ProtoMessage()

func (*MessageSetWireFormatMessage) ProtoReflect

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

func (*MessageSetWireFormatMessage) Reset

func (x *MessageSetWireFormatMessage) Reset()

func (*MessageSetWireFormatMessage) String

func (x *MessageSetWireFormatMessage) String() string