custom_rules

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Enum_name = map[int32]string{
		0: "ENUM_UNSPECIFIED",
		1: "ENUM_ONE",
	}
	Enum_value = map[string]int32{
		"ENUM_UNSPECIFIED": 0,
		"ENUM_ONE":         1,
	}
)

Enum value maps for Enum.

View Source
var File_buf_validate_conformance_cases_custom_rules_custom_rules_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DynRuntimeError

type DynRuntimeError struct {
	A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	// contains filtered or unexported fields
}

func (*DynRuntimeError) GetA

func (x *DynRuntimeError) GetA() int32

func (*DynRuntimeError) ProtoMessage

func (*DynRuntimeError) ProtoMessage()

func (*DynRuntimeError) ProtoReflect

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

func (*DynRuntimeError) Reset

func (x *DynRuntimeError) Reset()

func (*DynRuntimeError) SetA

func (x *DynRuntimeError) SetA(v int32)

func (*DynRuntimeError) String

func (x *DynRuntimeError) String() string

type DynRuntimeError_builder

type DynRuntimeError_builder struct {
	A int32
	// contains filtered or unexported fields
}

func (DynRuntimeError_builder) Build

type Enum

type Enum int32
const (
	Enum_ENUM_UNSPECIFIED Enum = 0
	Enum_ENUM_ONE         Enum = 1
)

func (Enum) Descriptor

func (Enum) Descriptor() protoreflect.EnumDescriptor

func (Enum) Enum

func (x Enum) Enum() *Enum

func (Enum) Number

func (x Enum) Number() protoreflect.EnumNumber

func (Enum) String

func (x Enum) String() string

func (Enum) Type

func (Enum) Type() protoreflect.EnumType

type FieldExpressionEnum

