api_spec

package
v0.0.0-...-a43b3b4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ApiType_name = map[int32]string{
		0: "GRPC",
		1: "HTTP_REST",
	}
	ApiType_value = map[string]int32{
		"GRPC":      0,
		"HTTP_REST": 1,
	}
)

Enum value maps for ApiType.

View Source
var (
	HTTPAuth_HTTPAuthType_name = map[int32]string{
		0: "UNKNOWN",
		1: "BASIC",
		2: "BEARER",
	}
	HTTPAuth_HTTPAuthType_value = map[string]int32{
		"UNKNOWN": 0,
		"BASIC":   1,
		"BEARER":  2,
	}
)

Enum value maps for HTTPAuth_HTTPAuthType.

View Source
var (
	HTTPBody_ContentType_name = map[int32]string{
		0: "UNKNOWN",
		1: "JSON",
		2: "FORM_URL_ENCODED",
		3: "OCTET_STREAM",
		4: "PDF",
		5: "TEXT_PLAIN",
		6: "YAML",
		7: "TEXT_HTML",
		8: "OTHER",
	}
	HTTPBody_ContentType_value = map[string]int32{
		"UNKNOWN":          0,
		"JSON":             1,
		"FORM_URL_ENCODED": 2,
		"OCTET_STREAM":     3,
		"PDF":              4,
		"TEXT_PLAIN":       5,
		"YAML":             6,
		"TEXT_HTML":        7,
		"OTHER":            8,
	}
)

Enum value maps for HTTPBody_ContentType.

View Source
var File_api_type_proto protoreflect.FileDescriptor
View Source
var File_method_proto protoreflect.FileDescriptor
View Source
var File_sequence_proto protoreflect.FileDescriptor
View Source
var File_types_proto protoreflect.FileDescriptor
View Source
var File_witness_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type APISpec

type APISpec struct {

	// The type/signature of each method in the API spec.
	Methods []*Method `protobuf:"bytes,1,rep,name=methods,proto3" json:"methods,omitempty"`
	// User-supplied key value pairs associated with this spec.
	Tags map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*APISpec) Descriptor deprecated

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

Deprecated: Use APISpec.ProtoReflect.Descriptor instead.

func (*APISpec) GetMethods

func (x *APISpec) GetMethods() []*Method

func (*APISpec) GetTags

func (x *APISpec) GetTags() map[string]string

func (*APISpec) ProtoMessage

func (*APISpec) ProtoMessage()

func (*APISpec) ProtoReflect

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

func (*APISpec) Reset

func (x *APISpec) Reset()

func (*APISpec) String

func (x *APISpec) String() string

type AkitaAnnotations

type AkitaAnnotations struct {

	// True if the parameter/field can take arbitrary value.
	IsFree bool `protobuf:"varint,1,opt,name=is_free,json=isFree,proto3" json:"is_free,omitempty"`
	// True if the parameter/field contains sensitive data that should not be
	// leaked. Ex: password, credit card number
	IsSensitive bool `protobuf:"varint,2,opt,name=is_sensitive,json=isSensitive,proto3" json:"is_sensitive,omitempty"`
	// If provided, represents the modification needed to transform other values
	// with the same type for this argument field
	FormatOption *FormatOption `protobuf:"bytes,3,opt,name=format_option,json=formatOption,proto3" json:"format_option,omitempty"`
	// contains filtered or unexported fields
}

func (*AkitaAnnotations) Descriptor deprecated

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

Deprecated: Use AkitaAnnotations.ProtoReflect.Descriptor instead.

func (*AkitaAnnotations) GetFormatOption

func (x *AkitaAnnotations) GetFormatOption() *FormatOption

func (*AkitaAnnotations) GetIsFree

func (x *AkitaAnnotations) GetIsFree() bool

func (*AkitaAnnotations) GetIsSensitive

func (x *AkitaAnnotations) GetIsSensitive() bool

func (*AkitaAnnotations) ProtoMessage

func (*AkitaAnnotations) ProtoMessage()

func (*AkitaAnnotations) ProtoReflect

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

func (*AkitaAnnotations) Reset

func (x *AkitaAnnotations) Reset()

func (*AkitaAnnotations) String

func (x *AkitaAnnotations) String() string

type ApiType

type ApiType int32
const (
	ApiType_GRPC      ApiType = 0
	ApiType_HTTP_REST ApiType = 1
)

func (ApiType) Descriptor

func (ApiType) Descriptor() protoreflect.EnumDescriptor

func (ApiType) Enum

func (x ApiType) Enum() *ApiType

func (ApiType) EnumDescriptor deprecated

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

Deprecated: Use ApiType.Descriptor instead.

func (ApiType) Number

func (x ApiType) Number() protoreflect.EnumNumber

func (ApiType) String

func (x ApiType) String() string

func (ApiType) Type

func (ApiType) Type() protoreflect.EnumType

type Bool

type Bool struct {
	Type  *BoolType `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value bool      `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Bool) Descriptor deprecated

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

Deprecated: Use Bool.ProtoReflect.Descriptor instead.

func (*Bool) GetType

func (x *Bool) GetType() *BoolType

func (*Bool) GetValue

func (x *Bool) GetValue() bool

func (*Bool) ProtoMessage

func (*Bool) ProtoMessage()

func (*Bool) ProtoReflect

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

func (*Bool) Reset

func (x *Bool) Reset()

func (*Bool) String

func (x *Bool) String() string

type BoolType

type BoolType struct {
	FixedValues []bool `protobuf:"varint,1,rep,packed,name=fixed_values,json=fixedValues,proto3" json:"fixed_values,omitempty"`
	// contains filtered or unexported fields
}

The Akita API spec language can express 9 types, as listed below. The types from are chosen from the types supported by protobuf, minus types that are identical in generated Go code. For example, fixed32 and uint32 in protobuf are both represented by uint32 in Go, so we only include uint32. Each type message may contain customization fields that specify guidelines on how to generate random values for the type. For example, a regexp for string or min/max for int32.

func (*BoolType) Descriptor deprecated

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

Deprecated: Use BoolType.ProtoReflect.Descriptor instead.

func (*BoolType) GetFixedValues

func (x *BoolType) GetFixedValues() []bool

func (*BoolType) ProtoMessage

func (*BoolType) ProtoMessage()

func (*BoolType) ProtoReflect

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

func (*BoolType) Reset

func (x *BoolType) Reset()

func (*BoolType) String

func (x *BoolType) String() string

type Bytes

type Bytes struct {
	Type  *BytesType `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value []byte     `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Bytes) Descriptor deprecated

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

Deprecated: Use Bytes.ProtoReflect.Descriptor instead.

func (*Bytes) GetType

func (x *Bytes) GetType() *BytesType

func (*Bytes) GetValue

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

func (*Bytes) ProtoMessage

func (*Bytes) ProtoMessage()

func (*Bytes) ProtoReflect

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

func (*Bytes) Reset

func (x *Bytes) Reset()

func (*Bytes) String

func (x *Bytes) String() string

type BytesType

type BytesType struct {
	FixedValues [][]byte `protobuf:"bytes,1,rep,name=fixed_values,json=fixedValues,proto3" json:"fixed_values,omitempty"`
	// contains filtered or unexported fields
}

func (*BytesType) Descriptor deprecated

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

Deprecated: Use BytesType.ProtoReflect.Descriptor instead.

func (*BytesType) GetFixedValues

func (x *BytesType) GetFixedValues() [][]byte

func (*BytesType) ProtoMessage

func (*BytesType) ProtoMessage()

func (*BytesType) ProtoReflect

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

func (*BytesType) Reset

func (x *BytesType) Reset()

func (*BytesType) String

func (x *BytesType) String() string

type Data

type Data struct {

	// Types that are assignable to Value:
	//	*Data_Primitive
	//	*Data_Struct
	//	*Data_List
	//	*Data_Optional
	//	*Data_Oneof
	Value isData_Value `protobuf_oneof:"value"`
	// The meta field describes how this Data should be encoded in the target API
	// format (i.e. HTTP or gRPC).
	// For HTTP, only the top-level Data contains meta. For example, if Data is a
	// struct with HTTPBody in meta, it means "encode the full struct in the body
	// for the HTTP request/response." This applies to OneOf as well - all OneOf
	// options within the same Data share the same meta field in Data and each
	// option has an empty meta field.
	Meta *DataMeta `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
	// True if the data can be represented by null. This is only meaningful when
	// the Data represents a type rather than a concrete value.
	//
	// Nullable is different from Optional:
	// - Optional means that the value can be omitted
	// - Nullable means that we can use null as the value
	Nullable bool `protobuf:"varint,7,opt,name=nullable,proto3" json:"nullable,omitempty"`
	// Example of values represented by this data. This is for informational
	// purpose only, so we use string to encode values and this field is not
	// included in pbhash.
	ExampleValues map[string]*ExampleValue `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Data) Descriptor deprecated

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

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetExampleValues

func (x *Data) GetExampleValues() map[string]*ExampleValue

func (*Data) GetList

func (x *Data) GetList() *List

func (*Data) GetMeta

func (x *Data) GetMeta() *DataMeta

func (*Data) GetNullable

func (x *Data) GetNullable() bool

func (*Data) GetOneof

func (x *Data) GetOneof() *OneOf

func (*Data) GetOptional

func (x *Data) GetOptional() *Optional

func (*Data) GetPrimitive

func (x *Data) GetPrimitive() *Primitive

func (*Data) GetStruct

func (x *Data) GetStruct() *Struct

func (*Data) GetValue

func (m *Data) GetValue() isData_Value

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

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

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

