system

package
v0.20.0-alpha6 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2016 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package system is a generated protocol buffer package.

It is generated from these files:

google.golang.org/appengine/internal/system/system_service.proto

It has these top-level messages:

SystemServiceError
SystemStat
GetSystemStatsRequest
GetSystemStatsResponse
StartBackgroundRequestRequest
StartBackgroundRequestResponse

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",
}
View Source
var SystemServiceError_ErrorCode_value = map[string]int32{
	"OK":               0,
	"INTERNAL_ERROR":   1,
	"BACKEND_REQUIRED": 2,
	"LIMIT_REACHED":    3,
}

Functions

This section is empty.

Types

type GetSystemStatsRequest

type GetSystemStatsRequest struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*GetSystemStatsRequest) ProtoMessage

func (*GetSystemStatsRequest) ProtoMessage()

func (*GetSystemStatsRequest) Reset

func (m *GetSystemStatsRequest) Reset()

func (*GetSystemStatsRequest) String

func (m *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"`
	XXX_unrecognized []byte      `json:"-"`
}

func (*GetSystemStatsResponse) GetCpu

func (m *GetSystemStatsResponse) GetCpu() *SystemStat

func (*GetSystemStatsResponse) GetMemory

func (m *GetSystemStatsResponse) GetMemory() *SystemStat

func (*GetSystemStatsResponse) ProtoMessage

func (*GetSystemStatsResponse) ProtoMessage()

func (*GetSystemStatsResponse) Reset

func (m *GetSystemStatsResponse) Reset()

func (*GetSystemStatsResponse) String

func (m *GetSystemStatsResponse) String() string

type StartBackgroundRequestRequest

type StartBackgroundRequestRequest struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*StartBackgroundRequestRequest) ProtoMessage

func (*StartBackgroundRequestRequest) ProtoMessage()

func (*StartBackgroundRequestRequest) Reset

func (m *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:"request_id,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*StartBackgroundRequestResponse) GetRequestId

func (m *StartBackgroundRequestResponse) GetRequestId() string

func (*StartBackgroundRequestResponse) ProtoMessage

func (*StartBackgroundRequestResponse) ProtoMessage()

func (*StartBackgroundRequestResponse) Reset

func (m *StartBackgroundRequestResponse) Reset()

func (*StartBackgroundRequestResponse) String

type SystemServiceError

type SystemServiceError struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*SystemServiceError) ProtoMessage

func (*SystemServiceError) ProtoMessage()

func (*SystemServiceError) Reset

func (m *SystemServiceError) Reset()

func (*SystemServiceError) String

func (m *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) Enum

func (SystemServiceError_ErrorCode) String

func (*SystemServiceError_ErrorCode) UnmarshalJSON

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

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"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*SystemStat) GetAverage10M

func (m *SystemStat) GetAverage10M() float64

func (*SystemStat) GetAverage1M

func (m *SystemStat) GetAverage1M() float64

func (*SystemStat) GetCurrent

func (m *SystemStat) GetCurrent() float64

func (*SystemStat) GetRate10M

func (m *SystemStat) GetRate10M() float64

func (*SystemStat) GetRate1M

func (m *SystemStat) GetRate1M() float64

func (*SystemStat) GetTotal

func (m *SystemStat) GetTotal() float64

func (*SystemStat) ProtoMessage

func (*SystemStat) ProtoMessage()

func (*SystemStat) Reset

func (m *SystemStat) Reset()

func (*SystemStat) String

func (m *SystemStat) String() string

Jump to

Keyboard shortcuts

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