gen

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ItemType_name = map[int32]string{
		0: "ITEM_TYPE_UNSPECIFIED",
		1: "ITEM_TYPE_PHYSICAL",
		2: "ITEM_TYPE_DIGITAL",
	}
	ItemType_value = map[string]int32{
		"ITEM_TYPE_UNSPECIFIED": 0,
		"ITEM_TYPE_PHYSICAL":    1,
		"ITEM_TYPE_DIGITAL":     2,
	}
)

Enum value maps for ItemType.

View Source
var File_heuristics_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ContactProfile added in v0.20.1

type ContactProfile struct {

	// Identification
	UserId       string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	SessionToken string `protobuf:"bytes,2,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
	// Name
	FullName  string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	FirstName string `protobuf:"bytes,4,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName  string `protobuf:"bytes,5,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	// Contact Info
	EmailAddress string `protobuf:"bytes,6,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"`
	PhoneNumber  string `protobuf:"bytes,7,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	// Address Info
	HomeAddress string `protobuf:"bytes,8,opt,name=home_address,json=homeAddress,proto3" json:"home_address,omitempty"`
	StreetName  string `protobuf:"bytes,9,opt,name=street_name,json=streetName,proto3" json:"street_name,omitempty"`
	City        string `protobuf:"bytes,10,opt,name=city,proto3" json:"city,omitempty"`
	Country     string `protobuf:"bytes,11,opt,name=country,proto3" json:"country,omitempty"`
	PostalCode  string `protobuf:"bytes,12,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
	// System & Network Info
	ClientIp  string `protobuf:"bytes,13,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"`
	DeviceMac string `protobuf:"bytes,14,opt,name=device_mac,json=deviceMac,proto3" json:"device_mac,omitempty"`
	UserAgent string `protobuf:"bytes,15,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	// Preferences & Appearance
	FavoriteColor string `protobuf:"bytes,16,opt,name=favorite_color,json=favoriteColor,proto3" json:"favorite_color,omitempty"`
	// Descriptions & Bio
	ProfileBio        string `protobuf:"bytes,17,opt,name=profile_bio,json=profileBio,proto3" json:"profile_bio,omitempty"`
	ExperienceSummary string `protobuf:"bytes,18,opt,name=experience_summary,json=experienceSummary,proto3" json:"experience_summary,omitempty"`
	// Tags & Attributes
	Tag          string            `protobuf:"bytes,19,opt,name=tag,proto3" json:"tag,omitempty"`
	Tags         []string          `protobuf:"bytes,20,rep,name=tags,proto3" json:"tags,omitempty"`
	Attributes   map[string]string `` /* 148-byte string literal not displayed */
	CreatedAt    string            `protobuf:"bytes,22,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt    string            `protobuf:"bytes,23,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	CompanyName  string            `protobuf:"bytes,24,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"`
	JobTitle     string            `protobuf:"bytes,25,opt,name=job_title,json=jobTitle,proto3" json:"job_title,omitempty"`
	CurrencyCode string            `protobuf:"bytes,26,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
	LanguageCode string            `protobuf:"bytes,27,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	UserLocale   string            `protobuf:"bytes,28,opt,name=user_locale,json=userLocale,proto3" json:"user_locale,omitempty"`
	// contains filtered or unexported fields
}

func (*ContactProfile) Descriptor deprecated added in v0.20.1

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

Deprecated: Use ContactProfile.ProtoReflect.Descriptor instead.

func (*ContactProfile) GetAttributes added in v0.20.1

func (x *ContactProfile) GetAttributes() map[string]string

func (*ContactProfile) GetCity added in v0.20.1

func (x *ContactProfile) GetCity() string

func (*ContactProfile) GetClientIp added in v0.20.1

func (x *ContactProfile) GetClientIp() string

func (*ContactProfile) GetCompanyName added in v0.20.1

func (x *ContactProfile) GetCompanyName() string

func (*ContactProfile) GetCountry added in v0.20.1

func (x *ContactProfile) GetCountry() string

func (*ContactProfile) GetCreatedAt added in v0.20.1

