system

package
v2.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SystemServiceError_ErrorCode_name = map[int32]string{
		0: "OK",
		1: "INTERNAL_ERROR",
		2: "BACKEND_REQUIRED",
		3: "LIMIT_REACHED",
	}
	SystemServiceError_ErrorCode_value = map[string]int32{
		"OK":               0,
		"INTERNAL_ERROR":   1,
		"BACKEND_REQUIRED": 2,
		"LIMIT_REACHED":    3,
	}
)

Enum value maps for SystemServiceError_ErrorCode.

View Source
var File_system_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GetSystemStatsRequest

type GetSystemStatsRequest struct {
	// contains filtered or unexported fields
}

func (*GetSystemStatsRequest) Descriptor deprecated

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

Deprecated: Use GetSystemStatsRequest.ProtoReflect.Descriptor instead.

func (*GetSystemStatsRequest) ProtoMessage

func (*GetSystemStatsRequest) ProtoMessage()

func (*GetSystemStatsRequest) ProtoReflect added in v2.0.4

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

func (*GetSystemStatsRequest) Reset

func (x *GetSystemStatsRequest) Reset()

func (*GetSystemStatsRequest) String

func (x *GetSystemStatsRequest) String() string

type GetSystemStatsResponse

type GetSystemStatsResponse struct {

	// CPU used by this instance, in mcycles.
	Cpu *SystemStat `protobuf:"bytes,1,opt,name=cpu" json:"cpu,omitempty"`
	// Physical memory (RAM) used by this instance, in megabytes.
	Memory *SystemStat `protobuf:"bytes,2,opt,name=memory" json:"memory,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSystemStatsResponse) Descriptor deprecated

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

Deprecated: Use GetSystemStatsResponse.ProtoReflect.Descriptor instead.

func (*GetSystemStatsResponse) GetCpu

func (x *GetSystemStatsResponse) GetCpu() *SystemStat

func (*GetSystemStatsResponse) GetMemory

func (x *GetSystemStatsResponse) GetMemory() *SystemStat

func (*GetSystemStatsResponse) ProtoMessage

func (*GetSystemStatsResponse) ProtoMessage()

func (*GetSystemStatsResponse) ProtoReflect added in v2.0.4

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

func (*GetSystemStatsResponse) Reset

func (x *GetSystemStatsResponse) Reset()

func (*GetSystemStatsResponse) String

func (x *GetSystemStatsResponse) String() string

type StartBackgroundRequestRequest

type StartBackgroundRequestRequest struct {
	// contains filtered or unexported fields
}

func (*StartBackgroundRequestRequest) Descriptor deprecated

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

Deprecated: Use StartBackgroundRequestRequest.ProtoReflect.Descriptor instead.

func (*StartBackgroundRequestRequest) ProtoMessage

func (*StartBackgroundRequestRequest) ProtoMessage()

func (*StartBackgroundRequestRequest) ProtoReflect added in v2.0.4

func (*StartBackgroundRequestRequest) Reset

func (x *StartBackgroundRequestRequest) Reset()

func (*StartBackgroundRequestRequest) String

type StartBackgroundRequestResponse

type StartBackgroundRequestResponse struct {

	// Every /_ah/background request will have an X-AppEngine-BackgroundRequest
	// header, whose value will be equal to this parameter, the request_id.
	RequestId *string `protobuf:"bytes,1,opt,name=request_id,json=requestId" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartBackgroundRequestResponse) Descriptor deprecated

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

Deprecated: Use StartBackgroundRequestResponse.ProtoReflect.Descriptor instead.

func (*StartBackgroundRequestResponse) GetRequestId

func (x *StartBackgroundRequestResponse) GetRequestId() string

func (*StartBackgroundRequestResponse) ProtoMessage

func (*StartBackgroundRequestResponse) ProtoMessage()

func (*StartBackgroundRequestResponse) ProtoReflect added in v2.0.4

func (*StartBackgroundRequestResponse) Reset

func (x *StartBackgroundRequestResponse) Reset()

func (*StartBackgroundRequestResponse) String

type SystemServiceError

type SystemServiceError struct {
	// contains filtered or unexported fields
}

func (*SystemServiceError) Descriptor deprecated

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

Deprecated: Use SystemServiceError.ProtoReflect.Descriptor instead.

func (*SystemServiceError) ProtoMessage

func (*SystemServiceError) ProtoMessage()

func (*SystemServiceError) ProtoReflect added in v2.0.4

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

func (*SystemServiceError) Reset

func (x *SystemServiceError) Reset()

func (*SystemServiceError) String

func (x *SystemServiceError) String() string

type SystemServiceError_ErrorCode

type SystemServiceError_ErrorCode int32
const (
	SystemServiceError_OK               SystemServiceError_ErrorCode = 0
	SystemServiceError_INTERNAL_ERROR   SystemServiceError_ErrorCode = 1
	SystemServiceError_BACKEND_REQUIRED SystemServiceError_ErrorCode = 2
	SystemServiceError_LIMIT_REACHED    SystemServiceError_ErrorCode = 3
)

func (SystemServiceError_ErrorCode) Descriptor added in v2.0.4

func (SystemServiceError_ErrorCode) Enum

func (SystemServiceError_ErrorCode) EnumDescriptor deprecated

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

Deprecated: Use SystemServiceError_ErrorCode.Descriptor instead.

func (SystemServiceError_ErrorCode) Number added in v2.0.4

func (SystemServiceError_ErrorCode) String

func (SystemServiceError_ErrorCode) Type added in v2.0.4

func (*SystemServiceError_ErrorCode) UnmarshalJSON deprecated

func (x *SystemServiceError_ErrorCode) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SystemStat

type SystemStat struct {

	// Instaneous value of this stat.
	Current *float64 `protobuf:"fixed64,1,opt,name=current" json:"current,omitempty"`
	// Average over time, if this stat has an instaneous value.
	Average1M  *float64 `protobuf:"fixed64,3,opt,name=average1m" json:"average1m,omitempty"`
	Average10M *float64 `protobuf:"fixed64,4,opt,name=average10m" json:"average10m,omitempty"`
	// Total value, if the stat accumulates over time.
	Total *float64 `protobuf:"fixed64,2,opt,name=total" json:"total,omitempty"`
	// Rate over time, if this stat accumulates.
	Rate1M  *float64 `protobuf:"fixed64,5,opt,name=rate1m" json:"rate1m,omitempty"`
	Rate10M *float64 `protobuf:"fixed64,6,opt,name=rate10m" json:"rate10m,omitempty"`
	// contains filtered or unexported fields
}

func (*SystemStat) Descriptor deprecated

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

Deprecated: Use SystemStat.ProtoReflect.Descriptor instead.

func (*SystemStat) GetAverage10M

func (x *SystemStat) GetAverage10M() float64

func (*SystemStat) GetAverage1M

func (x *SystemStat) GetAverage1M() float64

func (*SystemStat) GetCurrent

func (x *SystemStat) GetCurrent() float64

func (*SystemStat) GetRate10M

func (x *SystemStat) GetRate10M() float64

func (*SystemStat) GetRate1M

func (x *SystemStat) GetRate1M() float64

func (*SystemStat) GetTotal

func (x *SystemStat) GetTotal() float64

func (*SystemStat) ProtoMessage

func (*SystemStat) ProtoMessage()

func (*SystemStat) ProtoReflect added in v2.0.4

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

func (*SystemStat) Reset

func (x *SystemStat) Reset()

func (*SystemStat) String

func (x *SystemStat) String() string

Jump to

Keyboard shortcuts

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