options

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PIICategory_name = map[int32]string{
		0: "PII_NONE",
		1: "PII_OTHER",
		2: "PII_NAME",
		3: "PII_EMAIL",
		4: "PII_PHONE",
		5: "PII_IP",
		6: "PII_DEVICE_ID",
		7: "PII_DOCUMENT_NUMBER",
	}
	PIICategory_value = map[string]int32{
		"PII_NONE":            0,
		"PII_OTHER":           1,
		"PII_NAME":            2,
		"PII_EMAIL":           3,
		"PII_PHONE":           4,
		"PII_IP":              5,
		"PII_DEVICE_ID":       6,
		"PII_DOCUMENT_NUMBER": 7,
	}
)

Enum value maps for PIICategory.

View Source
var (
	AccountType_name = map[int32]string{
		0: "ACCOUNT_NONE",
		1: "ACCOUNT_OTHER",
		2: "ACCOUNT_RIDER",
		3: "ACCOUNT_HUNTER",
	}
	AccountType_value = map[string]int32{
		"ACCOUNT_NONE":   0,
		"ACCOUNT_OTHER":  1,
		"ACCOUNT_RIDER":  2,
		"ACCOUNT_HUNTER": 3,
	}
)

Enum value maps for AccountType.

View Source
var (
	// optional voi.event.FieldOption field = 50924;
	E_Field = &file_pkg_options_descriptor_proto_extTypes[1]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// optional voi.event.EventOption options = 50142;
	E_Options = &file_pkg_options_descriptor_proto_extTypes[0]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var File_pkg_options_descriptor_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccountType added in v0.1.8

type AccountType int32

AccountType describes a user category.

const (
	AccountType_ACCOUNT_NONE   AccountType = 0
	AccountType_ACCOUNT_OTHER  AccountType = 1
	AccountType_ACCOUNT_RIDER  AccountType = 2
	AccountType_ACCOUNT_HUNTER AccountType = 3
)

func (AccountType) Descriptor added in v0.1.8

func (AccountType) Enum added in v0.1.8

func (x AccountType) Enum() *AccountType

func (AccountType) EnumDescriptor deprecated added in v0.1.8

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

Deprecated: Use AccountType.Descriptor instead.

func (AccountType) Number added in v0.1.8

func (x AccountType) Number() protoreflect.EnumNumber

func (AccountType) String added in v0.1.8

func (x AccountType) String() string

func (AccountType) Type added in v0.1.8

type EventOption

type EventOption struct {
	TopicName           string `protobuf:"bytes,1,opt,name=topic_name,json=topicName,proto3" json:"topic_name,omitempty"`
	Skip                bool   `protobuf:"varint,2,opt,name=skip,proto3" json:"skip,omitempty"`
	NoMessageValidation bool   `protobuf:"varint,3,opt,name=no_message_validation,json=noMessageValidation,proto3" json:"no_message_validation,omitempty"`
	// contains filtered or unexported fields
}

func (*EventOption) Descriptor deprecated

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

Deprecated: Use EventOption.ProtoReflect.Descriptor instead.

func (*EventOption) GetNoMessageValidation added in v0.1.6

func (x *EventOption) GetNoMessageValidation() bool

func (*EventOption) GetSkip

func (x *EventOption) GetSkip() bool

func (*EventOption) GetTopicName

func (x *EventOption) GetTopicName() string

func (*EventOption) ProtoMessage

func (*EventOption) ProtoMessage()

func (*EventOption) ProtoReflect

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

func (*EventOption) Reset

func (x *EventOption) Reset()

func (*EventOption) String

func (x *EventOption) String() string

type FieldOption added in v0.1.3

type FieldOption struct {
	IsMetadata        bool        `protobuf:"varint,1,opt,name=is_metadata,json=isMetadata,proto3" json:"is_metadata,omitempty"`
	Name              string      `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	InjectMessageId   bool        `protobuf:"varint,3,opt,name=inject_message_id,json=injectMessageId,proto3" json:"inject_message_id,omitempty"`
	Pii               PIICategory `protobuf:"varint,4,opt,name=pii,proto3,enum=voi.event.PIICategory" json:"pii,omitempty"`
	AccountId         AccountType `protobuf:"varint,5,opt,name=account_id,json=accountId,proto3,enum=voi.event.AccountType" json:"account_id,omitempty"`
	InjectPublishTime bool        `protobuf:"varint,6,opt,name=inject_publish_time,json=injectPublishTime,proto3" json:"inject_publish_time,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldOption) Descriptor deprecated added in v0.1.3

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

Deprecated: Use FieldOption.ProtoReflect.Descriptor instead.

func (*FieldOption) GetAccountId added in v0.1.8

func (x *FieldOption) GetAccountId() AccountType

func (*FieldOption) GetInjectMessageId added in v0.1.6

func (x *FieldOption) GetInjectMessageId() bool

func (*FieldOption) GetInjectPublishTime added in v0.1.10

func (x *FieldOption) GetInjectPublishTime() bool

func (*FieldOption) GetIsMetadata added in v0.1.3

func (x *FieldOption) GetIsMetadata() bool

func (*FieldOption) GetName added in v0.1.3

func (x *FieldOption) GetName() string

func (*FieldOption) GetPii added in v0.1.8

func (x *FieldOption) GetPii() PIICategory

func (*FieldOption) ProtoMessage added in v0.1.3

func (*FieldOption) ProtoMessage()

func (*FieldOption) ProtoReflect added in v0.1.3

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

func (*FieldOption) Reset added in v0.1.3

func (x *FieldOption) Reset()

func (*FieldOption) String added in v0.1.3

func (x *FieldOption) String() string

type PIICategory added in v0.1.8

type PIICategory int32

PIICategory describes the type of PII contained in a field.

const (
	PIICategory_PII_NONE            PIICategory = 0
	PIICategory_PII_OTHER           PIICategory = 1
	PIICategory_PII_NAME            PIICategory = 2
	PIICategory_PII_EMAIL           PIICategory = 3
	PIICategory_PII_PHONE           PIICategory = 4
	PIICategory_PII_IP              PIICategory = 5
	PIICategory_PII_DEVICE_ID       PIICategory = 6
	PIICategory_PII_DOCUMENT_NUMBER PIICategory = 7
)

func (PIICategory) Descriptor added in v0.1.8

func (PIICategory) Enum added in v0.1.8

func (x PIICategory) Enum() *PIICategory

func (PIICategory) EnumDescriptor deprecated added in v0.1.8

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

Deprecated: Use PIICategory.Descriptor instead.

func (PIICategory) Number added in v0.1.8

func (x PIICategory) Number() protoreflect.EnumNumber

func (PIICategory) String added in v0.1.8

func (x PIICategory) String() string

func (PIICategory) Type added in v0.1.8

Jump to

Keyboard shortcuts

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