Documentation ¶
Index ¶
- Variables
- type CustomHttpPattern
- func (*CustomHttpPattern) Descriptor() ([]byte, []int)deprecated
- func (x *CustomHttpPattern) GetKind() string
- func (x *CustomHttpPattern) GetPath() string
- func (*CustomHttpPattern) ProtoMessage()
- func (x *CustomHttpPattern) ProtoReflect() protoreflect.Message
- func (x *CustomHttpPattern) Reset()
- func (x *CustomHttpPattern) String() string
- type Http
- type HttpRule
- func (*HttpRule) Descriptor() ([]byte, []int)deprecated
- func (x *HttpRule) GetAdditionalBindings() []*HttpRule
- func (x *HttpRule) GetBody() string
- func (x *HttpRule) GetCustom() *CustomHttpPattern
- func (x *HttpRule) GetDelete() string
- func (x *HttpRule) GetGet() string
- func (x *HttpRule) GetPatch() string
- func (m *HttpRule) GetPattern() isHttpRule_Pattern
- func (x *HttpRule) GetPost() string
- func (x *HttpRule) GetPut() string
- func (x *HttpRule) GetResponseBody() string
- func (x *HttpRule) GetSelector() string
- func (*HttpRule) ProtoMessage()
- func (x *HttpRule) ProtoReflect() protoreflect.Message
- func (x *HttpRule) Reset()
- func (x *HttpRule) String() string
- type HttpRule_Custom
- type HttpRule_Delete
- type HttpRule_Get
- type HttpRule_Patch
- type HttpRule_Post
- type HttpRule_Put
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) GetFullyDecodeReservedExpansion ¶
func (*Http) ProtoReflect ¶
func (x *Http) ProtoReflect() protoreflect.Message
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) GetCustom ¶
func (x *HttpRule) GetCustom() *CustomHttpPattern
func (*HttpRule) ProtoReflect ¶
func (x *HttpRule) ProtoReflect() protoreflect.Message
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"`
}
Click to show internal directories.
Click to hide internal directories.