Documentation ¶
Index ¶
- Variables
- type Catch
- type DoRequest
- type DoResponse
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) GetCode() Error_Code
- func (x *Error) GetDetails() []*Error_Detail
- func (x *Error) GetMessage() string
- func (x *Error) GetPath() string
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (x *Error) String() string
- type Error_Code
- type Error_Detail
- func (*Error_Detail) Descriptor() ([]byte, []int)deprecated
- func (x *Error_Detail) GetDebug() *structpb.Value
- func (x *Error_Detail) GetType() string
- func (x *Error_Detail) GetValue() []byte
- func (*Error_Detail) ProtoMessage()
- func (x *Error_Detail) ProtoReflect() protoreflect.Message
- func (x *Error_Detail) Reset()
- func (x *Error_Detail) String() string
- type FetchRequest
- type FetchResponse
- type ListenRequest
- type ListenResponse
- type MaskField
- func (*MaskField) Descriptor() ([]byte, []int)deprecated
- func (x *MaskField) GetCatch() *Catch
- func (x *MaskField) GetMask() []*MaskField
- func (x *MaskField) GetName() string
- func (m *MaskField) GetOnError() isMaskField_OnError
- func (x *MaskField) GetParams() *structpb.Value
- func (x *MaskField) GetThrow() *Throw
- func (*MaskField) ProtoMessage()
- func (x *MaskField) ProtoReflect() protoreflect.Message
- func (x *MaskField) Reset()
- func (x *MaskField) String() string
- type MaskField_Catch
- type MaskField_Throw
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetBody() *structpb.Value
- func (x *Request) GetCatch() *Catch
- func (x *Request) GetMask() []*MaskField
- func (x *Request) GetMethod() string
- func (m *Request) GetOnError() isRequest_OnError
- func (x *Request) GetThrow() *Throw
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Request_Catch
- type Request_Throw
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetBody() *structpb.Value
- func (x *Response) GetMethod() string
- func (x *Response) GetSchema() *Schema
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type Schema
- type Schema_Field
- func (*Schema_Field) Descriptor() ([]byte, []int)deprecated
- func (x *Schema_Field) GetJsonName() string
- func (x *Schema_Field) GetName() string
- func (x *Schema_Field) GetType() *Schema_Field_Type
- func (*Schema_Field) ProtoMessage()
- func (x *Schema_Field) ProtoReflect() protoreflect.Message
- func (x *Schema_Field) Reset()
- func (x *Schema_Field) String() string
- type Schema_Field_Type
- func (*Schema_Field_Type) Descriptor() ([]byte, []int)deprecated
- func (x *Schema_Field_Type) GetMap() *Schema_Field_Type_MapType
- func (x *Schema_Field_Type) GetMessage() *Schema
- func (x *Schema_Field_Type) GetRepeated() *Schema_Field_Type_RepeatedType
- func (x *Schema_Field_Type) GetScalar() Schema_Field_Type_ScalarType
- func (m *Schema_Field_Type) GetValue() isSchema_Field_Type_Value
- func (*Schema_Field_Type) ProtoMessage()
- func (x *Schema_Field_Type) ProtoReflect() protoreflect.Message
- func (x *Schema_Field_Type) Reset()
- func (x *Schema_Field_Type) String() string
- type Schema_Field_Type_Map
- type Schema_Field_Type_MapType
- func (*Schema_Field_Type_MapType) Descriptor() ([]byte, []int)deprecated
- func (x *Schema_Field_Type_MapType) GetKey() Schema_Field_Type_ScalarType
- func (x *Schema_Field_Type_MapType) GetMessage() *Schema
- func (x *Schema_Field_Type_MapType) GetScalar() Schema_Field_Type_ScalarType
- func (m *Schema_Field_Type_MapType) GetValue() isSchema_Field_Type_MapType_Value
- func (*Schema_Field_Type_MapType) ProtoMessage()
- func (x *Schema_Field_Type_MapType) ProtoReflect() protoreflect.Message
- func (x *Schema_Field_Type_MapType) Reset()
- func (x *Schema_Field_Type_MapType) String() string
- type Schema_Field_Type_MapType_Message
- type Schema_Field_Type_MapType_Scalar
- type Schema_Field_Type_Message
- type Schema_Field_Type_Repeated
- type Schema_Field_Type_RepeatedType
- func (*Schema_Field_Type_RepeatedType) Descriptor() ([]byte, []int)deprecated
- func (m *Schema_Field_Type_RepeatedType) GetElement() isSchema_Field_Type_RepeatedType_Element
- func (x *Schema_Field_Type_RepeatedType) GetMessage() *Schema
- func (x *Schema_Field_Type_RepeatedType) GetScalar() Schema_Field_Type_ScalarType
- func (*Schema_Field_Type_RepeatedType) ProtoMessage()
- func (x *Schema_Field_Type_RepeatedType) ProtoReflect() protoreflect.Message
- func (x *Schema_Field_Type_RepeatedType) Reset()
- func (x *Schema_Field_Type_RepeatedType) String() string
- type Schema_Field_Type_RepeatedType_Message
- type Schema_Field_Type_RepeatedType_Scalar
- type Schema_Field_Type_Scalar
- type Schema_Field_Type_ScalarType
- func (Schema_Field_Type_ScalarType) Descriptor() protoreflect.EnumDescriptor
- func (x Schema_Field_Type_ScalarType) Enum() *Schema_Field_Type_ScalarType
- func (Schema_Field_Type_ScalarType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Schema_Field_Type_ScalarType) Number() protoreflect.EnumNumber
- func (x Schema_Field_Type_ScalarType) String() string
- func (Schema_Field_Type_ScalarType) Type() protoreflect.EnumType
- type Throw
Constants ¶
This section is empty.
Variables ¶
var ( Schema_Field_Type_ScalarType_name = map[int32]string{ 0: "SCALAR_TYPE_UNSPECIFIED", 1: "SCALAR_TYPE_ENUM", 2: "SCALAR_TYPE_INT32", 3: "SCALAR_TYPE_UINT32", 4: "SCALAR_TYPE_INT64", 5: "SCALAR_TYPE_UINT64", 6: "SCALAR_TYPE_FLOAT", 7: "SCALAR_TYPE_DOUBLE", 8: "SCALAR_TYPE_BOOL", 9: "SCALAR_TYPE_STRING", 10: "SCALAR_TYPE_BYTES", 11: "SCALAR_TYPE_NULL", } Schema_Field_Type_ScalarType_value = map[string]int32{ "SCALAR_TYPE_UNSPECIFIED": 0, "SCALAR_TYPE_ENUM": 1, "SCALAR_TYPE_INT32": 2, "SCALAR_TYPE_UINT32": 3, "SCALAR_TYPE_INT64": 4, "SCALAR_TYPE_UINT64": 5, "SCALAR_TYPE_FLOAT": 6, "SCALAR_TYPE_DOUBLE": 7, "SCALAR_TYPE_BOOL": 8, "SCALAR_TYPE_STRING": 9, "SCALAR_TYPE_BYTES": 10, "SCALAR_TYPE_NULL": 11, } )
Enum value maps for Schema_Field_Type_ScalarType.
var ( Error_Code_name = map[int32]string{ 0: "UNSPECIFIED", 1: "CANCELED", 2: "UNKNOWN", 3: "INVALID_ARGUMENT", 4: "DEADLINE_EXCEEDED", 5: "NOT_FOUND", 6: "ALREADY_EXISTS", 7: "PERMISSION_DENIED", 8: "RESOURCE_EXHAUSTED", 9: "FAILED_PRECONDITION", 10: "ABORTED", 11: "OUT_OF_RANGE", 12: "UNIMPLEMENTED", 13: "INTERNAL", 14: "UNAVAILABLE", 15: "DATA_LOSS", 16: "UNAUTHENTICATED", } Error_Code_value = map[string]int32{ "UNSPECIFIED": 0, "CANCELED": 1, "UNKNOWN": 2, "INVALID_ARGUMENT": 3, "DEADLINE_EXCEEDED": 4, "NOT_FOUND": 5, "ALREADY_EXISTS": 6, "PERMISSION_DENIED": 7, "RESOURCE_EXHAUSTED": 8, "FAILED_PRECONDITION": 9, "ABORTED": 10, "OUT_OF_RANGE": 11, "UNIMPLEMENTED": 12, "INTERNAL": 13, "UNAVAILABLE": 14, "DATA_LOSS": 15, "UNAUTHENTICATED": 16, } )
Enum value maps for Error_Code.
var File_buf_knit_gateway_v1alpha1_knit_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Catch ¶
type Catch struct {
// contains filtered or unexported fields
}
func (*Catch) ProtoReflect ¶
func (x *Catch) ProtoReflect() protoreflect.Message
type DoRequest ¶
type DoRequest struct { Requests []*Request `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
func (*DoRequest) ProtoReflect ¶
func (x *DoRequest) ProtoReflect() protoreflect.Message
type DoResponse ¶
type DoResponse struct { Responses []*Response `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` // contains filtered or unexported fields }
func (*DoResponse) Descriptor
deprecated
func (*DoResponse) Descriptor() ([]byte, []int)
Deprecated: Use DoResponse.ProtoReflect.Descriptor instead.
func (*DoResponse) GetResponses ¶
func (x *DoResponse) GetResponses() []*Response
func (*DoResponse) ProtoMessage ¶
func (*DoResponse) ProtoMessage()
func (*DoResponse) ProtoReflect ¶
func (x *DoResponse) ProtoReflect() protoreflect.Message
func (*DoResponse) Reset ¶
func (x *DoResponse) Reset()
func (*DoResponse) String ¶
func (x *DoResponse) String() string
type Error ¶
type Error struct { Code Error_Code `protobuf:"varint,1,opt,name=code,proto3,enum=buf.knit.gateway.v1alpha1.Error_Code" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Details []*Error_Detail `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*Error) GetCode ¶
func (x *Error) GetCode() Error_Code
func (*Error) GetDetails ¶
func (x *Error) GetDetails() []*Error_Detail
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type Error_Code ¶
type Error_Code int32
const ( Error_UNSPECIFIED Error_Code = 0 Error_CANCELED Error_Code = 1 Error_UNKNOWN Error_Code = 2 Error_INVALID_ARGUMENT Error_Code = 3 Error_DEADLINE_EXCEEDED Error_Code = 4 Error_NOT_FOUND Error_Code = 5 Error_ALREADY_EXISTS Error_Code = 6 Error_PERMISSION_DENIED Error_Code = 7 Error_RESOURCE_EXHAUSTED Error_Code = 8 Error_FAILED_PRECONDITION Error_Code = 9 Error_ABORTED Error_Code = 10 Error_OUT_OF_RANGE Error_Code = 11 Error_UNIMPLEMENTED Error_Code = 12 Error_INTERNAL Error_Code = 13 Error_UNAVAILABLE Error_Code = 14 Error_DATA_LOSS Error_Code = 15 Error_UNAUTHENTICATED Error_Code = 16 )
func (Error_Code) Descriptor ¶
func (Error_Code) Descriptor() protoreflect.EnumDescriptor
func (Error_Code) Enum ¶
func (x Error_Code) Enum() *Error_Code
func (Error_Code) EnumDescriptor
deprecated
func (Error_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use Error_Code.Descriptor instead.
func (Error_Code) Number ¶
func (x Error_Code) Number() protoreflect.EnumNumber
func (Error_Code) String ¶
func (x Error_Code) String() string
func (Error_Code) Type ¶
func (Error_Code) Type() protoreflect.EnumType
type Error_Detail ¶
type Error_Detail struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Debug *structpb.Value `protobuf:"bytes,3,opt,name=debug,proto3" json:"debug,omitempty"` // contains filtered or unexported fields }
func (*Error_Detail) Descriptor
deprecated
func (*Error_Detail) Descriptor() ([]byte, []int)
Deprecated: Use Error_Detail.ProtoReflect.Descriptor instead.
func (*Error_Detail) GetDebug ¶
func (x *Error_Detail) GetDebug() *structpb.Value
func (*Error_Detail) GetType ¶
func (x *Error_Detail) GetType() string
func (*Error_Detail) GetValue ¶
func (x *Error_Detail) GetValue() []byte
func (*Error_Detail) ProtoMessage ¶
func (*Error_Detail) ProtoMessage()
func (*Error_Detail) ProtoReflect ¶
func (x *Error_Detail) ProtoReflect() protoreflect.Message
func (*Error_Detail) Reset ¶
func (x *Error_Detail) Reset()
func (*Error_Detail) String ¶
func (x *Error_Detail) String() string
type FetchRequest ¶
type FetchRequest struct { Requests []*Request `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
func (*FetchRequest) Descriptor
deprecated
func (*FetchRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchRequest.ProtoReflect.Descriptor instead.
func (*FetchRequest) GetRequests ¶
func (x *FetchRequest) GetRequests() []*Request
func (*FetchRequest) ProtoMessage ¶
func (*FetchRequest) ProtoMessage()
func (*FetchRequest) ProtoReflect ¶
func (x *FetchRequest) ProtoReflect() protoreflect.Message
func (*FetchRequest) Reset ¶
func (x *FetchRequest) Reset()
func (*FetchRequest) String ¶
func (x *FetchRequest) String() string
type FetchResponse ¶
type FetchResponse struct { Responses []*Response `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` // contains filtered or unexported fields }
func (*FetchResponse) Descriptor
deprecated
func (*FetchResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchResponse.ProtoReflect.Descriptor instead.
func (*FetchResponse) GetResponses ¶
func (x *FetchResponse) GetResponses() []*Response
func (*FetchResponse) ProtoMessage ¶
func (*FetchResponse) ProtoMessage()
func (*FetchResponse) ProtoReflect ¶
func (x *FetchResponse) ProtoReflect() protoreflect.Message
func (*FetchResponse) Reset ¶
func (x *FetchResponse) Reset()
func (*FetchResponse) String ¶
func (x *FetchResponse) String() string
type ListenRequest ¶
type ListenRequest struct { Request *Request `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*ListenRequest) Descriptor
deprecated
func (*ListenRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListenRequest.ProtoReflect.Descriptor instead.
func (*ListenRequest) GetRequest ¶
func (x *ListenRequest) GetRequest() *Request
func (*ListenRequest) ProtoMessage ¶
func (*ListenRequest) ProtoMessage()
func (*ListenRequest) ProtoReflect ¶
func (x *ListenRequest) ProtoReflect() protoreflect.Message
func (*ListenRequest) Reset ¶
func (x *ListenRequest) Reset()
func (*ListenRequest) String ¶
func (x *ListenRequest) String() string
type ListenResponse ¶
type ListenResponse struct { Response *Response `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*ListenResponse) Descriptor
deprecated
func (*ListenResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListenResponse.ProtoReflect.Descriptor instead.
func (*ListenResponse) GetResponse ¶
func (x *ListenResponse) GetResponse() *Response
func (*ListenResponse) ProtoMessage ¶
func (*ListenResponse) ProtoMessage()
func (*ListenResponse) ProtoReflect ¶
func (x *ListenResponse) ProtoReflect() protoreflect.Message
func (*ListenResponse) Reset ¶
func (x *ListenResponse) Reset()
func (*ListenResponse) String ¶
func (x *ListenResponse) String() string
type MaskField ¶
type MaskField struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Params *structpb.Value `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` Mask []*MaskField `protobuf:"bytes,3,rep,name=mask,proto3" json:"mask,omitempty"` // Types that are assignable to OnError: // // *MaskField_Catch // *MaskField_Throw OnError isMaskField_OnError `protobuf_oneof:"on_error"` // contains filtered or unexported fields }
func (*MaskField) ProtoReflect ¶
func (x *MaskField) ProtoReflect() protoreflect.Message
type MaskField_Catch ¶
type MaskField_Catch struct {
Catch *Catch `protobuf:"bytes,4,opt,name=catch,proto3,oneof"`
}
type MaskField_Throw ¶
type MaskField_Throw struct {
Throw *Throw `protobuf:"bytes,5,opt,name=throw,proto3,oneof"`
}
type Request ¶
type Request struct { Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` Body *structpb.Value `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` Mask []*MaskField `protobuf:"bytes,3,rep,name=mask,proto3" json:"mask,omitempty"` // Types that are assignable to OnError: // // *Request_Catch // *Request_Throw OnError isRequest_OnError `protobuf_oneof:"on_error"` // contains filtered or unexported fields }
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Request_Catch ¶
type Request_Catch struct {
Catch *Catch `protobuf:"bytes,4,opt,name=catch,proto3,oneof"`
}
type Request_Throw ¶
type Request_Throw struct {
Throw *Throw `protobuf:"bytes,5,opt,name=throw,proto3,oneof"`
}
type Response ¶
type Response struct { Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` Body *structpb.Value `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` Schema *Schema `protobuf:"bytes,3,opt,name=schema,proto3" json:"schema,omitempty"` // contains filtered or unexported fields }
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type Schema ¶
type Schema struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Fields []*Schema_Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*Schema) GetFields ¶
func (x *Schema) GetFields() []*Schema_Field
func (*Schema) ProtoReflect ¶
func (x *Schema) ProtoReflect() protoreflect.Message
type Schema_Field ¶
type Schema_Field struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` JsonName string `protobuf:"bytes,2,opt,name=json_name,json=jsonName,proto3" json:"json_name,omitempty"` Type *Schema_Field_Type `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Schema_Field) Descriptor
deprecated
func (*Schema_Field) Descriptor() ([]byte, []int)
Deprecated: Use Schema_Field.ProtoReflect.Descriptor instead.
func (*Schema_Field) GetJsonName ¶
func (x *Schema_Field) GetJsonName() string
func (*Schema_Field) GetName ¶
func (x *Schema_Field) GetName() string
func (*Schema_Field) GetType ¶
func (x *Schema_Field) GetType() *Schema_Field_Type
func (*Schema_Field) ProtoMessage ¶
func (*Schema_Field) ProtoMessage()
func (*Schema_Field) ProtoReflect ¶
func (x *Schema_Field) ProtoReflect() protoreflect.Message
func (*Schema_Field) Reset ¶
func (x *Schema_Field) Reset()
func (*Schema_Field) String ¶
func (x *Schema_Field) String() string
type Schema_Field_Type ¶
type Schema_Field_Type struct { // Types that are assignable to Value: // // *Schema_Field_Type_Message // *Schema_Field_Type_Scalar // *Schema_Field_Type_Repeated // *Schema_Field_Type_Map Value isSchema_Field_Type_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Schema_Field_Type) Descriptor
deprecated
func (*Schema_Field_Type) Descriptor() ([]byte, []int)
Deprecated: Use Schema_Field_Type.ProtoReflect.Descriptor instead.
func (*Schema_Field_Type) GetMap ¶
func (x *Schema_Field_Type) GetMap() *Schema_Field_Type_MapType
func (*Schema_Field_Type) GetMessage ¶
func (x *Schema_Field_Type) GetMessage() *Schema
func (*Schema_Field_Type) GetRepeated ¶
func (x *Schema_Field_Type) GetRepeated() *Schema_Field_Type_RepeatedType
func (*Schema_Field_Type) GetScalar ¶
func (x *Schema_Field_Type) GetScalar() Schema_Field_Type_ScalarType
func (*Schema_Field_Type) GetValue ¶
func (m *Schema_Field_Type) GetValue() isSchema_Field_Type_Value
func (*Schema_Field_Type) ProtoMessage ¶
func (*Schema_Field_Type) ProtoMessage()
func (*Schema_Field_Type) ProtoReflect ¶
func (x *Schema_Field_Type) ProtoReflect() protoreflect.Message
func (*Schema_Field_Type) Reset ¶
func (x *Schema_Field_Type) Reset()
func (*Schema_Field_Type) String ¶
func (x *Schema_Field_Type) String() string
type Schema_Field_Type_Map ¶
type Schema_Field_Type_Map struct {
Map *Schema_Field_Type_MapType `protobuf:"bytes,4,opt,name=map,proto3,oneof"`
}
type Schema_Field_Type_MapType ¶
type Schema_Field_Type_MapType struct { Key Schema_Field_Type_ScalarType `protobuf:"varint,1,opt,name=key,proto3,enum=buf.knit.gateway.v1alpha1.Schema_Field_Type_ScalarType" json:"key,omitempty"` // Types that are assignable to Value: // // *Schema_Field_Type_MapType_Message // *Schema_Field_Type_MapType_Scalar Value isSchema_Field_Type_MapType_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Schema_Field_Type_MapType) Descriptor
deprecated
func (*Schema_Field_Type_MapType) Descriptor() ([]byte, []int)
Deprecated: Use Schema_Field_Type_MapType.ProtoReflect.Descriptor instead.
func (*Schema_Field_Type_MapType) GetKey ¶
func (x *Schema_Field_Type_MapType) GetKey() Schema_Field_Type_ScalarType
func (*Schema_Field_Type_MapType) GetMessage ¶
func (x *Schema_Field_Type_MapType) GetMessage() *Schema
func (*Schema_Field_Type_MapType) GetScalar ¶
func (x *Schema_Field_Type_MapType) GetScalar() Schema_Field_Type_ScalarType
func (*Schema_Field_Type_MapType) GetValue ¶
func (m *Schema_Field_Type_MapType) GetValue() isSchema_Field_Type_MapType_Value
func (*Schema_Field_Type_MapType) ProtoMessage ¶
func (*Schema_Field_Type_MapType) ProtoMessage()
func (*Schema_Field_Type_MapType) ProtoReflect ¶
func (x *Schema_Field_Type_MapType) ProtoReflect() protoreflect.Message
func (*Schema_Field_Type_MapType) Reset ¶
func (x *Schema_Field_Type_MapType) Reset()
func (*Schema_Field_Type_MapType) String ¶
func (x *Schema_Field_Type_MapType) String() string
type Schema_Field_Type_MapType_Message ¶
type Schema_Field_Type_MapType_Message struct {
Message *Schema `protobuf:"bytes,2,opt,name=message,proto3,oneof"`
}
type Schema_Field_Type_MapType_Scalar ¶
type Schema_Field_Type_MapType_Scalar struct {
Scalar Schema_Field_Type_ScalarType `protobuf:"varint,3,opt,name=scalar,proto3,enum=buf.knit.gateway.v1alpha1.Schema_Field_Type_ScalarType,oneof"`
}
type Schema_Field_Type_Message ¶
type Schema_Field_Type_Message struct {
Message *Schema `protobuf:"bytes,1,opt,name=message,proto3,oneof"`
}
type Schema_Field_Type_Repeated ¶
type Schema_Field_Type_Repeated struct {
Repeated *Schema_Field_Type_RepeatedType `protobuf:"bytes,3,opt,name=repeated,proto3,oneof"`
}
type Schema_Field_Type_RepeatedType ¶
type Schema_Field_Type_RepeatedType struct { // Types that are assignable to Element: // // *Schema_Field_Type_RepeatedType_Message // *Schema_Field_Type_RepeatedType_Scalar Element isSchema_Field_Type_RepeatedType_Element `protobuf_oneof:"element"` // contains filtered or unexported fields }
func (*Schema_Field_Type_RepeatedType) Descriptor
deprecated
func (*Schema_Field_Type_RepeatedType) Descriptor() ([]byte, []int)
Deprecated: Use Schema_Field_Type_RepeatedType.ProtoReflect.Descriptor instead.
func (*Schema_Field_Type_RepeatedType) GetElement ¶
func (m *Schema_Field_Type_RepeatedType) GetElement() isSchema_Field_Type_RepeatedType_Element
func (*Schema_Field_Type_RepeatedType) GetMessage ¶
func (x *Schema_Field_Type_RepeatedType) GetMessage() *Schema
func (*Schema_Field_Type_RepeatedType) GetScalar ¶
func (x *Schema_Field_Type_RepeatedType) GetScalar() Schema_Field_Type_ScalarType
func (*Schema_Field_Type_RepeatedType) ProtoMessage ¶
func (*Schema_Field_Type_RepeatedType) ProtoMessage()
func (*Schema_Field_Type_RepeatedType) ProtoReflect ¶
func (x *Schema_Field_Type_RepeatedType) ProtoReflect() protoreflect.Message
func (*Schema_Field_Type_RepeatedType) Reset ¶
func (x *Schema_Field_Type_RepeatedType) Reset()
func (*Schema_Field_Type_RepeatedType) String ¶
func (x *Schema_Field_Type_RepeatedType) String() string
type Schema_Field_Type_RepeatedType_Message ¶
type Schema_Field_Type_RepeatedType_Message struct {
Message *Schema `protobuf:"bytes,1,opt,name=message,proto3,oneof"`
}
type Schema_Field_Type_RepeatedType_Scalar ¶
type Schema_Field_Type_RepeatedType_Scalar struct {
Scalar Schema_Field_Type_ScalarType `protobuf:"varint,2,opt,name=scalar,proto3,enum=buf.knit.gateway.v1alpha1.Schema_Field_Type_ScalarType,oneof"`
}
type Schema_Field_Type_Scalar ¶
type Schema_Field_Type_Scalar struct {
Scalar Schema_Field_Type_ScalarType `protobuf:"varint,2,opt,name=scalar,proto3,enum=buf.knit.gateway.v1alpha1.Schema_Field_Type_ScalarType,oneof"`
}
type Schema_Field_Type_ScalarType ¶
type Schema_Field_Type_ScalarType int32
const ( Schema_Field_Type_SCALAR_TYPE_UNSPECIFIED Schema_Field_Type_ScalarType = 0 Schema_Field_Type_SCALAR_TYPE_ENUM Schema_Field_Type_ScalarType = 1 Schema_Field_Type_SCALAR_TYPE_INT32 Schema_Field_Type_ScalarType = 2 Schema_Field_Type_SCALAR_TYPE_UINT32 Schema_Field_Type_ScalarType = 3 Schema_Field_Type_SCALAR_TYPE_INT64 Schema_Field_Type_ScalarType = 4 Schema_Field_Type_SCALAR_TYPE_UINT64 Schema_Field_Type_ScalarType = 5 Schema_Field_Type_SCALAR_TYPE_FLOAT Schema_Field_Type_ScalarType = 6 Schema_Field_Type_SCALAR_TYPE_DOUBLE Schema_Field_Type_ScalarType = 7 Schema_Field_Type_SCALAR_TYPE_BOOL Schema_Field_Type_ScalarType = 8 Schema_Field_Type_SCALAR_TYPE_STRING Schema_Field_Type_ScalarType = 9 Schema_Field_Type_SCALAR_TYPE_BYTES Schema_Field_Type_ScalarType = 10 Schema_Field_Type_SCALAR_TYPE_NULL Schema_Field_Type_ScalarType = 11 )
func (Schema_Field_Type_ScalarType) Descriptor ¶
func (Schema_Field_Type_ScalarType) Descriptor() protoreflect.EnumDescriptor
func (Schema_Field_Type_ScalarType) Enum ¶
func (x Schema_Field_Type_ScalarType) Enum() *Schema_Field_Type_ScalarType
func (Schema_Field_Type_ScalarType) EnumDescriptor
deprecated
func (Schema_Field_Type_ScalarType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Schema_Field_Type_ScalarType.Descriptor instead.
func (Schema_Field_Type_ScalarType) Number ¶
func (x Schema_Field_Type_ScalarType) Number() protoreflect.EnumNumber
func (Schema_Field_Type_ScalarType) String ¶
func (x Schema_Field_Type_ScalarType) String() string
func (Schema_Field_Type_ScalarType) Type ¶
func (Schema_Field_Type_ScalarType) Type() protoreflect.EnumType
type Throw ¶
type Throw struct {
// contains filtered or unexported fields
}
func (*Throw) ProtoReflect ¶
func (x *Throw) ProtoReflect() protoreflect.Message