contracts

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_proto_contracts_cmessage_proto protoreflect.FileDescriptor
View Source
var File_api_proto_contracts_pmessage_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CMessage

type CMessage struct {
	Id           string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"`
	Data         []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CMessage) Descriptor deprecated

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

Deprecated: Use CMessage.ProtoReflect.Descriptor instead.

func (*CMessage) GetData

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

func (*CMessage) GetId

func (x *CMessage) GetId() string

func (*CMessage) GetPartitionKey

func (x *CMessage) GetPartitionKey() string

func (*CMessage) ProtoMessage

func (*CMessage) ProtoMessage()

func (*CMessage) ProtoReflect

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

func (*CMessage) Reset

func (x *CMessage) Reset()

func (*CMessage) String

func (x *CMessage) String() string

type PMessage

type PMessage struct {
	Metadata     map[string]string `` /* 157-byte string literal not displayed */
	Data         []byte            `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	PartitionKey string            `protobuf:"bytes,3,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"`
	// contains filtered or unexported fields
}

func (*PMessage) Descriptor deprecated

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

Deprecated: Use PMessage.ProtoReflect.Descriptor instead.

func (*PMessage) GetData

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

func (*PMessage) GetMetadata

func (x *PMessage) GetMetadata() map[string]string

func (*PMessage) GetPartitionKey

func (x *PMessage) GetPartitionKey() string

func (*PMessage) ProtoMessage

func (*PMessage) ProtoMessage()

func (*PMessage) ProtoReflect

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

func (*PMessage) Reset

func (x *PMessage) Reset()

func (*PMessage) String

func (x *PMessage) String() string

Jump to

Keyboard shortcuts

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