Documentation ¶
Index ¶
- Variables
- type Field
- type Type
- func (Type) Descriptor() protoreflect.EnumDescriptor
- func (x Type) Enum() *Type
- func (Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Type) Number() protoreflect.EnumNumber
- func (x Type) String() string
- func (Type) Type() protoreflect.EnumType
- func (x *Type) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Type_name = map[int32]string{ 0: "DEFAULT", 1: "MUTATION", 2: "QUERY", } Type_value = map[string]int32{ "DEFAULT": 0, "MUTATION": 1, "QUERY": 2, } )
Enum value maps for Type.
View Source
var (
// optional danielvladco.protobuf.graphql.Field field = 65030;
E_Field = &file_pb_graphql_proto_extTypes[2]
)
Extension fields to descriptor.FieldOptions.
View Source
var (
// optional danielvladco.protobuf.graphql.Type rpc_type = 65030;
E_RpcType = &file_pb_graphql_proto_extTypes[0]
)
Extension fields to descriptor.MethodOptions.
View Source
var (
// optional danielvladco.protobuf.graphql.Type svc_type = 65030;
E_SvcType = &file_pb_graphql_proto_extTypes[1]
)
Extension fields to descriptor.ServiceOptions.
View Source
var File_pb_graphql_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct { Required *bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"` Params *string `protobuf:"bytes,2,opt,name=params" json:"params,omitempty"` Dirs *string `protobuf:"bytes,3,opt,name=dirs" json:"dirs,omitempty"` // contains filtered or unexported fields }
func (*Field) Descriptor
deprecated
func (*Field) GetRequired ¶
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) ProtoReflect ¶
func (x *Field) ProtoReflect() protoreflect.Message
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
func (*Type) UnmarshalJSON
deprecated
Click to show internal directories.
Click to hide internal directories.