servicepb

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional google.protobuf.plugin.Service srv = 199510;
	E_Srv = &file_google_protobuf_plugin_service_proto_extTypes[0]
)

Extension fields to descriptorpb.ServiceOptions.

View Source
var File_google_protobuf_plugin_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Service

type Service struct {
	Host   string         `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Name   string         `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Header *ServiceHeader `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"`
	// contains filtered or unexported fields
}

func (*Service) Descriptor deprecated

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetHeader

func (x *Service) GetHeader() *ServiceHeader

func (*Service) GetHost

func (x *Service) GetHost() string

func (*Service) GetName

func (x *Service) GetName() string

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

type ServiceHeader

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

func (*ServiceHeader) Descriptor deprecated

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

Deprecated: Use ServiceHeader.ProtoReflect.Descriptor instead.

func (*ServiceHeader) GetAuthorization

func (x *ServiceHeader) GetAuthorization() string

func (*ServiceHeader) ProtoMessage

func (*ServiceHeader) ProtoMessage()

func (*ServiceHeader) ProtoReflect

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

func (*ServiceHeader) Reset

func (x *ServiceHeader) Reset()

func (*ServiceHeader) String

func (x *ServiceHeader) String() string

Jump to

Keyboard shortcuts

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