govalidatorexternal

package
v0.0.0-...-c713541 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InvalidMessageEnum_Type_name = map[int32]string{
		0: "Cat",
	}
	InvalidMessageEnum_Type_value = map[string]int32{
		"Cat": 0,
	}
)

Enum value maps for InvalidMessageEnum_Type.

View Source
var File_xgo_tests_govalidatorexternal_test_invalid_bool_proto protoreflect.FileDescriptor
View Source
var File_xgo_tests_govalidatorexternal_test_invalid_bytes_proto protoreflect.FileDescriptor
View Source
var File_xgo_tests_govalidatorexternal_test_invalid_enum_proto protoreflect.FileDescriptor
View Source
var File_xgo_tests_govalidatorexternal_test_invalid_float_proto protoreflect.FileDescriptor
View Source
var File_xgo_tests_govalidatorexternal_test_invalid_int_proto protoreflect.FileDescriptor
View Source
var File_xgo_tests_govalidatorexternal_test_invalid_list_proto protoreflect.FileDescriptor
View Source
var File_xgo_tests_govalidatorexternal_test_invalid_map_proto protoreflect.FileDescriptor
View Source
var File_xgo_tests_govalidatorexternal_test_invalid_string_proto protoreflect.FileDescriptor
View Source
var File_xgo_tests_govalidatorexternal_test_invalid_uint_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type InvalidMessageBool

type InvalidMessageBool struct {
	TField1 bool `protobuf:"varint,1,opt,name=t_field1,json=tField1,proto3" json:"t_field1,omitempty"`
	// contains filtered or unexported fields
}

func (*InvalidMessageBool) Descriptor deprecated

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

Deprecated: Use InvalidMessageBool.ProtoReflect.Descriptor instead.

func (*InvalidMessageBool) GetTField1

func (x *InvalidMessageBool) GetTField1() bool

func (*InvalidMessageBool) ProtoMessage

func (*InvalidMessageBool) ProtoMessage()

func (*InvalidMessageBool) ProtoReflect

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

func (*InvalidMessageBool) Reset

func (x *InvalidMessageBool) Reset()

func (*InvalidMessageBool) String

func (x *InvalidMessageBool) String() string

func (*InvalidMessageBool) Validate

func (this *InvalidMessageBool) Validate() error

Set default value for message godefaultstest.InvalidMessageBool

type InvalidMessageBytes

type InvalidMessageBytes struct {
	TField1 []byte `protobuf:"bytes,1,opt,name=t_field1,json=tField1,proto3" json:"t_field1,omitempty"`
	// contains filtered or unexported fields
}

func (*InvalidMessageBytes) Descriptor deprecated

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

Deprecated: Use InvalidMessageBytes.ProtoReflect.Descriptor instead.

func (*InvalidMessageBytes) GetTField1

func (x *InvalidMessageBytes) GetTField1() []byte

func (*InvalidMessageBytes) ProtoMessage

func (*InvalidMessageBytes) ProtoMessage()

func (*InvalidMessageBytes) ProtoReflect

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

func (*InvalidMessageBytes) Reset

func (x *InvalidMessageBytes) Reset()

func (*InvalidMessageBytes) String

func (x *InvalidMessageBytes) String() string

func (*InvalidMessageBytes) Validate

func (this *InvalidMessageBytes) Validate() error

Set default value for message godefaultstest.InvalidMessageBytes

type InvalidMessageEnum

