package logging

import "google.golang.org/genproto/googleapis/cloud/notebooks/logging/v1"

Index

Variables

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.

var File_google_cloud_notebooks_logging_v1_runtime_log_proto protoreflect.FileDescriptor

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 `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// contains filtered or unexported fields
}

Log content of an event related to a runtime.

func (*RuntimeEvent) Descriptor

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

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

Source Files

runtime_log.pb.go

Version
v0.0.0-20250219182151-9fdb1cabc7b2 (latest)
Published
Feb 19, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
1 hour ago

Tools for package owners.