yotiprotoattr

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 (
	ContentType_name = map[int32]string{
		0: "UNDEFINED",
		1: "STRING",
		2: "JPEG",
		3: "DATE",
		4: "PNG",
		5: "JSON",
		6: "MULTI_VALUE",
		7: "INT",
	}
	ContentType_value = map[string]int32{
		"UNDEFINED":   0,
		"STRING":      1,
		"JPEG":        2,
		"DATE":        3,
		"PNG":         4,
		"JSON":        5,
		"MULTI_VALUE": 6,
		"INT":         7,
	}
)

Enum value maps for ContentType.

View Source
var File_Attribute_proto protoreflect.FileDescriptor
View Source
var File_ContentType_proto protoreflect.FileDescriptor
View Source
var File_Signing_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Anchor

type Anchor struct {
	ArtifactLink      []byte   `protobuf:"bytes,1,opt,name=artifact_link,json=artifactLink,proto3" json:"artifact_link,omitempty"`
	OriginServerCerts [][]byte `protobuf:"bytes,2,rep,name=origin_server_certs,json=originServerCerts,proto3" json:"origin_server_certs,omitempty"`
	ArtifactSignature []byte   `protobuf:"bytes,3,opt,name=artifact_signature,json=artifactSignature,proto3" json:"artifact_signature,omitempty"`
	SubType           string   `protobuf:"bytes,4,opt,name=sub_type,json=subType,proto3" json:"sub_type,omitempty"`
	Signature         []byte   `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
	SignedTimeStamp   []byte   `protobuf:"bytes,6,opt,name=signed_time_stamp,json=signedTimeStamp,proto3" json:"signed_time_stamp,omitempty"`
	AssociatedSource  string   `protobuf:"bytes,7,opt,name=associated_source,json=associatedSource,proto3" json:"associated_source,omitempty"`
	// contains filtered or unexported fields
}

func (*Anchor) Descriptor deprecated

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

Deprecated: Use Anchor.ProtoReflect.Descriptor instead.

func (x *Anchor) GetArtifactLink() []byte

func (*Anchor) GetArtifactSignature

func (x *Anchor) GetArtifactSignature() []byte

func (*Anchor) GetAssociatedSource added in v3.6.0

func (x *Anchor) GetAssociatedSource() string

func (*Anchor) GetOriginServerCerts

func (x *Anchor) GetOriginServerCerts() [][]byte

func (*Anchor) GetSignature

func (x *Anchor) GetSignature() []byte

func (*Anchor) GetSignedTimeStamp

func (x *Anchor) GetSignedTimeStamp() []byte

func (*Anchor) GetSubType

func (x *Anchor) GetSubType() string

func (*Anchor) ProtoMessage

func (*Anchor) ProtoMessage()

func (*Anchor) ProtoReflect added in v3.6.0

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

func (*Anchor) Reset

func (x *Anchor) Reset()

func (*Anchor) String

func (x *Anchor) String() string

type Attribute

type Attribute struct {
	Name         string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value        []byte          `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	ContentType  ContentType     `` /* 126-byte string literal not displayed */
	Anchors      []*Anchor       `protobuf:"bytes,4,rep,name=anchors,proto3" json:"anchors,omitempty"`
	UserMetadata []*UserMetadata `protobuf:"bytes,5,rep,name=user_metadata,json=userMetadata,proto3" json:"user_metadata,omitempty"`
	Metadata     *Metadata       `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
	EphemeralId  string          `protobuf:"bytes,7,opt,name=ephemeral_id,json=ephemeralId,proto3" json:"ephemeral_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Attribute) Descriptor deprecated

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

Deprecated: Use Attribute.ProtoReflect.Descriptor instead.

func (*Attribute) GetAnchors

func (x *Attribute) GetAnchors() []*Anchor

func (*Attribute) GetContentType

func (x *Attribute) GetContentType() ContentType

func (*Attribute) GetEphemeralId added in v3.6.0

func (x *Attribute) GetEphemeralId() string

func (*Attribute) GetMetadata added in v3.6.0

func (x *Attribute) GetMetadata() *Metadata

func (*Attribute) GetName

func (x *Attribute) GetName() string

func (*Attribute) GetUserMetadata added in v3.6.0

func (x *Attribute) GetUserMetadata() []*UserMetadata

func (*Attribute) GetValue

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

func (*Attribute) ProtoMessage

func (*Attribute) ProtoMessage()

func (*Attribute) ProtoReflect added in v3.6.0

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

func (*Attribute) Reset

func (x *Attribute) Reset()

func (*Attribute) String

func (x *Attribute) String() string

type AttributeAndId

type AttributeAndId struct {
	Attribute   *Attribute `protobuf:"bytes,1,opt,name=attribute,proto3" json:"attribute,omitempty"`
	AttributeId []byte     `protobuf:"bytes,2,opt,name=attribute_id,json=attributeId,proto3" json:"attribute_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AttributeAndId) Descriptor deprecated

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

Deprecated: Use AttributeAndId.ProtoReflect.Descriptor instead.

func (*AttributeAndId) GetAttribute

func (x *AttributeAndId) GetAttribute() *Attribute

func (*AttributeAndId) GetAttributeId

func (x *AttributeAndId) GetAttributeId() []byte

func (*AttributeAndId) ProtoMessage

func (*AttributeAndId) ProtoMessage()

func (*AttributeAndId) ProtoReflect added in v3.6.0

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

func (*AttributeAndId) Reset

func (x *AttributeAndId) Reset()

func (*AttributeAndId) String

func (x *AttributeAndId) String() string

type AttributeAndIdList

type AttributeAndIdList struct {
	AttributeAndIdList []*AttributeAndId `protobuf:"bytes,1,rep,name=attribute_and_id_list,json=attributeAndIdList,proto3" json:"attribute_and_id_list,omitempty"`
	// contains filtered or unexported fields
}

func (*AttributeAndIdList) Descriptor deprecated

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

Deprecated: Use AttributeAndIdList.ProtoReflect.Descriptor instead.

func (*AttributeAndIdList) GetAttributeAndIdList

func (x *AttributeAndIdList) GetAttributeAndIdList() []*AttributeAndId

func (*AttributeAndIdList) ProtoMessage

func (*AttributeAndIdList) ProtoMessage()

func (*AttributeAndIdList) ProtoReflect added in v3.6.0

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

func (*AttributeAndIdList) Reset

func (x *AttributeAndIdList) Reset()

func (*AttributeAndIdList) String

func (x *AttributeAndIdList) String() string

type AttributeList

type AttributeList struct {
	Attributes []*Attribute `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*AttributeList) Descriptor deprecated

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

Deprecated: Use AttributeList.ProtoReflect.Descriptor instead.

func (*AttributeList) GetAttributes

func (x *AttributeList) GetAttributes() []*Attribute

func (*AttributeList) ProtoMessage

func (*AttributeList) ProtoMessage()

func (*AttributeList) ProtoReflect added in v3.6.0

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

func (*AttributeList) Reset

func (x *AttributeList) Reset()

func (*AttributeList) String

func (x *AttributeList) String() string

type AttributeSigning

type AttributeSigning struct {
	Name              string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value             []byte      `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	ContentType       ContentType `` /* 126-byte string literal not displayed */
	ArtifactSignature []byte      `protobuf:"bytes,4,opt,name=artifact_signature,json=artifactSignature,proto3" json:"artifact_signature,omitempty"`
	SubType           string      `protobuf:"bytes,5,opt,name=sub_type,json=subType,proto3" json:"sub_type,omitempty"`
	SignedTimeStamp   []byte      `protobuf:"bytes,6,opt,name=signed_time_stamp,json=signedTimeStamp,proto3" json:"signed_time_stamp,omitempty"`
	AssociatedSource  string      `protobuf:"bytes,7,opt,name=associated_source,json=associatedSource,proto3" json:"associated_source,omitempty"`
	// contains filtered or unexported fields
}

func (*AttributeSigning) Descriptor deprecated

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

Deprecated: Use AttributeSigning.ProtoReflect.Descriptor instead.

func (*AttributeSigning) GetArtifactSignature

func (x *AttributeSigning) GetArtifactSignature() []byte

func (*AttributeSigning) GetAssociatedSource added in v3.6.0

func (x *AttributeSigning) GetAssociatedSource() string

func (*AttributeSigning) GetContentType

func (x *AttributeSigning) GetContentType() ContentType

func (*AttributeSigning) GetName

func (x *AttributeSigning) GetName() string

func (*AttributeSigning) GetSignedTimeStamp

func (x *AttributeSigning) GetSignedTimeStamp() []byte

func (*AttributeSigning) GetSubType

func (x *AttributeSigning) GetSubType() string

func (*AttributeSigning) GetValue

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

func (*AttributeSigning) ProtoMessage

func (*AttributeSigning) ProtoMessage()

func (*AttributeSigning) ProtoReflect added in v3.6.0

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

func (*AttributeSigning) Reset

func (x *AttributeSigning) Reset()

func (*AttributeSigning) String

func (x *AttributeSigning) String() string

type ContentType

type ContentType int32
const (
	ContentType_UNDEFINED   ContentType = 0
	ContentType_STRING      ContentType = 1
	ContentType_JPEG        ContentType = 2
	ContentType_DATE        ContentType = 3
	ContentType_PNG         ContentType = 4
	ContentType_JSON        ContentType = 5
	ContentType_MULTI_VALUE ContentType = 6
	ContentType_INT         ContentType = 7
)

func (ContentType) Descriptor added in v3.6.0

func (ContentType) Enum added in v3.6.0

func (x ContentType) Enum() *ContentType

func (ContentType) EnumDescriptor deprecated

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

Deprecated: Use ContentType.Descriptor instead.

func (ContentType) Number added in v3.6.0

func (x ContentType) Number() protoreflect.EnumNumber

func (ContentType) String

func (x ContentType) String() string

func (ContentType) Type added in v3.6.0

type Metadata added in v3.6.0

type Metadata struct {
	SupersededTimeStamp string `protobuf:"bytes,1,opt,name=superseded_time_stamp,json=supersededTimeStamp,proto3" json:"superseded_time_stamp,omitempty"`
	Deletable           bool   `protobuf:"varint,2,opt,name=deletable,proto3" json:"deletable,omitempty"`
	ReceiptId           []byte `protobuf:"bytes,3,opt,name=receipt_id,json=receiptId,proto3" json:"receipt_id,omitempty"`
	Revoked             bool   `protobuf:"varint,4,opt,name=revoked,proto3" json:"revoked,omitempty"`
	Locked              bool   `protobuf:"varint,5,opt,name=locked,proto3" json:"locked,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated added in v3.6.0

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetDeletable added in v3.6.0

func (x *Metadata) GetDeletable() bool

func (*Metadata) GetLocked added in v3.6.0

func (x *Metadata) GetLocked() bool

func (*Metadata) GetReceiptId added in v3.6.0

func (x *Metadata) GetReceiptId() []byte

func (*Metadata) GetRevoked added in v3.6.0

func (x *Metadata) GetRevoked() bool

func (*Metadata) GetSupersededTimeStamp added in v3.6.0

func (x *Metadata) GetSupersededTimeStamp() string

func (*Metadata) ProtoMessage added in v3.6.0

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect added in v3.6.0

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

func (*Metadata) Reset added in v3.6.0

func (x *Metadata) Reset()

func (*Metadata) String added in v3.6.0

func (x *Metadata) String() string

type MultiValue

type MultiValue struct {
	Values []*MultiValue_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*MultiValue) Descriptor deprecated

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

Deprecated: Use MultiValue.ProtoReflect.Descriptor instead.

func (*MultiValue) GetValues

func (x *MultiValue) GetValues() []*MultiValue_Value

func (*MultiValue) ProtoMessage

func (*MultiValue) ProtoMessage()

func (*MultiValue) ProtoReflect added in v3.6.0

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

func (*MultiValue) Reset

func (x *MultiValue) Reset()

func (*MultiValue) String

func (x *MultiValue) String() string

type MultiValue_Value

type MultiValue_Value struct {
	ContentType ContentType `` /* 126-byte string literal not displayed */
	Data        []byte      `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*MultiValue_Value) Descriptor deprecated

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

Deprecated: Use MultiValue_Value.ProtoReflect.Descriptor instead.

func (*MultiValue_Value) GetContentType

func (x *MultiValue_Value) GetContentType() ContentType

func (*MultiValue_Value) GetData

func (x *MultiValue_Value) GetData() []byte

func (*MultiValue_Value) ProtoMessage

func (*MultiValue_Value) ProtoMessage()

func (*MultiValue_Value) ProtoReflect added in v3.6.0

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

func (*MultiValue_Value) Reset

func (x *MultiValue_Value) Reset()

func (*MultiValue_Value) String

func (x *MultiValue_Value) String() string

type UserMetadata added in v3.6.0

type UserMetadata struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*UserMetadata) Descriptor deprecated added in v3.6.0

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

Deprecated: Use UserMetadata.ProtoReflect.Descriptor instead.

func (*UserMetadata) GetKey added in v3.6.0

func (x *UserMetadata) GetKey() string

func (*UserMetadata) GetValue added in v3.6.0

func (x *UserMetadata) GetValue() string

func (*UserMetadata) ProtoMessage added in v3.6.0

func (*UserMetadata) ProtoMessage()

func (*UserMetadata) ProtoReflect added in v3.6.0

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

func (*UserMetadata) Reset added in v3.6.0

func (x *UserMetadata) Reset()

func (*UserMetadata) String added in v3.6.0

func (x *UserMetadata) String() string

Jump to

Keyboard shortcuts

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