type DataMeta

type DataMeta struct {

	// Types that are assignable to Meta:
	//	*DataMeta_Grpc
	//	*DataMeta_Http
	Meta isDataMeta_Meta `protobuf_oneof:"meta"`
	// contains filtered or unexported fields
}

func (*DataMeta) Descriptor deprecated

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

Deprecated: Use DataMeta.ProtoReflect.Descriptor instead.

func (*DataMeta) GetGrpc

func (x *DataMeta) GetGrpc() *GRPCMeta

func (*DataMeta) GetHttp

func (x *DataMeta) GetHttp() *HTTPMeta

func (*DataMeta) GetMeta

func (m *DataMeta) GetMeta() isDataMeta_Meta

func (*DataMeta) ProtoMessage

func (*DataMeta) ProtoMessage()

func (*DataMeta) ProtoReflect

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

func (*DataMeta) Reset

func (x *DataMeta) Reset()

func (*DataMeta) String

func (x *DataMeta) String() string

type DataMeta_Grpc

type DataMeta_Grpc struct {
	Grpc *GRPCMeta `protobuf:"bytes,1,opt,name=grpc,proto3,oneof"`
}

type DataMeta_Http

type DataMeta_Http struct {
	Http *HTTPMeta `protobuf:"bytes,2,opt,name=http,proto3,oneof"`
}

type DataRef

type DataRef struct {

	// Types that are assignable to ValueRef:
	//	*DataRef_PrimitiveRef
	//	*DataRef_StructRef
	//	*DataRef_ListRef
	ValueRef isDataRef_ValueRef `protobuf_oneof:"value_ref"`
	// contains filtered or unexported fields
}

DataRef is a reference or "pointer" to a particular Data object within a parent Data object.

func (*DataRef) Descriptor deprecated

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

Deprecated: Use DataRef.ProtoReflect.Descriptor instead.

func (*DataRef) GetListRef

func (x *DataRef) GetListRef() *ListRef

func (*DataRef) GetPrimitiveRef

func (x *DataRef) GetPrimitiveRef() *PrimitiveRef

func (*DataRef) GetStructRef

func (x *DataRef) GetStructRef() *StructRef

func (*DataRef) GetValueRef

func (m *DataRef) GetValueRef() isDataRef_ValueRef

func (*DataRef) ProtoMessage

func (*DataRef) ProtoMessage()

func (*DataRef) ProtoReflect

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

func (*DataRef) Reset

func (x *DataRef) Reset()

func (*DataRef) String

func (x *DataRef) String() string

type DataRef_ListRef

type DataRef_ListRef struct {
	ListRef *ListRef `protobuf:"bytes,3,opt,name=list_ref,json=listRef,proto3,oneof"`
}

type DataRef_PrimitiveRef

type DataRef_PrimitiveRef struct {
	PrimitiveRef *PrimitiveRef `protobuf:"bytes,1,opt,name=primitive_ref,json=primitiveRef,proto3,oneof"`
}

type DataRef_StructRef

type DataRef_StructRef struct {
	StructRef *StructRef `protobuf:"bytes,2,opt,name=struct_ref,json=structRef,proto3,oneof"`
}

type DataTemplate

