options

package
v0.0.0-...-93f8c24 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional nats.pb.protoc_gen_nats.options.NatsMethodOptions nats = 168718;
	E_Nats = &file_protoc_gen_nats_options_descriptor_proto_extTypes[1]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var (
	// optional nats.pb.protoc_gen_nats.options.NatsServiceOptions nats_service = 75992;
	E_NatsService = &file_protoc_gen_nats_options_descriptor_proto_extTypes[0]
)

Extension fields to descriptorpb.ServiceOptions.

View Source
var File_protoc_gen_nats_options_descriptor_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type NatsMethodOptions

type NatsMethodOptions struct {
	Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	// contains filtered or unexported fields
}

func (*NatsMethodOptions) Descriptor deprecated

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

Deprecated: Use NatsMethodOptions.ProtoReflect.Descriptor instead.

func (*NatsMethodOptions) GetSubject

func (x *NatsMethodOptions) GetSubject() string

func (*NatsMethodOptions) ProtoMessage

func (*NatsMethodOptions) ProtoMessage()

func (*NatsMethodOptions) ProtoReflect

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

func (*NatsMethodOptions) Reset

func (x *NatsMethodOptions) Reset()

func (*NatsMethodOptions) String

func (x *NatsMethodOptions) String() string

type NatsServiceOptions

type NatsServiceOptions struct {
	Name        *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Version     *string `protobuf:"bytes,3,opt,name=version,proto3,oneof" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*NatsServiceOptions) Descriptor deprecated

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

Deprecated: Use NatsServiceOptions.ProtoReflect.Descriptor instead.

func (*NatsServiceOptions) GetDescription

func (x *NatsServiceOptions) GetDescription() string

func (*NatsServiceOptions) GetName

func (x *NatsServiceOptions) GetName() string

func (*NatsServiceOptions) GetVersion

func (x *NatsServiceOptions) GetVersion() string

func (*NatsServiceOptions) ProtoMessage

func (*NatsServiceOptions) ProtoMessage()

func (*NatsServiceOptions) ProtoReflect

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

func (*NatsServiceOptions) Reset

func (x *NatsServiceOptions) Reset()

func (*NatsServiceOptions) String

func (x *NatsServiceOptions) String() string

Jump to

Keyboard shortcuts

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