type FieldExpressionEnum struct {
	Val Enum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.custom_rules.Enum" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldExpressionEnum) GetVal

func (x *FieldExpressionEnum) GetVal() Enum

func (*FieldExpressionEnum) ProtoMessage

func (*FieldExpressionEnum) ProtoMessage()

func (*FieldExpressionEnum) ProtoReflect

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

func (*FieldExpressionEnum) Reset

func (x *FieldExpressionEnum) Reset()

func (*FieldExpressionEnum) SetVal

func (x *FieldExpressionEnum) SetVal(v Enum)

func (*FieldExpressionEnum) String

func (x *FieldExpressionEnum) String() string

type FieldExpressionEnum_builder

type FieldExpressionEnum_builder struct {
	Val Enum
	// contains filtered or unexported fields
}

func (FieldExpressionEnum_builder) Build

type FieldExpressionMapBool

type FieldExpressionMapBool struct {
	Val map[bool]bool `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FieldExpressionMapBool) GetVal

func (x *FieldExpressionMapBool) GetVal() map[bool]bool

func (*FieldExpressionMapBool) ProtoMessage

func (*FieldExpressionMapBool) ProtoMessage()

func (*FieldExpressionMapBool) ProtoReflect

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

func (*FieldExpressionMapBool) Reset

func (x *FieldExpressionMapBool) Reset()

func (*FieldExpressionMapBool) SetVal

func (x *FieldExpressionMapBool) SetVal(v map[bool]bool)

func (*FieldExpressionMapBool) String

func (x *FieldExpressionMapBool) String() string

type FieldExpressionMapBool_builder

type FieldExpressionMapBool_builder struct {
	Val map[bool]bool
	// contains filtered or unexported fields
}

func (FieldExpressionMapBool_builder) Build

type FieldExpressionMapEnum

type FieldExpressionMapEnum struct {
	Val map[int32]Enum `` /* 189-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FieldExpressionMapEnum) GetVal

func (x *FieldExpressionMapEnum) GetVal() map[int32]Enum

func (*FieldExpressionMapEnum) ProtoMessage

func (*FieldExpressionMapEnum) ProtoMessage()

func (*FieldExpressionMapEnum) ProtoReflect

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

func (*FieldExpressionMapEnum) Reset

func (x *FieldExpressionMapEnum) Reset()

func (*FieldExpressionMapEnum) SetVal

func (x *FieldExpressionMapEnum) SetVal(v map[int32]Enum)

func (*FieldExpressionMapEnum) String

func (x *FieldExpressionMapEnum) String() string

type FieldExpressionMapEnumValues

type FieldExpressionMapEnumValues struct {
	Val map[int32]Enum `` /* 189-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FieldExpressionMapEnumValues) GetVal

func (x *FieldExpressionMapEnumValues) GetVal() map[int32]Enum

func (*FieldExpressionMapEnumValues) ProtoMessage

func (*FieldExpressionMapEnumValues) ProtoMessage()

func (*FieldExpressionMapEnumValues) ProtoReflect

func (*FieldExpressionMapEnumValues) Reset

func (x *FieldExpressionMapEnumValues) Reset()

func (*FieldExpressionMapEnumValues) SetVal

func (x *FieldExpressionMapEnumValues) SetVal(v map[int32]Enum)

func (*FieldExpressionMapEnumValues) String

type FieldExpressionMapEnumValues_builder

type FieldExpressionMapEnumValues_builder struct {
	Val map[int32]Enum
	// contains filtered or unexported fields
}

func (FieldExpressionMapEnumValues_builder) Build

type FieldExpressionMapEnum_builder

type FieldExpressionMapEnum_builder struct {
	Val map[int32]Enum
	// contains filtered or unexported fields
}

func (FieldExpressionMapEnum_builder) Build

type FieldExpressionMapInt32

type FieldExpressionMapInt32 struct {
	Val map[int32]int32 `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FieldExpressionMapInt32) GetVal

func (x *FieldExpressionMapInt32) GetVal() map[int32]int32

func (*FieldExpressionMapInt32) ProtoMessage

func (*FieldExpressionMapInt32) ProtoMessage()

func (*FieldExpressionMapInt32) ProtoReflect

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

func (*FieldExpressionMapInt32) Reset

func (x *FieldExpressionMapInt32) Reset()

func (*FieldExpressionMapInt32) SetVal

func (x *FieldExpressionMapInt32) SetVal(v map[int32]int32)

func (*FieldExpressionMapInt32) String

func (x *FieldExpressionMapInt32) String() string

type FieldExpressionMapInt32_builder

type FieldExpressionMapInt32_builder struct {
	Val map[int32]int32
	// contains filtered or unexported fields
}

func (FieldExpressionMapInt32_builder) Build

type FieldExpressionMapInt64

type FieldExpressionMapInt64 struct {
	Val map[int64]int64 `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FieldExpressionMapInt64) GetVal

func (x *FieldExpressionMapInt64) GetVal() map[int64]int64

func (*FieldExpressionMapInt64) ProtoMessage

func (*FieldExpressionMapInt64) ProtoMessage()

func (*FieldExpressionMapInt64) ProtoReflect

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

func (*FieldExpressionMapInt64) Reset

func (x *FieldExpressionMapInt64) Reset()

func (*FieldExpressionMapInt64) SetVal

func (x *FieldExpressionMapInt64) SetVal(v map[int64]int64)

func (*FieldExpressionMapInt64) String

func (x *FieldExpressionMapInt64) String() string

type FieldExpressionMapInt64_builder

type FieldExpressionMapInt64_builder struct {
	Val map[int64]int64
	// contains filtered or unexported fields
}

func (FieldExpressionMapInt64_builder) Build

type FieldExpressionMapKeys

type FieldExpressionMapKeys struct {
	Val map[int32]int32 `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FieldExpressionMapKeys) GetVal

func (x *FieldExpressionMapKeys) GetVal() map[int32]int32

func (*FieldExpressionMapKeys) ProtoMessage

func (*FieldExpressionMapKeys) ProtoMessage()

func (*FieldExpressionMapKeys) ProtoReflect

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

func (*FieldExpressionMapKeys) Reset

func (x *FieldExpressionMapKeys) Reset()

func (*FieldExpressionMapKeys) SetVal

func (x *FieldExpressionMapKeys) SetVal(v map[int32]int32)

func (*FieldExpressionMapKeys) String

func (x *FieldExpressionMapKeys) String() string

type FieldExpressionMapKeys_builder

type FieldExpressionMapKeys_builder struct {
	Val map[int32]int32
	// contains filtered or unexported fields
}

func (FieldExpressionMapKeys_builder) Build

type FieldExpressionMapMessage

type FieldExpressionMapMessage struct {
	Val map[int32]*FieldExpressionMapMessage_Msg `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FieldExpressionMapMessage) GetVal

func (*FieldExpressionMapMessage) ProtoMessage

func (*FieldExpressionMapMessage) ProtoMessage()

func (*FieldExpressionMapMessage) ProtoReflect

func (*FieldExpressionMapMessage) Reset

func (x *FieldExpressionMapMessage) Reset()

func (*FieldExpressionMapMessage) SetVal

func (*FieldExpressionMapMessage) String

func (x *FieldExpressionMapMessage) String() string

type FieldExpressionMapMessageValues

type FieldExpressionMapMessageValues struct {
	Val map[int32]*FieldExpressionMapMessageValues_Msg `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FieldExpressionMapMessageValues) GetVal

func (*FieldExpressionMapMessageValues) ProtoMessage

func (*FieldExpressionMapMessageValues) ProtoMessage()

func (*FieldExpressionMapMessageValues) ProtoReflect

func (*FieldExpressionMapMessageValues) Reset

func (*FieldExpressionMapMessageValues) SetVal

func (*FieldExpressionMapMessageValues) String

type FieldExpressionMapMessageValues_Msg

type FieldExpressionMapMessageValues_Msg struct {
	A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldExpressionMapMessageValues_Msg) GetA

func (*FieldExpressionMapMessageValues_Msg) ProtoMessage

func (*FieldExpressionMapMessageValues_Msg) ProtoMessage()

func (*FieldExpressionMapMessageValues_Msg) ProtoReflect

func (*FieldExpressionMapMessageValues_Msg) Reset

func (*FieldExpressionMapMessageValues_Msg) SetA

func (*FieldExpressionMapMessageValues_Msg) String

type FieldExpressionMapMessageValues_Msg_builder

type FieldExpressionMapMessageValues_Msg_builder struct {
	A int32
	// contains filtered or unexported fields
}

func (FieldExpressionMapMessageValues_Msg_builder) Build

type FieldExpressionMapMessageValues_builder

type FieldExpressionMapMessageValues_builder struct {
	Val map[int32]*FieldExpressionMapMessageValues_Msg
	// contains filtered or unexported fields
}

func (FieldExpressionMapMessageValues_builder) Build

type FieldExpressionMapMessage_Msg

type FieldExpressionMapMessage_Msg struct {
	A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldExpressionMapMessage_Msg) GetA

func (*FieldExpressionMapMessage_Msg) ProtoMessage

func (*FieldExpressionMapMessage_Msg) ProtoMessage()

func (*FieldExpressionMapMessage_Msg) ProtoReflect

func (*FieldExpressionMapMessage_Msg) Reset

func (x *FieldExpressionMapMessage_Msg) Reset()

func (*FieldExpressionMapMessage_Msg) SetA

func (*FieldExpressionMapMessage_Msg) String

type FieldExpressionMapMessage_Msg_builder

type FieldExpressionMapMessage_Msg_builder struct {
	A int32
	// contains filtered or unexported fields
}

func (FieldExpressionMapMessage_Msg_builder) Build

type FieldExpressionMapMessage_builder

type FieldExpressionMapMessage_builder struct {
	Val map[int32]*FieldExpressionMapMessage_Msg
	// contains filtered or unexported fields
}

func (FieldExpressionMapMessage_builder) Build

type FieldExpressionMapScalarValues

type FieldExpressionMapScalarValues struct {
	Val map[int32]int32 `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FieldExpressionMapScalarValues) GetVal

func (x *FieldExpressionMapScalarValues) GetVal() map[int32]int32

func (*FieldExpressionMapScalarValues) ProtoMessage

func (*FieldExpressionMapScalarValues) ProtoMessage()

func (*FieldExpressionMapScalarValues) ProtoReflect

func (*FieldExpressionMapScalarValues) Reset

func (x *FieldExpressionMapScalarValues) Reset()

func (*FieldExpressionMapScalarValues) SetVal

func (x *FieldExpressionMapScalarValues) SetVal(v map[int32]int32)

func (*FieldExpressionMapScalarValues) String

type FieldExpressionMapScalarValues_builder

type FieldExpressionMapScalarValues_builder struct {
	Val map[int32]int32
	// contains filtered or unexported fields
}

func (FieldExpressionMapScalarValues_builder) Build

type FieldExpressionMapString

type FieldExpressionMapString struct {
	Val map[string]string `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FieldExpressionMapString) GetVal

func (x *FieldExpressionMapString) GetVal() map[string]string

func (*FieldExpressionMapString) ProtoMessage

func (*FieldExpressionMapString) ProtoMessage()

func (*FieldExpressionMapString) ProtoReflect

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

func (*FieldExpressionMapString) Reset

func (x *FieldExpressionMapString) Reset()

func (*FieldExpressionMapString) SetVal

func (x *FieldExpressionMapString) SetVal(v map[string]string)

func (*FieldExpressionMapString) String

func (x *FieldExpressionMapString) String() string

type FieldExpressionMapString_builder

type FieldExpressionMapString_builder struct {
	Val map[string]string
	// contains filtered or unexported fields
}

func (FieldExpressionMapString_builder) Build

type FieldExpressionMapUint32

type FieldExpressionMapUint32 struct {
	Val map[uint32]uint32 `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FieldExpressionMapUint32) GetVal

func (x *FieldExpressionMapUint32) GetVal() map[uint32]uint32

func (*FieldExpressionMapUint32) ProtoMessage

func (*FieldExpressionMapUint32) ProtoMessage()

func (*FieldExpressionMapUint32) ProtoReflect

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

func (*FieldExpressionMapUint32) Reset

func (x *FieldExpressionMapUint32) Reset()

func (*FieldExpressionMapUint32) SetVal

func (x *FieldExpressionMapUint32) SetVal(v map[uint32]uint32)

func (*FieldExpressionMapUint32) String

func (x *FieldExpressionMapUint32) String() string

type FieldExpressionMapUint32_builder

type FieldExpressionMapUint32_builder struct {
	Val map[uint32]uint32
	// contains filtered or unexported fields
}

func (FieldExpressionMapUint32_builder) Build

type FieldExpressionMapUint64

type FieldExpressionMapUint64 struct {
	Val map[uint64]uint64 `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FieldExpressionMapUint64) GetVal

func (x *FieldExpressionMapUint64) GetVal() map[uint64]uint64

func (*FieldExpressionMapUint64) ProtoMessage

func (*FieldExpressionMapUint64) ProtoMessage()

func (*FieldExpressionMapUint64) ProtoReflect

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

func (*FieldExpressionMapUint64) Reset

func (x *FieldExpressionMapUint64) Reset()

func (*FieldExpressionMapUint64) SetVal

func (x *FieldExpressionMapUint64) SetVal(v map[uint64]uint64)

func (*FieldExpressionMapUint64) String

func (x *FieldExpressionMapUint64) String() string

type FieldExpressionMapUint64_builder

type FieldExpressionMapUint64_builder struct {
	Val map[uint64]uint64
	// contains filtered or unexported fields
}

func (FieldExpressionMapUint64_builder) Build

type FieldExpressionMessage

type FieldExpressionMessage struct {
	Val *FieldExpressionMessage_Msg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldExpressionMessage) ClearVal

func (x *FieldExpressionMessage) ClearVal()

func (*FieldExpressionMessage) GetVal

func (*FieldExpressionMessage) HasVal

func (x *FieldExpressionMessage) HasVal() bool

func (*FieldExpressionMessage) ProtoMessage

func (*FieldExpressionMessage) ProtoMessage()

func (*FieldExpressionMessage) ProtoReflect

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

func (*FieldExpressionMessage) Reset

func (x *FieldExpressionMessage) Reset()

func (*FieldExpressionMessage) SetVal

func (*FieldExpressionMessage) String

func (x *FieldExpressionMessage) String() string

type FieldExpressionMessage_Msg

type FieldExpressionMessage_Msg struct {
	A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldExpressionMessage_Msg) GetA

func (*FieldExpressionMessage_Msg) ProtoMessage

func (*FieldExpressionMessage_Msg) ProtoMessage()

func (*FieldExpressionMessage_Msg) ProtoReflect

func (*FieldExpressionMessage_Msg) Reset

func (x *FieldExpressionMessage_Msg) Reset()

func (*FieldExpressionMessage_Msg) SetA

func (x *FieldExpressionMessage_Msg) SetA(v int32)

func (*FieldExpressionMessage_Msg) String

func (x *FieldExpressionMessage_Msg) String() string

type FieldExpressionMessage_Msg_builder

type FieldExpressionMessage_Msg_builder struct {
	A int32
	// contains filtered or unexported fields
}

func (FieldExpressionMessage_Msg_builder) Build

type FieldExpressionMessage_builder

type FieldExpressionMessage_builder struct {
	Val *FieldExpressionMessage_Msg
	// contains filtered or unexported fields
}

func (FieldExpressionMessage_builder) Build

type FieldExpressionMultipleScalar

type FieldExpressionMultipleScalar struct {
	Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldExpressionMultipleScalar) GetVal

func (*FieldExpressionMultipleScalar) ProtoMessage

func (*FieldExpressionMultipleScalar) ProtoMessage()

func (*FieldExpressionMultipleScalar) ProtoReflect

func (*FieldExpressionMultipleScalar) Reset

func (x *FieldExpressionMultipleScalar) Reset()

func (*FieldExpressionMultipleScalar) SetVal

func (x *FieldExpressionMultipleScalar) SetVal(v int32)

func (*FieldExpressionMultipleScalar) String

type FieldExpressionMultipleScalar_builder

type FieldExpressionMultipleScalar_builder struct {
	Val int32
	// contains filtered or unexported fields
}

func (FieldExpressionMultipleScalar_builder) Build

type FieldExpressionNestedScalar

type FieldExpressionNestedScalar struct {
	Nested *FieldExpressionScalar `protobuf:"bytes,1,opt,name=nested,proto3" json:"nested,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldExpressionNestedScalar) ClearNested

func (x *FieldExpressionNestedScalar) ClearNested()

func (*FieldExpressionNestedScalar) GetNested

func (*FieldExpressionNestedScalar) HasNested

func (x *FieldExpressionNestedScalar) HasNested() bool

func (*FieldExpressionNestedScalar) ProtoMessage

func (*FieldExpressionNestedScalar) ProtoMessage()

func (*FieldExpressionNestedScalar) ProtoReflect

func (*FieldExpressionNestedScalar) Reset

func (x *FieldExpressionNestedScalar) Reset()

func (*FieldExpressionNestedScalar) SetNested

func (*FieldExpressionNestedScalar) String

func (x *FieldExpressionNestedScalar) String() string

type FieldExpressionNestedScalar_builder

type FieldExpressionNestedScalar_builder struct {
	Nested *FieldExpressionScalar
	// contains filtered or unexported fields
}

func (FieldExpressionNestedScalar_builder) Build

type FieldExpressionOnly added in v1.1.0

type FieldExpressionOnly struct {
	Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldExpressionOnly) GetVal added in v1.1.0

func (x *FieldExpressionOnly) GetVal() int32

func (*FieldExpressionOnly) ProtoMessage added in v1.1.0

func (*FieldExpressionOnly) ProtoMessage()

func (*FieldExpressionOnly) ProtoReflect added in v1.1.0

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

func (*FieldExpressionOnly) Reset added in v1.1.0

func (x *FieldExpressionOnly) Reset()

func (*FieldExpressionOnly) SetVal added in v1.1.0

func (x *FieldExpressionOnly) SetVal(v int32)

func (*FieldExpressionOnly) String added in v1.1.0

func (x *FieldExpressionOnly) String() string

type FieldExpressionOnly_builder added in v1.1.0

type FieldExpressionOnly_builder struct {
	Val int32
	// contains filtered or unexported fields
}

func (FieldExpressionOnly_builder) Build added in v1.1.0

type FieldExpressionOptionalScalar

type FieldExpressionOptionalScalar struct {
	Val *int32 `protobuf:"varint,1,opt,name=val,proto3,oneof" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldExpressionOptionalScalar) ClearVal

func (x *FieldExpressionOptionalScalar) ClearVal()

func (*FieldExpressionOptionalScalar) GetVal

func (*FieldExpressionOptionalScalar) HasVal

func (x *FieldExpressionOptionalScalar) HasVal() bool

func (*FieldExpressionOptionalScalar) ProtoMessage

func (*FieldExpressionOptionalScalar) ProtoMessage()

func (*FieldExpressionOptionalScalar) ProtoReflect

func (*FieldExpressionOptionalScalar) Reset

func (x *FieldExpressionOptionalScalar) Reset()

func (*FieldExpressionOptionalScalar) SetVal

func (x *FieldExpressionOptionalScalar) SetVal(v int32)

func (*FieldExpressionOptionalScalar) String

type FieldExpressionOptionalScalar_builder

type FieldExpressionOptionalScalar_builder struct {
	Val *int32
	// contains filtered or unexported fields
}

func (FieldExpressionOptionalScalar_builder) Build

type FieldExpressionRepeatedEnum

type FieldExpressionRepeatedEnum struct {
	Val []Enum `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.custom_rules.Enum" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldExpressionRepeatedEnum) GetVal

func (x *FieldExpressionRepeatedEnum) GetVal() []Enum

func (*FieldExpressionRepeatedEnum) ProtoMessage

func (*FieldExpressionRepeatedEnum) ProtoMessage()

func (*FieldExpressionRepeatedEnum) ProtoReflect

func (*FieldExpressionRepeatedEnum) Reset

func (x *FieldExpressionRepeatedEnum) Reset()

func (*FieldExpressionRepeatedEnum) SetVal

func (x *FieldExpressionRepeatedEnum) SetVal(v []Enum)

func (*FieldExpressionRepeatedEnum) String

func (x *FieldExpressionRepeatedEnum) String() string

type FieldExpressionRepeatedEnumItems

type FieldExpressionRepeatedEnumItems struct {
	Val []Enum `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.custom_rules.Enum" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldExpressionRepeatedEnumItems) GetVal

func (x *FieldExpressionRepeatedEnumItems) GetVal() []Enum

func (*FieldExpressionRepeatedEnumItems) ProtoMessage

func (*FieldExpressionRepeatedEnumItems) ProtoMessage()

func (*FieldExpressionRepeatedEnumItems) ProtoReflect

func (*FieldExpressionRepeatedEnumItems) Reset

func (*FieldExpressionRepeatedEnumItems) SetVal

func (x *FieldExpressionRepeatedEnumItems) SetVal(v []Enum)

func (*FieldExpressionRepeatedEnumItems) String

type FieldExpressionRepeatedEnumItems_builder

type FieldExpressionRepeatedEnumItems_builder struct {
	Val []Enum
	// contains filtered or unexported fields
}

func (FieldExpressionRepeatedEnumItems_builder) Build

type FieldExpressionRepeatedEnum_builder

type FieldExpressionRepeatedEnum_builder struct {
	Val []Enum
	// contains filtered or unexported fields
}

func (FieldExpressionRepeatedEnum_builder) Build

type FieldExpressionRepeatedMessage

type FieldExpressionRepeatedMessage struct {
	Val []*FieldExpressionRepeatedMessage_Msg `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldExpressionRepeatedMessage) GetVal

func (*FieldExpressionRepeatedMessage) ProtoMessage

func (*FieldExpressionRepeatedMessage) ProtoMessage()

func (*FieldExpressionRepeatedMessage) ProtoReflect

func (*FieldExpressionRepeatedMessage) Reset

func (x *FieldExpressionRepeatedMessage) Reset()

func (*FieldExpressionRepeatedMessage) SetVal

func (*FieldExpressionRepeatedMessage) String

type FieldExpressionRepeatedMessageItems

type FieldExpressionRepeatedMessageItems struct {
	Val []*FieldExpressionRepeatedMessageItems_Msg `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldExpressionRepeatedMessageItems) GetVal

func (*FieldExpressionRepeatedMessageItems) ProtoMessage

func (*FieldExpressionRepeatedMessageItems) ProtoMessage()

func (*FieldExpressionRepeatedMessageItems) ProtoReflect

func (*FieldExpressionRepeatedMessageItems) Reset

func (*FieldExpressionRepeatedMessageItems) SetVal

func (*FieldExpressionRepeatedMessageItems) String

type FieldExpressionRepeatedMessageItems_Msg

type FieldExpressionRepeatedMessageItems_Msg struct {
	A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldExpressionRepeatedMessageItems_Msg) GetA

func (*FieldExpressionRepeatedMessageItems_Msg) ProtoMessage

func (*FieldExpressionRepeatedMessageItems_Msg) ProtoReflect

func (*FieldExpressionRepeatedMessageItems_Msg) Reset

func (*FieldExpressionRepeatedMessageItems_Msg) SetA

func (*FieldExpressionRepeatedMessageItems_Msg) String

type FieldExpressionRepeatedMessageItems_Msg_builder

type FieldExpressionRepeatedMessageItems_Msg_builder struct {
	A int32
	// contains filtered or unexported fields
}

func (FieldExpressionRepeatedMessageItems_Msg_builder) Build

type FieldExpressionRepeatedMessageItems_builder

type FieldExpressionRepeatedMessageItems_builder struct {
	Val []*FieldExpressionRepeatedMessageItems_Msg
	// contains filtered or unexported fields
}

func (FieldExpressionRepeatedMessageItems_builder) Build

type FieldExpressionRepeatedMessage_Msg

type FieldExpressionRepeatedMessage_Msg struct {
	A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldExpressionRepeatedMessage_Msg) GetA

func (*FieldExpressionRepeatedMessage_Msg) ProtoMessage

func (*FieldExpressionRepeatedMessage_Msg) ProtoMessage()

func (*FieldExpressionRepeatedMessage_Msg) ProtoReflect

func (*FieldExpressionRepeatedMessage_Msg) Reset

func (*FieldExpressionRepeatedMessage_Msg) SetA

func (*FieldExpressionRepeatedMessage_Msg) String

type FieldExpressionRepeatedMessage_Msg_builder

type FieldExpressionRepeatedMessage_Msg_builder struct {
	A int32
	// contains filtered or unexported fields
}

func (FieldExpressionRepeatedMessage_Msg_builder) Build

type FieldExpressionRepeatedMessage_builder

type FieldExpressionRepeatedMessage_builder struct {
	Val []*FieldExpressionRepeatedMessage_Msg
	// contains filtered or unexported fields
}

func (FieldExpressionRepeatedMessage_builder) Build

type FieldExpressionRepeatedScalar

type FieldExpressionRepeatedScalar struct {
	Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldExpressionRepeatedScalar) GetVal

func (x *FieldExpressionRepeatedScalar) GetVal() []int32

func (*FieldExpressionRepeatedScalar) ProtoMessage

func (*FieldExpressionRepeatedScalar) ProtoMessage()

func (*FieldExpressionRepeatedScalar) ProtoReflect

func (*FieldExpressionRepeatedScalar) Reset

func (x *FieldExpressionRepeatedScalar) Reset()

func (*FieldExpressionRepeatedScalar) SetVal

func (x *FieldExpressionRepeatedScalar) SetVal(v []int32)

func (*FieldExpressionRepeatedScalar) String

type FieldExpressionRepeatedScalarItems

type FieldExpressionRepeatedScalarItems struct {
	Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldExpressionRepeatedScalarItems) GetVal

func (*FieldExpressionRepeatedScalarItems) ProtoMessage

func (*FieldExpressionRepeatedScalarItems) ProtoMessage()

func (*FieldExpressionRepeatedScalarItems) ProtoReflect

func (*FieldExpressionRepeatedScalarItems) Reset

func (*FieldExpressionRepeatedScalarItems) SetVal

func (*FieldExpressionRepeatedScalarItems) String

type FieldExpressionRepeatedScalarItems_builder

type FieldExpressionRepeatedScalarItems_builder struct {
	Val []int32
	// contains filtered or unexported fields
}

func (FieldExpressionRepeatedScalarItems_builder) Build

type FieldExpressionRepeatedScalar_builder

type FieldExpressionRepeatedScalar_builder struct {
	Val []int32
	// contains filtered or unexported fields
}

func (FieldExpressionRepeatedScalar_builder) Build

type FieldExpressionScalar

type FieldExpressionScalar struct {
	Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldExpressionScalar) GetVal

func (x *FieldExpressionScalar) GetVal() int32

func (*FieldExpressionScalar) ProtoMessage

func (*FieldExpressionScalar) ProtoMessage()

func (*FieldExpressionScalar) ProtoReflect

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

func (*FieldExpressionScalar) Reset

func (x *FieldExpressionScalar) Reset()

func (*FieldExpressionScalar) SetVal

func (x *FieldExpressionScalar) SetVal(v int32)

func (*FieldExpressionScalar) String

func (x *FieldExpressionScalar) String() string

type FieldExpressionScalar_builder

type FieldExpressionScalar_builder struct {
	Val int32
	// contains filtered or unexported fields
}

func (FieldExpressionScalar_builder) Build

type IncorrectType

type IncorrectType struct {
	A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	// contains filtered or unexported fields
}

func (*IncorrectType) GetA

func (x *IncorrectType) GetA() int32

func (*IncorrectType) ProtoMessage

func (*IncorrectType) ProtoMessage()

func (*IncorrectType) ProtoReflect

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

func (*IncorrectType) Reset

func (x *IncorrectType) Reset()

func (*IncorrectType) SetA

func (x *IncorrectType) SetA(v int32)

func (*IncorrectType) String

func (x *IncorrectType) String() string

type IncorrectType_builder

type IncorrectType_builder struct {
	A int32
	// contains filtered or unexported fields
}

func (IncorrectType_builder) Build

type MessageExpressionOnly added in v1.1.0

type MessageExpressionOnly struct {
	A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageExpressionOnly) GetA added in v1.1.0

func (x *MessageExpressionOnly) GetA() int32

func (*MessageExpressionOnly) ProtoMessage added in v1.1.0

func (*MessageExpressionOnly) ProtoMessage()

func (*MessageExpressionOnly) ProtoReflect added in v1.1.0

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

func (*MessageExpressionOnly) Reset added in v1.1.0

func (x *MessageExpressionOnly) Reset()

func (*MessageExpressionOnly) SetA added in v1.1.0

func (x *MessageExpressionOnly) SetA(v int32)

func (*MessageExpressionOnly) String added in v1.1.0

func (x *MessageExpressionOnly) String() string

type MessageExpressionOnly_builder added in v1.1.0

type MessageExpressionOnly_builder struct {
	A int32
	// contains filtered or unexported fields
}

func (MessageExpressionOnly_builder) Build added in v1.1.0

type MessageExpressions

type MessageExpressions struct {
	A int32                      `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	B int32                      `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"`
	C Enum                       `protobuf:"varint,3,opt,name=c,proto3,enum=buf.validate.conformance.cases.custom_rules.Enum" json:"c,omitempty"`
	D Enum                       `protobuf:"varint,4,opt,name=d,proto3,enum=buf.validate.conformance.cases.custom_rules.Enum" json:"d,omitempty"`
	E *MessageExpressions_Nested `protobuf:"bytes,5,opt,name=e,proto3" json:"e,omitempty"`
	F *MessageExpressions_Nested `protobuf:"bytes,6,opt,name=f,proto3" json:"f,omitempty"`
	// contains filtered or unexported fields
}

A message with message-level custom expressions

func (*MessageExpressions) ClearE

func (x *MessageExpressions) ClearE()

func (*MessageExpressions) ClearF

func (x *MessageExpressions) ClearF()

func (*MessageExpressions) GetA

func (x *MessageExpressions) GetA() int32

func (*MessageExpressions) GetB

func (x *MessageExpressions) GetB() int32

func (*MessageExpressions) GetC

func (x *MessageExpressions) GetC() Enum

func (*MessageExpressions) GetD

func (x *MessageExpressions) GetD() Enum

func (*MessageExpressions) GetE

func (*MessageExpressions) GetF

func (*MessageExpressions) HasE

func (x *MessageExpressions) HasE() bool

func (*MessageExpressions) HasF

func (x *MessageExpressions) HasF() bool

func (*MessageExpressions) ProtoMessage

func (*MessageExpressions) ProtoMessage()

func (*MessageExpressions) ProtoReflect

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

func (*MessageExpressions) Reset

func (x *MessageExpressions) Reset()

func (*MessageExpressions) SetA

func (x *MessageExpressions) SetA(v int32)

func (*MessageExpressions) SetB

func (x *MessageExpressions) SetB(v int32)

func (*MessageExpressions) SetC

func (x *MessageExpressions) SetC(v Enum)

func (*MessageExpressions) SetD

func (x *MessageExpressions) SetD(v Enum)

func (*MessageExpressions) SetE

func (*MessageExpressions) SetF

func (*MessageExpressions) String

func (x *MessageExpressions) String() string

type MessageExpressions_Nested

type MessageExpressions_Nested struct {
	A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	B int32 `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageExpressions_Nested) GetA

func (x *MessageExpressions_Nested) GetA() int32

func (*MessageExpressions_Nested) GetB

func (x *MessageExpressions_Nested) GetB() int32

func (*MessageExpressions_Nested) ProtoMessage

func (*MessageExpressions_Nested) ProtoMessage()

func (*MessageExpressions_Nested) ProtoReflect

func (*MessageExpressions_Nested) Reset

func (x *MessageExpressions_Nested) Reset()

func (*MessageExpressions_Nested) SetA

func (x *MessageExpressions_Nested) SetA(v int32)

func (*MessageExpressions_Nested) SetB

func (x *MessageExpressions_Nested) SetB(v int32)

func (*MessageExpressions_Nested) String

func (x *MessageExpressions_Nested) String() string

type MessageExpressions_Nested_builder

type MessageExpressions_Nested_builder struct {
	A int32
	B int32
	// contains filtered or unexported fields
}

func (MessageExpressions_Nested_builder) Build

type MessageExpressions_builder

type MessageExpressions_builder struct {
	A int32
	B int32
	C Enum
	D Enum
	E *MessageExpressions_Nested
	F *MessageExpressions_Nested
	// contains filtered or unexported fields
}

func (MessageExpressions_builder) Build

type MissingField

type MissingField struct {
	A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	// contains filtered or unexported fields
}

func (*MissingField) GetA

func (x *MissingField) GetA() int32

func (*MissingField) ProtoMessage

func (*MissingField) ProtoMessage()

func (*MissingField) ProtoReflect

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

func (*MissingField) Reset

func (x *MissingField) Reset()

func (*MissingField) SetA

func (x *MissingField) SetA(v int32)

func (*MissingField) String

func (x *MissingField) String() string

type MissingField_builder

type MissingField_builder struct {
	A int32
	// contains filtered or unexported fields
}

func (MissingField_builder) Build

func (b0 MissingField_builder) Build() *MissingField

type NoExpressions

type NoExpressions struct {
	A int32                 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	B Enum                  `protobuf:"varint,2,opt,name=b,proto3,enum=buf.validate.conformance.cases.custom_rules.Enum" json:"b,omitempty"`
	C *NoExpressions_Nested `protobuf:"bytes,3,opt,name=c,proto3" json:"c,omitempty"`
	// contains filtered or unexported fields
}

A message that does not contain any expressions

func (*NoExpressions) ClearC

func (x *NoExpressions) ClearC()

func (*NoExpressions) GetA

func (x *NoExpressions) GetA() int32

func (*NoExpressions) GetB

func (x *NoExpressions) GetB() Enum

func (*NoExpressions) GetC

func (*NoExpressions) HasC

func (x *NoExpressions) HasC() bool

func (*NoExpressions) ProtoMessage

func (*NoExpressions) ProtoMessage()

func (*NoExpressions) ProtoReflect

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

func (*NoExpressions) Reset

func (x *NoExpressions) Reset()

func (*NoExpressions) SetA

func (x *NoExpressions) SetA(v int32)

func (*NoExpressions) SetB

func (x *NoExpressions) SetB(v Enum)

func (*NoExpressions) SetC

func (x *NoExpressions) SetC(v *NoExpressions_Nested)

func (*NoExpressions) String

func (x *NoExpressions) String() string

type NoExpressions_Nested

type NoExpressions_Nested struct {
	// contains filtered or unexported fields
}

func (*NoExpressions_Nested) ProtoMessage

func (*NoExpressions_Nested) ProtoMessage()

func (*NoExpressions_Nested) ProtoReflect

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

func (*NoExpressions_Nested) Reset

func (x *NoExpressions_Nested) Reset()

func (*NoExpressions_Nested) String

func (x *NoExpressions_Nested) String() string

type NoExpressions_Nested_builder

type NoExpressions_Nested_builder struct {
	// contains filtered or unexported fields
}

func (NoExpressions_Nested_builder) Build

type NoExpressions_builder

type NoExpressions_builder struct {
	A int32
	B Enum
	C *NoExpressions_Nested
	// contains filtered or unexported fields
}

func (NoExpressions_builder) Build

type NowEqualsNow

type NowEqualsNow struct {
	// contains filtered or unexported fields
}

func (*NowEqualsNow) ProtoMessage

func (*NowEqualsNow) ProtoMessage()

func (*NowEqualsNow) ProtoReflect

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

func (*NowEqualsNow) Reset

func (x *NowEqualsNow) Reset()

func (*NowEqualsNow) String

func (x *NowEqualsNow) String() string

type NowEqualsNow_builder

type NowEqualsNow_builder struct {
	// contains filtered or unexported fields
}

func (NowEqualsNow_builder) Build

func (b0 NowEqualsNow_builder) Build() *NowEqualsNow

Jump to

Keyboard shortcuts

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