gateway_test

package
v2.0.0-...-fd440d1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_gateway_internal_test_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BadResult

type BadResult struct {
	Success []*User `protobuf:"bytes,1,rep,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*BadResult) Descriptor deprecated

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

Deprecated: Use BadResult.ProtoReflect.Descriptor instead.

func (*BadResult) GetSuccess

func (x *BadResult) GetSuccess() []*User

func (*BadResult) ProtoMessage

func (*BadResult) ProtoMessage()

func (*BadResult) ProtoReflect

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

func (*BadResult) Reset

func (x *BadResult) Reset()

func (*BadResult) String

func (x *BadResult) String() string

type Result

type Result struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*Result) Descriptor deprecated

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

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetUsers

func (x *Result) GetUsers() []*User

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

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

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

type User

type User struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Age  int32  `protobuf:"varint,2,opt,name=age,proto3" json:"age,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAge

func (x *User) GetAge() int32

func (*User) GetName

func (x *User) GetName() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserWithPtr

type UserWithPtr struct {
	PtrValue *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=ptr_value,json=ptrValue,proto3" json:"ptr_value,omitempty"`
	// contains filtered or unexported fields
}

func (*UserWithPtr) Descriptor deprecated

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

Deprecated: Use UserWithPtr.ProtoReflect.Descriptor instead.

func (*UserWithPtr) GetPtrValue

func (x *UserWithPtr) GetPtrValue() *wrapperspb.Int64Value

func (*UserWithPtr) ProtoMessage

func (*UserWithPtr) ProtoMessage()

func (*UserWithPtr) ProtoReflect

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

func (*UserWithPtr) Reset

func (x *UserWithPtr) Reset()

func (*UserWithPtr) String

func (x *UserWithPtr) String() string

type UserWithPtrResult

type UserWithPtrResult struct {
	Result *UserWithPtr `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*UserWithPtrResult) Descriptor deprecated

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

Deprecated: Use UserWithPtrResult.ProtoReflect.Descriptor instead.

func (*UserWithPtrResult) GetResult

func (x *UserWithPtrResult) GetResult() *UserWithPtr

func (*UserWithPtrResult) ProtoMessage

func (*UserWithPtrResult) ProtoMessage()

func (*UserWithPtrResult) ProtoReflect

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

func (*UserWithPtrResult) Reset

func (x *UserWithPtrResult) Reset()

func (*UserWithPtrResult) String

func (x *UserWithPtrResult) String() string

Jump to

Keyboard shortcuts

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