service

package
v0.0.0-...-444b594 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MyMessage1_EnumAllowingAlias_name = map[int32]string{
		0: "UNKNOWN",
		1: "STARTED",
	}
	MyMessage1_EnumAllowingAlias_value = map[string]int32{
		"UNKNOWN": 0,
		"STARTED": 1,
		"RUNNING": 1,
	}
)

Enum value maps for MyMessage1_EnumAllowingAlias.

View Source
var File_hello_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AResponse

type AResponse struct {
	Value string            `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Tags  map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AResponse) Descriptor deprecated

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

Deprecated: Use AResponse.ProtoReflect.Descriptor instead.

func (*AResponse) GetTags

func (x *AResponse) GetTags() map[string]string

func (*AResponse) GetValue

func (x *AResponse) GetValue() string

func (*AResponse) ProtoMessage

func (*AResponse) ProtoMessage()

func (*AResponse) ProtoReflect

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

func (*AResponse) Reset

func (x *AResponse) Reset()

func (*AResponse) String

func (x *AResponse) String() string

type ErrorStatus

type ErrorStatus struct {
	Message string       `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Detail  []*anypb.Any `protobuf:"bytes,2,rep,name=detail,proto3" json:"detail,omitempty"`
	// contains filtered or unexported fields
}
message test{
 enum Foo {
 reserved 2, 15, 9 to 11, 40 to max;
 reserved "FOO", "BAR";
}

}

func (*ErrorStatus) Descriptor deprecated

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

Deprecated: Use ErrorStatus.ProtoReflect.Descriptor instead.

func (*ErrorStatus) GetDetail

func (x *ErrorStatus) GetDetail() []*anypb.Any

func (*ErrorStatus) GetMessage

func (x *ErrorStatus) GetMessage() string

func (*ErrorStatus) ProtoMessage

func (*ErrorStatus) ProtoMessage()

func (*ErrorStatus) ProtoReflect

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

func (*ErrorStatus) Reset

func (x *ErrorStatus) Reset()

func (*ErrorStatus) String

func (x *ErrorStatus) String() string

type MyMessage1

type MyMessage1 struct {
	// contains filtered or unexported fields
}

func (*MyMessage1) Descriptor deprecated

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

Deprecated: Use MyMessage1.ProtoReflect.Descriptor instead.

func (*MyMessage1) ProtoMessage

func (*MyMessage1) ProtoMessage()

func (*MyMessage1) ProtoReflect

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

func (*MyMessage1) Reset

func (x *MyMessage1) Reset()

func (*MyMessage1) String

func (x *MyMessage1) String() string

type MyMessage1_EnumAllowingAlias

type MyMessage1_EnumAllowingAlias int32
const (
	MyMessage1_UNKNOWN MyMessage1_EnumAllowingAlias = 0
	MyMessage1_STARTED MyMessage1_EnumAllowingAlias = 1
	MyMessage1_RUNNING MyMessage1_EnumAllowingAlias = 1
)

func (MyMessage1_EnumAllowingAlias) Descriptor

func (MyMessage1_EnumAllowingAlias) Enum

func (MyMessage1_EnumAllowingAlias) EnumDescriptor deprecated

func (MyMessage1_EnumAllowingAlias) EnumDescriptor() ([]byte, []int)

Deprecated: Use MyMessage1_EnumAllowingAlias.Descriptor instead.

func (MyMessage1_EnumAllowingAlias) Number

func (MyMessage1_EnumAllowingAlias) String

func (MyMessage1_EnumAllowingAlias) Type

type Request

type Request struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetValue

func (x *Request) GetValue() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

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

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type Response

type Response struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetValue

func (x *Response) GetValue() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

Jump to

Keyboard shortcuts

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