protos

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_go_queue_kafka_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Example

type Example struct {

	// int
	Int int32 `protobuf:"varint,1,opt,name=int,proto3" json:"int,omitempty"`
	// float64
	Float64 float64 `protobuf:"fixed64,2,opt,name=float64,proto3" json:"float64,omitempty"`
	// string
	String_ string `protobuf:"bytes,3,opt,name=string,proto3" json:"string,omitempty"`
	// contains filtered or unexported fields
}

Example

func (*Example) Descriptor deprecated

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

Deprecated: Use Example.ProtoReflect.Descriptor instead.

func (*Example) GetFloat64

func (x *Example) GetFloat64() float64

func (*Example) GetInt

func (x *Example) GetInt() int32

func (*Example) GetString_

func (x *Example) GetString_() string

func (*Example) ProtoMessage

func (*Example) ProtoMessage()

func (*Example) ProtoReflect

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

func (*Example) Reset

func (x *Example) Reset()

func (*Example) String

func (x *Example) String() string

type Wrapper

type Wrapper struct {

	// type is a string identifying the type of payload
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// bytes describes the payload
	Bytes []byte `protobuf:"bytes,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

Wrapper describes a basic data type for conversion of any other data type

func (*Wrapper) Descriptor deprecated

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

Deprecated: Use Wrapper.ProtoReflect.Descriptor instead.

func (*Wrapper) GetBytes

func (x *Wrapper) GetBytes() []byte

func (*Wrapper) GetType

func (x *Wrapper) GetType() string

func (*Wrapper) ProtoMessage

func (*Wrapper) ProtoMessage()

func (*Wrapper) ProtoReflect

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

func (*Wrapper) Reset

func (x *Wrapper) Reset()

func (*Wrapper) String

func (x *Wrapper) String() string

Jump to

Keyboard shortcuts

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