pikatestpb

package
v0.0.0-...-b5cc282 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "STATUS_OK",
		2: "STATUS_ERROR",
		3: "STATUS_CANCELED",
		4: "STATUS_TEST2",
		5: "STATUS_TEST3",
		6: "STATUS_TEST4",
	}
	Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"STATUS_OK":          1,
		"STATUS_ERROR":       2,
		"STATUS_CANCELED":    3,
		"STATUS_TEST2":       4,
		"STATUS_TEST3":       5,
		"STATUS_TEST4":       6,
	}
)

Enum value maps for Status.

Functions

This section is empty.

Types

type Complete3

type Complete3 struct {
	Str          string                 `protobuf:"bytes,1,opt,name=str,proto3" json:"str,omitempty"`
	NullableInt  *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=nullable_int,json=nullableInt,proto3" json:"nullable_int,omitempty"`
	NullableBool *wrapperspb.BoolValue  `protobuf:"bytes,3,opt,name=nullable_bool,json=nullableBool,proto3" json:"nullable_bool,omitempty"`
	Bool         bool                   `protobuf:"varint,4,opt,name=bool,proto3" json:"bool,omitempty"`
	Timestamp    *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Status       Status                 `protobuf:"varint,6,opt,name=status,proto3,enum=Status" json:"status,omitempty"`
	Strs         []string               `protobuf:"bytes,7,rep,name=strs,proto3" json:"strs,omitempty"`
	// contains filtered or unexported fields
}

func (*Complete3) Descriptor deprecated

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

Deprecated: Use Complete3.ProtoReflect.Descriptor instead.

func (*Complete3) GetBool

func (x *Complete3) GetBool() bool

func (*Complete3) GetNullableBool

func (x *Complete3) GetNullableBool() *wrapperspb.BoolValue

func (*Complete3) GetNullableInt

func (x *Complete3) GetNullableInt() *wrapperspb.Int32Value

func (*Complete3) GetStatus

func (x *Complete3) GetStatus() Status

func (*Complete3) GetStr

func (x *Complete3) GetStr() string

func (*Complete3) GetStrs

func (x *Complete3) GetStrs() []string

func (*Complete3) GetTimestamp

func (x *Complete3) GetTimestamp() *timestamppb.Timestamp

func (*Complete3) ProtoMessage

func (*Complete3) ProtoMessage()

func (*Complete3) ProtoReflect

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

func (*Complete3) Reset

func (x *Complete3) Reset()

func (*Complete3) String

func (x *Complete3) String() string

type Simple1

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

func (*Simple1) Descriptor deprecated

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

Deprecated: Use Simple1.ProtoReflect.Descriptor instead.

func (*Simple1) GetName

func (x *Simple1) GetName() string

func (*Simple1) ProtoMessage

func (*Simple1) ProtoMessage()

func (*Simple1) ProtoReflect

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

func (*Simple1) Reset

func (x *Simple1) Reset()

func (*Simple1) String

func (x *Simple1) String() string

type SimpleModel1

type SimpleModel1 struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Title       string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*SimpleModel1) Descriptor deprecated

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

Deprecated: Use SimpleModel1.ProtoReflect.Descriptor instead.

func (*SimpleModel1) GetDescription

func (x *SimpleModel1) GetDescription() string

func (*SimpleModel1) GetId

func (x *SimpleModel1) GetId() int64

func (*SimpleModel1) GetTitle

func (x *SimpleModel1) GetTitle() string

func (*SimpleModel1) ProtoMessage

func (*SimpleModel1) ProtoMessage()

func (*SimpleModel1) ProtoReflect

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

func (*SimpleModel1) Reset

func (x *SimpleModel1) Reset()

func (*SimpleModel1) String

func (x *SimpleModel1) String() string

type SimpleWrappers2

type SimpleWrappers2 struct {
	Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*SimpleWrappers2) Descriptor deprecated

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

Deprecated: Use SimpleWrappers2.ProtoReflect.Descriptor instead.

func (*SimpleWrappers2) GetName

func (x *SimpleWrappers2) GetName() *wrapperspb.StringValue

func (*SimpleWrappers2) ProtoMessage

func (*SimpleWrappers2) ProtoMessage()

func (*SimpleWrappers2) ProtoReflect

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

func (*SimpleWrappers2) Reset

func (x *SimpleWrappers2) Reset()

func (*SimpleWrappers2) String

func (x *SimpleWrappers2) String() string

type Status

type Status int32
const (
	Status_STATUS_UNSPECIFIED Status = 0
	Status_STATUS_OK          Status = 1
	Status_STATUS_ERROR       Status = 2
	Status_STATUS_CANCELED    Status = 3
	Status_STATUS_TEST2       Status = 4
	Status_STATUS_TEST3       Status = 5
	Status_STATUS_TEST4       Status = 6
)

func (Status) Descriptor

func (Status) Descriptor() protoreflect.EnumDescriptor

func (Status) Enum

func (x Status) Enum() *Status

func (Status) EnumDescriptor deprecated

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

Deprecated: Use Status.Descriptor instead.

func (Status) Number

func (x Status) Number() protoreflect.EnumNumber

func (Status) String

func (x Status) String() string

func (Status) Type

func (Status) Type() protoreflect.EnumType

type TestRequest1

type TestRequest1 struct {
	PageSize  int32  `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Filter    string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	OrderBy   string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*TestRequest1) Descriptor deprecated

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

Deprecated: Use TestRequest1.ProtoReflect.Descriptor instead.

func (*TestRequest1) GetFilter

func (x *TestRequest1) GetFilter() string

func (*TestRequest1) GetOrderBy

func (x *TestRequest1) GetOrderBy() string

func (*TestRequest1) GetPageSize

func (x *TestRequest1) GetPageSize() int32

func (*TestRequest1) GetPageToken

func (x *TestRequest1) GetPageToken() string

func (*TestRequest1) ProtoMessage

func (*TestRequest1) ProtoMessage()

func (*TestRequest1) ProtoReflect

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

func (*TestRequest1) Reset

func (x *TestRequest1) Reset()

func (*TestRequest1) String

func (x *TestRequest1) String() string

Jump to

Keyboard shortcuts

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