Documentation ¶
Index ¶
- Variables
- type AllType
- func (*AllType) Descriptor() ([]byte, []int)deprecated
- func (x *AllType) GetAny() []*AnyType
- func (x *AllType) GetBool() bool
- func (x *AllType) GetByteSlice() []byte
- func (x *AllType) GetCreatedAt() *_type.DateTime
- func (x *AllType) GetEnum() EnumType
- func (x *AllType) GetFloat32() float32
- func (x *AllType) GetFloat64() float64
- func (x *AllType) GetInt32() int32
- func (x *AllType) GetInt32_2() int32
- func (x *AllType) GetInt32_3() int32
- func (x *AllType) GetInt64() int64
- func (x *AllType) GetInt64_2() int64
- func (x *AllType) GetInt64_3() int64
- func (x *AllType) GetMap() map[string]string
- func (x *AllType) GetString_() []string
- func (x *AllType) GetUint32() uint32
- func (x *AllType) GetUint32_2() uint32
- func (x *AllType) GetUint64() uint64
- func (x *AllType) GetUint64_2() uint64
- func (*AllType) ProtoMessage()
- func (x *AllType) ProtoReflect() protoreflect.Message
- func (x *AllType) Reset()
- func (x *AllType) String() string
- type AnyTarget
- type AnyTargetExtend
- func (*AnyTargetExtend) Descriptor() ([]byte, []int)deprecated
- func (x *AnyTargetExtend) GetDescription() string
- func (x *AnyTargetExtend) GetId() int64
- func (x *AnyTargetExtend) GetName() string
- func (*AnyTargetExtend) ProtoMessage()
- func (x *AnyTargetExtend) ProtoReflect() protoreflect.Message
- func (x *AnyTargetExtend) Reset()
- func (x *AnyTargetExtend) String() string
- type AnyType
- type EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EnumType_name = map[int32]string{ 0: "ENUM_TYPE_UNKNOWN_UNSPECIFIED", 1: "ENUM_TYPE_STARTED", 2: "ENUM_TYPE_RUNNING", 3: "ENUM_TYPE_STOPPED", } EnumType_value = map[string]int32{ "ENUM_TYPE_UNKNOWN_UNSPECIFIED": 0, "ENUM_TYPE_STARTED": 1, "ENUM_TYPE_RUNNING": 2, "ENUM_TYPE_STOPPED": 3, } )
Enum value maps for EnumType.
View Source
var File_js_v1_alltype_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AllType ¶
type AllType struct { Float32 float32 `protobuf:"fixed32,1,opt,name=float32,proto3" json:"float32,omitempty"` Float64 float64 `protobuf:"fixed64,2,opt,name=float64,proto3" json:"float64,omitempty"` Int32 int32 `protobuf:"varint,3,opt,name=int32,proto3" json:"int32,omitempty"` Int64 int64 `protobuf:"varint,4,opt,name=int64,proto3" json:"int64,omitempty"` Uint32 uint32 `protobuf:"varint,5,opt,name=uint32,proto3" json:"uint32,omitempty"` Uint64 uint64 `protobuf:"varint,6,opt,name=uint64,proto3" json:"uint64,omitempty"` Int32_2 int32 `protobuf:"zigzag32,7,opt,name=int32_2,json=int322,proto3" json:"int32_2,omitempty"` // These more efficiently encode negative numbers than regular int32s. Int64_2 int64 `protobuf:"zigzag64,8,opt,name=int64_2,json=int642,proto3" json:"int64_2,omitempty"` Uint32_2 uint32 `protobuf:"fixed32,9,opt,name=uint32_2,json=uint322,proto3" json:"uint32_2,omitempty"` // Always four bytes. More efficient than uint32 if values are often greater than 2^28. Uint64_2 uint64 `protobuf:"fixed64,10,opt,name=uint64_2,json=uint642,proto3" json:"uint64_2,omitempty"` // Always eight bytes. More efficient than uint64 if values are often greater than 2^56. Int32_3 int32 `protobuf:"fixed32,11,opt,name=int32_3,json=int323,proto3" json:"int32_3,omitempty"` // Always four bytes. Int64_3 int64 `protobuf:"fixed64,12,opt,name=int64_3,json=int643,proto3" json:"int64_3,omitempty"` // Always eight bytes. Bool bool `protobuf:"varint,13,opt,name=bool,proto3" json:"bool,omitempty"` // the default value is false. String_ []string `protobuf:"bytes,14,rep,name=string,proto3" json:"string,omitempty"` // the default value is the empty string. ByteSlice []byte `protobuf:"bytes,15,opt,name=byte_slice,json=byteSlice,proto3" json:"byte_slice,omitempty"` // the default value is empty bytes. Map map[string]string `` /* 148-byte string literal not displayed */ Enum EnumType `protobuf:"varint,17,opt,name=enum,proto3,enum=js.v1.EnumType" json:"enum,omitempty"` // If the Any contains a value that has a special JSON mapping, // it will be converted as follows: {"@type": xxx, "value": yyy}. // Otherwise, the value will be converted into a JSON object Any []*AnyType `protobuf:"bytes,18,rep,name=any,proto3" json:"any,omitempty"` CreatedAt *_type.DateTime `protobuf:"bytes,19,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*AllType) Descriptor
deprecated
func (*AllType) GetByteSlice ¶
func (*AllType) GetCreatedAt ¶
func (*AllType) GetFloat32 ¶
func (*AllType) GetFloat64 ¶
func (*AllType) GetInt32_2 ¶
func (*AllType) GetInt32_3 ¶
func (*AllType) GetInt64_2 ¶
func (*AllType) GetInt64_3 ¶
func (*AllType) GetString_ ¶
func (*AllType) GetUint32_2 ¶
func (*AllType) GetUint64_2 ¶
func (*AllType) ProtoMessage ¶
func (*AllType) ProtoMessage()
func (*AllType) ProtoReflect ¶
func (x *AllType) ProtoReflect() protoreflect.Message
type AnyTarget ¶
type AnyTarget struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*AnyTarget) Descriptor
deprecated
func (*AnyTarget) ProtoMessage ¶
func (*AnyTarget) ProtoMessage()
func (*AnyTarget) ProtoReflect ¶
func (x *AnyTarget) ProtoReflect() protoreflect.Message
type AnyTargetExtend ¶
type AnyTargetExtend struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*AnyTargetExtend) Descriptor
deprecated
func (*AnyTargetExtend) Descriptor() ([]byte, []int)
Deprecated: Use AnyTargetExtend.ProtoReflect.Descriptor instead.
func (*AnyTargetExtend) GetDescription ¶
func (x *AnyTargetExtend) GetDescription() string
func (*AnyTargetExtend) GetId ¶
func (x *AnyTargetExtend) GetId() int64
func (*AnyTargetExtend) GetName ¶
func (x *AnyTargetExtend) GetName() string
func (*AnyTargetExtend) ProtoMessage ¶
func (*AnyTargetExtend) ProtoMessage()
func (*AnyTargetExtend) ProtoReflect ¶
func (x *AnyTargetExtend) ProtoReflect() protoreflect.Message
func (*AnyTargetExtend) Reset ¶
func (x *AnyTargetExtend) Reset()
func (*AnyTargetExtend) String ¶
func (x *AnyTargetExtend) String() string
type AnyType ¶
type AnyType struct { Any *anypb.Any `protobuf:"bytes,1,opt,name=any,proto3" json:"any,omitempty"` // contains filtered or unexported fields }
func (*AnyType) Descriptor
deprecated
func (*AnyType) ProtoMessage ¶
func (*AnyType) ProtoMessage()
func (*AnyType) ProtoReflect ¶
func (x *AnyType) ProtoReflect() protoreflect.Message
type EnumType ¶
type EnumType int32
func (EnumType) Descriptor ¶
func (EnumType) Descriptor() protoreflect.EnumDescriptor
func (EnumType) EnumDescriptor
deprecated
func (EnumType) Number ¶
func (x EnumType) Number() protoreflect.EnumNumber
func (EnumType) Type ¶
func (EnumType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.