pb

package
v1.2.120 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 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"`
	TestOrderTagFormV8N string    `` /* 170-byte string literal not displayed */
	TestOrderTagV8NForm string    `` /* 170-byte string literal not displayed */
	// Types that are assignable to TestOneof:
	//
	//	*Http_Name
	//	*Http_NameNoJsonName
	TestOneof isHttp_TestOneof `protobuf_oneof:"test_oneof"`
	// contains filtered or unexported fields
}

func (*Http) Descriptor deprecated

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

Deprecated: Use Http.ProtoReflect.Descriptor instead.

func (*Http) GetName added in v1.2.30

func (x *Http) GetName() string

func (*Http) GetNameNoJsonName added in v1.2.30

func (x *Http) GetNameNoJsonName() string

func (*Http) GetProtocol

func (x *Http) GetProtocol() string

func (*Http) GetTestOneof added in v1.2.30

func (m *Http) GetTestOneof() isHttp_TestOneof

func (*Http) GetTestOrderTagFormV8N added in v1.2.118

func (x *Http) GetTestOrderTagFormV8N() string

func (*Http) GetTestOrderTagV8NForm added in v1.2.118

func (x *Http) GetTestOrderTagV8NForm() 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_Name added in v1.2.30

type Http_Name struct {
	Name string `protobuf:"bytes,6,opt,name=name,json=Name,proto3,oneof" json:"name,omitempty" validate:"required"`
}

type Http_NameNoJsonName added in v1.2.30

type Http_NameNoJsonName struct {
	NameNoJsonName string `protobuf:"bytes,7,opt,name=name_no_json_name,json=nameNoJsonName,proto3,oneof" json:"name_no_json_name,omitempty"`
}

type Http_Url

type Http_Url struct {
	Scheme string `protobuf:"bytes,1,opt,name=scheme,json=Scheme,proto3" json:"schema_tag,omitempty" validate:"required"`
	// 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