pb

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_example_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Http

type Http struct {
	Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty" validate:"oneof=http https"`
	// version_default is the same as version_update
	VersionDefault string    `` /* 133-byte string literal not displayed */
	VersionUpdate  string    `` /* 130-byte string literal not displayed */
	VersionReplace string    `protobuf:"bytes,4,opt,name=version_replace,json=VersionReplace,proto3" json:"version_with_replace" validate:"gte=0,lte=130"`
	Url            *Http_Url `protobuf:"bytes,5,opt,name=url,json=Url,proto3" json:"url_tag,omitempty"`
	// contains filtered or unexported fields
}

func (*Http) Descriptor deprecated

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

Deprecated: Use Http.ProtoReflect.Descriptor instead.

func (*Http) GetProtocol

func (x *Http) GetProtocol() string

func (*Http) GetUrl

func (x *Http) GetUrl() *Http_Url

func (*Http) GetVersionDefault

func (x *Http) GetVersionDefault() string

func (*Http) GetVersionReplace

func (x *Http) GetVersionReplace() string

func (*Http) GetVersionUpdate

func (x *Http) GetVersionUpdate() string

func (*Http) ProtoMessage

func (*Http) ProtoMessage()

func (*Http) ProtoReflect

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

func (*Http) Reset

func (x *Http) Reset()

func (*Http) String

func (x *Http) String() string

type Http_Url

type Http_Url struct {
	Scheme string `protobuf:"bytes,1,opt,name=scheme,json=Scheme,proto3" json:"schema_tag,omitempty"` //  string scheme = 1[json_name = "Scheme"];
	// contains filtered or unexported fields
}

func (*Http_Url) Descriptor deprecated

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

Deprecated: Use Http_Url.ProtoReflect.Descriptor instead.

func (*Http_Url) GetScheme

func (x *Http_Url) GetScheme() string

func (*Http_Url) ProtoMessage

func (*Http_Url) ProtoMessage()

func (*Http_Url) ProtoReflect

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

func (*Http_Url) Reset

func (x *Http_Url) Reset()

func (*Http_Url) String

func (x *Http_Url) String() string

Jump to

Keyboard shortcuts

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