Documentation ¶
Index ¶
- Variables
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetHeader() *ServiceHeader
- func (x *Service) GetHost() string
- func (x *Service) GetName() string
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- type ServiceHeader
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) GetHeader ¶
func (x *Service) GetHeader() *ServiceHeader
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
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
Click to show internal directories.
Click to hide internal directories.