...

Package order

import "google.golang.org/protobuf/internal/testprotos/order"
Overview
Index

Overview ▾

Variables

Extension fields to Message.

var (
    // optional string field_30 = 30;
    E_Field_30 = &file_internal_testprotos_order_order_proto_extTypes[0]
    // optional string field_31 = 31;
    E_Field_31 = &file_internal_testprotos_order_order_proto_extTypes[1]
    // optional string field_32 = 32;
    E_Field_32 = &file_internal_testprotos_order_order_proto_extTypes[2]
)
var File_internal_testprotos_order_order_proto protoreflect.FileDescriptor

type Message

type Message struct {
    Field_2 *string `protobuf:"bytes,2,opt,name=field_2,json=field2" json:"field_2,omitempty"`
    Field_1 *string `protobuf:"bytes,1,opt,name=field_1,json=field1" json:"field_1,omitempty"`
    // Types that are assignable to Oneof_1:
    //
    //	*Message_Field_10
    Oneof_1  isMessage_Oneof_1 `protobuf_oneof:"oneof_1"`
    Field_20 *string           `protobuf:"bytes,20,opt,name=field_20,json=field20" json:"field_20,omitempty"`
    // contains filtered or unexported fields
}

func (*Message) Descriptor

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetField_1

func (x *Message) GetField_1() string

func (*Message) GetField_10

func (x *Message) GetField_10() string

func (*Message) GetField_2

func (x *Message) GetField_2() string

func (*Message) GetField_20

func (x *Message) GetField_20() string

func (*Message) GetOneof_1

func (m *Message) GetOneof_1() isMessage_Oneof_1

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type Message_Field_10

type Message_Field_10 struct {
    Field_10 string `protobuf:"bytes,10,opt,name=field_10,json=field10,oneof"`
}