boundedbufferv1

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_boundedbuffer_v1_buffer_proto protoreflect.FileDescriptor

Functions

func ValidateRetention

func ValidateRetention(message *Retention) error

ValidateRetention checks this message's annotated fields; it does not recurse. A failed predicate returns *liquidproto.Error. Nil input also returns an error.

Types

type Retention

type Retention struct {

	// max_bytes stays within Go's portable int range.
	MaxBytes int64 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
	// contains filtered or unexported fields
}

Retention defines the prefix of a byte stream retained by a Buffer.

func (*Retention) Descriptor deprecated

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

Deprecated: Use Retention.ProtoReflect.Descriptor instead.

func (*Retention) GetMaxBytes

func (x *Retention) GetMaxBytes() int64

func (*Retention) ProtoMessage

func (*Retention) ProtoMessage()

func (*Retention) ProtoReflect

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

func (*Retention) Reset

func (x *Retention) Reset()

func (*Retention) String

func (x *Retention) String() string

Jump to

Keyboard shortcuts

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