pb

package
v0.0.0-...-9d0e06d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Boolean_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "YES",
		2: "NO",
	}
	Boolean_value = map[string]int32{
		"UNSPECIFIED": 0,
		"YES":         1,
		"NO":          2,
	}
)

Enum value maps for Boolean.

View Source
var (
	// optional bool crud = 1000;
	E_Crud = &file_service_proto_extTypes[0]
	// this field is used to generate the table name
	//
	// optional string tableName = 1001;
	E_TableName = &file_service_proto_extTypes[1]
)

Extension fields to descriptor.MessageOptions.

View Source
var (
	// optional service.Field field = 1001;
	E_Field = &file_service_proto_extTypes[2]
)

Extension fields to descriptor.FieldOptions.

View Source
var File_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Boolean

type Boolean int32
const (
	Boolean_UNSPECIFIED Boolean = 0
	Boolean_YES         Boolean = 1
	Boolean_NO          Boolean = 2
)

func (Boolean) Descriptor

func (Boolean) Descriptor() protoreflect.EnumDescriptor

func (Boolean) Enum

func (x Boolean) Enum() *Boolean

func (Boolean) EnumDescriptor deprecated

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

Deprecated: Use Boolean.Descriptor instead.

func (Boolean) Number

func (x Boolean) Number() protoreflect.EnumNumber

func (Boolean) String

func (x Boolean) String() string

func (Boolean) Type

func (Boolean) Type() protoreflect.EnumType

type Field

type Field struct {
	UpperNoSpaceNoAccent Boolean `protobuf:"varint,1,opt,name=upperNoSpaceNoAccent,proto3,enum=service.Boolean" json:"upperNoSpaceNoAccent,omitempty"`
	UpperCase            Boolean `protobuf:"varint,2,opt,name=upperCase,proto3,enum=service.Boolean" json:"upperCase,omitempty"`
	TrimSpace            Boolean `protobuf:"varint,3,opt,name=trimSpace,proto3,enum=service.Boolean" json:"trimSpace,omitempty"`
	RemoveAccent         Boolean `protobuf:"varint,4,opt,name=removeAccent,proto3,enum=service.Boolean" json:"removeAccent,omitempty"`
	// contains filtered or unexported fields
}

func (*Field) Descriptor deprecated

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

Deprecated: Use Field.ProtoReflect.Descriptor instead.

func (*Field) GetRemoveAccent

func (x *Field) GetRemoveAccent() Boolean

func (*Field) GetTrimSpace

func (x *Field) GetTrimSpace() Boolean

func (*Field) GetUpperCase

func (x *Field) GetUpperCase() Boolean

func (*Field) GetUpperNoSpaceNoAccent

func (x *Field) GetUpperNoSpaceNoAccent() Boolean

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) ProtoReflect

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

func (*Field) Reset

func (x *Field) Reset()

func (*Field) String

func (x *Field) String() string

Jump to

Keyboard shortcuts

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