logging

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

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RuntimeEvent_EventType_name = map[int32]string{
		0: "EVENT_TYPE_UNSPECIFIED",
		1: "RUNTIME_STATE_CHANGE_EVENT",
	}
	RuntimeEvent_EventType_value = map[string]int32{
		"EVENT_TYPE_UNSPECIFIED":     0,
		"RUNTIME_STATE_CHANGE_EVENT": 1,
	}
)

Enum value maps for RuntimeEvent_EventType.

View Source
var File_google_cloud_notebooks_logging_v1_runtime_log_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type RuntimeEvent

type RuntimeEvent struct {

	// Required. Type of event.
	Type RuntimeEvent_EventType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.notebooks.logging.v1.RuntimeEvent_EventType" json:"type,omitempty"`
	// Optional. Additional metadata for the event.
	Details map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

Log content of an event related to a runtime.

func (*RuntimeEvent) Descriptor deprecated

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

Deprecated: Use RuntimeEvent.ProtoReflect.Descriptor instead.

func (*RuntimeEvent) GetDetails

func (x *RuntimeEvent) GetDetails() map[string]string

func (*RuntimeEvent) GetType

func (x *RuntimeEvent) GetType() RuntimeEvent_EventType

func (*RuntimeEvent) ProtoMessage

func (*RuntimeEvent) ProtoMessage()

func (*RuntimeEvent) ProtoReflect

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

func (*RuntimeEvent) Reset

func (x *RuntimeEvent) Reset()

func (*RuntimeEvent) String

func (x *RuntimeEvent) String() string

type RuntimeEvent_EventType

type RuntimeEvent_EventType int32

Defines event type.

const (
	// Event is not specified.
	RuntimeEvent_EVENT_TYPE_UNSPECIFIED RuntimeEvent_EventType = 0
	// Runtime state has been updated.
	RuntimeEvent_RUNTIME_STATE_CHANGE_EVENT RuntimeEvent_EventType = 1
)

func (RuntimeEvent_EventType) Descriptor

func (RuntimeEvent_EventType) Enum

func (RuntimeEvent_EventType) EnumDescriptor deprecated

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

Deprecated: Use RuntimeEvent_EventType.Descriptor instead.

func (RuntimeEvent_EventType) Number

func (RuntimeEvent_EventType) String

func (x RuntimeEvent_EventType) String() string

func (RuntimeEvent_EventType) Type

Jump to

Keyboard shortcuts

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