prototest

package
v0.0.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EmbeddedEnum_name = map[int32]string{
		0: "ITEM_1",
		1: "ITEM_2",
	}
	EmbeddedEnum_value = map[string]int32{
		"ITEM_1": 0,
		"ITEM_2": 1,
	}
)

Enum value maps for EmbeddedEnum.

View Source
var File_transfer_manager_go_pkg_parsers_registry_protobuf_protoparser_gotest_prototest_std_data_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EmbeddedEnum

type EmbeddedEnum int32
const (
	EmbeddedEnum_ITEM_1 EmbeddedEnum = 0
	EmbeddedEnum_ITEM_2 EmbeddedEnum = 1
)

func (EmbeddedEnum) Descriptor

func (EmbeddedEnum) Enum

func (x EmbeddedEnum) Enum() *EmbeddedEnum

func (EmbeddedEnum) EnumDescriptor deprecated

func (EmbeddedEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use EmbeddedEnum.Descriptor instead.

func (EmbeddedEnum) Number

func (EmbeddedEnum) String

func (x EmbeddedEnum) String() string

func (EmbeddedEnum) Type

type EmbeddedMsg

type EmbeddedMsg struct {
	StringField string       `protobuf:"bytes,1,opt,name=stringField,proto3" json:"stringField,omitempty"`
	Int32Field  int32        `protobuf:"varint,2,opt,name=int32Field,proto3" json:"int32Field,omitempty"`
	EnumField   EmbeddedEnum `protobuf:"varint,3,opt,name=enumField,proto3,enum=EmbeddedEnum" json:"enumField,omitempty"`
	// contains filtered or unexported fields
}

func (*EmbeddedMsg) Descriptor deprecated

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

Deprecated: Use EmbeddedMsg.ProtoReflect.Descriptor instead.

func (*EmbeddedMsg) GetEnumField

func (x *EmbeddedMsg) GetEnumField() EmbeddedEnum

func (*EmbeddedMsg) GetInt32Field

func (x *EmbeddedMsg) GetInt32Field() int32

func (*EmbeddedMsg) GetStringField

func (x *EmbeddedMsg) GetStringField() string

func (*EmbeddedMsg) ProtoMessage

func (*EmbeddedMsg) ProtoMessage()

func (*EmbeddedMsg) ProtoReflect

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

func (*EmbeddedMsg) Reset

func (x *EmbeddedMsg) Reset()

func (*EmbeddedMsg) String

func (x *EmbeddedMsg) String() string

type StdDataTypesMsg

type StdDataTypesMsg struct {
	DoubleField   float64          `protobuf:"fixed64,1,opt,name=doubleField,proto3" json:"doubleField,omitempty"`
	FloatField    float32          `protobuf:"fixed32,2,opt,name=floatField,proto3" json:"floatField,omitempty"`
	Int32Field    int32            `protobuf:"varint,3,opt,name=int32Field,proto3" json:"int32Field,omitempty"`
	Int64Field    int64            `protobuf:"varint,4,opt,name=int64Field,proto3" json:"int64Field,omitempty"`
	Uint32Field   uint32           `protobuf:"varint,5,opt,name=uint32Field,proto3" json:"uint32Field,omitempty"`
	Uint64Field   uint64           `protobuf:"varint,6,opt,name=uint64Field,proto3" json:"uint64Field,omitempty"`
	Sint32Field   int32            `protobuf:"zigzag32,7,opt,name=sint32Field,proto3" json:"sint32Field,omitempty"`
	Sint64Field   int64            `protobuf:"zigzag64,8,opt,name=sint64Field,proto3" json:"sint64Field,omitempty"`
	Fixed32Field  uint32           `protobuf:"fixed32,9,opt,name=fixed32Field,proto3" json:"fixed32Field,omitempty"`
	Fixed64Field  uint64           `protobuf:"fixed64,10,opt,name=fixed64Field,proto3" json:"fixed64Field,omitempty"`
	Sfixed32Field int32            `protobuf:"fixed32,11,opt,name=sfixed32Field,proto3" json:"sfixed32Field,omitempty"`
	Sfixed64Field int64            `protobuf:"fixed64,12,opt,name=sfixed64Field,proto3" json:"sfixed64Field,omitempty"`
	BoolField     bool             `protobuf:"varint,13,opt,name=boolField,proto3" json:"boolField,omitempty"`
	StringField   string           `protobuf:"bytes,14,opt,name=stringField,proto3" json:"stringField,omitempty"`
	BytesField    []byte           `protobuf:"bytes,15,opt,name=bytesField,proto3" json:"bytesField,omitempty"`
	MapField      map[string]int32 `` /* 159-byte string literal not displayed */
	RepeatedField []string         `protobuf:"bytes,17,rep,name=repeatedField,proto3" json:"repeatedField,omitempty"`
	MsgField      *EmbeddedMsg     `protobuf:"bytes,18,opt,name=msgField,proto3" json:"msgField,omitempty"`
	// contains filtered or unexported fields
}

func (*StdDataTypesMsg) Descriptor deprecated

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

Deprecated: Use StdDataTypesMsg.ProtoReflect.Descriptor instead.

func (*StdDataTypesMsg) GetBoolField

func (x *StdDataTypesMsg) GetBoolField() bool

func (*StdDataTypesMsg) GetBytesField

func (x *StdDataTypesMsg) GetBytesField() []byte

func (*StdDataTypesMsg) GetDoubleField

func (x *StdDataTypesMsg) GetDoubleField() float64

func (*StdDataTypesMsg) GetFixed32Field

func (x *StdDataTypesMsg) GetFixed32Field() uint32

func (*StdDataTypesMsg) GetFixed64Field

func (x *StdDataTypesMsg) GetFixed64Field() uint64

func (*StdDataTypesMsg) GetFloatField

func (x *StdDataTypesMsg) GetFloatField() float32

func (*StdDataTypesMsg) GetInt32Field

func (x *StdDataTypesMsg) GetInt32Field() int32

func (*StdDataTypesMsg) GetInt64Field

func (x *StdDataTypesMsg) GetInt64Field() int64

func (*StdDataTypesMsg) GetMapField

func (x *StdDataTypesMsg) GetMapField() map[string]int32

func (*StdDataTypesMsg) GetMsgField

func (x *StdDataTypesMsg) GetMsgField() *EmbeddedMsg

func (*StdDataTypesMsg) GetRepeatedField

func (x *StdDataTypesMsg) GetRepeatedField() []string

func (*StdDataTypesMsg) GetSfixed32Field

func (x *StdDataTypesMsg) GetSfixed32Field() int32

func (*StdDataTypesMsg) GetSfixed64Field

func (x *StdDataTypesMsg) GetSfixed64Field() int64

func (*StdDataTypesMsg) GetSint32Field

func (x *StdDataTypesMsg) GetSint32Field() int32

func (*StdDataTypesMsg) GetSint64Field

func (x *StdDataTypesMsg) GetSint64Field() int64

func (*StdDataTypesMsg) GetStringField

func (x *StdDataTypesMsg) GetStringField() string

func (*StdDataTypesMsg) GetUint32Field

func (x *StdDataTypesMsg) GetUint32Field() uint32

func (*StdDataTypesMsg) GetUint64Field

func (x *StdDataTypesMsg) GetUint64Field() uint64

func (*StdDataTypesMsg) ProtoMessage

func (*StdDataTypesMsg) ProtoMessage()

func (*StdDataTypesMsg) ProtoReflect

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

func (*StdDataTypesMsg) Reset

func (x *StdDataTypesMsg) Reset()

func (*StdDataTypesMsg) String

func (x *StdDataTypesMsg) String() string

type StdDataTypesMsgList

type StdDataTypesMsgList struct {
	Items []*StdDataTypesMsg `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*StdDataTypesMsgList) Descriptor deprecated

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

Deprecated: Use StdDataTypesMsgList.ProtoReflect.Descriptor instead.

func (*StdDataTypesMsgList) GetItems

func (x *StdDataTypesMsgList) GetItems() []*StdDataTypesMsg

func (*StdDataTypesMsgList) ProtoMessage

func (*StdDataTypesMsgList) ProtoMessage()

func (*StdDataTypesMsgList) ProtoReflect

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

func (*StdDataTypesMsgList) Reset

func (x *StdDataTypesMsgList) Reset()

func (*StdDataTypesMsgList) String

func (x *StdDataTypesMsgList) String() string

Jump to

Keyboard shortcuts

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