testpb

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_request_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type A

type A struct {
	StringValue  string   `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"`
	IntValue     int64    `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3" json:"int_value,omitempty"`
	StringSlice  []string `protobuf:"bytes,3,rep,name=string_slice,json=stringSlice,proto3" json:"string_slice,omitempty"`
	NestedStruct *B       `protobuf:"bytes,4,opt,name=nested_struct,json=nestedStruct,proto3" json:"nested_struct,omitempty"`
	StructSlice  []*C     `protobuf:"bytes,5,rep,name=struct_slice,json=structSlice,proto3" json:"struct_slice,omitempty"`
	// contains filtered or unexported fields
}

func (*A) Descriptor deprecated

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

Deprecated: Use A.ProtoReflect.Descriptor instead.

func (*A) GetIntValue

func (x *A) GetIntValue() int64

func (*A) GetNestedStruct

func (x *A) GetNestedStruct() *B

func (*A) GetStringSlice

func (x *A) GetStringSlice() []string

func (*A) GetStringValue

func (x *A) GetStringValue() string

func (*A) GetStructSlice

func (x *A) GetStructSlice() []*C

func (*A) ProtoMessage

func (*A) ProtoMessage()

func (*A) ProtoReflect

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

func (*A) Reset

func (x *A) Reset()

func (*A) String

func (x *A) String() string

type B

type B struct {
	StringValue string   `protobuf:"bytes,1,opt,name=string_value,json=valueString,proto3" json:"string_value,omitempty"`
	IntValue    int64    `protobuf:"varint,2,opt,name=int_value,json=valueInt,proto3" json:"int_value,omitempty"`
	StringSlice []string `protobuf:"bytes,3,rep,name=string_slice,json=sliceString,proto3" json:"string_slice,omitempty"`
	// contains filtered or unexported fields
}

func (*B) Descriptor deprecated

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

Deprecated: Use B.ProtoReflect.Descriptor instead.

func (*B) GetIntValue

func (x *B) GetIntValue() int64

func (*B) GetStringSlice

func (x *B) GetStringSlice() []string

func (*B) GetStringValue

func (x *B) GetStringValue() string

func (*B) ProtoMessage

func (*B) ProtoMessage()

func (*B) ProtoReflect

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

func (*B) Reset

func (x *B) Reset()

func (*B) String

func (x *B) String() string

type C

type C struct {
	StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"`
	IntValue    int64  `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3" json:"int_value,omitempty"`
	// contains filtered or unexported fields
}

func (*C) Descriptor deprecated

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

Deprecated: Use C.ProtoReflect.Descriptor instead.

func (*C) GetIntValue

func (x *C) GetIntValue() int64

func (*C) GetStringValue

func (x *C) GetStringValue() string

func (*C) ProtoMessage

func (*C) ProtoMessage()

func (*C) ProtoReflect

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

func (*C) Reset

func (x *C) Reset()

func (*C) String

func (x *C) String() string

Jump to

Keyboard shortcuts

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