proto

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VariableType_PB_name = map[int32]string{
		0: "Boolean",
		1: "Number",
		2: "String",
		3: "JSON",
	}
	VariableType_PB_value = map[string]int32{
		"Boolean": 0,
		"Number":  1,
		"String":  2,
		"JSON":    3,
	}
)

Enum value maps for VariableType_PB.

View Source
var (
	CustomDataType_name = map[int32]string{
		0: "Bool",
		1: "Num",
		2: "Str",
		3: "Null",
	}
	CustomDataType_value = map[string]int32{
		"Bool": 0,
		"Num":  1,
		"Str":  2,
		"Null": 3,
	}
)

Enum value maps for CustomDataType.

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_proto_variableForUserParams_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CustomDataType

type CustomDataType int32
const (
	CustomDataType_Bool CustomDataType = 0
	CustomDataType_Num  CustomDataType = 1
	CustomDataType_Str  CustomDataType = 2
	CustomDataType_Null CustomDataType = 3
)

func (CustomDataType) Descriptor

func (CustomDataType) Enum

func (x CustomDataType) Enum() *CustomDataType

func (CustomDataType) EnumDescriptor deprecated

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

Deprecated: Use CustomDataType.Descriptor instead.

func (CustomDataType) Number

func (CustomDataType) String

func (x CustomDataType) String() string

func (CustomDataType) Type

type CustomDataValue

type CustomDataValue struct {
	Type        CustomDataType `protobuf:"varint,1,opt,name=type,proto3,enum=CustomDataType" json:"type,omitempty"`
	BoolValue   bool           `protobuf:"varint,2,opt,name=boolValue,proto3" json:"boolValue,omitempty"`
	DoubleValue float64        `protobuf:"fixed64,3,opt,name=doubleValue,proto3" json:"doubleValue,omitempty"`
	StringValue string         `protobuf:"bytes,4,opt,name=stringValue,proto3" json:"stringValue,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomDataValue) Descriptor deprecated

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

Deprecated: Use CustomDataValue.ProtoReflect.Descriptor instead.

func (*CustomDataValue) GetBoolValue

func (x *CustomDataValue) GetBoolValue() bool

func (*CustomDataValue) GetDoubleValue

func (x *CustomDataValue) GetDoubleValue() float64

func (*CustomDataValue) GetStringValue

func (x *CustomDataValue) GetStringValue() string

func (*CustomDataValue) GetType

func (x *CustomDataValue) GetType() CustomDataType

func (*CustomDataValue) MarshalToSizedBufferVT

func (m *CustomDataValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CustomDataValue) MarshalToVT

func (m *CustomDataValue) MarshalToVT(dAtA []byte) (int, error)

func (*CustomDataValue) MarshalVT

func (m *CustomDataValue) MarshalVT() (dAtA []byte, err error)

func (*CustomDataValue) ProtoMessage

func (*CustomDataValue) ProtoMessage()

func (*CustomDataValue) ProtoReflect

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

func (*CustomDataValue) Reset

func (x *CustomDataValue) Reset()

func (*CustomDataValue) SizeVT

func (m *CustomDataValue) SizeVT() (n int)

func (*CustomDataValue) String

func (x *CustomDataValue) String() string

func (*CustomDataValue) UnmarshalVT

func (m *CustomDataValue) UnmarshalVT(dAtA []byte) error

type DVCUser_PB

type DVCUser_PB struct {
	UserId            string              `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Email             *NullableString     `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	Name              *NullableString     `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Language          *NullableString     `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"`
	Country           *NullableString     `protobuf:"bytes,5,opt,name=country,proto3" json:"country,omitempty"`
	AppBuild          *NullableDouble     `protobuf:"bytes,6,opt,name=appBuild,proto3" json:"appBuild,omitempty"`
	AppVersion        *NullableString     `protobuf:"bytes,7,opt,name=appVersion,proto3" json:"appVersion,omitempty"`
	DeviceModel       *NullableString     `protobuf:"bytes,8,opt,name=deviceModel,proto3" json:"deviceModel,omitempty"`
	CustomData        *NullableCustomData `protobuf:"bytes,9,opt,name=customData,proto3" json:"customData,omitempty"`
	PrivateCustomData *NullableCustomData `protobuf:"bytes,10,opt,name=privateCustomData,proto3" json:"privateCustomData,omitempty"`
	// contains filtered or unexported fields
}

