yotiprotoshare

package
v3.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DataEntry_Type_name = map[int32]string{
		0: "UNDEFINED",
		1: "INVOICE",
		2: "PAYMENT_TRANSACTION",
		3: "LOCATION",
		4: "TRANSACTION",
		5: "AGE_VERIFICATION_SECRET",
		6: "THIRD_PARTY_ATTRIBUTE",
	}
	DataEntry_Type_value = map[string]int32{
		"UNDEFINED":               0,
		"INVOICE":                 1,
		"PAYMENT_TRANSACTION":     2,
		"LOCATION":                3,
		"TRANSACTION":             4,
		"AGE_VERIFICATION_SECRET": 5,
		"THIRD_PARTY_ATTRIBUTE":   6,
	}
)

Enum value maps for DataEntry_Type.

View Source
var File_DataEntry_proto protoreflect.FileDescriptor
View Source
var File_ExtraData_proto protoreflect.FileDescriptor
View Source
var File_IssuingAttributes_proto protoreflect.FileDescriptor
View Source
var File_ThirdPartyAttribute_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DataEntry

type DataEntry struct {
	Type  DataEntry_Type `protobuf:"varint,1,opt,name=type,proto3,enum=sharepubapi_v1.DataEntry_Type" json:"type,omitempty"`
	Value []byte         `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*DataEntry) Descriptor deprecated

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

Deprecated: Use DataEntry.ProtoReflect.Descriptor instead.

func (*DataEntry) GetType

func (x *DataEntry) GetType() DataEntry_Type

func (*DataEntry) GetValue

func (x *DataEntry) GetValue() []byte

func (*DataEntry) ProtoMessage

func (*DataEntry) ProtoMessage()

func (*DataEntry) ProtoReflect added in v3.6.0

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

func (*DataEntry) Reset

func (x *DataEntry) Reset()

func (*DataEntry) String

func (x *DataEntry) String() string

type DataEntry_Type

type DataEntry_Type int32
const (
	DataEntry_UNDEFINED               DataEntry_Type = 0
	DataEntry_INVOICE                 DataEntry_Type = 1
	DataEntry_PAYMENT_TRANSACTION     DataEntry_Type = 2
	DataEntry_LOCATION                DataEntry_Type = 3
	DataEntry_TRANSACTION             DataEntry_Type = 4
	DataEntry_AGE_VERIFICATION_SECRET DataEntry_Type = 5
	DataEntry_THIRD_PARTY_ATTRIBUTE   DataEntry_Type = 6
)

func (DataEntry_Type) Descriptor added in v3.6.0

func (DataEntry_Type) Enum added in v3.6.0

func (x DataEntry_Type) Enum() *DataEntry_Type

func (DataEntry_Type) EnumDescriptor deprecated

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

Deprecated: Use DataEntry_Type.Descriptor instead.

func (DataEntry_Type) Number added in v3.6.0

func (DataEntry_Type) String

func (x DataEntry_Type) String() string

func (DataEntry_Type) Type added in v3.6.0

type Definition

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

func (*Definition) Descriptor deprecated

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

Deprecated: Use Definition.ProtoReflect.Descriptor instead.

func (*Definition) GetName

func (x *Definition) GetName() string

func (*Definition) ProtoMessage

func (*Definition) ProtoMessage()

func (*Definition) ProtoReflect added in v3.6.0

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

func (*Definition) Reset

func (x *Definition) Reset()

func (*Definition) String

func (x *Definition) String() string

type ExtraData

type ExtraData struct {
	List []*DataEntry `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtraData) Descriptor deprecated

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

Deprecated: Use ExtraData.ProtoReflect.Descriptor instead.

func (*ExtraData) GetList

func (x *ExtraData) GetList() []*DataEntry

func (*ExtraData) ProtoMessage

func (*ExtraData) ProtoMessage()

func (*ExtraData) ProtoReflect added in v3.6.0

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

func (*ExtraData) Reset

func (x *ExtraData) Reset()

func (*ExtraData) String

func (x *ExtraData) String() string

type IssuingAttributes

type IssuingAttributes struct {
	ExpiryDate  string        `protobuf:"bytes,1,opt,name=expiry_date,json=expiryDate,proto3" json:"expiry_date,omitempty"`
	Definitions []*Definition `protobuf:"bytes,2,rep,name=definitions,proto3" json:"definitions,omitempty"`
	// contains filtered or unexported fields
}

func (*IssuingAttributes) Descriptor deprecated

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

Deprecated: Use IssuingAttributes.ProtoReflect.Descriptor instead.

func (*IssuingAttributes) GetDefinitions

func (x *IssuingAttributes) GetDefinitions() []*Definition

func (*IssuingAttributes) GetExpiryDate

func (x *IssuingAttributes) GetExpiryDate() string

func (*IssuingAttributes) ProtoMessage

func (*IssuingAttributes) ProtoMessage()

func (*IssuingAttributes) ProtoReflect added in v3.6.0

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

func (*IssuingAttributes) Reset

func (x *IssuingAttributes) Reset()

func (*IssuingAttributes) String

func (x *IssuingAttributes) String() string

type ThirdPartyAttribute

type ThirdPartyAttribute struct {
	IssuanceToken     []byte             `protobuf:"bytes,1,opt,name=issuance_token,json=issuanceToken,proto3" json:"issuance_token,omitempty"`
	IssuingAttributes *IssuingAttributes `protobuf:"bytes,2,opt,name=issuing_attributes,json=issuingAttributes,proto3" json:"issuing_attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*ThirdPartyAttribute) Descriptor deprecated

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

Deprecated: Use ThirdPartyAttribute.ProtoReflect.Descriptor instead.

func (*ThirdPartyAttribute) GetIssuanceToken

func (x *ThirdPartyAttribute) GetIssuanceToken() []byte

func (*ThirdPartyAttribute) GetIssuingAttributes

func (x *ThirdPartyAttribute) GetIssuingAttributes() *IssuingAttributes

func (*ThirdPartyAttribute) ProtoMessage

func (*ThirdPartyAttribute) ProtoMessage()

func (*ThirdPartyAttribute) ProtoReflect added in v3.6.0

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

func (*ThirdPartyAttribute) Reset

func (x *ThirdPartyAttribute) Reset()

func (*ThirdPartyAttribute) String

func (x *ThirdPartyAttribute) String() string

Jump to

Keyboard shortcuts

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