proto

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2017 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package proto 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,proto3" json:"Metadata,omitempty"`
	// Entries for each attributes considered.
	Entries []*AttributesMetadataEntry `protobuf:"bytes,2,rep,name=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,omitempty"`
	AttributeKey  []byte `protobuf:"bytes,2,opt,name=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