Documentation
¶
Index ¶
- Variables
- type Complete3
- func (*Complete3) Descriptor() ([]byte, []int)deprecated
- func (x *Complete3) GetBool() bool
- func (x *Complete3) GetNullableBool() *wrapperspb.BoolValue
- func (x *Complete3) GetNullableInt() *wrapperspb.Int32Value
- func (x *Complete3) GetStatus() Status
- func (x *Complete3) GetStr() string
- func (x *Complete3) GetStrs() []string
- func (x *Complete3) GetTimestamp() *timestamppb.Timestamp
- func (*Complete3) ProtoMessage()
- func (x *Complete3) ProtoReflect() protoreflect.Message
- func (x *Complete3) Reset()
- func (x *Complete3) String() string
- type Simple1
- type SimpleModel1
- func (*SimpleModel1) Descriptor() ([]byte, []int)deprecated
- func (x *SimpleModel1) GetDescription() string
- func (x *SimpleModel1) GetId() int64
- func (x *SimpleModel1) GetTitle() string
- func (*SimpleModel1) ProtoMessage()
- func (x *SimpleModel1) ProtoReflect() protoreflect.Message
- func (x *SimpleModel1) Reset()
- func (x *SimpleModel1) String() string
- type SimpleWrappers2
- type Status
- type TestRequest1
- func (*TestRequest1) Descriptor() ([]byte, []int)deprecated
- func (x *TestRequest1) GetFilter() string
- func (x *TestRequest1) GetOrderBy() string
- func (x *TestRequest1) GetPageSize() int32
- func (x *TestRequest1) GetPageToken() string
- func (*TestRequest1) ProtoMessage()
- func (x *TestRequest1) ProtoReflect() protoreflect.Message
- func (x *TestRequest1) Reset()
- func (x *TestRequest1) String() string
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.
View Source
var File_test_proto protoreflect.FileDescriptor
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) GetNullableBool ¶
func (x *Complete3) GetNullableBool() *wrapperspb.BoolValue
func (*Complete3) GetNullableInt ¶
func (x *Complete3) GetNullableInt() *wrapperspb.Int32Value
func (*Complete3) GetTimestamp ¶
func (x *Complete3) GetTimestamp() *timestamppb.Timestamp
func (*Complete3) ProtoMessage ¶
func (*Complete3) ProtoMessage()
func (*Complete3) ProtoReflect ¶
func (x *Complete3) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Simple1) ProtoMessage()
func (*Simple1) ProtoReflect ¶
func (x *Simple1) ProtoReflect() protoreflect.Message
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
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
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
Click to show internal directories.
Click to hide internal directories.