options

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Whether field is optional in Trinsic's backend.
	// This is not the same as an `optional` protobuf label;
	// it only impacts documentation generation for the field.
	//
	// optional bool optional = 60000;
	E_Optional = &file_services_options_field_options_proto_extTypes[0]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// optional services.options.SdkTemplateOption sdk_template_option = 60001;
	E_SdkTemplateOption = &file_services_options_field_options_proto_extTypes[1]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var File_services_options_field_options_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SdkTemplateOption

type SdkTemplateOption struct {

	// Whether the service endpoint allows anonymous (no auth token necessary) authentication
	// This is used by the `protoc-gen-trinsic-sdk` plugin for metadata.
	Anonymous *bool `protobuf:"varint,1,opt,name=anonymous,proto3,oneof" json:"anonymous,omitempty"`
	// Whether the SDK template generator should ignore this method. This method will
	// be wrapped manually.
	Ignore *bool `protobuf:"varint,2,opt,name=ignore,proto3,oneof" json:"ignore,omitempty"`
	// contains filtered or unexported fields
}

func (*SdkTemplateOption) Descriptor deprecated

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

Deprecated: Use SdkTemplateOption.ProtoReflect.Descriptor instead.

func (*SdkTemplateOption) GetAnonymous

func (x *SdkTemplateOption) GetAnonymous() bool

func (*SdkTemplateOption) GetIgnore

func (x *SdkTemplateOption) GetIgnore() bool

func (*SdkTemplateOption) ProtoMessage

func (*SdkTemplateOption) ProtoMessage()

func (*SdkTemplateOption) ProtoReflect

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

func (*SdkTemplateOption) Reset

func (x *SdkTemplateOption) Reset()

func (*SdkTemplateOption) String

func (x *SdkTemplateOption) String() string

Jump to

Keyboard shortcuts

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