func (x *ContactProfile) GetCreatedAt() string

func (*ContactProfile) GetCurrencyCode added in v0.20.1

func (x *ContactProfile) GetCurrencyCode() string

func (*ContactProfile) GetDeviceMac added in v0.20.1

func (x *ContactProfile) GetDeviceMac() string

func (*ContactProfile) GetEmailAddress added in v0.20.1

func (x *ContactProfile) GetEmailAddress() string

func (*ContactProfile) GetExperienceSummary added in v0.20.1

func (x *ContactProfile) GetExperienceSummary() string

func (*ContactProfile) GetFavoriteColor added in v0.20.1

func (x *ContactProfile) GetFavoriteColor() string

func (*ContactProfile) GetFirstName added in v0.20.1

func (x *ContactProfile) GetFirstName() string

func (*ContactProfile) GetFullName added in v0.20.1

func (x *ContactProfile) GetFullName() string

func (*ContactProfile) GetHomeAddress added in v0.20.1

func (x *ContactProfile) GetHomeAddress() string

func (*ContactProfile) GetJobTitle added in v0.20.1

func (x *ContactProfile) GetJobTitle() string

func (*ContactProfile) GetLanguageCode added in v0.20.1

func (x *ContactProfile) GetLanguageCode() string

func (*ContactProfile) GetLastName added in v0.20.1

func (x *ContactProfile) GetLastName() string

func (*ContactProfile) GetPhoneNumber added in v0.20.1

func (x *ContactProfile) GetPhoneNumber() string

func (*ContactProfile) GetPostalCode added in v0.20.1

func (x *ContactProfile) GetPostalCode() string

func (*ContactProfile) GetProfileBio added in v0.20.1

func (x *ContactProfile) GetProfileBio() string

func (*ContactProfile) GetSessionToken added in v0.20.1

func (x *ContactProfile) GetSessionToken() string

func (*ContactProfile) GetStreetName added in v0.20.1

func (x *ContactProfile) GetStreetName() string

func (*ContactProfile) GetTag added in v0.20.1

func (x *ContactProfile) GetTag() string

func (*ContactProfile) GetTags added in v0.20.1

func (x *ContactProfile) GetTags() []string

func (*ContactProfile) GetUpdatedAt added in v0.20.1

func (x *ContactProfile) GetUpdatedAt() string

func (*ContactProfile) GetUserAgent added in v0.20.1

func (x *ContactProfile) GetUserAgent() string

func (*ContactProfile) GetUserId added in v0.20.1

func (x *ContactProfile) GetUserId() string

func (*ContactProfile) GetUserLocale added in v0.20.1

func (x *ContactProfile) GetUserLocale() string

func (*ContactProfile) ProtoMessage added in v0.20.1

func (*ContactProfile) ProtoMessage()

func (*ContactProfile) ProtoReflect added in v0.20.1

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

func (*ContactProfile) Reset added in v0.20.1

func (x *ContactProfile) Reset()

func (*ContactProfile) String added in v0.20.1

func (x *ContactProfile) String() string

type GetItemRequest added in v0.19.10

type GetItemRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetItemRequest) Descriptor deprecated added in v0.19.10

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

Deprecated: Use GetItemRequest.ProtoReflect.Descriptor instead.

func (*GetItemRequest) GetId added in v0.19.10

func (x *GetItemRequest) GetId() string

func (*GetItemRequest) ProtoMessage added in v0.19.10

func (*GetItemRequest) ProtoMessage()

func (*GetItemRequest) ProtoReflect added in v0.19.10

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

func (*GetItemRequest) Reset added in v0.19.10

func (x *GetItemRequest) Reset()

func (*GetItemRequest) String added in v0.19.10

func (x *GetItemRequest) String() string

type GetItemResponse added in v0.19.10

