jsv1

package
v0.0.0-...-3c2c5f1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use AllType.ProtoReflect.Descriptor instead.

func (*AllType) GetAny

func (x *AllType) GetAny() []*AnyType

func (*AllType) GetBool

func (x *AllType) GetBool() bool

func (*AllType) GetByteSlice

func (x *AllType) GetByteSlice() []byte

func (*AllType) GetCreatedAt

func (x *AllType) GetCreatedAt() *_type.DateTime

func (*AllType) GetEnum

func (x *AllType) GetEnum() EnumType

func (*AllType) GetFloat32

func (x *AllType) GetFloat32() float32

func (*AllType) GetFloat64

func (x *AllType) GetFloat64() float64

func (*AllType) GetInt32

func (x *AllType) GetInt32() int32

func (*AllType) GetInt32_2

func (x *AllType) GetInt32_2() int32

func (*AllType) GetInt32_3

func (x *AllType) GetInt32_3() int32

func (*AllType) GetInt64

func (x *AllType) GetInt64() int64

func (*AllType) GetInt64_2

func (x *AllType) GetInt64_2() int64

func (*AllType) GetInt64_3

func (x *AllType) GetInt64_3() int64

func (*AllType) GetMap

func (x *AllType) GetMap() map[string]string

func (*AllType) GetString_

func (x *AllType) GetString_() []string

func (*AllType) GetUint32

func (x *AllType) GetUint32() uint32

func (*AllType) GetUint32_2

func (x *AllType) GetUint32_2() uint32

func (*AllType) GetUint64

func (x *AllType) GetUint64() uint64

func (*AllType) GetUint64_2

func (x *AllType) GetUint64_2() uint64

func (*AllType) ProtoMessage

func (*AllType) ProtoMessage()

func (*AllType) ProtoReflect

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

func (*AllType) Reset

func (x *AllType) Reset()

func (*AllType) String

func (x *AllType) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use AnyTarget.ProtoReflect.Descriptor instead.

func (*AnyTarget) GetId

func (x *AnyTarget) GetId() int64

func (*AnyTarget) GetName

func (x *AnyTarget) GetName() string

func (*AnyTarget) ProtoMessage

func (*AnyTarget) ProtoMessage()

func (*AnyTarget) ProtoReflect

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

func (*AnyTarget) Reset

func (x *AnyTarget) Reset()

func (*AnyTarget) String

func (x *AnyTarget) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use AnyType.ProtoReflect.Descriptor instead.

func (*AnyType) GetAny

func (x *AnyType) GetAny() *anypb.Any

func (*AnyType) ProtoMessage

func (*AnyType) ProtoMessage()

func (*AnyType) ProtoReflect

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

func (*AnyType) Reset

func (x *AnyType) Reset()

func (*AnyType) String

func (x *AnyType) String() string

type EnumType

type EnumType int32
const (
	EnumType_ENUM_TYPE_UNKNOWN_UNSPECIFIED EnumType = 0
	EnumType_ENUM_TYPE_STARTED             EnumType = 1
	EnumType_ENUM_TYPE_RUNNING             EnumType = 2
	EnumType_ENUM_TYPE_STOPPED             EnumType = 3
)

func (EnumType) Descriptor

func (EnumType) Descriptor() protoreflect.EnumDescriptor

func (EnumType) Enum

func (x EnumType) Enum() *EnumType

func (EnumType) EnumDescriptor deprecated

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

Deprecated: Use EnumType.Descriptor instead.

func (EnumType) Number

func (x EnumType) Number() protoreflect.EnumNumber

func (EnumType) String

func (x EnumType) String() string

func (EnumType) Type

Jump to

Keyboard shortcuts

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