priv

package
v0.10.12 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Do not use. Internal to protovalidate library
	//
	// optional buf.validate.priv.FieldConstraints field = 51072;
	E_Field = &file_buf_validate_priv_private_proto_extTypes[0]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var File_buf_validate_priv_private_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Constraint

type Constraint struct {
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Message    string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Expression string `protobuf:"bytes,3,opt,name=expression,proto3" json:"expression,omitempty"`
	// contains filtered or unexported fields
}

Do not use. Internal to protovalidate library

func (*Constraint) Descriptor deprecated

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

Deprecated: Use Constraint.ProtoReflect.Descriptor instead.

func (*Constraint) GetExpression

func (x *Constraint) GetExpression() string

func (*Constraint) GetId

func (x *Constraint) GetId() string

func (*Constraint) GetMessage

func (x *Constraint) GetMessage() string

func (*Constraint) ProtoMessage

func (*Constraint) ProtoMessage()

func (*Constraint) ProtoReflect

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

func (*Constraint) Reset

func (x *Constraint) Reset()

func (*Constraint) String

func (x *Constraint) String() string

type FieldConstraints

type FieldConstraints struct {
	Cel []*Constraint `protobuf:"bytes,1,rep,name=cel,proto3" json:"cel,omitempty"`
	// contains filtered or unexported fields
}

Do not use. Internal to protovalidate library

func (*FieldConstraints) Descriptor deprecated

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

Deprecated: Use FieldConstraints.ProtoReflect.Descriptor instead.

func (*FieldConstraints) GetCel

func (x *FieldConstraints) GetCel() []*Constraint

func (*FieldConstraints) ProtoMessage

func (*FieldConstraints) ProtoMessage()

func (*FieldConstraints) ProtoReflect

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

func (*FieldConstraints) Reset

func (x *FieldConstraints) Reset()

func (*FieldConstraints) String

func (x *FieldConstraints) String() string

Jump to

Keyboard shortcuts

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