func (*DVCUser_PB) Descriptor deprecated

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

Deprecated: Use DVCUser_PB.ProtoReflect.Descriptor instead.

func (*DVCUser_PB) GetAppBuild

func (x *DVCUser_PB) GetAppBuild() *NullableDouble

func (*DVCUser_PB) GetAppVersion

func (x *DVCUser_PB) GetAppVersion() *NullableString

func (*DVCUser_PB) GetCountry

func (x *DVCUser_PB) GetCountry() *NullableString

func (*DVCUser_PB) GetCustomData

func (x *DVCUser_PB) GetCustomData() *NullableCustomData

func (*DVCUser_PB) GetDeviceModel

func (x *DVCUser_PB) GetDeviceModel() *NullableString

func (*DVCUser_PB) GetEmail

func (x *DVCUser_PB) GetEmail() *NullableString

func (*DVCUser_PB) GetLanguage

func (x *DVCUser_PB) GetLanguage() *NullableString

func (*DVCUser_PB) GetName

func (x *DVCUser_PB) GetName() *NullableString

func (*DVCUser_PB) GetPrivateCustomData

func (x *DVCUser_PB) GetPrivateCustomData() *NullableCustomData

func (*DVCUser_PB) GetUserId

func (x *DVCUser_PB) GetUserId() string

func (*DVCUser_PB) MarshalToSizedBufferVT

func (m *DVCUser_PB) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DVCUser_PB) MarshalToVT

func (m *DVCUser_PB) MarshalToVT(dAtA []byte) (int, error)

func (*DVCUser_PB) MarshalVT

func (m *DVCUser_PB) MarshalVT() (dAtA []byte, err error)

func (*DVCUser_PB) ProtoMessage

func (*DVCUser_PB) ProtoMessage()

func (*DVCUser_PB) ProtoReflect

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

func (*DVCUser_PB) Reset

func (x *DVCUser_PB) Reset()

func (*DVCUser_PB) SizeVT

func (m *DVCUser_PB) SizeVT() (n int)

func (*DVCUser_PB) String

func (x *DVCUser_PB) String() string

func (*DVCUser_PB) UnmarshalVT

func (m *DVCUser_PB) UnmarshalVT(dAtA []byte) error

type NullableCustomData

type NullableCustomData struct {
	Value  map[string]*CustomDataValue `` /* 151-byte string literal not displayed */
	IsNull bool                        `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"`
	// contains filtered or unexported fields
}

func (*NullableCustomData) Descriptor deprecated

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

Deprecated: Use NullableCustomData.ProtoReflect.Descriptor instead.

func (*NullableCustomData) GetIsNull

func (x *NullableCustomData) GetIsNull() bool

func (*NullableCustomData) GetValue

func (x *NullableCustomData) GetValue() map[string]*CustomDataValue

func (*NullableCustomData) MarshalToSizedBufferVT

func (m *NullableCustomData) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NullableCustomData) MarshalToVT

func (m *NullableCustomData) MarshalToVT(dAtA []byte) (int, error)

func (*NullableCustomData) MarshalVT

func (m *NullableCustomData) MarshalVT() (dAtA []byte, err error)

func (*NullableCustomData) ProtoMessage

func (*NullableCustomData) ProtoMessage()

func (*NullableCustomData) ProtoReflect

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

func (*NullableCustomData) Reset

func (x *NullableCustomData) Reset()

func (*NullableCustomData) SizeVT

func (m *NullableCustomData) SizeVT() (n int)

func (*NullableCustomData) String

func (x *NullableCustomData) String() string

func (*NullableCustomData) UnmarshalVT

func (m *NullableCustomData) UnmarshalVT(dAtA []byte) error

type NullableDouble

type NullableDouble struct {
	Value  float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	IsNull bool    `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"`
	// contains filtered or unexported fields
}

func (*NullableDouble) Descriptor deprecated

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

Deprecated: Use NullableDouble.ProtoReflect.Descriptor instead.

func (*NullableDouble) GetIsNull

func (x *NullableDouble) GetIsNull() bool

