api

package
v1.28.1-20230309073354... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional google.api.HttpRule http = 72295728;
	E_Http = &file_google_api_annotations_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var File_google_api_annotations_proto protoreflect.FileDescriptor
View Source
var File_google_api_http_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CustomHttpPattern

type CustomHttpPattern struct {
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomHttpPattern) Descriptor deprecated

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

Deprecated: Use CustomHttpPattern.ProtoReflect.Descriptor instead.

func (*CustomHttpPattern) GetKind

func (x *CustomHttpPattern) GetKind() string

func (*CustomHttpPattern) GetPath

func (x *CustomHttpPattern) GetPath() string

func (*CustomHttpPattern) ProtoMessage

func (*CustomHttpPattern) ProtoMessage()

func (*CustomHttpPattern) ProtoReflect

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

func (*CustomHttpPattern) Reset

func (x *CustomHttpPattern) Reset()

func (*CustomHttpPattern) String

func (x *CustomHttpPattern) String() string

type Http

type Http struct {
	Rules                        []*HttpRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
	FullyDecodeReservedExpansion bool        `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Http) Descriptor deprecated

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

Deprecated: Use Http.ProtoReflect.Descriptor instead.

func (*Http) GetFullyDecodeReservedExpansion

func (x *Http) GetFullyDecodeReservedExpansion() bool

func (*Http) GetRules

func (x *Http) GetRules() []*HttpRule

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 HttpRule

type HttpRule struct {
	Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
	// Types that are assignable to Pattern:
	//
	//	*HttpRule_Get
	//	*HttpRule_Put
	//	*HttpRule_Post
	//	*HttpRule_Delete
	//	*HttpRule_Patch
	//	*HttpRule_Custom
	Pattern            isHttpRule_Pattern `protobuf_oneof:"pattern"`
	Body               string             `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"`
	ResponseBody       string             `protobuf:"bytes,12,opt,name=response_body,json=responseBody,proto3" json:"response_body,omitempty"`
	AdditionalBindings []*HttpRule        `protobuf:"bytes,11,rep,name=additional_bindings,json=additionalBindings,proto3" json:"additional_bindings,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpRule) Descriptor deprecated

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

Deprecated: Use HttpRule.ProtoReflect.Descriptor instead.

func (*HttpRule) GetAdditionalBindings

func (x *HttpRule) GetAdditionalBindings() []*HttpRule

func (*HttpRule) GetBody

func (x *HttpRule) GetBody() string

func (*HttpRule) GetCustom

func (x *HttpRule) GetCustom() *CustomHttpPattern

func (*HttpRule) GetDelete

func (x *HttpRule) GetDelete() string

func (*HttpRule) GetGet

func (x *HttpRule) GetGet() string

func (*HttpRule) GetPatch

func (x *HttpRule) GetPatch() string

func (*HttpRule) GetPattern

func (m *HttpRule) GetPattern() isHttpRule_Pattern

func (*HttpRule) GetPost

func (x *HttpRule) GetPost() string

func (*HttpRule) GetPut

func (x *HttpRule) GetPut() string

func (*HttpRule) GetResponseBody

func (x *HttpRule) GetResponseBody() string

func (*HttpRule) GetSelector

func (x *HttpRule) GetSelector() string

func (*HttpRule) ProtoMessage

func (*HttpRule) ProtoMessage()

func (*HttpRule) ProtoReflect

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

func (*HttpRule) Reset

func (x *HttpRule) Reset()

func (*HttpRule) String

func (x *HttpRule) String() string

type HttpRule_Custom

type HttpRule_Custom struct {
	Custom *CustomHttpPattern `protobuf:"bytes,8,opt,name=custom,proto3,oneof"`
}

type HttpRule_Delete

type HttpRule_Delete struct {
	Delete string `protobuf:"bytes,5,opt,name=delete,proto3,oneof"`
}

type HttpRule_Get

type HttpRule_Get struct {
	Get string `protobuf:"bytes,2,opt,name=get,proto3,oneof"`
}

type HttpRule_Patch

type HttpRule_Patch struct {
	Patch string `protobuf:"bytes,6,opt,name=patch,proto3,oneof"`
}

type HttpRule_Post

type HttpRule_Post struct {
	Post string `protobuf:"bytes,4,opt,name=post,proto3,oneof"`
}

type HttpRule_Put

type HttpRule_Put struct {
	Put string `protobuf:"bytes,3,opt,name=put,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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