type InvalidMessageEnum struct {
	TField1 InvalidMessageEnum_Type `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*InvalidMessageEnum) Descriptor deprecated

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

Deprecated: Use InvalidMessageEnum.ProtoReflect.Descriptor instead.

func (*InvalidMessageEnum) GetTField1

func (*InvalidMessageEnum) ProtoMessage

func (*InvalidMessageEnum) ProtoMessage()

func (*InvalidMessageEnum) ProtoReflect

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

func (*InvalidMessageEnum) Reset

func (x *InvalidMessageEnum) Reset()

func (*InvalidMessageEnum) String

func (x *InvalidMessageEnum) String() string

func (*InvalidMessageEnum) Validate

func (this *InvalidMessageEnum) Validate() error

Set default value for message godefaultstest.InvalidMessageEnum

type InvalidMessageEnum_Type

type InvalidMessageEnum_Type int32
const (
	InvalidMessageEnum_Cat InvalidMessageEnum_Type = 0
)

func (InvalidMessageEnum_Type) Descriptor

func (InvalidMessageEnum_Type) Enum

func (InvalidMessageEnum_Type) EnumDescriptor deprecated

func (InvalidMessageEnum_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use InvalidMessageEnum_Type.Descriptor instead.

func (InvalidMessageEnum_Type) Number

func (InvalidMessageEnum_Type) String

func (x InvalidMessageEnum_Type) String() string

func (InvalidMessageEnum_Type) Type

type InvalidMessageFloat

type InvalidMessageFloat struct {
	TField1 float32 `protobuf:"fixed32,1,opt,name=t_field1,json=tField1,proto3" json:"t_field1,omitempty"`
	// contains filtered or unexported fields
}

func (*InvalidMessageFloat) Descriptor deprecated

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

Deprecated: Use InvalidMessageFloat.ProtoReflect.Descriptor instead.

func (*InvalidMessageFloat) GetTField1

func (x *InvalidMessageFloat) GetTField1() float32

func (*InvalidMessageFloat) ProtoMessage

func (*InvalidMessageFloat) ProtoMessage()

func (*InvalidMessageFloat) ProtoReflect

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

func (*InvalidMessageFloat) Reset

func (x *InvalidMessageFloat) Reset()

func (*InvalidMessageFloat) String

func (x *InvalidMessageFloat) String() string

func (*InvalidMessageFloat) Validate

func (this *InvalidMessageFloat) Validate() error

Set default value for message godefaultstest.InvalidMessageFloat

type InvalidMessageInt

type InvalidMessageInt struct {
	TField1 int64 `protobuf:"varint,1,opt,name=t_field1,json=tField1,proto3" json:"t_field1,omitempty"`
	// contains filtered or unexported fields
}

func (*InvalidMessageInt) Descriptor deprecated

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

Deprecated: Use InvalidMessageInt.ProtoReflect.Descriptor instead.

func (*InvalidMessageInt) GetTField1

func (x *InvalidMessageInt) GetTField1() int64

func (*InvalidMessageInt) ProtoMessage

func (*InvalidMessageInt) ProtoMessage()

func (*InvalidMessageInt) ProtoReflect

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

func (*InvalidMessageInt) Reset

func (x *InvalidMessageInt) Reset()

func (*InvalidMessageInt) String

func (x *InvalidMessageInt) String() string

func (*InvalidMessageInt) Validate

func (this *InvalidMessageInt) Validate() error

Set default value for message godefaultstest.InvalidMessageInt

type InvalidMessageList

type InvalidMessageList struct {
	TListString1 []string `protobuf:"bytes,1,rep,name=t_list_string1,json=tListString1,proto3" json:"t_list_string1,omitempty"`
	// contains filtered or unexported fields
}

func (*InvalidMessageList) Descriptor deprecated

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

Deprecated: Use InvalidMessageList.ProtoReflect.Descriptor instead.

func (*InvalidMessageList) GetTListString1

func (x *InvalidMessageList) GetTListString1() []string

func (*InvalidMessageList) ProtoMessage

func (*InvalidMessageList) ProtoMessage()

func (*InvalidMessageList) ProtoReflect

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

func (*InvalidMessageList) Reset

func (x *InvalidMessageList) Reset()

func (*InvalidMessageList) String

func (x *InvalidMessageList) String() string

func (*InvalidMessageList) Validate

func (this *InvalidMessageList) Validate() error

Set default value for message godefaultstest.InvalidMessageList

type InvalidMessageMap

type InvalidMessageMap struct {
	TMapString map[string]string `` /* 181-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*InvalidMessageMap) Descriptor deprecated

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

Deprecated: Use InvalidMessageMap.ProtoReflect.Descriptor instead.

func (*InvalidMessageMap) GetTMapString

func (x *InvalidMessageMap) GetTMapString() map[string]string

func (*InvalidMessageMap) ProtoMessage

func (*InvalidMessageMap) ProtoMessage()

func (*InvalidMessageMap) ProtoReflect

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

func (*InvalidMessageMap) Reset

func (x *InvalidMessageMap) Reset()

func (*InvalidMessageMap) String

func (x *InvalidMessageMap) String() string

func (*InvalidMessageMap) Validate

func (this *InvalidMessageMap) Validate() error

Set default value for message godefaultstest.InvalidMessageMap

type InvalidMessageString

type InvalidMessageString struct {
	TField1 string `protobuf:"bytes,1,opt,name=t_field1,json=tField1,proto3" json:"t_field1,omitempty"`
	// contains filtered or unexported fields
}

func (*InvalidMessageString) Descriptor deprecated

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

Deprecated: Use InvalidMessageString.ProtoReflect.Descriptor instead.

func (*InvalidMessageString) GetTField1

func (x *InvalidMessageString) GetTField1() string

func (*InvalidMessageString) ProtoMessage

func (*InvalidMessageString) ProtoMessage()

func (*InvalidMessageString) ProtoReflect

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

func (*InvalidMessageString) Reset

func (x *InvalidMessageString) Reset()

func (*InvalidMessageString) String

func (x *InvalidMessageString) String() string

func (*InvalidMessageString) Validate

func (this *InvalidMessageString) Validate() error

Set default value for message godefaultstest.InvalidMessageString

type InvalidMessageUint

type InvalidMessageUint struct {
	TField1 uint32 `protobuf:"varint,1,opt,name=t_field1,json=tField1,proto3" json:"t_field1,omitempty"`
	// contains filtered or unexported fields
}

func (*InvalidMessageUint) Descriptor deprecated

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

Deprecated: Use InvalidMessageUint.ProtoReflect.Descriptor instead.

func (*InvalidMessageUint) GetTField1

func (x *InvalidMessageUint) GetTField1() uint32

func (*InvalidMessageUint) ProtoMessage

func (*InvalidMessageUint) ProtoMessage()

func (*InvalidMessageUint) ProtoReflect

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

func (*InvalidMessageUint) Reset

func (x *InvalidMessageUint) Reset()

func (*InvalidMessageUint) String

func (x *InvalidMessageUint) String() string

func (*InvalidMessageUint) Validate

func (this *InvalidMessageUint) Validate() error

Set default value for message godefaultstest.InvalidMessageUint

Jump to

Keyboard shortcuts

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