func (*NullableDouble) GetValue

func (x *NullableDouble) GetValue() float64

func (*NullableDouble) MarshalToSizedBufferVT

func (m *NullableDouble) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NullableDouble) MarshalToVT

func (m *NullableDouble) MarshalToVT(dAtA []byte) (int, error)

func (*NullableDouble) MarshalVT

func (m *NullableDouble) MarshalVT() (dAtA []byte, err error)

func (*NullableDouble) ProtoMessage

func (*NullableDouble) ProtoMessage()

func (*NullableDouble) ProtoReflect

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

func (*NullableDouble) Reset

func (x *NullableDouble) Reset()

func (*NullableDouble) SizeVT

func (m *NullableDouble) SizeVT() (n int)

func (*NullableDouble) String

func (x *NullableDouble) String() string

func (*NullableDouble) UnmarshalVT

func (m *NullableDouble) UnmarshalVT(dAtA []byte) error

type NullableString

type NullableString struct {
	Value  string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	IsNull bool   `protobuf:"varint,2,opt,name=isNull,proto3" json:"isNull,omitempty"`
	// contains filtered or unexported fields
}

func (*NullableString) Descriptor deprecated

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

Deprecated: Use NullableString.ProtoReflect.Descriptor instead.

func (*NullableString) GetIsNull

func (x *NullableString) GetIsNull() bool

func (*NullableString) GetValue

func (x *NullableString) GetValue() string

func (*NullableString) MarshalToSizedBufferVT

func (m *NullableString) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NullableString) MarshalToVT

func (m *NullableString) MarshalToVT(dAtA []byte) (int, error)

func (*NullableString) MarshalVT

func (m *NullableString) MarshalVT() (dAtA []byte, err error)

func (*NullableString) ProtoMessage

func (*NullableString) ProtoMessage()

func (*NullableString) ProtoReflect

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

func (*NullableString) Reset

func (x *NullableString) Reset()

func (*NullableString) SizeVT

func (m *NullableString) SizeVT() (n int)

func (*NullableString) String

func (x *NullableString) String() string

func (*NullableString) UnmarshalVT

func (m *NullableString) UnmarshalVT(dAtA []byte) error

type SDKVariable_PB

type SDKVariable_PB struct {
	XId         string          `protobuf:"bytes,1,opt,name=_id,json=Id,proto3" json:"_id,omitempty"`
	Type        VariableType_PB `protobuf:"varint,2,opt,name=type,proto3,enum=VariableType_PB" json:"type,omitempty"`
	Key         string          `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	BoolValue   bool            `protobuf:"varint,4,opt,name=boolValue,proto3" json:"boolValue,omitempty"`
	DoubleValue float64         `protobuf:"fixed64,5,opt,name=doubleValue,proto3" json:"doubleValue,omitempty"`
	StringValue string          `protobuf:"bytes,6,opt,name=stringValue,proto3" json:"stringValue,omitempty"`
	EvalReason  *NullableString `protobuf:"bytes,7,opt,name=evalReason,proto3" json:"evalReason,omitempty"`
	// contains filtered or unexported fields
}

func (*SDKVariable_PB) Descriptor deprecated

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

Deprecated: Use SDKVariable_PB.ProtoReflect.Descriptor instead.

func (*SDKVariable_PB) GetBoolValue

func (x *SDKVariable_PB) GetBoolValue() bool

func (*SDKVariable_PB) GetDoubleValue

func (x *SDKVariable_PB) GetDoubleValue() float64

func (*SDKVariable_PB) GetEvalReason

func (x *SDKVariable_PB) GetEvalReason() *NullableString

func (*SDKVariable_PB) GetKey

func (x *SDKVariable_PB) GetKey() string

func (*SDKVariable_PB) GetStringValue

func (x *SDKVariable_PB) GetStringValue() string

func (*SDKVariable_PB) GetType

func (x *SDKVariable_PB) GetType() VariableType_PB

func (SDKVariable_PB) GetValue

func (variable SDKVariable_PB) GetValue() interface{}

func (*SDKVariable_PB) GetXId

func (x *SDKVariable_PB) GetXId() string

func (*SDKVariable_PB) MarshalToSizedBufferVT

func (m *SDKVariable_PB) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SDKVariable_PB) MarshalToVT

func (m *SDKVariable_PB) MarshalToVT(dAtA []byte) (int, error)

func (*SDKVariable_PB) MarshalVT

func (m *SDKVariable_PB) MarshalVT() (dAtA []byte, err error)

func (*SDKVariable_PB) ProtoMessage

func (*SDKVariable_PB) ProtoMessage()

func (*SDKVariable_PB) ProtoReflect

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

func (*SDKVariable_PB) Reset

func (x *SDKVariable_PB) Reset()

func (*SDKVariable_PB) SizeVT

func (m *SDKVariable_PB) SizeVT() (n int)

func (*SDKVariable_PB) String

func (x *SDKVariable_PB) String() string

func (*SDKVariable_PB) UnmarshalVT

func (m *SDKVariable_PB) UnmarshalVT(dAtA []byte) error

type VariableForUserParams_PB

type VariableForUserParams_PB struct {
	SdkKey           string          `protobuf:"bytes,1,opt,name=sdkKey,proto3" json:"sdkKey,omitempty"`
	VariableKey      string          `protobuf:"bytes,2,opt,name=variableKey,proto3" json:"variableKey,omitempty"`
	VariableType     VariableType_PB `protobuf:"varint,3,opt,name=variableType,proto3,enum=VariableType_PB" json:"variableType,omitempty"`
	User             *DVCUser_PB     `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
	ShouldTrackEvent bool            `protobuf:"varint,5,opt,name=shouldTrackEvent,proto3" json:"shouldTrackEvent,omitempty"`
	// contains filtered or unexported fields
}

