protos

package
v0.6.1-preview Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package protos is a generated protocol buffer package.

It is generated from these files:

attributes.proto

It has these top-level messages:

AttributesMetadataEntry
AttributesMetadata

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttributesMetadata

type AttributesMetadata struct {
	// Original metadata bytes
	Metadata []byte `protobuf:"bytes,1,opt,name=Metadata,json=metadata,proto3" json:"Metadata,omitempty"`
	// Entries for each attributes considered.
	Entries []*AttributesMetadataEntry `protobuf:"bytes,2,rep,name=Entries,json=entries" json:"Entries,omitempty"`
}

AttributesMetadata holds both the original metadata bytes and the metadata required to access attributes.

func (*AttributesMetadata) Descriptor

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

func (*AttributesMetadata) GetEntries

func (m *AttributesMetadata) GetEntries() []*AttributesMetadataEntry

func (*AttributesMetadata) ProtoMessage

func (*AttributesMetadata) ProtoMessage()

func (*AttributesMetadata) Reset

func (m *AttributesMetadata) Reset()

func (*AttributesMetadata) String

func (m *AttributesMetadata) String() string

type AttributesMetadataEntry

type AttributesMetadataEntry struct {
	AttributeName string `protobuf:"bytes,1,opt,name=AttributeName,json=attributeName" json:"AttributeName,omitempty"`
	AttributeKey  []byte `protobuf:"bytes,2,opt,name=AttributeKey,json=attributeKey,proto3" json:"AttributeKey,omitempty"`
}

AttributesMetadataEntry is an entry within the metadata that store an attribute name with its respective key.

func (*AttributesMetadataEntry) Descriptor

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

func (*AttributesMetadataEntry) ProtoMessage

func (*AttributesMetadataEntry) ProtoMessage()

func (*AttributesMetadataEntry) Reset

func (m *AttributesMetadataEntry) Reset()

func (*AttributesMetadataEntry) String

func (m *AttributesMetadataEntry) String() string

Jump to

Keyboard shortcuts

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