Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Scheme_name = map[int32]string{ 0: "SCHEME_UNSPECIFIED", 1: "SCHEME_FILE", 2: "SCHEME_HTTP", 3: "SCHEME_HTTPS", } Scheme_value = map[string]int32{ "SCHEME_UNSPECIFIED": 0, "SCHEME_FILE": 1, "SCHEME_HTTP": 2, "SCHEME_HTTPS": 3, } )
Enum value maps for Scheme.
View Source
var File_uri_uri_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DocumentURI ¶
type DocumentURI struct { DocumentUri string `protobuf:"bytes,1,opt,name=document_uri,json=documentUri,proto3" json:"document_uri,omitempty"` // contains filtered or unexported fields }
DocumentURI are transferred as strings. The URI’s format is defined in http://tools.ietf.org/html/rfc3986.
func (*DocumentURI) Descriptor
deprecated
func (*DocumentURI) Descriptor() ([]byte, []int)
Deprecated: Use DocumentURI.ProtoReflect.Descriptor instead.
func (*DocumentURI) GetDocumentUri ¶
func (x *DocumentURI) GetDocumentUri() string
func (*DocumentURI) ProtoMessage ¶
func (*DocumentURI) ProtoMessage()
func (*DocumentURI) ProtoReflect ¶
func (x *DocumentURI) ProtoReflect() protoreflect.Message
func (*DocumentURI) Reset ¶
func (x *DocumentURI) Reset()
func (*DocumentURI) String ¶
func (x *DocumentURI) String() string
type Scheme ¶
type Scheme int32
Scheme is the generic URI syntax scheme.
func (Scheme) Descriptor ¶
func (Scheme) Descriptor() protoreflect.EnumDescriptor
func (Scheme) EnumDescriptor
deprecated
func (Scheme) Number ¶
func (x Scheme) Number() protoreflect.EnumNumber
func (Scheme) Type ¶
func (Scheme) Type() protoreflect.EnumType
type URI ¶
type URI struct { Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // contains filtered or unexported fields }
URI Uniform Resource Identifier (URI) https://tools.ietf.org/html/rfc3986.
This class is a simple parser which creates the basic component parts (http://tools.ietf.org/html/rfc3986#section-3) with minimal validation and encoding.
foo://example.com:8042/over/there?name=ferret#nose \_/ \______________/\_________/ \_________/ \__/ | | | | | scheme authority path query fragment | _____________________|__ / \ / \ urn:example:animal:ferret:nose
func (*URI) Descriptor
deprecated
func (*URI) ProtoMessage ¶
func (*URI) ProtoMessage()
func (*URI) ProtoReflect ¶
func (x *URI) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.