gnostic_metrics_v1

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_metrics_complexity_proto protoreflect.FileDescriptor
View Source
var File_metrics_vocabulary_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Complexity

type Complexity struct {

	// Operation statistics.
	PathCount   int32 `protobuf:"varint,1,opt,name=path_count,json=pathCount,proto3" json:"path_count,omitempty"`
	GetCount    int32 `protobuf:"varint,2,opt,name=get_count,json=getCount,proto3" json:"get_count,omitempty"`
	PostCount   int32 `protobuf:"varint,3,opt,name=post_count,json=postCount,proto3" json:"post_count,omitempty"`
	PutCount    int32 `protobuf:"varint,4,opt,name=put_count,json=putCount,proto3" json:"put_count,omitempty"`
	DeleteCount int32 `protobuf:"varint,5,opt,name=delete_count,json=deleteCount,proto3" json:"delete_count,omitempty"`
	// Model statistics.
	SchemaCount         int32 `protobuf:"varint,6,opt,name=schema_count,json=schemaCount,proto3" json:"schema_count,omitempty"`
	SchemaPropertyCount int32 `protobuf:"varint,7,opt,name=schema_property_count,json=schemaPropertyCount,proto3" json:"schema_property_count,omitempty"`
	// contains filtered or unexported fields
}

The complexity metric includes measurements of the complexity of an API.

func (*Complexity) Descriptor deprecated

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

Deprecated: Use Complexity.ProtoReflect.Descriptor instead.

func (*Complexity) GetDeleteCount

func (x *Complexity) GetDeleteCount() int32

func (*Complexity) GetGetCount

func (x *Complexity) GetGetCount() int32

func (*Complexity) GetPathCount

func (x *Complexity) GetPathCount() int32

func (*Complexity) GetPostCount

func (x *Complexity) GetPostCount() int32

func (*Complexity) GetPutCount

func (x *Complexity) GetPutCount() int32

func (*Complexity) GetSchemaCount

func (x *Complexity) GetSchemaCount() int32

func (*Complexity) GetSchemaPropertyCount

func (x *Complexity) GetSchemaPropertyCount() int32

func (*Complexity) ProtoMessage

func (*Complexity) ProtoMessage()

func (*Complexity) ProtoReflect

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

func (*Complexity) Reset

func (x *Complexity) Reset()

func (*Complexity) String

func (x *Complexity) String() string

type Vocabulary

type Vocabulary struct {
	Schemas    []*WordCount `protobuf:"bytes,1,rep,name=schemas,proto3" json:"schemas,omitempty"`
	Properties []*WordCount `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"`
	Operations []*WordCount `protobuf:"bytes,3,rep,name=operations,proto3" json:"operations,omitempty"`
	Parameters []*WordCount `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

func (*Vocabulary) Descriptor deprecated

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

Deprecated: Use Vocabulary.ProtoReflect.Descriptor instead.

func (*Vocabulary) GetOperations

func (x *Vocabulary) GetOperations() []*WordCount

func (*Vocabulary) GetParameters

func (x *Vocabulary) GetParameters() []*WordCount

func (*Vocabulary) GetProperties

func (x *Vocabulary) GetProperties() []*WordCount

func (*Vocabulary) GetSchemas

func (x *Vocabulary) GetSchemas() []*WordCount

func (*Vocabulary) ProtoMessage

func (*Vocabulary) ProtoMessage()

func (*Vocabulary) ProtoReflect

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

func (*Vocabulary) Reset

func (x *Vocabulary) Reset()

func (*Vocabulary) String

func (x *Vocabulary) String() string

type WordCount

type WordCount struct {
	Word  string `protobuf:"bytes,1,opt,name=word,proto3" json:"word,omitempty"`
	Count int32  `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*WordCount) Descriptor deprecated

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

Deprecated: Use WordCount.ProtoReflect.Descriptor instead.

func (*WordCount) GetCount

func (x *WordCount) GetCount() int32

func (*WordCount) GetWord

func (x *WordCount) GetWord() string

func (*WordCount) ProtoMessage

func (*WordCount) ProtoMessage()

func (*WordCount) ProtoReflect

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

func (*WordCount) Reset

func (x *WordCount) Reset()

func (*WordCount) String

func (x *WordCount) String() string

Jump to

Keyboard shortcuts

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