func (*VariableForUserParams_PB) Descriptor deprecated

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

Deprecated: Use VariableForUserParams_PB.ProtoReflect.Descriptor instead.

func (*VariableForUserParams_PB) GetSdkKey

func (x *VariableForUserParams_PB) GetSdkKey() string

func (*VariableForUserParams_PB) GetShouldTrackEvent

func (x *VariableForUserParams_PB) GetShouldTrackEvent() bool

func (*VariableForUserParams_PB) GetUser

func (x *VariableForUserParams_PB) GetUser() *DVCUser_PB

func (*VariableForUserParams_PB) GetVariableKey

func (x *VariableForUserParams_PB) GetVariableKey() string

func (*VariableForUserParams_PB) GetVariableType

func (x *VariableForUserParams_PB) GetVariableType() VariableType_PB

func (*VariableForUserParams_PB) MarshalToSizedBufferVT

func (m *VariableForUserParams_PB) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*VariableForUserParams_PB) MarshalToVT

func (m *VariableForUserParams_PB) MarshalToVT(dAtA []byte) (int, error)

func (*VariableForUserParams_PB) MarshalVT

func (m *VariableForUserParams_PB) MarshalVT() (dAtA []byte, err error)

func (*VariableForUserParams_PB) ProtoMessage

func (*VariableForUserParams_PB) ProtoMessage()

func (*VariableForUserParams_PB) ProtoReflect

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

func (*VariableForUserParams_PB) Reset

func (x *VariableForUserParams_PB) Reset()

func (*VariableForUserParams_PB) SizeVT

func (m *VariableForUserParams_PB) SizeVT() (n int)

func (*VariableForUserParams_PB) String

func (x *VariableForUserParams_PB) String() string

func (*VariableForUserParams_PB) UnmarshalVT

func (m *VariableForUserParams_PB) UnmarshalVT(dAtA []byte) error

type VariableType_PB

type VariableType_PB int32
const (
	VariableType_PB_Boolean VariableType_PB = 0
	VariableType_PB_Number  VariableType_PB = 1
	VariableType_PB_String  VariableType_PB = 2
	VariableType_PB_JSON    VariableType_PB = 3
)

func (VariableType_PB) Descriptor

func (VariableType_PB) Enum

func (x VariableType_PB) Enum() *VariableType_PB

func (VariableType_PB) EnumDescriptor deprecated

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

Deprecated: Use VariableType_PB.Descriptor instead.

func (VariableType_PB) Number

func (VariableType_PB) String

func (x VariableType_PB) String() string

func (VariableType_PB) Type

Jump to

Keyboard shortcuts

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