type GetItemResponse struct {
	Name       string                     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Quantity   int32                      `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"`
	Type       ItemType                   `protobuf:"varint,3,opt,name=type,proto3,enum=examples.demo.ItemType" json:"type,omitempty"`
	Tags       []string                   `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
	Attributes map[string]string          `` /* 147-byte string literal not displayed */
	CreatedAt  *timestamppb.Timestamp     `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Duration   *durationpb.Duration       `protobuf:"bytes,7,opt,name=duration,proto3" json:"duration,omitempty"`
	ExtraInfo  map[string]*structpb.Value `` /* 162-byte string literal not displayed */
	// Types that are valid to be assigned to Status:
	//
	//	*GetItemResponse_StatusMessage
	//	*GetItemResponse_StatusCode
	Status isGetItemResponse_Status `protobuf_oneof:"status"`
	// contains filtered or unexported fields
}

func (*GetItemResponse) Descriptor deprecated added in v0.19.10

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

Deprecated: Use GetItemResponse.ProtoReflect.Descriptor instead.

func (*GetItemResponse) GetAttributes added in v0.19.10

func (x *GetItemResponse) GetAttributes() map[string]string

func (*GetItemResponse) GetCreatedAt added in v0.19.10

func (x *GetItemResponse) GetCreatedAt() *timestamppb.Timestamp

func (*GetItemResponse) GetDuration added in v0.19.10

func (x *GetItemResponse) GetDuration() *durationpb.Duration

func (*GetItemResponse) GetExtraInfo added in v0.19.10

func (x *GetItemResponse) GetExtraInfo() map[string]*structpb.Value

func (*GetItemResponse) GetName added in v0.19.10

func (x *GetItemResponse) GetName() string

func (*GetItemResponse) GetQuantity added in v0.19.10

func (x *GetItemResponse) GetQuantity() int32

func (*GetItemResponse) GetStatus added in v0.19.10

func (x *GetItemResponse) GetStatus() isGetItemResponse_Status

func (*GetItemResponse) GetStatusCode added in v0.19.10

func (x *GetItemResponse) GetStatusCode() int32

func (*GetItemResponse) GetStatusMessage added in v0.19.10

func (x *GetItemResponse) GetStatusMessage() string

func (*GetItemResponse) GetTags added in v0.19.10

func (x *GetItemResponse) GetTags() []string

func (*GetItemResponse) GetType added in v0.19.10

func (x *GetItemResponse) GetType() ItemType

func (*GetItemResponse) ProtoMessage added in v0.19.10

func (*GetItemResponse) ProtoMessage()

func (*GetItemResponse) ProtoReflect added in v0.19.10

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

func (*GetItemResponse) Reset added in v0.19.10

func (x *GetItemResponse) Reset()

func (*GetItemResponse) String added in v0.19.10

func (x *GetItemResponse) String() string

type GetItemResponse_StatusCode added in v0.19.10

type GetItemResponse_StatusCode struct {
	StatusCode int32 `protobuf:"varint,10,opt,name=status_code,json=statusCode,proto3,oneof"`
}

type GetItemResponse_StatusMessage added in v0.19.10

type GetItemResponse_StatusMessage struct {
	StatusMessage string `protobuf:"bytes,9,opt,name=status_message,json=statusMessage,proto3,oneof"`
}

type ItemType added in v0.19.10

type ItemType int32
const (
	ItemType_ITEM_TYPE_UNSPECIFIED ItemType = 0
	ItemType_ITEM_TYPE_PHYSICAL    ItemType = 1
	ItemType_ITEM_TYPE_DIGITAL     ItemType = 2
)

func (ItemType) Descriptor added in v0.19.10

func (ItemType) Descriptor() protoreflect.EnumDescriptor

func (ItemType) Enum added in v0.19.10

func (x ItemType) Enum() *ItemType

func (ItemType) EnumDescriptor deprecated added in v0.19.10

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

Deprecated: Use ItemType.Descriptor instead.

func (ItemType) Number added in v0.19.10

func (x ItemType) Number() protoreflect.EnumNumber

func (ItemType) String added in v0.19.10

func (x ItemType) String() string

func (ItemType) Type added in v0.19.10

Directories

Path Synopsis
registry
v1
stubs
v1
test
v1

Jump to

Keyboard shortcuts

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