anns

package module
v0.0.0-...-c396fa1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// See `HttpRule`.
	//
	// optional gogogle.api.MqttRule mqtt = 98756431;
	E_Mqtt = &file_fourth_party_gogogle_api_mqtt_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var File_fourth_party_gogogle_api_mqtt_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Mqtt

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

func (*Mqtt) Descriptor deprecated

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

Deprecated: Use Mqtt.ProtoReflect.Descriptor instead.

func (*Mqtt) GetFullyDecodeReservedExpansion

func (x *Mqtt) GetFullyDecodeReservedExpansion() bool

func (*Mqtt) GetRules

func (x *Mqtt) GetRules() []*MqttRule

func (*Mqtt) ProtoMessage

func (*Mqtt) ProtoMessage()

func (*Mqtt) ProtoReflect

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

func (*Mqtt) Reset

func (x *Mqtt) Reset()

func (*Mqtt) String

func (x *Mqtt) String() string

type MqttRule

type MqttRule struct {
	Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
	// Types that are assignable to Pattern:
	//
	//	*MqttRule_Req
	//	*MqttRule_Upload
	Pattern            isMqttRule_Pattern `protobuf_oneof:"pattern"`
	Body               string             `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
	ResponseBody       string             `protobuf:"bytes,5,opt,name=response_body,json=responseBody,proto3" json:"response_body,omitempty"`
	AdditionalBindings []*MqttRule        `protobuf:"bytes,6,rep,name=additional_bindings,json=additionalBindings,proto3" json:"additional_bindings,omitempty"`
	// contains filtered or unexported fields
}

func (*MqttRule) Descriptor deprecated

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

Deprecated: Use MqttRule.ProtoReflect.Descriptor instead.

func (*MqttRule) GetAdditionalBindings

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

func (*MqttRule) GetBody

func (x *MqttRule) GetBody() string

func (*MqttRule) GetPattern

func (m *MqttRule) GetPattern() isMqttRule_Pattern

func (*MqttRule) GetReq

func (x *MqttRule) GetReq() string

func (*MqttRule) GetResponseBody

func (x *MqttRule) GetResponseBody() string

func (*MqttRule) GetSelector

func (x *MqttRule) GetSelector() string

func (*MqttRule) GetUpload

func (x *MqttRule) GetUpload() string

func (*MqttRule) ProtoMessage

func (*MqttRule) ProtoMessage()

func (*MqttRule) ProtoReflect

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

func (*MqttRule) Reset

func (x *MqttRule) Reset()

func (*MqttRule) String

func (x *MqttRule) String() string

type MqttRule_Req

type MqttRule_Req struct {
	Req string `protobuf:"bytes,2,opt,name=req,proto3,oneof"`
}

type MqttRule_Upload

type MqttRule_Upload struct {
	Upload string `protobuf:"bytes,3,opt,name=upload,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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