graphqlv1

package
v0.0.0-...-d3dae30 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// field defines the graphql information for the field
	//
	// optional graphql.v1.Field field = 95279528;
	E_Field = &file_graphql_v1_extend_proto_extTypes[1]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// oneof defines the graphql information for the oneof
	//
	// optional graphql.v1.Oneof oneof = 95279528;
	E_Oneof = &file_graphql_v1_extend_proto_extTypes[2]
)

Extension fields to descriptorpb.OneofOptions.

View Source
var (
	// rpc defines the graphql information for the method
	//
	// optional graphql.v1.Rpc rpc = 95279528;
	E_Rpc = &file_graphql_v1_extend_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var File_graphql_v1_extend_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Field

type Field struct {

	// required the field is required
	Required bool `protobuf:"varint,1,opt,name=required,proto3" json:"required,omitempty"`
	// ignore the field
	Ignore bool `protobuf:"varint,2,opt,name=ignore,proto3" json:"ignore,omitempty"`
	// contains filtered or unexported fields
}

The options for the field

func (*Field) Descriptor deprecated

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

Deprecated: Use Field.ProtoReflect.Descriptor instead.

func (*Field) GetIgnore

func (x *Field) GetIgnore() bool

func (*Field) GetRequired

func (x *Field) GetRequired() bool

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) ProtoReflect

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

func (*Field) Reset

func (x *Field) Reset()

func (*Field) String

func (x *Field) String() string

type Oneof

type Oneof struct {

	// ignore the oneof
	Ignore bool `protobuf:"varint,1,opt,name=ignore,proto3" json:"ignore,omitempty"`
	// contains filtered or unexported fields
}

The options for the oneof

func (*Oneof) Descriptor deprecated

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

Deprecated: Use Oneof.ProtoReflect.Descriptor instead.

func (*Oneof) GetIgnore

func (x *Oneof) GetIgnore() bool

func (*Oneof) ProtoMessage

func (*Oneof) ProtoMessage()

func (*Oneof) ProtoReflect

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

func (*Oneof) Reset

func (x *Oneof) Reset()

func (*Oneof) String

func (x *Oneof) String() string

type Rpc

type Rpc struct {

	// pattern
	//
	// Types that are assignable to Pattern:
	//
	//	*Rpc_Query
	//	*Rpc_Mutation
	Pattern isRpc_Pattern `protobuf_oneof:"pattern"`
	// ignore the rpc
	Ignore bool `protobuf:"varint,3,opt,name=ignore,proto3" json:"ignore,omitempty"`
	// contains filtered or unexported fields
}

The options for the rpc

func (*Rpc) Descriptor deprecated

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

Deprecated: Use Rpc.ProtoReflect.Descriptor instead.

func (*Rpc) GetIgnore

func (x *Rpc) GetIgnore() bool

func (*Rpc) GetMutation

func (x *Rpc) GetMutation() string

func (*Rpc) GetPattern

func (m *Rpc) GetPattern() isRpc_Pattern

func (*Rpc) GetQuery

func (x *Rpc) GetQuery() string

func (*Rpc) ProtoMessage

func (*Rpc) ProtoMessage()

func (*Rpc) ProtoReflect

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

func (*Rpc) Reset

func (x *Rpc) Reset()

func (*Rpc) String

func (x *Rpc) String() string

type Rpc_Mutation

type Rpc_Mutation struct {
	// mutation is the graphql mutation
	Mutation string `protobuf:"bytes,2,opt,name=mutation,proto3,oneof"`
}

type Rpc_Query

type Rpc_Query struct {
	// query is the graphql query
	Query string `protobuf:"bytes,1,opt,name=query,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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