type DataTemplate struct {

	// Types that are assignable to ValueTemplate:
	//	*DataTemplate_StructTemplate
	//	*DataTemplate_ListTemplate
	//	*DataTemplate_Value
	//	*DataTemplate_Ref
	//	*DataTemplate_OptionalTemplate
	ValueTemplate isDataTemplate_ValueTemplate `protobuf_oneof:"value_template"`
	Meta          *DataMeta                    `protobuf:"bytes,6,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

DataTemplate describes how to construct a Data object. It recursively encodes the structure of the desired Data object while embedding values or references to values that is needed to fill out the Data object.

func (*DataTemplate) Descriptor deprecated

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

Deprecated: Use DataTemplate.ProtoReflect.Descriptor instead.

func (*DataTemplate) GetListTemplate

func (x *DataTemplate) GetListTemplate() *ListTemplate

func (*DataTemplate) GetMeta

func (x *DataTemplate) GetMeta() *DataMeta

func (*DataTemplate) GetOptionalTemplate

func (x *DataTemplate) GetOptionalTemplate() *OptionalTemplate

func (*DataTemplate) GetRef

func (x *DataTemplate) GetRef() *MethodDataRef

func (*DataTemplate) GetStructTemplate

func (x *DataTemplate) GetStructTemplate() *StructTemplate

func (*DataTemplate) GetValue

func (x *DataTemplate) GetValue() *Data

func (*DataTemplate) GetValueTemplate

func (m *DataTemplate) GetValueTemplate() isDataTemplate_ValueTemplate

func (*DataTemplate) ProtoMessage

func (*DataTemplate) ProtoMessage()

func (*DataTemplate) ProtoReflect

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

func (*DataTemplate) Reset

func (x *DataTemplate) Reset()

func (*DataTemplate) String

func (x *DataTemplate) String() string

type DataTemplate_ListTemplate

type DataTemplate_ListTemplate struct {
	ListTemplate *ListTemplate `protobuf:"bytes,2,opt,name=list_template,json=listTemplate,proto3,oneof"`
}

type DataTemplate_OptionalTemplate

type DataTemplate_OptionalTemplate struct {
	OptionalTemplate *OptionalTemplate `protobuf:"bytes,5,opt,name=optional_template,json=optionalTemplate,proto3,oneof"`
}

type DataTemplate_Ref

type DataTemplate_Ref struct {
	Ref *MethodDataRef `protobuf:"bytes,4,opt,name=ref,proto3,oneof"`
}

type DataTemplate_StructTemplate

type DataTemplate_StructTemplate struct {
	StructTemplate *StructTemplate `protobuf:"bytes,1,opt,name=struct_template,json=structTemplate,proto3,oneof"`
}

type DataTemplate_Value

type DataTemplate_Value struct {
	Value *Data `protobuf:"bytes,3,opt,name=value,proto3,oneof"`
}

type Data_List

type Data_List struct {
	List *List `protobuf:"bytes,3,opt,name=list,proto3,oneof"`
}

type Data_Oneof

type Data_Oneof struct {
	// This should only exist if Data is describing an API spec, not when Data
	// represents an instantiated value of an API call.
	Oneof *OneOf `protobuf:"bytes,6,opt,name=oneof,proto3,oneof"`
}

type Data_Optional

type Data_Optional struct {
	// Indicates whether the value can be omitted. See comparison to nullable
	// below.
	Optional *Optional `protobuf:"bytes,4,opt,name=optional,proto3,oneof"`
}

type Data_Primitive

type Data_Primitive struct {
	Primitive *Primitive `protobuf:"bytes,1,opt,name=primitive,proto3,oneof"`
}

type Data_Struct

type Data_Struct struct {
	Struct *Struct `protobuf:"bytes,2,opt,name=struct,proto3,oneof"`
}

type Double

type Double struct {
	Type  *DoubleType `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value float64     `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Double) Descriptor deprecated

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

Deprecated: Use Double.ProtoReflect.Descriptor instead.

func (*Double) GetType

func (x *Double) GetType() *DoubleType

func (*Double) GetValue

func (x *Double) GetValue() float64

func (*Double) ProtoMessage

func (*Double) ProtoMessage()

func (*Double) ProtoReflect

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

func (*Double) Reset

func (x *Double) Reset()

func (*Double) String

func (x *Double) String() string

type DoubleType

type DoubleType struct {
	FixedValues []float64               `protobuf:"fixed64,1,rep,packed,name=fixed_values,json=fixedValues,proto3" json:"fixed_values,omitempty"`
	Min         *wrapperspb.DoubleValue `protobuf:"bytes,2,opt,name=min,proto3" json:"min,omitempty"`
	Max         *wrapperspb.DoubleValue `protobuf:"bytes,3,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*DoubleType) Descriptor deprecated

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

Deprecated: Use DoubleType.ProtoReflect.Descriptor instead.

func (*DoubleType) GetFixedValues

func (x *DoubleType) GetFixedValues() []float64

func (*DoubleType) GetMax

func (x *DoubleType) GetMax() *wrapperspb.DoubleValue

func (*DoubleType) GetMin

func (x *DoubleType) GetMin() *wrapperspb.DoubleValue

func (*DoubleType) ProtoMessage

func (*DoubleType) ProtoMessage()

func (*DoubleType) ProtoReflect

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

func (*DoubleType) Reset

func (x *DoubleType) Reset()

func (*DoubleType) String

func (x *DoubleType) String() string

type ExampleValue

type ExampleValue struct {
	// contains filtered or unexported fields
}

func (*ExampleValue) Descriptor deprecated

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

Deprecated: Use ExampleValue.ProtoReflect.Descriptor instead.

func (*ExampleValue) ProtoMessage

func (*ExampleValue) ProtoMessage()

func (*ExampleValue) ProtoReflect

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

func (*ExampleValue) Reset

func (x *ExampleValue) Reset()

func (*ExampleValue) String

func (x *ExampleValue) String() string

type Float

type Float struct {
	Type  *FloatType `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value float32    `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Float) Descriptor deprecated

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

Deprecated: Use Float.ProtoReflect.Descriptor instead.

func (*Float) GetType

func (x *Float) GetType() *FloatType

func (*Float) GetValue

func (x *Float) GetValue() float32

func (*Float) ProtoMessage

func (*Float) ProtoMessage()

func (*Float) ProtoReflect

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

func (*Float) Reset

func (x *Float) Reset()

func (*Float) String

func (x *Float) String() string

type FloatType

type FloatType struct {
	FixedValues []float32              `protobuf:"fixed32,1,rep,packed,name=fixed_values,json=fixedValues,proto3" json:"fixed_values,omitempty"`
	Min         *wrapperspb.FloatValue `protobuf:"bytes,2,opt,name=min,proto3" json:"min,omitempty"`
	Max         *wrapperspb.FloatValue `protobuf:"bytes,3,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*FloatType) Descriptor deprecated

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

Deprecated: Use FloatType.ProtoReflect.Descriptor instead.

func (*FloatType) GetFixedValues

func (x *FloatType) GetFixedValues() []float32

func (*FloatType) GetMax

func (x *FloatType) GetMax() *wrapperspb.FloatValue

func (*FloatType) GetMin

func (x *FloatType) GetMin() *wrapperspb.FloatValue

func (*FloatType) ProtoMessage

func (*FloatType) ProtoMessage()

func (*FloatType) ProtoReflect

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

func (*FloatType) Reset

func (x *FloatType) Reset()

func (*FloatType) String

func (x *FloatType) String() string

type FormatOption

type FormatOption struct {

	// Types that are assignable to Format:
	//	*FormatOption_StringFormat
	Format isFormatOption_Format `protobuf_oneof:"format"`
	// contains filtered or unexported fields
}

func (*FormatOption) Descriptor deprecated

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

Deprecated: Use FormatOption.ProtoReflect.Descriptor instead.

func (*FormatOption) GetFormat

func (m *FormatOption) GetFormat() isFormatOption_Format

func (*FormatOption) GetStringFormat

func (x *FormatOption) GetStringFormat() string

func (*FormatOption) ProtoMessage

func (*FormatOption) ProtoMessage()

func (*FormatOption) ProtoReflect

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

func (*FormatOption) Reset

func (x *FormatOption) Reset()

func (*FormatOption) String

func (x *FormatOption) String() string

type FormatOption_StringFormat

type FormatOption_StringFormat struct {
	StringFormat string `protobuf:"bytes,1,opt,name=string_format,json=stringFormat,proto3,oneof"` // ex: "Bearer {REF}"
}

type GRPCMeta

type GRPCMeta struct {
	// contains filtered or unexported fields
}

func (*GRPCMeta) Descriptor deprecated

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

Deprecated: Use GRPCMeta.ProtoReflect.Descriptor instead.

func (*GRPCMeta) ProtoMessage

func (*GRPCMeta) ProtoMessage()

func (*GRPCMeta) ProtoReflect

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

func (*GRPCMeta) Reset

func (x *GRPCMeta) Reset()

func (*GRPCMeta) String

func (x *GRPCMeta) String() string

type GRPCMethodMeta

type GRPCMethodMeta struct {
	// contains filtered or unexported fields
}

func (*GRPCMethodMeta) Descriptor deprecated

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

Deprecated: Use GRPCMethodMeta.ProtoReflect.Descriptor instead.

func (*GRPCMethodMeta) ProtoMessage

func (*GRPCMethodMeta) ProtoMessage()

func (*GRPCMethodMeta) ProtoReflect

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

func (*GRPCMethodMeta) Reset

func (x *GRPCMethodMeta) Reset()

func (*GRPCMethodMeta) String

func (x *GRPCMethodMeta) String() string

type HTTPAuth

type HTTPAuth struct {
	Type HTTPAuth_HTTPAuthType `protobuf:"varint,1,opt,name=type,proto3,enum=api_spec.HTTPAuth_HTTPAuthType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPAuth) Descriptor deprecated

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

Deprecated: Use HTTPAuth.ProtoReflect.Descriptor instead.

func (*HTTPAuth) GetType

func (x *HTTPAuth) GetType() HTTPAuth_HTTPAuthType

func (*HTTPAuth) ProtoMessage

func (*HTTPAuth) ProtoMessage()

func (*HTTPAuth) ProtoReflect

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

func (*HTTPAuth) Reset

func (x *HTTPAuth) Reset()

func (*HTTPAuth) String

func (x *HTTPAuth) String() string

type HTTPAuth_HTTPAuthType

type HTTPAuth_HTTPAuthType int32
const (
	HTTPAuth_UNKNOWN HTTPAuth_HTTPAuthType = 0
	HTTPAuth_BASIC   HTTPAuth_HTTPAuthType = 1
	HTTPAuth_BEARER  HTTPAuth_HTTPAuthType = 2
)

func (HTTPAuth_HTTPAuthType) Descriptor

func (HTTPAuth_HTTPAuthType) Enum

func (HTTPAuth_HTTPAuthType) EnumDescriptor deprecated

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

Deprecated: Use HTTPAuth_HTTPAuthType.Descriptor instead.

func (HTTPAuth_HTTPAuthType) Number

func (HTTPAuth_HTTPAuthType) String

func (x HTTPAuth_HTTPAuthType) String() string

func (HTTPAuth_HTTPAuthType) Type

type HTTPBody

type HTTPBody struct {
	ContentType HTTPBody_ContentType `` /* 130-byte string literal not displayed */
	// Preserve original value if "other"
	OtherType string `protobuf:"bytes,2,opt,name=other_type,json=otherType,proto3" json:"other_type,omitempty"`
	// contains filtered or unexported fields
}

Represents HTTP body or a part in a multipart body.

func (*HTTPBody) Descriptor deprecated

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

Deprecated: Use HTTPBody.ProtoReflect.Descriptor instead.

func (*HTTPBody) GetContentType

func (x *HTTPBody) GetContentType() HTTPBody_ContentType

func (*HTTPBody) GetOtherType

func (x *HTTPBody) GetOtherType() string

func (*HTTPBody) ProtoMessage

func (*HTTPBody) ProtoMessage()

func (*HTTPBody) ProtoReflect

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

func (*HTTPBody) Reset

func (x *HTTPBody) Reset()

func (*HTTPBody) String

func (x *HTTPBody) String() string

type HTTPBody_ContentType

type HTTPBody_ContentType int32
const (
	HTTPBody_UNKNOWN          HTTPBody_ContentType = 0
	HTTPBody_JSON             HTTPBody_ContentType = 1
	HTTPBody_FORM_URL_ENCODED HTTPBody_ContentType = 2
	HTTPBody_OCTET_STREAM     HTTPBody_ContentType = 3
	HTTPBody_PDF              HTTPBody_ContentType = 4
	HTTPBody_TEXT_PLAIN       HTTPBody_ContentType = 5
	HTTPBody_YAML             HTTPBody_ContentType = 6
	HTTPBody_TEXT_HTML        HTTPBody_ContentType = 7
	HTTPBody_OTHER            HTTPBody_ContentType = 8
)

func (HTTPBody_ContentType) Descriptor

func (HTTPBody_ContentType) Enum

func (HTTPBody_ContentType) EnumDescriptor deprecated

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

Deprecated: Use HTTPBody_ContentType.Descriptor instead.

func (HTTPBody_ContentType) Number

func (HTTPBody_ContentType) String

func (x HTTPBody_ContentType) String() string

func (HTTPBody_ContentType) Type

type HTTPCookie

type HTTPCookie struct {

	// Cookie parameter name
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPCookie) Descriptor deprecated

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

Deprecated: Use HTTPCookie.ProtoReflect.Descriptor instead.

func (*HTTPCookie) GetKey

func (x *HTTPCookie) GetKey() string

func (*HTTPCookie) ProtoMessage

func (*HTTPCookie) ProtoMessage()

func (*HTTPCookie) ProtoReflect

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

func (*HTTPCookie) Reset

func (x *HTTPCookie) Reset()

func (*HTTPCookie) String

func (x *HTTPCookie) String() string

type HTTPEmpty

type HTTPEmpty struct {
	// contains filtered or unexported fields
}

func (*HTTPEmpty) Descriptor deprecated

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

Deprecated: Use HTTPEmpty.ProtoReflect.Descriptor instead.

func (*HTTPEmpty) ProtoMessage

func (*HTTPEmpty) ProtoMessage()

func (*HTTPEmpty) ProtoReflect

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

func (*HTTPEmpty) Reset

func (x *HTTPEmpty) Reset()

func (*HTTPEmpty) String

func (x *HTTPEmpty) String() string

type HTTPHeader

type HTTPHeader struct {

	// Header name
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

Note: Authorization header should go into HTTPAuth, not HTTPHeader

func (*HTTPHeader) Descriptor deprecated

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

Deprecated: Use HTTPHeader.ProtoReflect.Descriptor instead.

func (*HTTPHeader) GetKey

func (x *HTTPHeader) GetKey() string

func (*HTTPHeader) ProtoMessage

func (*HTTPHeader) ProtoMessage()

func (*HTTPHeader) ProtoReflect

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

func (*HTTPHeader) Reset

func (x *HTTPHeader) Reset()

func (*HTTPHeader) String

func (x *HTTPHeader) String() string

type HTTPMeta

type HTTPMeta struct {

	// Should never be HTTPPath or HTTPQuery if this metadata is for a response.
	// Should never be HTTPEmpty if this metadata is for an argument or for a
	// response that contains headers, cookies, or a body.
	//
	// Types that are assignable to Location:
	//	*HTTPMeta_Path
	//	*HTTPMeta_Query
	//	*HTTPMeta_Header
	//	*HTTPMeta_Cookie
	//	*HTTPMeta_Body
	//	*HTTPMeta_Empty
	//	*HTTPMeta_Auth
	//	*HTTPMeta_Multipart
	Location isHTTPMeta_Location `protobuf_oneof:"location"`
	// Response code with which this data is returned.
	// Should be 0 if this data is an argument.
	// Should be -1 if this data is the default response.
	ResponseCode int32 `protobuf:"varint,7,opt,name=response_code,json=responseCode,proto3" json:"response_code,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPMeta) Descriptor deprecated

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

Deprecated: Use HTTPMeta.ProtoReflect.Descriptor instead.

func (*HTTPMeta) GetAuth

func (x *HTTPMeta) GetAuth() *HTTPAuth

func (*HTTPMeta) GetBody

func (x *HTTPMeta) GetBody() *HTTPBody

func (*HTTPMeta) GetCookie

func (x *HTTPMeta) GetCookie() *HTTPCookie

func (*HTTPMeta) GetEmpty

func (x *HTTPMeta) GetEmpty() *HTTPEmpty

func (*HTTPMeta) GetHeader

func (x *HTTPMeta) GetHeader() *HTTPHeader

func (*HTTPMeta) GetLocation

func (m *HTTPMeta) GetLocation() isHTTPMeta_Location

func (*HTTPMeta) GetMultipart

func (x *HTTPMeta) GetMultipart() *HTTPMultipart

func (*HTTPMeta) GetPath

func (x *HTTPMeta) GetPath() *HTTPPath

func (*HTTPMeta) GetQuery

func (x *HTTPMeta) GetQuery() *HTTPQuery

func (*HTTPMeta) GetResponseCode

func (x *HTTPMeta) GetResponseCode() int32

func (*HTTPMeta) ProtoMessage

func (*HTTPMeta) ProtoMessage()

func (*HTTPMeta) ProtoReflect

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

func (*HTTPMeta) Reset

func (x *HTTPMeta) Reset()

func (*HTTPMeta) String

func (x *HTTPMeta) String() string

type HTTPMeta_Auth

type HTTPMeta_Auth struct {
	Auth *HTTPAuth `protobuf:"bytes,8,opt,name=auth,proto3,oneof"`
}

type HTTPMeta_Body

type HTTPMeta_Body struct {
	Body *HTTPBody `protobuf:"bytes,5,opt,name=body,proto3,oneof"`
}
type HTTPMeta_Cookie struct {
	Cookie *HTTPCookie `protobuf:"bytes,4,opt,name=cookie,proto3,oneof"`
}

type HTTPMeta_Empty

type HTTPMeta_Empty struct {
	Empty *HTTPEmpty `protobuf:"bytes,6,opt,name=empty,proto3,oneof"`
}

type HTTPMeta_Header

type HTTPMeta_Header struct {
	Header *HTTPHeader `protobuf:"bytes,3,opt,name=header,proto3,oneof"`
}

type HTTPMeta_Multipart

type HTTPMeta_Multipart struct {
	// Multipart data is represented by a struct where each field is an HTTPBody
	// with its own content-type.
	Multipart *HTTPMultipart `protobuf:"bytes,9,opt,name=multipart,proto3,oneof"`
}

type HTTPMeta_Path

type HTTPMeta_Path struct {
	Path *HTTPPath `protobuf:"bytes,1,opt,name=path,proto3,oneof"`
}

type HTTPMeta_Query

type HTTPMeta_Query struct {
	Query *HTTPQuery `protobuf:"bytes,2,opt,name=query,proto3,oneof"`
}

type HTTPMethodMeta

type HTTPMethodMeta struct {
	Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	// The request-URI as defined by RFC 2616 section 5.1.
	// May contain path parameters in the form of `{key}` for substitution
	// at runtime (e.g. `/user/{user_name}`). For substitution to happen, a
	// corresponding `HTTPPath` Data must exist in the args of the method, with
	// the `HTTPPath.Key` field set to the same value as the format string (e.g.
	// `HTTPPath{ key: "user_name" }`) or else the substitution does not occur
	// and the path is used as is.
	PathTemplate string `protobuf:"bytes,2,opt,name=path_template,json=pathTemplate,proto3" json:"path_template,omitempty"`
	Host         string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	// Processing latency in milliseconds.  This is 0 in specs, or if it
	// has not been measured (in an existing trace, or a request without
	// a corresponding response.)
	//
	// This measurement is from the last byte of the HTTP request to the
	// first byte of the HTTP response, ignoring time spent in transmission.
	ProcessingLatency float32 `protobuf:"fixed32,4,opt,name=processing_latency,json=processingLatency,proto3" json:"processing_latency,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPMethodMeta) Descriptor deprecated

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

Deprecated: Use HTTPMethodMeta.ProtoReflect.Descriptor instead.

func (*HTTPMethodMeta) GetHost

func (x *HTTPMethodMeta) GetHost() string

func (*HTTPMethodMeta) GetMethod

func (x *HTTPMethodMeta) GetMethod() string

func (*HTTPMethodMeta) GetPathTemplate

func (x *HTTPMethodMeta) GetPathTemplate() string

func (*HTTPMethodMeta) GetProcessingLatency

func (x *HTTPMethodMeta) GetProcessingLatency() float32

func (*HTTPMethodMeta) ProtoMessage

func (*HTTPMethodMeta) ProtoMessage()

func (*HTTPMethodMeta) ProtoReflect

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

func (*HTTPMethodMeta) Reset

func (x *HTTPMethodMeta) Reset()

func (*HTTPMethodMeta) String

func (x *HTTPMethodMeta) String() string

type HTTPMultipart

type HTTPMultipart struct {

	// "form-data" or "mixed"
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPMultipart) Descriptor deprecated

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

Deprecated: Use HTTPMultipart.ProtoReflect.Descriptor instead.

func (*HTTPMultipart) GetType

func (x *HTTPMultipart) GetType() string

func (*HTTPMultipart) ProtoMessage

func (*HTTPMultipart) ProtoMessage()

func (*HTTPMultipart) ProtoReflect

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

func (*HTTPMultipart) Reset

func (x *HTTPMultipart) Reset()

func (*HTTPMultipart) String

func (x *HTTPMultipart) String() string

type HTTPPath

type HTTPPath struct {

	// Path parameter name
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPPath) Descriptor deprecated

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

Deprecated: Use HTTPPath.ProtoReflect.Descriptor instead.

func (*HTTPPath) GetKey

func (x *HTTPPath) GetKey() string

func (*HTTPPath) ProtoMessage

func (*HTTPPath) ProtoMessage()

func (*HTTPPath) ProtoReflect

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

func (*HTTPPath) Reset

func (x *HTTPPath) Reset()

func (*HTTPPath) String

func (x *HTTPPath) String() string

type HTTPQuery

type HTTPQuery struct {

	// Query parameter name
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPQuery) Descriptor deprecated

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

Deprecated: Use HTTPQuery.ProtoReflect.Descriptor instead.

func (*HTTPQuery) GetKey

func (x *HTTPQuery) GetKey() string

func (*HTTPQuery) ProtoMessage

func (*HTTPQuery) ProtoMessage()

func (*HTTPQuery) ProtoReflect

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

func (*HTTPQuery) Reset

func (x *HTTPQuery) Reset()

func (*HTTPQuery) String

func (x *HTTPQuery) String() string

type IndexedDataRef

type IndexedDataRef struct {
	Index   int32    `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	DataRef *DataRef `protobuf:"bytes,2,opt,name=data_ref,json=dataRef,proto3" json:"data_ref,omitempty"`
	// contains filtered or unexported fields
}

func (*IndexedDataRef) Descriptor deprecated

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

Deprecated: Use IndexedDataRef.ProtoReflect.Descriptor instead.

func (*IndexedDataRef) GetDataRef

func (x *IndexedDataRef) GetDataRef() *DataRef

func (*IndexedDataRef) GetIndex

func (x *IndexedDataRef) GetIndex() int32

func (*IndexedDataRef) ProtoMessage

func (*IndexedDataRef) ProtoMessage()

func (*IndexedDataRef) ProtoReflect

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

func (*IndexedDataRef) Reset

func (x *IndexedDataRef) Reset()

func (*IndexedDataRef) String

func (x *IndexedDataRef) String() string

type Int32

type Int32 struct {
	Type  *Int32Type `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value int32      `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Int32) Descriptor deprecated

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

Deprecated: Use Int32.ProtoReflect.Descriptor instead.

func (*Int32) GetType

func (x *Int32) GetType() *Int32Type

func (*Int32) GetValue

func (x *Int32) GetValue() int32

func (*Int32) ProtoMessage

func (*Int32) ProtoMessage()

func (*Int32) ProtoReflect

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

func (*Int32) Reset

func (x *Int32) Reset()

func (*Int32) String

func (x *Int32) String() string

type Int32Type

type Int32Type struct {
	FixedValues []int32                `protobuf:"varint,1,rep,packed,name=fixed_values,json=fixedValues,proto3" json:"fixed_values,omitempty"`
	Min         *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=min,proto3" json:"min,omitempty"`
	Max         *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*Int32Type) Descriptor deprecated

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

Deprecated: Use Int32Type.ProtoReflect.Descriptor instead.

func (*Int32Type) GetFixedValues

func (x *Int32Type) GetFixedValues() []int32

func (*Int32Type) GetMax

func (x *Int32Type) GetMax() *wrapperspb.Int32Value

func (*Int32Type) GetMin

func (x *Int32Type) GetMin() *wrapperspb.Int32Value

func (*Int32Type) ProtoMessage

func (*Int32Type) ProtoMessage()

func (*Int32Type) ProtoReflect

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

func (*Int32Type) Reset

func (x *Int32Type) Reset()

func (*Int32Type) String

func (x *Int32Type) String() string

type Int64

type Int64 struct {
	Type  *Int64Type `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value int64      `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Int64) Descriptor deprecated

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

Deprecated: Use Int64.ProtoReflect.Descriptor instead.

func (*Int64) GetType

func (x *Int64) GetType() *Int64Type

func (*Int64) GetValue

func (x *Int64) GetValue() int64

func (*Int64) ProtoMessage

func (*Int64) ProtoMessage()

func (*Int64) ProtoReflect

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

func (*Int64) Reset

func (x *Int64) Reset()

func (*Int64) String

func (x *Int64) String() string

type Int64Type

type Int64Type struct {
	FixedValues []int64                `protobuf:"varint,1,rep,packed,name=fixed_values,json=fixedValues,proto3" json:"fixed_values,omitempty"`
	Min         *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=min,proto3" json:"min,omitempty"`
	Max         *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*Int64Type) Descriptor deprecated

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

Deprecated: Use Int64Type.ProtoReflect.Descriptor instead.

func (*Int64Type) GetFixedValues

func (x *Int64Type) GetFixedValues() []int64

func (*Int64Type) GetMax

func (x *Int64Type) GetMax() *wrapperspb.Int64Value

func (*Int64Type) GetMin

func (x *Int64Type) GetMin() *wrapperspb.Int64Value

func (*Int64Type) ProtoMessage

func (*Int64Type) ProtoMessage()

func (*Int64Type) ProtoReflect

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

func (*Int64Type) Reset

func (x *Int64Type) Reset()

func (*Int64Type) String

func (x *Int64Type) String() string

type List

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

func (*List) Descriptor deprecated

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

Deprecated: Use List.ProtoReflect.Descriptor instead.

func (*List) GetElems

func (x *List) GetElems() []*Data

func (*List) ProtoMessage

func (*List) ProtoMessage()

func (*List) ProtoReflect

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

func (*List) Reset

func (x *List) Reset()

func (*List) String

func (x *List) String() string

type ListRef

type ListRef struct {

	// Types that are assignable to Ref:
	//	*ListRef_FullList
	//	*ListRef_ElemRef
	Ref isListRef_Ref `protobuf_oneof:"ref"`
	// contains filtered or unexported fields
}

func (*ListRef) Descriptor deprecated

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

Deprecated: Use ListRef.ProtoReflect.Descriptor instead.

func (*ListRef) GetElemRef

func (x *ListRef) GetElemRef() *IndexedDataRef

func (*ListRef) GetFullList

func (x *ListRef) GetFullList() *ListRef_FullListRef

func (*ListRef) GetRef

func (m *ListRef) GetRef() isListRef_Ref

func (*ListRef) ProtoMessage

func (*ListRef) ProtoMessage()

func (*ListRef) ProtoReflect

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

func (*ListRef) Reset

func (x *ListRef) Reset()

func (*ListRef) String

func (x *ListRef) String() string

type ListRef_ElemRef

type ListRef_ElemRef struct {
	// Reference to specific element by index.
	ElemRef *IndexedDataRef `protobuf:"bytes,2,opt,name=elem_ref,json=elemRef,proto3,oneof"`
}

type ListRef_FullList

type ListRef_FullList struct {
	FullList *ListRef_FullListRef `protobuf:"bytes,1,opt,name=full_list,json=fullList,proto3,oneof"`
}

type ListRef_FullListRef

type ListRef_FullListRef struct {
	// contains filtered or unexported fields
}

Reference the entire list.

func (*ListRef_FullListRef) Descriptor deprecated

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

Deprecated: Use ListRef_FullListRef.ProtoReflect.Descriptor instead.

func (*ListRef_FullListRef) ProtoMessage

func (*ListRef_FullListRef) ProtoMessage()

func (*ListRef_FullListRef) ProtoReflect

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

func (*ListRef_FullListRef) Reset

func (x *ListRef_FullListRef) Reset()

func (*ListRef_FullListRef) String

func (x *ListRef_FullListRef) String() string

type ListTemplate

type ListTemplate struct {
	ElemTemplates []*DataTemplate `protobuf:"bytes,1,rep,name=elem_templates,json=elemTemplates,proto3" json:"elem_templates,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTemplate) Descriptor deprecated

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

Deprecated: Use ListTemplate.ProtoReflect.Descriptor instead.

func (*ListTemplate) GetElemTemplates

func (x *ListTemplate) GetElemTemplates() []*DataTemplate

func (*ListTemplate) ProtoMessage

func (*ListTemplate) ProtoMessage()

func (*ListTemplate) ProtoReflect

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

func (*ListTemplate) Reset

func (x *ListTemplate) Reset()

func (*ListTemplate) String

func (x *ListTemplate) String() string

type MapData

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

Gives the key and value types of a map.

func (*MapData) Descriptor deprecated

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

Deprecated: Use MapData.ProtoReflect.Descriptor instead.

func (*MapData) GetKey

func (x *MapData) GetKey() *Data

func (*MapData) GetValue

func (x *MapData) GetValue() *Data

func (*MapData) ProtoMessage

func (*MapData) ProtoMessage()

func (*MapData) ProtoReflect

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

func (*MapData) Reset

func (x *MapData) Reset()

func (*MapData) String

func (x *MapData) String() string

type Method

type Method struct {
	Id *MethodID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// For HTTP REST APIs, the keys in this map have no meaning.
	// Requests
	Args map[string]*Data `` /* 149-byte string literal not displayed */
	// For HTTP REST APIs, the keys in this map have no meaning.
	// Responses
	Responses map[string]*Data `` /* 159-byte string literal not displayed */
	Meta      *MethodMeta      `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*Method) Descriptor deprecated

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

Deprecated: Use Method.ProtoReflect.Descriptor instead.

func (*Method) GetArgs

func (x *Method) GetArgs() map[string]*Data

func (*Method) GetId

func (x *Method) GetId() *MethodID

func (*Method) GetMeta

func (x *Method) GetMeta() *MethodMeta

func (*Method) GetResponses

func (x *Method) GetResponses() map[string]*Data

func (*Method) ProtoMessage

func (*Method) ProtoMessage()

func (*Method) ProtoReflect

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

func (*Method) Reset

func (x *Method) Reset()

func (*Method) String

func (x *Method) String() string

type MethodCalls

type MethodCalls struct {

	// Instantiated methods with concrete argument and response values, as
	// observed from actual API calls.
	Calls []*Method `protobuf:"bytes,1,rep,name=calls,proto3" json:"calls,omitempty"`
	// contains filtered or unexported fields
}

func (*MethodCalls) Descriptor deprecated

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

Deprecated: Use MethodCalls.ProtoReflect.Descriptor instead.

func (*MethodCalls) GetCalls

func (x *MethodCalls) GetCalls() []*Method

func (*MethodCalls) ProtoMessage

func (*MethodCalls) ProtoMessage()

func (*MethodCalls) ProtoReflect

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

func (*MethodCalls) Reset

func (x *MethodCalls) Reset()

func (*MethodCalls) String

func (x *MethodCalls) String() string

type MethodDataRef

type MethodDataRef struct {

	// Index of the method in the sequence.
	MethodIndex int32 `protobuf:"varint,1,opt,name=method_index,json=methodIndex,proto3" json:"method_index,omitempty"`
	// Types that are assignable to Ref:
	//	*MethodDataRef_ArgRef
	//	*MethodDataRef_ResponseRef
	Ref isMethodDataRef_Ref `protobuf_oneof:"ref"`
	// This should come from the Data protobuf making the reference, not the Data
	// protobuf being referenced. Because of this, it is easier for the sequence
	// generator to add this to MethodDataRef, instead of PrimitiveRef, even
	// though this should only exist for references to primitive data types.
	AkitaAnnotations *AkitaAnnotations `protobuf:"bytes,11,opt,name=akita_annotations,json=akitaAnnotations,proto3" json:"akita_annotations,omitempty"`
	// contains filtered or unexported fields
}

MethodDataRef describes a reference to a value within a Method in the sequence.

func (*MethodDataRef) Descriptor deprecated

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

Deprecated: Use MethodDataRef.ProtoReflect.Descriptor instead.

func (*MethodDataRef) GetAkitaAnnotations

func (x *MethodDataRef) GetAkitaAnnotations() *AkitaAnnotations

func (*MethodDataRef) GetArgRef

func (x *MethodDataRef) GetArgRef() *NamedDataRef

func (*MethodDataRef) GetMethodIndex

func (x *MethodDataRef) GetMethodIndex() int32

func (*MethodDataRef) GetRef

func (m *MethodDataRef) GetRef() isMethodDataRef_Ref

func (*MethodDataRef) GetResponseRef

func (x *MethodDataRef) GetResponseRef() *NamedDataRef

func (*MethodDataRef) ProtoMessage

func (*MethodDataRef) ProtoMessage()

func (*MethodDataRef) ProtoReflect

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

func (*MethodDataRef) Reset

func (x *MethodDataRef) Reset()

func (*MethodDataRef) String

func (x *MethodDataRef) String() string

type MethodDataRef_ArgRef

type MethodDataRef_ArgRef struct {
	ArgRef *NamedDataRef `protobuf:"bytes,2,opt,name=arg_ref,json=argRef,proto3,oneof"`
}

type MethodDataRef_ResponseRef

type MethodDataRef_ResponseRef struct {
	ResponseRef *NamedDataRef `protobuf:"bytes,3,opt,name=response_ref,json=responseRef,proto3,oneof"`
}

type MethodID

type MethodID struct {
	Name    string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ApiType ApiType `protobuf:"varint,2,opt,name=api_type,json=apiType,proto3,enum=api_spec.ApiType" json:"api_type,omitempty"`
	// contains filtered or unexported fields
}

func (*MethodID) Descriptor deprecated

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

Deprecated: Use MethodID.ProtoReflect.Descriptor instead.

func (*MethodID) GetApiType

func (x *MethodID) GetApiType() ApiType

func (*MethodID) GetName

func (x *MethodID) GetName() string

func (*MethodID) ProtoMessage

func (*MethodID) ProtoMessage()

func (*MethodID) ProtoReflect

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

func (*MethodID) Reset

func (x *MethodID) Reset()

func (*MethodID) String

func (x *MethodID) String() string

type MethodMeta

type MethodMeta struct {

	// Types that are assignable to Meta:
	//	*MethodMeta_Grpc
	//	*MethodMeta_Http
	Meta isMethodMeta_Meta `protobuf_oneof:"meta"`
	// contains filtered or unexported fields
}

func (*MethodMeta) Descriptor deprecated

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

Deprecated: Use MethodMeta.ProtoReflect.Descriptor instead.

func (*MethodMeta) GetGrpc

func (x *MethodMeta) GetGrpc() *GRPCMethodMeta

func (*MethodMeta) GetHttp

func (x *MethodMeta) GetHttp() *HTTPMethodMeta

func (*MethodMeta) GetMeta

func (m *MethodMeta) GetMeta() isMethodMeta_Meta

func (*MethodMeta) ProtoMessage

func (*MethodMeta) ProtoMessage()

func (*MethodMeta) ProtoReflect

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

func (*MethodMeta) Reset

func (x *MethodMeta) Reset()

func (*MethodMeta) String

func (x *MethodMeta) String() string

type MethodMeta_Grpc

type MethodMeta_Grpc struct {
	Grpc *GRPCMethodMeta `protobuf:"bytes,1,opt,name=grpc,proto3,oneof"`
}

type MethodMeta_Http

type MethodMeta_Http struct {
	Http *HTTPMethodMeta `protobuf:"bytes,2,opt,name=http,proto3,oneof"`
}

type MethodTemplate

type MethodTemplate struct {

	// Unique identifier for this MethodTemplate.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the Method that this template represents.
	MethodId *MethodID `protobuf:"bytes,2,opt,name=method_id,json=methodId,proto3" json:"method_id,omitempty"`
	// Templates for the arguments.
	ArgTemplates map[string]*DataTemplate `` /* 185-byte string literal not displayed */
	// Describes the types expected in the method's response. This is needed in
	// order to parse actual API call response back into the generic format and
	// lives here mostly for plumbing reasons.
	Responses map[string]*Data `` /* 159-byte string literal not displayed */
	Meta      *MethodMeta      `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

MethodTemplate describes how a method should be invoked.

func (*MethodTemplate) Descriptor deprecated

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

Deprecated: Use MethodTemplate.ProtoReflect.Descriptor instead.

func (*MethodTemplate) GetArgTemplates

func (x *MethodTemplate) GetArgTemplates() map[string]*DataTemplate

func (*MethodTemplate) GetId

func (x *MethodTemplate) GetId() string

func (*MethodTemplate) GetMeta

func (x *MethodTemplate) GetMeta() *MethodMeta

func (*MethodTemplate) GetMethodId

func (x *MethodTemplate) GetMethodId() *MethodID

func (*MethodTemplate) GetResponses

func (x *MethodTemplate) GetResponses() map[string]*Data

func (*MethodTemplate) ProtoMessage

func (*MethodTemplate) ProtoMessage()

func (*MethodTemplate) ProtoReflect

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

func (*MethodTemplate) Reset

func (x *MethodTemplate) Reset()

func (*MethodTemplate) String

func (x *MethodTemplate) String() string

type NamedDataRef

type NamedDataRef struct {
	Key     string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	DataRef *DataRef `protobuf:"bytes,2,opt,name=data_ref,json=dataRef,proto3" json:"data_ref,omitempty"`
	// contains filtered or unexported fields
}

func (*NamedDataRef) Descriptor deprecated

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

Deprecated: Use NamedDataRef.ProtoReflect.Descriptor instead.

func (*NamedDataRef) GetDataRef

func (x *NamedDataRef) GetDataRef() *DataRef

func (*NamedDataRef) GetKey

func (x *NamedDataRef) GetKey() string

func (*NamedDataRef) ProtoMessage

func (*NamedDataRef) ProtoMessage()

func (*NamedDataRef) ProtoReflect

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

func (*NamedDataRef) Reset

func (x *NamedDataRef) Reset()

func (*NamedDataRef) String

func (x *NamedDataRef) String() string

type None

type None struct {
	// contains filtered or unexported fields
}

func (*None) Descriptor deprecated

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

Deprecated: Use None.ProtoReflect.Descriptor instead.

func (*None) ProtoMessage

func (*None) ProtoMessage()

func (*None) ProtoReflect

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

func (*None) Reset

func (x *None) Reset()

func (*None) String

func (x *None) String() string

type OneOf

type OneOf struct {

	// Map keys are the hashes of the Data values. This allows us to stably
	// compare OneOf messages and ensure there are no duplicate options.
	// See hash function at:
	// https://github.com/akitasoftware/test-service/blob/master/lib/pbhash/pbhash.go
	Options map[string]*Data `` /* 155-byte string literal not displayed */
	// True if this oneof was created by Akita during learn mode to encode a
	// potential conflict in the API spec.
	PotentialConflict bool `protobuf:"varint,2,opt,name=potential_conflict,json=potentialConflict,proto3" json:"potential_conflict,omitempty"`
	// contains filtered or unexported fields
}

func (*OneOf) Descriptor deprecated

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

Deprecated: Use OneOf.ProtoReflect.Descriptor instead.

func (*OneOf) GetOptions

func (x *OneOf) GetOptions() map[string]*Data

func (*OneOf) GetPotentialConflict

func (x *OneOf) GetPotentialConflict() bool

func (*OneOf) ProtoMessage

func (*OneOf) ProtoMessage()

func (*OneOf) ProtoReflect

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

func (*OneOf) Reset

func (x *OneOf) Reset()

func (*OneOf) String

func (x *OneOf) String() string

type Optional

type Optional struct {

	// Types that are assignable to Value:
	//	*Optional_Data
	//	*Optional_None
	Value isOptional_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*Optional) Descriptor deprecated

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

Deprecated: Use Optional.ProtoReflect.Descriptor instead.

func (*Optional) GetData

func (x *Optional) GetData() *Data

func (*Optional) GetNone

func (x *Optional) GetNone() *None

func (*Optional) GetValue

func (m *Optional) GetValue() isOptional_Value

func (*Optional) ProtoMessage

func (*Optional) ProtoMessage()

func (*Optional) ProtoReflect

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

func (*Optional) Reset

func (x *Optional) Reset()

func (*Optional) String

func (x *Optional) String() string

type OptionalTemplate

type OptionalTemplate struct {
	ValueTemplate *DataTemplate `protobuf:"bytes,1,opt,name=value_template,json=valueTemplate,proto3" json:"value_template,omitempty"`
	// contains filtered or unexported fields
}

func (*OptionalTemplate) Descriptor deprecated

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

Deprecated: Use OptionalTemplate.ProtoReflect.Descriptor instead.

func (*OptionalTemplate) GetValueTemplate

func (x *OptionalTemplate) GetValueTemplate() *DataTemplate

func (*OptionalTemplate) ProtoMessage

func (*OptionalTemplate) ProtoMessage()

func (*OptionalTemplate) ProtoReflect

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

func (*OptionalTemplate) Reset

func (x *OptionalTemplate) Reset()

func (*OptionalTemplate) String

func (x *OptionalTemplate) String() string

type Optional_Data

type Optional_Data struct {
	Data *Data `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

type Optional_None

type Optional_None struct {
	None *None `protobuf:"bytes,2,opt,name=none,proto3,oneof"`
}

type Primitive

type Primitive struct {
	TypeHint string `protobuf:"bytes,1,opt,name=type_hint,json=typeHint,proto3" json:"type_hint,omitempty"`
	// Types that are assignable to Value:
	//	*Primitive_BoolValue
	//	*Primitive_BytesValue
	//	*Primitive_StringValue
	//	*Primitive_Int32Value
	//	*Primitive_Int64Value
	//	*Primitive_Uint32Value
	//	*Primitive_Uint64Value
	//	*Primitive_DoubleValue
	//	*Primitive_FloatValue
	Value            isPrimitive_Value `protobuf_oneof:"value"`
	AkitaAnnotations *AkitaAnnotations `protobuf:"bytes,11,opt,name=akita_annotations,json=akitaAnnotations,proto3" json:"akita_annotations,omitempty"`
	// If true, indicates that the value of this primitive was randomly generated.
	// When making API calls against a target system whose state cannot be reset,
	// the API caller may choose to generate a new random value to avoid the old
	// value from invalidating the API call (e.g. creating an object with the same
	// name). It's unlikely that the target system would behave differently
	// depending on a random value, so we think this is a viable workaround.
	// Note that we chose this approach instead of stop generating random values
	// upfront because if we encounter a target system that supports reset, the
	// fixed random values adds extra assurance to reproducibility.
	ContainsRandomValue bool `protobuf:"varint,12,opt,name=contains_random_value,json=containsRandomValue,proto3" json:"contains_random_value,omitempty"`
	// Values of this Primitive must match one of these data formats, if present.
	// An empty map means no restrictions on format.
	//
	// This is typed as a map to ensure stable hashing.  Values should always be
	// `true`.
	//
	// Data format definitions:
	// https://github.com/akitasoftware/test-service/blob/master/lib/data_formats/data_formats.go
	Formats map[string]bool `` /* 157-byte string literal not displayed */
	// Format kinds describe collections of formats, e.g. datetime is the kind
	// of various date formats, e.g. RFC3339 and Unix-style timestamps.
	//
	// Data format kind definitions:
	// https://github.com/akitasoftware/test-service/blob/master/lib/data_formats/data_formats.go
	FormatKind string `protobuf:"bytes,14,opt,name=format_kind,json=formatKind,proto3" json:"format_kind,omitempty"`
	// contains filtered or unexported fields
}

func (*Primitive) Descriptor deprecated

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

Deprecated: Use Primitive.ProtoReflect.Descriptor instead.

func (*Primitive) GetAkitaAnnotations

func (x *Primitive) GetAkitaAnnotations() *AkitaAnnotations

func (*Primitive) GetBoolValue

func (x *Primitive) GetBoolValue() *Bool

func (*Primitive) GetBytesValue

func (x *Primitive) GetBytesValue() *Bytes

func (*Primitive) GetContainsRandomValue

func (x *Primitive) GetContainsRandomValue() bool

func (*Primitive) GetDoubleValue

func (x *Primitive) GetDoubleValue() *Double

func (*Primitive) GetFloatValue

func (x *Primitive) GetFloatValue() *Float

func (*Primitive) GetFormatKind

func (x *Primitive) GetFormatKind() string

func (*Primitive) GetFormats

func (x *Primitive) GetFormats() map[string]bool

func (*Primitive) GetInt32Value

func (x *Primitive) GetInt32Value() *Int32

func (*Primitive) GetInt64Value

func (x *Primitive) GetInt64Value() *Int64

func (*Primitive) GetStringValue

func (x *Primitive) GetStringValue() *String

func (*Primitive) GetTypeHint

func (x *Primitive) GetTypeHint() string

func (*Primitive) GetUint32Value

func (x *Primitive) GetUint32Value() *Uint32

func (*Primitive) GetUint64Value

func (x *Primitive) GetUint64Value() *Uint64

func (*Primitive) GetValue

func (m *Primitive) GetValue() isPrimitive_Value

func (*Primitive) ProtoMessage

func (*Primitive) ProtoMessage()

func (*Primitive) ProtoReflect

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

func (*Primitive) Reset

func (x *Primitive) Reset()

func (*Primitive) String

func (x *Primitive) String() string

type PrimitiveRef

type PrimitiveRef struct {

	// Types that are assignable to Type:
	//	*PrimitiveRef_BoolType
	//	*PrimitiveRef_BytesType
	//	*PrimitiveRef_StringType
	//	*PrimitiveRef_Int32Type
	//	*PrimitiveRef_Int64Type
	//	*PrimitiveRef_Uint32Type
	//	*PrimitiveRef_Uint64Type
	//	*PrimitiveRef_DoubleType
	//	*PrimitiveRef_FloatType
	Type isPrimitiveRef_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*PrimitiveRef) Descriptor deprecated

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

Deprecated: Use PrimitiveRef.ProtoReflect.Descriptor instead.

func (*PrimitiveRef) GetBoolType

func (x *PrimitiveRef) GetBoolType() *BoolType

func (*PrimitiveRef) GetBytesType

func (x *PrimitiveRef) GetBytesType() *BytesType

func (*PrimitiveRef) GetDoubleType

func (x *PrimitiveRef) GetDoubleType() *DoubleType

func (*PrimitiveRef) GetFloatType

func (x *PrimitiveRef) GetFloatType() *FloatType

func (*PrimitiveRef) GetInt32Type

func (x *PrimitiveRef) GetInt32Type() *Int32Type

func (*PrimitiveRef) GetInt64Type

func (x *PrimitiveRef) GetInt64Type() *Int64Type

func (*PrimitiveRef) GetStringType

func (x *PrimitiveRef) GetStringType() *StringType

func (*PrimitiveRef) GetType

func (m *PrimitiveRef) GetType() isPrimitiveRef_Type

func (*PrimitiveRef) GetUint32Type

func (x *PrimitiveRef) GetUint32Type() *Uint32Type

func (*PrimitiveRef) GetUint64Type

func (x *PrimitiveRef) GetUint64Type() *Uint64Type

func (*PrimitiveRef) ProtoMessage

func (*PrimitiveRef) ProtoMessage()

func (*PrimitiveRef) ProtoReflect

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

func (*PrimitiveRef) Reset

func (x *PrimitiveRef) Reset()

func (*PrimitiveRef) String

func (x *PrimitiveRef) String() string

type PrimitiveRef_BoolType

type PrimitiveRef_BoolType struct {
	BoolType *BoolType `protobuf:"bytes,1,opt,name=bool_type,json=boolType,proto3,oneof"`
}

type PrimitiveRef_BytesType

type PrimitiveRef_BytesType struct {
	BytesType *BytesType `protobuf:"bytes,2,opt,name=bytes_type,json=bytesType,proto3,oneof"`
}

type PrimitiveRef_DoubleType

type PrimitiveRef_DoubleType struct {
	DoubleType *DoubleType `protobuf:"bytes,8,opt,name=double_type,json=doubleType,proto3,oneof"`
}

type PrimitiveRef_FloatType

type PrimitiveRef_FloatType struct {
	FloatType *FloatType `protobuf:"bytes,9,opt,name=float_type,json=floatType,proto3,oneof"`
}

type PrimitiveRef_Int32Type

type PrimitiveRef_Int32Type struct {
	Int32Type *Int32Type `protobuf:"bytes,4,opt,name=int32_type,json=int32Type,proto3,oneof"`
}

type PrimitiveRef_Int64Type

type PrimitiveRef_Int64Type struct {
	Int64Type *Int64Type `protobuf:"bytes,5,opt,name=int64_type,json=int64Type,proto3,oneof"`
}

type PrimitiveRef_StringType

type PrimitiveRef_StringType struct {
	StringType *StringType `protobuf:"bytes,3,opt,name=string_type,json=stringType,proto3,oneof"`
}

type PrimitiveRef_Uint32Type

type PrimitiveRef_Uint32Type struct {
	Uint32Type *Uint32Type `protobuf:"bytes,6,opt,name=uint32_type,json=uint32Type,proto3,oneof"`
}

type PrimitiveRef_Uint64Type

type PrimitiveRef_Uint64Type struct {
	Uint64Type *Uint64Type `protobuf:"bytes,7,opt,name=uint64_type,json=uint64Type,proto3,oneof"`
}

type Primitive_BoolValue

type Primitive_BoolValue struct {
	BoolValue *Bool `protobuf:"bytes,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type Primitive_BytesValue

type Primitive_BytesValue struct {
	BytesValue *Bytes `protobuf:"bytes,3,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
}

type Primitive_DoubleValue

type Primitive_DoubleValue struct {
	DoubleValue *Double `protobuf:"bytes,9,opt,name=double_value,json=doubleValue,proto3,oneof"`
}

type Primitive_FloatValue

type Primitive_FloatValue struct {
	FloatValue *Float `protobuf:"bytes,10,opt,name=float_value,json=floatValue,proto3,oneof"`
}

type Primitive_Int32Value

type Primitive_Int32Value struct {
	Int32Value *Int32 `protobuf:"bytes,5,opt,name=int32_value,json=int32Value,proto3,oneof"`
}

type Primitive_Int64Value

type Primitive_Int64Value struct {
	Int64Value *Int64 `protobuf:"bytes,6,opt,name=int64_value,json=int64Value,proto3,oneof"`
}

type Primitive_StringValue

type Primitive_StringValue struct {
	StringValue *String `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type Primitive_Uint32Value

type Primitive_Uint32Value struct {
	Uint32Value *Uint32 `protobuf:"bytes,7,opt,name=uint32_value,json=uint32Value,proto3,oneof"`
}

type Primitive_Uint64Value

type Primitive_Uint64Value struct {
	Uint64Value *Uint64 `protobuf:"bytes,8,opt,name=uint64_value,json=uint64Value,proto3,oneof"`
}

type Sequence

type Sequence struct {

	// Sequence ID is computed as sha256("".join(t.id for t in method_templates)).
	// By generating sequence ID deterministically, we can easily compute the
	// sequnce ID of the prefix of a given sequence.
	Id              string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	MethodTemplates []*MethodTemplate `protobuf:"bytes,2,rep,name=method_templates,json=methodTemplates,proto3" json:"method_templates,omitempty"`
	// contains filtered or unexported fields
}

func (*Sequence) Descriptor deprecated

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

Deprecated: Use Sequence.ProtoReflect.Descriptor instead.

func (*Sequence) GetId

func (x *Sequence) GetId() string

func (*Sequence) GetMethodTemplates

func (x *Sequence) GetMethodTemplates() []*MethodTemplate

func (*Sequence) ProtoMessage

func (*Sequence) ProtoMessage()

func (*Sequence) ProtoReflect

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

func (*Sequence) Reset

func (x *Sequence) Reset()

func (*Sequence) String

func (x *Sequence) String() string

type SequenceRun

type SequenceRun struct {
	Seq *Sequence `protobuf:"bytes,1,opt,name=seq,proto3" json:"seq,omitempty"`
	// Indicates that this is the ith attempt to rerun the sequence. 0 means this
	// is not a rerun (i.e. the initial run).
	RerunAttempt int32 `protobuf:"varint,2,opt,name=rerun_attempt,json=rerunAttempt,proto3" json:"rerun_attempt,omitempty"`
	// contains filtered or unexported fields
}

func (*SequenceRun) Descriptor deprecated

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

Deprecated: Use SequenceRun.ProtoReflect.Descriptor instead.

func (*SequenceRun) GetRerunAttempt

func (x *SequenceRun) GetRerunAttempt() int32

func (*SequenceRun) GetSeq

func (x *SequenceRun) GetSeq() *Sequence

func (*SequenceRun) ProtoMessage

func (*SequenceRun) ProtoMessage()

func (*SequenceRun) ProtoReflect

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

func (*SequenceRun) Reset

func (x *SequenceRun) Reset()

func (*SequenceRun) String

func (x *SequenceRun) String() string

type String

type String struct {
	Type  *StringType `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value string      `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*String) Descriptor deprecated

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

Deprecated: Use String.ProtoReflect.Descriptor instead.

func (*String) GetType

func (x *String) GetType() *StringType

func (*String) GetValue

func (x *String) GetValue() string

func (*String) ProtoMessage

func (*String) ProtoMessage()

func (*String) ProtoReflect

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

func (*String) Reset

func (x *String) Reset()

func (*String) String

func (x *String) String() string

type StringType

type StringType struct {
	FixedValues []string `protobuf:"bytes,1,rep,name=fixed_values,json=fixedValues,proto3" json:"fixed_values,omitempty"`
	Regex       string   `protobuf:"bytes,2,opt,name=regex,proto3" json:"regex,omitempty"`
	// contains filtered or unexported fields
}

func (*StringType) Descriptor deprecated

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

Deprecated: Use StringType.ProtoReflect.Descriptor instead.

func (*StringType) GetFixedValues

func (x *StringType) GetFixedValues() []string

func (*StringType) GetRegex

func (x *StringType) GetRegex() string

func (*StringType) ProtoMessage

func (*StringType) ProtoMessage()

func (*StringType) ProtoReflect

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

func (*StringType) Reset

func (x *StringType) Reset()

func (*StringType) String

func (x *StringType) String() string

type Struct

type Struct struct {

	// Populated if this represents a struct.
	Fields map[string]*Data `` /* 153-byte string literal not displayed */
	// Populated if this represents a map.
	MapType *MapData `protobuf:"bytes,2,opt,name=map_type,json=mapType,proto3" json:"map_type,omitempty"`
	// contains filtered or unexported fields
}

Represents a struct or a map.

func (*Struct) Descriptor deprecated

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

Deprecated: Use Struct.ProtoReflect.Descriptor instead.

func (*Struct) GetFields

func (x *Struct) GetFields() map[string]*Data

func (*Struct) GetMapType

func (x *Struct) GetMapType() *MapData

func (*Struct) ProtoMessage

func (*Struct) ProtoMessage()

func (*Struct) ProtoReflect

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

func (*Struct) Reset

func (x *Struct) Reset()

func (*Struct) String

func (x *Struct) String() string

type StructRef

type StructRef struct {

	// Types that are assignable to Ref:
	//	*StructRef_FullStruct
	//	*StructRef_FieldRef
	Ref isStructRef_Ref `protobuf_oneof:"ref"`
	// contains filtered or unexported fields
}

func (*StructRef) Descriptor deprecated

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

Deprecated: Use StructRef.ProtoReflect.Descriptor instead.

func (*StructRef) GetFieldRef

func (x *StructRef) GetFieldRef() *NamedDataRef

func (*StructRef) GetFullStruct

func (x *StructRef) GetFullStruct() *StructRef_FullStructRef

func (*StructRef) GetRef

func (m *StructRef) GetRef() isStructRef_Ref

func (*StructRef) ProtoMessage

func (*StructRef) ProtoMessage()

func (*StructRef) ProtoReflect

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

func (*StructRef) Reset

func (x *StructRef) Reset()

func (*StructRef) String

func (x *StructRef) String() string

type StructRef_FieldRef

type StructRef_FieldRef struct {
	// Reference to a particular field.
	FieldRef *NamedDataRef `protobuf:"bytes,2,opt,name=field_ref,json=fieldRef,proto3,oneof"`
}

type StructRef_FullStruct

type StructRef_FullStruct struct {
	FullStruct *StructRef_FullStructRef `protobuf:"bytes,1,opt,name=full_struct,json=fullStruct,proto3,oneof"`
}

type StructRef_FullStructRef

type StructRef_FullStructRef struct {
	// contains filtered or unexported fields
}

Reference the entire struct.

func (*StructRef_FullStructRef) Descriptor deprecated

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

Deprecated: Use StructRef_FullStructRef.ProtoReflect.Descriptor instead.

func (*StructRef_FullStructRef) ProtoMessage

func (*StructRef_FullStructRef) ProtoMessage()

func (*StructRef_FullStructRef) ProtoReflect

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

func (*StructRef_FullStructRef) Reset

func (x *StructRef_FullStructRef) Reset()

func (*StructRef_FullStructRef) String

func (x *StructRef_FullStructRef) String() string

type StructTemplate

type StructTemplate struct {
	FieldTemplates map[string]*DataTemplate `` /* 191-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StructTemplate) Descriptor deprecated

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

Deprecated: Use StructTemplate.ProtoReflect.Descriptor instead.

func (*StructTemplate) GetFieldTemplates

func (x *StructTemplate) GetFieldTemplates() map[string]*DataTemplate

func (*StructTemplate) ProtoMessage

func (*StructTemplate) ProtoMessage()

func (*StructTemplate) ProtoReflect

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

func (*StructTemplate) Reset

func (x *StructTemplate) Reset()

func (*StructTemplate) String

func (x *StructTemplate) String() string

type Uint32

type Uint32 struct {
	Type  *Uint32Type `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value uint32      `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Uint32) Descriptor deprecated

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

Deprecated: Use Uint32.ProtoReflect.Descriptor instead.

func (*Uint32) GetType

func (x *Uint32) GetType() *Uint32Type

func (*Uint32) GetValue

func (x *Uint32) GetValue() uint32

func (*Uint32) ProtoMessage

func (*Uint32) ProtoMessage()

func (*Uint32) ProtoReflect

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

func (*Uint32) Reset

func (x *Uint32) Reset()

func (*Uint32) String

func (x *Uint32) String() string

type Uint32Type

type Uint32Type struct {
	FixedValues []uint32                `protobuf:"varint,1,rep,packed,name=fixed_values,json=fixedValues,proto3" json:"fixed_values,omitempty"`
	Min         *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=min,proto3" json:"min,omitempty"`
	Max         *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*Uint32Type) Descriptor deprecated

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

Deprecated: Use Uint32Type.ProtoReflect.Descriptor instead.

func (*Uint32Type) GetFixedValues

func (x *Uint32Type) GetFixedValues() []uint32

func (*Uint32Type) GetMax

func (x *Uint32Type) GetMax() *wrapperspb.UInt32Value

func (*Uint32Type) GetMin

func (x *Uint32Type) GetMin() *wrapperspb.UInt32Value

func (*Uint32Type) ProtoMessage

func (*Uint32Type) ProtoMessage()

func (*Uint32Type) ProtoReflect

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

func (*Uint32Type) Reset

func (x *Uint32Type) Reset()

func (*Uint32Type) String

func (x *Uint32Type) String() string

type Uint64

type Uint64 struct {
	Type  *Uint64Type `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value uint64      `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Uint64) Descriptor deprecated

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

Deprecated: Use Uint64.ProtoReflect.Descriptor instead.

func (*Uint64) GetType

func (x *Uint64) GetType() *Uint64Type

func (*Uint64) GetValue

func (x *Uint64) GetValue() uint64

func (*Uint64) ProtoMessage

func (*Uint64) ProtoMessage()

func (*Uint64) ProtoReflect

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

func (*Uint64) Reset

func (x *Uint64) Reset()

func (*Uint64) String

func (x *Uint64) String() string

type Uint64Type

type Uint64Type struct {
	FixedValues []uint64                `protobuf:"varint,1,rep,packed,name=fixed_values,json=fixedValues,proto3" json:"fixed_values,omitempty"`
	Min         *wrapperspb.UInt64Value `protobuf:"bytes,2,opt,name=min,proto3" json:"min,omitempty"`
	Max         *wrapperspb.UInt64Value `protobuf:"bytes,3,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*Uint64Type) Descriptor deprecated

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

Deprecated: Use Uint64Type.ProtoReflect.Descriptor instead.

func (*Uint64Type) GetFixedValues

func (x *Uint64Type) GetFixedValues() []uint64

func (*Uint64Type) GetMax

func (x *Uint64Type) GetMax() *wrapperspb.UInt64Value

func (*Uint64Type) GetMin

func (x *Uint64Type) GetMin() *wrapperspb.UInt64Value

func (*Uint64Type) ProtoMessage

func (*Uint64Type) ProtoMessage()

func (*Uint64Type) ProtoReflect

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

func (*Uint64Type) Reset

func (x *Uint64Type) Reset()

func (*Uint64Type) String

func (x *Uint64Type) String() string

type Witness

type Witness struct {

	// This may be a partial method (i.e. only containing arg or response value)
	// depending on the broker's observation.
	Method *Method `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*Witness) Descriptor deprecated

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

Deprecated: Use Witness.ProtoReflect.Descriptor instead.

func (*Witness) GetMethod

func (x *Witness) GetMethod() *Method

func (*Witness) ProtoMessage

func (*Witness) ProtoMessage()

func (*Witness) ProtoReflect

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

func (*Witness) Reset

func (x *Witness) Reset()

func (*Witness) String

func (x *Witness) String() string

Jump to

Keyboard shortcuts

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