Documentation
¶
Index ¶
- Variables
- type APISpec
- type AkitaAnnotations
- func (*AkitaAnnotations) Descriptor() ([]byte, []int)deprecated
- func (x *AkitaAnnotations) GetFormatOption() *FormatOption
- func (x *AkitaAnnotations) GetIsFree() bool
- func (x *AkitaAnnotations) GetIsSensitive() bool
- func (*AkitaAnnotations) ProtoMessage()
- func (x *AkitaAnnotations) ProtoReflect() protoreflect.Message
- func (x *AkitaAnnotations) Reset()
- func (x *AkitaAnnotations) String() string
- type ApiType
- type Bool
- type BoolType
- type Bytes
- type BytesType
- type Data
- func (*Data) Descriptor() ([]byte, []int)deprecated
- func (x *Data) GetExampleValues() map[string]*ExampleValue
- func (x *Data) GetList() *List
- func (x *Data) GetMeta() *DataMeta
- func (x *Data) GetNullable() bool
- func (x *Data) GetOneof() *OneOf
- func (x *Data) GetOptional() *Optional
- func (x *Data) GetPrimitive() *Primitive
- func (x *Data) GetStruct() *Struct
- func (m *Data) GetValue() isData_Value
- func (*Data) ProtoMessage()
- func (x *Data) ProtoReflect() protoreflect.Message
- func (x *Data) Reset()
- func (x *Data) String() string
- type DataMeta
- func (*DataMeta) Descriptor() ([]byte, []int)deprecated
- func (x *DataMeta) GetGrpc() *GRPCMeta
- func (x *DataMeta) GetHttp() *HTTPMeta
- func (m *DataMeta) GetMeta() isDataMeta_Meta
- func (*DataMeta) ProtoMessage()
- func (x *DataMeta) ProtoReflect() protoreflect.Message
- func (x *DataMeta) Reset()
- func (x *DataMeta) String() string
- type DataMeta_Grpc
- type DataMeta_Http
- type DataRef
- func (*DataRef) Descriptor() ([]byte, []int)deprecated
- func (x *DataRef) GetListRef() *ListRef
- func (x *DataRef) GetPrimitiveRef() *PrimitiveRef
- func (x *DataRef) GetStructRef() *StructRef
- func (m *DataRef) GetValueRef() isDataRef_ValueRef
- func (*DataRef) ProtoMessage()
- func (x *DataRef) ProtoReflect() protoreflect.Message
- func (x *DataRef) Reset()
- func (x *DataRef) String() string
- type DataRef_ListRef
- type DataRef_PrimitiveRef
- type DataRef_StructRef
- type DataTemplate
- func (*DataTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *DataTemplate) GetListTemplate() *ListTemplate
- func (x *DataTemplate) GetMeta() *DataMeta
- func (x *DataTemplate) GetOptionalTemplate() *OptionalTemplate
- func (x *DataTemplate) GetRef() *MethodDataRef
- func (x *DataTemplate) GetStructTemplate() *StructTemplate
- func (x *DataTemplate) GetValue() *Data
- func (m *DataTemplate) GetValueTemplate() isDataTemplate_ValueTemplate
- func (*DataTemplate) ProtoMessage()
- func (x *DataTemplate) ProtoReflect() protoreflect.Message
- func (x *DataTemplate) Reset()
- func (x *DataTemplate) String() string
- type DataTemplate_ListTemplate
- type DataTemplate_OptionalTemplate
- type DataTemplate_Ref
- type DataTemplate_StructTemplate
- type DataTemplate_Value
- type Data_List
- type Data_Oneof
- type Data_Optional
- type Data_Primitive
- type Data_Struct
- type Double
- type DoubleType
- func (*DoubleType) Descriptor() ([]byte, []int)deprecated
- func (x *DoubleType) GetFixedValues() []float64
- func (x *DoubleType) GetMax() *wrapperspb.DoubleValue
- func (x *DoubleType) GetMin() *wrapperspb.DoubleValue
- func (*DoubleType) ProtoMessage()
- func (x *DoubleType) ProtoReflect() protoreflect.Message
- func (x *DoubleType) Reset()
- func (x *DoubleType) String() string
- type ExampleValue
- type Float
- type FloatType
- func (*FloatType) Descriptor() ([]byte, []int)deprecated
- func (x *FloatType) GetFixedValues() []float32
- func (x *FloatType) GetMax() *wrapperspb.FloatValue
- func (x *FloatType) GetMin() *wrapperspb.FloatValue
- func (*FloatType) ProtoMessage()
- func (x *FloatType) ProtoReflect() protoreflect.Message
- func (x *FloatType) Reset()
- func (x *FloatType) String() string
- type FormatOption
- func (*FormatOption) Descriptor() ([]byte, []int)deprecated
- func (m *FormatOption) GetFormat() isFormatOption_Format
- func (x *FormatOption) GetStringFormat() string
- func (*FormatOption) ProtoMessage()
- func (x *FormatOption) ProtoReflect() protoreflect.Message
- func (x *FormatOption) Reset()
- func (x *FormatOption) String() string
- type FormatOption_StringFormat
- type GRPCMeta
- type GRPCMethodMeta
- type HTTPAuth
- type HTTPAuth_HTTPAuthType
- func (HTTPAuth_HTTPAuthType) Descriptor() protoreflect.EnumDescriptor
- func (x HTTPAuth_HTTPAuthType) Enum() *HTTPAuth_HTTPAuthType
- func (HTTPAuth_HTTPAuthType) EnumDescriptor() ([]byte, []int)deprecated
- func (x HTTPAuth_HTTPAuthType) Number() protoreflect.EnumNumber
- func (x HTTPAuth_HTTPAuthType) String() string
- func (HTTPAuth_HTTPAuthType) Type() protoreflect.EnumType
- type HTTPBody
- func (*HTTPBody) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPBody) GetContentType() HTTPBody_ContentType
- func (x *HTTPBody) GetOtherType() string
- func (*HTTPBody) ProtoMessage()
- func (x *HTTPBody) ProtoReflect() protoreflect.Message
- func (x *HTTPBody) Reset()
- func (x *HTTPBody) String() string
- type HTTPBody_ContentType
- func (HTTPBody_ContentType) Descriptor() protoreflect.EnumDescriptor
- func (x HTTPBody_ContentType) Enum() *HTTPBody_ContentType
- func (HTTPBody_ContentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x HTTPBody_ContentType) Number() protoreflect.EnumNumber
- func (x HTTPBody_ContentType) String() string
- func (HTTPBody_ContentType) Type() protoreflect.EnumType
- type HTTPCookie
- type HTTPEmpty
- type HTTPHeader
- type HTTPMeta
- func (*HTTPMeta) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPMeta) GetAuth() *HTTPAuth
- func (x *HTTPMeta) GetBody() *HTTPBody
- func (x *HTTPMeta) GetCookie() *HTTPCookie
- func (x *HTTPMeta) GetEmpty() *HTTPEmpty
- func (x *HTTPMeta) GetHeader() *HTTPHeader
- func (m *HTTPMeta) GetLocation() isHTTPMeta_Location
- func (x *HTTPMeta) GetMultipart() *HTTPMultipart
- func (x *HTTPMeta) GetPath() *HTTPPath
- func (x *HTTPMeta) GetQuery() *HTTPQuery
- func (x *HTTPMeta) GetResponseCode() int32
- func (*HTTPMeta) ProtoMessage()
- func (x *HTTPMeta) ProtoReflect() protoreflect.Message
- func (x *HTTPMeta) Reset()
- func (x *HTTPMeta) String() string
- type HTTPMeta_Auth
- type HTTPMeta_Body
- type HTTPMeta_Cookie
- type HTTPMeta_Empty
- type HTTPMeta_Header
- type HTTPMeta_Multipart
- type HTTPMeta_Path
- type HTTPMeta_Query
- type HTTPMethodMeta
- func (*HTTPMethodMeta) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPMethodMeta) GetHost() string
- func (x *HTTPMethodMeta) GetMethod() string
- func (x *HTTPMethodMeta) GetObfuscation() HTTPMethodMeta_Obfuscation
- func (x *HTTPMethodMeta) GetPathParamAlg() HTTPMethodMeta_PathParameterInferenceAlgorithm
- func (x *HTTPMethodMeta) GetPathTemplate() string
- func (x *HTTPMethodMeta) GetProcessingLatency() float32
- func (*HTTPMethodMeta) ProtoMessage()
- func (x *HTTPMethodMeta) ProtoReflect() protoreflect.Message
- func (x *HTTPMethodMeta) Reset()
- func (x *HTTPMethodMeta) String() string
- type HTTPMethodMeta_Obfuscation
- func (HTTPMethodMeta_Obfuscation) Descriptor() protoreflect.EnumDescriptor
- func (x HTTPMethodMeta_Obfuscation) Enum() *HTTPMethodMeta_Obfuscation
- func (HTTPMethodMeta_Obfuscation) EnumDescriptor() ([]byte, []int)deprecated
- func (x HTTPMethodMeta_Obfuscation) Number() protoreflect.EnumNumber
- func (x HTTPMethodMeta_Obfuscation) String() string
- func (HTTPMethodMeta_Obfuscation) Type() protoreflect.EnumType
- type HTTPMethodMeta_PathParameterInferenceAlgorithm
- func (HTTPMethodMeta_PathParameterInferenceAlgorithm) Descriptor() protoreflect.EnumDescriptor
- func (x HTTPMethodMeta_PathParameterInferenceAlgorithm) Enum() *HTTPMethodMeta_PathParameterInferenceAlgorithm
- func (HTTPMethodMeta_PathParameterInferenceAlgorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x HTTPMethodMeta_PathParameterInferenceAlgorithm) Number() protoreflect.EnumNumber
- func (x HTTPMethodMeta_PathParameterInferenceAlgorithm) String() string
- func (HTTPMethodMeta_PathParameterInferenceAlgorithm) Type() protoreflect.EnumType
- type HTTPMultipart
- type HTTPPath
- type HTTPQuery
- type IndexedDataRef
- func (*IndexedDataRef) Descriptor() ([]byte, []int)deprecated
- func (x *IndexedDataRef) GetDataRef() *DataRef
- func (x *IndexedDataRef) GetIndex() int32
- func (*IndexedDataRef) ProtoMessage()
- func (x *IndexedDataRef) ProtoReflect() protoreflect.Message
- func (x *IndexedDataRef) Reset()
- func (x *IndexedDataRef) String() string
- type Int32
- type Int32Type
- func (*Int32Type) Descriptor() ([]byte, []int)deprecated
- func (x *Int32Type) GetFixedValues() []int32
- func (x *Int32Type) GetMax() *wrapperspb.Int32Value
- func (x *Int32Type) GetMin() *wrapperspb.Int32Value
- func (*Int32Type) ProtoMessage()
- func (x *Int32Type) ProtoReflect() protoreflect.Message
- func (x *Int32Type) Reset()
- func (x *Int32Type) String() string
- type Int64
- type Int64Type
- func (*Int64Type) Descriptor() ([]byte, []int)deprecated
- func (x *Int64Type) GetFixedValues() []int64
- func (x *Int64Type) GetMax() *wrapperspb.Int64Value
- func (x *Int64Type) GetMin() *wrapperspb.Int64Value
- func (*Int64Type) ProtoMessage()
- func (x *Int64Type) ProtoReflect() protoreflect.Message
- func (x *Int64Type) Reset()
- func (x *Int64Type) String() string
- type List
- type ListRef
- func (*ListRef) Descriptor() ([]byte, []int)deprecated
- func (x *ListRef) GetElemRef() *IndexedDataRef
- func (x *ListRef) GetFullList() *ListRef_FullListRef
- func (m *ListRef) GetRef() isListRef_Ref
- func (*ListRef) ProtoMessage()
- func (x *ListRef) ProtoReflect() protoreflect.Message
- func (x *ListRef) Reset()
- func (x *ListRef) String() string
- type ListRef_ElemRef
- type ListRef_FullList
- type ListRef_FullListRef
- type ListTemplate
- type MapData
- type Method
- func (*Method) Descriptor() ([]byte, []int)deprecated
- func (x *Method) GetArgs() map[string]*Data
- func (x *Method) GetId() *MethodID
- func (x *Method) GetMeta() *MethodMeta
- func (x *Method) GetResponses() map[string]*Data
- func (*Method) ProtoMessage()
- func (x *Method) ProtoReflect() protoreflect.Message
- func (x *Method) Reset()
- func (x *Method) String() string
- type MethodCalls
- type MethodDataRef
- func (*MethodDataRef) Descriptor() ([]byte, []int)deprecated
- func (x *MethodDataRef) GetAkitaAnnotations() *AkitaAnnotations
- func (x *MethodDataRef) GetArgRef() *NamedDataRef
- func (x *MethodDataRef) GetMethodIndex() int32
- func (m *MethodDataRef) GetRef() isMethodDataRef_Ref
- func (x *MethodDataRef) GetResponseRef() *NamedDataRef
- func (*MethodDataRef) ProtoMessage()
- func (x *MethodDataRef) ProtoReflect() protoreflect.Message
- func (x *MethodDataRef) Reset()
- func (x *MethodDataRef) String() string
- type MethodDataRef_ArgRef
- type MethodDataRef_ResponseRef
- type MethodID
- type MethodMeta
- func (*MethodMeta) Descriptor() ([]byte, []int)deprecated
- func (x *MethodMeta) GetGrpc() *GRPCMethodMeta
- func (x *MethodMeta) GetHttp() *HTTPMethodMeta
- func (m *MethodMeta) GetMeta() isMethodMeta_Meta
- func (*MethodMeta) ProtoMessage()
- func (x *MethodMeta) ProtoReflect() protoreflect.Message
- func (x *MethodMeta) Reset()
- func (x *MethodMeta) String() string
- type MethodMeta_Grpc
- type MethodMeta_Http
- type MethodTemplate
- func (*MethodTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *MethodTemplate) GetArgTemplates() map[string]*DataTemplate
- func (x *MethodTemplate) GetId() string
- func (x *MethodTemplate) GetMeta() *MethodMeta
- func (x *MethodTemplate) GetMethodId() *MethodID
- func (x *MethodTemplate) GetResponses() map[string]*Data
- func (*MethodTemplate) ProtoMessage()
- func (x *MethodTemplate) ProtoReflect() protoreflect.Message
- func (x *MethodTemplate) Reset()
- func (x *MethodTemplate) String() string
- type NamedDataRef
- func (*NamedDataRef) Descriptor() ([]byte, []int)deprecated
- func (x *NamedDataRef) GetDataRef() *DataRef
- func (x *NamedDataRef) GetKey() string
- func (*NamedDataRef) ProtoMessage()
- func (x *NamedDataRef) ProtoReflect() protoreflect.Message
- func (x *NamedDataRef) Reset()
- func (x *NamedDataRef) String() string
- type None
- type OneOf
- type Optional
- func (*Optional) Descriptor() ([]byte, []int)deprecated
- func (x *Optional) GetData() *Data
- func (x *Optional) GetNone() *None
- func (m *Optional) GetValue() isOptional_Value
- func (*Optional) ProtoMessage()
- func (x *Optional) ProtoReflect() protoreflect.Message
- func (x *Optional) Reset()
- func (x *Optional) String() string
- type OptionalTemplate
- func (*OptionalTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *OptionalTemplate) GetValueTemplate() *DataTemplate
- func (*OptionalTemplate) ProtoMessage()
- func (x *OptionalTemplate) ProtoReflect() protoreflect.Message
- func (x *OptionalTemplate) Reset()
- func (x *OptionalTemplate) String() string
- type Optional_Data
- type Optional_None
- type Primitive
- func (*Primitive) Descriptor() ([]byte, []int)deprecated
- func (x *Primitive) GetAkitaAnnotations() *AkitaAnnotations
- func (x *Primitive) GetBoolValue() *Bool
- func (x *Primitive) GetBytesValue() *Bytes
- func (x *Primitive) GetContainsRandomValue() bool
- func (x *Primitive) GetDoubleValue() *Double
- func (x *Primitive) GetFloatValue() *Float
- func (x *Primitive) GetFormatKind() string
- func (x *Primitive) GetFormats() map[string]bool
- func (x *Primitive) GetInt32Value() *Int32
- func (x *Primitive) GetInt64Value() *Int64
- func (x *Primitive) GetStringValue() *String
- func (x *Primitive) GetTypeHint() string
- func (x *Primitive) GetUint32Value() *Uint32
- func (x *Primitive) GetUint64Value() *Uint64
- func (m *Primitive) GetValue() isPrimitive_Value
- func (*Primitive) ProtoMessage()
- func (x *Primitive) ProtoReflect() protoreflect.Message
- func (x *Primitive) Reset()
- func (x *Primitive) String() string
- type PrimitiveRef
- func (*PrimitiveRef) Descriptor() ([]byte, []int)deprecated
- func (x *PrimitiveRef) GetBoolType() *BoolType
- func (x *PrimitiveRef) GetBytesType() *BytesType
- func (x *PrimitiveRef) GetDoubleType() *DoubleType
- func (x *PrimitiveRef) GetFloatType() *FloatType
- func (x *PrimitiveRef) GetInt32Type() *Int32Type
- func (x *PrimitiveRef) GetInt64Type() *Int64Type
- func (x *PrimitiveRef) GetStringType() *StringType
- func (m *PrimitiveRef) GetType() isPrimitiveRef_Type
- func (x *PrimitiveRef) GetUint32Type() *Uint32Type
- func (x *PrimitiveRef) GetUint64Type() *Uint64Type
- func (*PrimitiveRef) ProtoMessage()
- func (x *PrimitiveRef) ProtoReflect() protoreflect.Message
- func (x *PrimitiveRef) Reset()
- func (x *PrimitiveRef) String() string
- type PrimitiveRef_BoolType
- type PrimitiveRef_BytesType
- type PrimitiveRef_DoubleType
- type PrimitiveRef_FloatType
- type PrimitiveRef_Int32Type
- type PrimitiveRef_Int64Type
- type PrimitiveRef_StringType
- type PrimitiveRef_Uint32Type
- type PrimitiveRef_Uint64Type
- type Primitive_BoolValue
- type Primitive_BytesValue
- type Primitive_DoubleValue
- type Primitive_FloatValue
- type Primitive_Int32Value
- type Primitive_Int64Value
- type Primitive_StringValue
- type Primitive_Uint32Value
- type Primitive_Uint64Value
- type Sequence
- type SequenceRun
- func (*SequenceRun) Descriptor() ([]byte, []int)deprecated
- func (x *SequenceRun) GetRerunAttempt() int32
- func (x *SequenceRun) GetSeq() *Sequence
- func (*SequenceRun) ProtoMessage()
- func (x *SequenceRun) ProtoReflect() protoreflect.Message
- func (x *SequenceRun) Reset()
- func (x *SequenceRun) String() string
- type String
- type StringType
- func (*StringType) Descriptor() ([]byte, []int)deprecated
- func (x *StringType) GetFixedValues() []string
- func (x *StringType) GetRegex() string
- func (*StringType) ProtoMessage()
- func (x *StringType) ProtoReflect() protoreflect.Message
- func (x *StringType) Reset()
- func (x *StringType) String() string
- type Struct
- type StructRef
- func (*StructRef) Descriptor() ([]byte, []int)deprecated
- func (x *StructRef) GetFieldRef() *NamedDataRef
- func (x *StructRef) GetFullStruct() *StructRef_FullStructRef
- func (m *StructRef) GetRef() isStructRef_Ref
- func (*StructRef) ProtoMessage()
- func (x *StructRef) ProtoReflect() protoreflect.Message
- func (x *StructRef) Reset()
- func (x *StructRef) String() string
- type StructRef_FieldRef
- type StructRef_FullStruct
- type StructRef_FullStructRef
- type StructTemplate
- func (*StructTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *StructTemplate) GetFieldTemplates() map[string]*DataTemplate
- func (*StructTemplate) ProtoMessage()
- func (x *StructTemplate) ProtoReflect() protoreflect.Message
- func (x *StructTemplate) Reset()
- func (x *StructTemplate) String() string
- type Uint32
- type Uint32Type
- func (*Uint32Type) Descriptor() ([]byte, []int)deprecated
- func (x *Uint32Type) GetFixedValues() []uint32
- func (x *Uint32Type) GetMax() *wrapperspb.UInt32Value
- func (x *Uint32Type) GetMin() *wrapperspb.UInt32Value
- func (*Uint32Type) ProtoMessage()
- func (x *Uint32Type) ProtoReflect() protoreflect.Message
- func (x *Uint32Type) Reset()
- func (x *Uint32Type) String() string
- type Uint64
- type Uint64Type
- func (*Uint64Type) Descriptor() ([]byte, []int)deprecated
- func (x *Uint64Type) GetFixedValues() []uint64
- func (x *Uint64Type) GetMax() *wrapperspb.UInt64Value
- func (x *Uint64Type) GetMin() *wrapperspb.UInt64Value
- func (*Uint64Type) ProtoMessage()
- func (x *Uint64Type) ProtoReflect() protoreflect.Message
- func (x *Uint64Type) Reset()
- func (x *Uint64Type) String() string
- type Witness
Constants ¶
This section is empty.
Variables ¶
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.
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.
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.
var ( HTTPMethodMeta_PathParameterInferenceAlgorithm_name = map[int32]string{ 0: "UNKNOWN", 1: "v1", 2: "v2", 3: "v3", } HTTPMethodMeta_PathParameterInferenceAlgorithm_value = map[string]int32{ "UNKNOWN": 0, "v1": 1, "v2": 2, "v3": 3, } )
Enum value maps for HTTPMethodMeta_PathParameterInferenceAlgorithm.
var ( HTTPMethodMeta_Obfuscation_name = map[int32]string{ 0: "ZERO_VALUE", 1: "NONE", } HTTPMethodMeta_Obfuscation_value = map[string]int32{ "ZERO_VALUE": 0, "NONE": 1, } )
Enum value maps for HTTPMethodMeta_Obfuscation.
var File_api_type_proto protoreflect.FileDescriptor
var File_method_proto protoreflect.FileDescriptor
var File_sequence_proto protoreflect.FileDescriptor
var File_spec_proto protoreflect.FileDescriptor
var File_types_proto protoreflect.FileDescriptor
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) GetMethods ¶
func (*APISpec) ProtoMessage ¶
func (*APISpec) ProtoMessage()
func (*APISpec) ProtoReflect ¶
func (x *APISpec) ProtoReflect() protoreflect.Message
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
func (ApiType) Descriptor ¶
func (ApiType) Descriptor() protoreflect.EnumDescriptor
func (ApiType) EnumDescriptor
deprecated
func (ApiType) Number ¶
func (x ApiType) Number() protoreflect.EnumNumber
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) ProtoMessage ¶
func (*Bool) ProtoMessage()
func (*Bool) ProtoReflect ¶
func (x *Bool) ProtoReflect() protoreflect.Message
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) GetFixedValues ¶
func (*BoolType) ProtoMessage ¶
func (*BoolType) ProtoMessage()
func (*BoolType) ProtoReflect ¶
func (x *BoolType) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Bytes) ProtoMessage()
func (*Bytes) ProtoReflect ¶
func (x *Bytes) ProtoReflect() protoreflect.Message
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) GetFixedValues ¶
func (*BytesType) ProtoMessage ¶
func (*BytesType) ProtoMessage()
func (*BytesType) ProtoReflect ¶
func (x *BytesType) ProtoReflect() protoreflect.Message
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) GetExampleValues ¶
func (x *Data) GetExampleValues() map[string]*ExampleValue
func (*Data) GetNullable ¶
func (*Data) GetOptional ¶
func (*Data) GetPrimitive ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*DataMeta) ProtoMessage()
func (*DataMeta) ProtoReflect ¶
func (x *DataMeta) ProtoReflect() protoreflect.Message
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) GetListRef ¶
func (*DataRef) GetPrimitiveRef ¶
func (x *DataRef) GetPrimitiveRef() *PrimitiveRef
func (*DataRef) GetStructRef ¶
func (*DataRef) GetValueRef ¶
func (m *DataRef) GetValueRef() isDataRef_ValueRef
func (*DataRef) ProtoMessage ¶
func (*DataRef) ProtoMessage()
func (*DataRef) ProtoReflect ¶
func (x *DataRef) ProtoReflect() protoreflect.Message
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) GetType ¶
func (x *Double) GetType() *DoubleType
func (*Double) ProtoMessage ¶
func (*Double) ProtoMessage()
func (*Double) ProtoReflect ¶
func (x *Double) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Float) ProtoMessage()
func (*Float) ProtoReflect ¶
func (x *Float) ProtoReflect() protoreflect.Message
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) GetFixedValues ¶
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
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) ProtoMessage ¶
func (*GRPCMeta) ProtoMessage()
func (*GRPCMeta) ProtoReflect ¶
func (x *GRPCMeta) ProtoReflect() protoreflect.Message
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) GetType ¶
func (x *HTTPAuth) GetType() HTTPAuth_HTTPAuthType
func (*HTTPAuth) ProtoMessage ¶
func (*HTTPAuth) ProtoMessage()
func (*HTTPAuth) ProtoReflect ¶
func (x *HTTPAuth) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
func (HTTPAuth_HTTPAuthType) Enum ¶
func (x HTTPAuth_HTTPAuthType) Enum() *HTTPAuth_HTTPAuthType
func (HTTPAuth_HTTPAuthType) EnumDescriptor
deprecated
func (HTTPAuth_HTTPAuthType) EnumDescriptor() ([]byte, []int)
Deprecated: Use HTTPAuth_HTTPAuthType.Descriptor instead.
func (HTTPAuth_HTTPAuthType) Number ¶
func (x HTTPAuth_HTTPAuthType) Number() protoreflect.EnumNumber
func (HTTPAuth_HTTPAuthType) String ¶
func (x HTTPAuth_HTTPAuthType) String() string
func (HTTPAuth_HTTPAuthType) Type ¶
func (HTTPAuth_HTTPAuthType) Type() protoreflect.EnumType
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) GetContentType ¶
func (x *HTTPBody) GetContentType() HTTPBody_ContentType
func (*HTTPBody) GetOtherType ¶
func (*HTTPBody) ProtoMessage ¶
func (*HTTPBody) ProtoMessage()
func (*HTTPBody) ProtoReflect ¶
func (x *HTTPBody) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
func (HTTPBody_ContentType) Enum ¶
func (x HTTPBody_ContentType) Enum() *HTTPBody_ContentType
func (HTTPBody_ContentType) EnumDescriptor
deprecated
func (HTTPBody_ContentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use HTTPBody_ContentType.Descriptor instead.
func (HTTPBody_ContentType) Number ¶
func (x HTTPBody_ContentType) Number() protoreflect.EnumNumber
func (HTTPBody_ContentType) String ¶
func (x HTTPBody_ContentType) String() string
func (HTTPBody_ContentType) Type ¶
func (HTTPBody_ContentType) Type() protoreflect.EnumType
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) ProtoMessage ¶
func (*HTTPEmpty) ProtoMessage()
func (*HTTPEmpty) ProtoReflect ¶
func (x *HTTPEmpty) ProtoReflect() protoreflect.Message
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) GetCookie ¶
func (x *HTTPMeta) GetCookie() *HTTPCookie
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) GetResponseCode ¶
func (*HTTPMeta) ProtoMessage ¶
func (*HTTPMeta) ProtoMessage()
func (*HTTPMeta) ProtoReflect ¶
func (x *HTTPMeta) ProtoReflect() protoreflect.Message
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 ¶
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"` PathParamAlg HTTPMethodMeta_PathParameterInferenceAlgorithm `` /* 161-byte string literal not displayed */ Obfuscation HTTPMethodMeta_Obfuscation `protobuf:"varint,6,opt,name=obfuscation,proto3,enum=api_spec.HTTPMethodMeta_Obfuscation" json:"obfuscation,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) GetObfuscation ¶
func (x *HTTPMethodMeta) GetObfuscation() HTTPMethodMeta_Obfuscation
func (*HTTPMethodMeta) GetPathParamAlg ¶
func (x *HTTPMethodMeta) GetPathParamAlg() HTTPMethodMeta_PathParameterInferenceAlgorithm
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 HTTPMethodMeta_Obfuscation ¶
type HTTPMethodMeta_Obfuscation int32
const ( // Header values, body values, and query parameter values are replaced with the zero value. // This is default value to ensure backward compatibility. HTTPMethodMeta_ZERO_VALUE HTTPMethodMeta_Obfuscation = 0 // No obfuscation is applied. HTTPMethodMeta_NONE HTTPMethodMeta_Obfuscation = 1 )
func (HTTPMethodMeta_Obfuscation) Descriptor ¶
func (HTTPMethodMeta_Obfuscation) Descriptor() protoreflect.EnumDescriptor
func (HTTPMethodMeta_Obfuscation) Enum ¶
func (x HTTPMethodMeta_Obfuscation) Enum() *HTTPMethodMeta_Obfuscation
func (HTTPMethodMeta_Obfuscation) EnumDescriptor
deprecated
func (HTTPMethodMeta_Obfuscation) EnumDescriptor() ([]byte, []int)
Deprecated: Use HTTPMethodMeta_Obfuscation.Descriptor instead.
func (HTTPMethodMeta_Obfuscation) Number ¶
func (x HTTPMethodMeta_Obfuscation) Number() protoreflect.EnumNumber
func (HTTPMethodMeta_Obfuscation) String ¶
func (x HTTPMethodMeta_Obfuscation) String() string
func (HTTPMethodMeta_Obfuscation) Type ¶
func (HTTPMethodMeta_Obfuscation) Type() protoreflect.EnumType
type HTTPMethodMeta_PathParameterInferenceAlgorithm ¶
type HTTPMethodMeta_PathParameterInferenceAlgorithm int32
Identifies the path parameter inference algorithm used to create this method. This is `unknown` for witnesses (which do not have any associated inference algorithm) and for methods that were created before the introduction of this field.
const ( HTTPMethodMeta_UNKNOWN HTTPMethodMeta_PathParameterInferenceAlgorithm = 0 HTTPMethodMeta_v1 HTTPMethodMeta_PathParameterInferenceAlgorithm = 1 HTTPMethodMeta_v2 HTTPMethodMeta_PathParameterInferenceAlgorithm = 2 HTTPMethodMeta_v3 HTTPMethodMeta_PathParameterInferenceAlgorithm = 3 )
func (HTTPMethodMeta_PathParameterInferenceAlgorithm) Descriptor ¶
func (HTTPMethodMeta_PathParameterInferenceAlgorithm) Descriptor() protoreflect.EnumDescriptor
func (HTTPMethodMeta_PathParameterInferenceAlgorithm) EnumDescriptor
deprecated
func (HTTPMethodMeta_PathParameterInferenceAlgorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use HTTPMethodMeta_PathParameterInferenceAlgorithm.Descriptor instead.
func (HTTPMethodMeta_PathParameterInferenceAlgorithm) Number ¶
func (x HTTPMethodMeta_PathParameterInferenceAlgorithm) Number() protoreflect.EnumNumber
func (HTTPMethodMeta_PathParameterInferenceAlgorithm) String ¶
func (x HTTPMethodMeta_PathParameterInferenceAlgorithm) 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) ProtoMessage ¶
func (*HTTPPath) ProtoMessage()
func (*HTTPPath) ProtoReflect ¶
func (x *HTTPPath) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*HTTPQuery) ProtoMessage()
func (*HTTPQuery) ProtoReflect ¶
func (x *HTTPQuery) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Int32) ProtoMessage()
func (*Int32) ProtoReflect ¶
func (x *Int32) ProtoReflect() protoreflect.Message
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) GetFixedValues ¶
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
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) ProtoMessage ¶
func (*Int64) ProtoMessage()
func (*Int64) ProtoReflect ¶
func (x *Int64) ProtoReflect() protoreflect.Message
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) GetFixedValues ¶
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
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) ProtoMessage ¶
func (*List) ProtoMessage()
func (*List) ProtoReflect ¶
func (x *List) ProtoReflect() protoreflect.Message
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) GetElemRef ¶
func (x *ListRef) GetElemRef() *IndexedDataRef
func (*ListRef) GetFullList ¶
func (x *ListRef) GetFullList() *ListRef_FullListRef
func (*ListRef) ProtoMessage ¶
func (*ListRef) ProtoMessage()
func (*ListRef) ProtoReflect ¶
func (x *ListRef) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*MapData) ProtoMessage()
func (*MapData) ProtoReflect ¶
func (x *MapData) ProtoReflect() protoreflect.Message
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) GetMeta ¶
func (x *Method) GetMeta() *MethodMeta
func (*Method) GetResponses ¶
func (*Method) ProtoMessage ¶
func (*Method) ProtoMessage()
func (*Method) ProtoReflect ¶
func (x *Method) ProtoReflect() protoreflect.Message
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) GetApiType ¶
func (*MethodID) ProtoMessage ¶
func (*MethodID) ProtoMessage()
func (*MethodID) ProtoReflect ¶
func (x *MethodID) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*None) ProtoMessage()
func (*None) ProtoReflect ¶
func (x *None) ProtoReflect() protoreflect.Message
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) GetOptions ¶
func (*OneOf) GetPotentialConflict ¶
func (*OneOf) ProtoMessage ¶
func (*OneOf) ProtoMessage()
func (*OneOf) ProtoReflect ¶
func (x *OneOf) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Optional) ProtoMessage()
func (*Optional) ProtoReflect ¶
func (x *Optional) ProtoReflect() protoreflect.Message
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) GetAkitaAnnotations ¶
func (x *Primitive) GetAkitaAnnotations() *AkitaAnnotations
func (*Primitive) GetBoolValue ¶
func (*Primitive) GetBytesValue ¶
func (*Primitive) GetContainsRandomValue ¶
func (*Primitive) GetDoubleValue ¶
func (*Primitive) GetFloatValue ¶
func (*Primitive) GetFormatKind ¶
func (*Primitive) GetFormats ¶
func (*Primitive) GetInt32Value ¶
func (*Primitive) GetInt64Value ¶
func (*Primitive) GetStringValue ¶
func (*Primitive) GetTypeHint ¶
func (*Primitive) GetUint32Value ¶
func (*Primitive) GetUint64Value ¶
func (*Primitive) ProtoMessage ¶
func (*Primitive) ProtoMessage()
func (*Primitive) ProtoReflect ¶
func (x *Primitive) ProtoReflect() protoreflect.Message
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) GetMethodTemplates ¶
func (x *Sequence) GetMethodTemplates() []*MethodTemplate
func (*Sequence) ProtoMessage ¶
func (*Sequence) ProtoMessage()
func (*Sequence) ProtoReflect ¶
func (x *Sequence) ProtoReflect() protoreflect.Message
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) GetType ¶
func (x *String) GetType() *StringType
func (*String) ProtoMessage ¶
func (*String) ProtoMessage()
func (*String) ProtoReflect ¶
func (x *String) ProtoReflect() protoreflect.Message
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) GetMapType ¶
func (*Struct) ProtoMessage ¶
func (*Struct) ProtoMessage()
func (*Struct) ProtoReflect ¶
func (x *Struct) ProtoReflect() protoreflect.Message
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) GetFieldRef ¶
func (x *StructRef) GetFieldRef() *NamedDataRef
func (*StructRef) GetFullStruct ¶
func (x *StructRef) GetFullStruct() *StructRef_FullStructRef
func (*StructRef) ProtoMessage ¶
func (*StructRef) ProtoMessage()
func (*StructRef) ProtoReflect ¶
func (x *StructRef) ProtoReflect() protoreflect.Message
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) GetType ¶
func (x *Uint32) GetType() *Uint32Type
func (*Uint32) ProtoMessage ¶
func (*Uint32) ProtoMessage()
func (*Uint32) ProtoReflect ¶
func (x *Uint32) ProtoReflect() protoreflect.Message
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) GetType ¶
func (x *Uint64) GetType() *Uint64Type
func (*Uint64) ProtoMessage ¶
func (*Uint64) ProtoMessage()
func (*Uint64) ProtoReflect ¶
func (x *Uint64) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Witness) ProtoMessage()
func (*Witness) ProtoReflect ¶
func (x *Witness) ProtoReflect() protoreflect.Message