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 (
	OperationEventType_name = map[int32]string{
		0:  "OPERATION_EVENT_TYPE_UNSPECIFIED",
		1:  "OPERATION_EVENT_CREATE_CONTENT_STARTED",
		2:  "OPERATION_EVENT_CREATE_CONTENT_ENDED",
		3:  "OPERATION_EVENT_BUILD_CONTENT_STARTED",
		4:  "OPERATION_EVENT_BUILD_CONTENT_ENDED",
		5:  "OPERATION_EVENT_UPDATE_CONTENT_STARTED",
		6:  "OPERATION_EVENT_UPDATE_CONTENT_ENDED",
		7:  "OPERATION_EVENT_DELETE_CONTENT_STARTED",
		8:  "OPERATION_EVENT_DELETE_CONTENT_ENDED",
		9:  "OPERATION_EVENT_CREATE_INSTANCE_STARTED",
		10: "OPERATION_EVENT_CREATE_INSTANCE_ENDED",
		11: "OPERATION_EVENT_UPDATE_INSTANCE_STARTED",
		12: "OPERATION_EVENT_UPDATE_INSTANCE_ENDED",
		13: "OPERATION_EVENT_DELETE_INSTANCE_STARTED",
		14: "OPERATION_EVENT_DELETE_INSTANCE_ENDED",
	}
	OperationEventType_value = map[string]int32{
		"OPERATION_EVENT_TYPE_UNSPECIFIED":        0,
		"OPERATION_EVENT_CREATE_CONTENT_STARTED":  1,
		"OPERATION_EVENT_CREATE_CONTENT_ENDED":    2,
		"OPERATION_EVENT_BUILD_CONTENT_STARTED":   3,
		"OPERATION_EVENT_BUILD_CONTENT_ENDED":     4,
		"OPERATION_EVENT_UPDATE_CONTENT_STARTED":  5,
		"OPERATION_EVENT_UPDATE_CONTENT_ENDED":    6,
		"OPERATION_EVENT_DELETE_CONTENT_STARTED":  7,
		"OPERATION_EVENT_DELETE_CONTENT_ENDED":    8,
		"OPERATION_EVENT_CREATE_INSTANCE_STARTED": 9,
		"OPERATION_EVENT_CREATE_INSTANCE_ENDED":   10,
		"OPERATION_EVENT_UPDATE_INSTANCE_STARTED": 11,
		"OPERATION_EVENT_UPDATE_INSTANCE_ENDED":   12,
		"OPERATION_EVENT_DELETE_INSTANCE_STARTED": 13,
		"OPERATION_EVENT_DELETE_INSTANCE_ENDED":   14,
	}
)

Enum value maps for OperationEventType.

View Source
var (
	SessionEventType_name = map[int32]string{
		0:  "SESSION_EVENT_TYPE_UNSPECIFIED",
		1:  "SESSION_EVENT_SERVER_STREAMER_SHUTTING_DOWN",
		2:  "SESSION_EVENT_SERVER_STREAMER_READY",
		3:  "SESSION_EVENT_SERVER_STREAMER_BINARY_STARTED",
		4:  "SESSION_EVENT_SERVER_STREAMER_READ_POD_IMAGE_NAMES",
		5:  "SESSION_EVENT_SERVER_STREAMER_CONNECTED_TO_GAME",
		6:  "SESSION_EVENT_SERVER_STREAMER_CONNECTED_TO_CLIENT",
		7:  "SESSION_EVENT_SERVER_STREAMER_DISCONNECTED_FROM_CLIENT",
		8:  "SESSION_EVENT_SERVER_STREAMER_RECEIVED_CREATE_SESSION_REQUEST",
		9:  "SESSION_EVENT_SERVER_STREAMER_GAME_MESSAGE_STREAM_CLOSED",
		10: "SESSION_EVENT_SERVER_STREAMER_GAME_FRAME_STREAM_CLOSED",
		11: "SESSION_EVENT_SERVER_STREAMER_GAME_MESSAGE_STREAM_ERROR",
		12: "SESSION_EVENT_SERVER_STREAMER_GAME_AUDIO_STREAM_ERROR",
		13: "SESSION_EVENT_SERVER_STREAMER_GAME_AUDIO_STREAM_CLOSED",
		14: "SESSION_EVENT_SERVER_STREAMER_GAME_FRAME_STREAM_ERROR",
		15: "SESSION_EVENT_SERVER_GAME_DISCONNECTING_AFTER_PAUSED_TOO_LONG",
		16: "SESSION_EVENT_SERVER_STREAMER_RECEIVED_EXPERIMENT_CONFIGURATION",
		17: "SESSION_EVENT_SERVER_GAME_CONNECTED_TO_LOGGING_SERVICE",
		18: "SESSION_EVENT_SERVER_STREAMER_DETERMINED_SESSION_OPTIONS",
		19: "SESSION_EVENT_SERVER_STREAMER_KILLED_IN_MIDDLE_OF_SESSION",
		20: "SESSION_EVENT_SERVER_GAME_UPDATED_FRAME_PIPELINE",
		21: "SESSION_EVENT_SERVER_ERROR",
	}
	SessionEventType_value = map[string]int32{
		"SESSION_EVENT_TYPE_UNSPECIFIED":                                  0,
		"SESSION_EVENT_SERVER_STREAMER_SHUTTING_DOWN":                     1,
		"SESSION_EVENT_SERVER_STREAMER_READY":                             2,
		"SESSION_EVENT_SERVER_STREAMER_BINARY_STARTED":                    3,
		"SESSION_EVENT_SERVER_STREAMER_READ_POD_IMAGE_NAMES":              4,
		"SESSION_EVENT_SERVER_STREAMER_CONNECTED_TO_GAME":                 5,
		"SESSION_EVENT_SERVER_STREAMER_CONNECTED_TO_CLIENT":               6,
		"SESSION_EVENT_SERVER_STREAMER_DISCONNECTED_FROM_CLIENT":          7,
		"SESSION_EVENT_SERVER_STREAMER_RECEIVED_CREATE_SESSION_REQUEST":   8,
		"SESSION_EVENT_SERVER_STREAMER_GAME_MESSAGE_STREAM_CLOSED":        9,
		"SESSION_EVENT_SERVER_STREAMER_GAME_FRAME_STREAM_CLOSED":          10,
		"SESSION_EVENT_SERVER_STREAMER_GAME_MESSAGE_STREAM_ERROR":         11,
		"SESSION_EVENT_SERVER_STREAMER_GAME_AUDIO_STREAM_ERROR":           12,
		"SESSION_EVENT_SERVER_STREAMER_GAME_AUDIO_STREAM_CLOSED":          13,
		"SESSION_EVENT_SERVER_STREAMER_GAME_FRAME_STREAM_ERROR":           14,
		"SESSION_EVENT_SERVER_GAME_DISCONNECTING_AFTER_PAUSED_TOO_LONG":   15,
		"SESSION_EVENT_SERVER_STREAMER_RECEIVED_EXPERIMENT_CONFIGURATION": 16,
		"SESSION_EVENT_SERVER_GAME_CONNECTED_TO_LOGGING_SERVICE":          17,
		"SESSION_EVENT_SERVER_STREAMER_DETERMINED_SESSION_OPTIONS":        18,
		"SESSION_EVENT_SERVER_STREAMER_KILLED_IN_MIDDLE_OF_SESSION":       19,
		"SESSION_EVENT_SERVER_GAME_UPDATED_FRAME_PIPELINE":                20,
		"SESSION_EVENT_SERVER_ERROR":                                      21,
	}
)

Enum value maps for SessionEventType.

View Source
var File_google_cloud_stream_logging_v1_logging_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type OperationArtifact

type OperationArtifact struct {

	// Type of the artifact.
	ArtifactType string `protobuf:"bytes,1,opt,name=artifact_type,json=artifactType,proto3" json:"artifact_type,omitempty"`
	// Location of the artifact.
	ArtifactUri string `protobuf:"bytes,2,opt,name=artifact_uri,json=artifactUri,proto3" json:"artifact_uri,omitempty"`
	// contains filtered or unexported fields
}

OperationArtifact contains the information about the artifact created as result of the operation.

func (*OperationArtifact) Descriptor deprecated

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

Deprecated: Use OperationArtifact.ProtoReflect.Descriptor instead.

func (*OperationArtifact) GetArtifactType

func (x *OperationArtifact) GetArtifactType() string

func (*OperationArtifact) GetArtifactUri

func (x *OperationArtifact) GetArtifactUri() string

func (*OperationArtifact) ProtoMessage

func (*OperationArtifact) ProtoMessage()

func (*OperationArtifact) ProtoReflect

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

func (*OperationArtifact) Reset

func (x *OperationArtifact) Reset()

func (*OperationArtifact) String

func (x *OperationArtifact) String() string

type OperationEventLog

type OperationEventLog struct {

	// Enum for type of event being logged.
	EventType OperationEventType `` /* 144-byte string literal not displayed */
	// Timestamp when the event occurred.
	EventTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
	// Operation resource identifier.
	Operation string `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"`
	// Artifact created as a result of the operation.
	OperationArtifacts []*OperationArtifact `protobuf:"bytes,4,rep,name=operation_artifacts,json=operationArtifacts,proto3" json:"operation_artifacts,omitempty"`
	// contains filtered or unexported fields
}

OperationEventLog contains the time series data of the operations on the stream resources. Internally, these logs represent events happening in the control plane as result of API invocations against the stream resource entities.

func (*OperationEventLog) Descriptor deprecated

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

Deprecated: Use OperationEventLog.ProtoReflect.Descriptor instead.

func (*OperationEventLog) GetEventTime

func (x *OperationEventLog) GetEventTime() *timestamppb.Timestamp

func (*OperationEventLog) GetEventType

func (x *OperationEventLog) GetEventType() OperationEventType

func (*OperationEventLog) GetOperation

func (x *OperationEventLog) GetOperation() string

func (*OperationEventLog) GetOperationArtifacts

func (x *OperationEventLog) GetOperationArtifacts() []*OperationArtifact

func (*OperationEventLog) ProtoMessage

func (*OperationEventLog) ProtoMessage()

func (*OperationEventLog) ProtoReflect

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

func (*OperationEventLog) Reset

func (x *OperationEventLog) Reset()

func (*OperationEventLog) String

func (x *OperationEventLog) String() string

type OperationEventType

type OperationEventType int32

OperationEventType is the enum value for the state of operation.

const (
	// Unspecified operation event type.
	OperationEventType_OPERATION_EVENT_TYPE_UNSPECIFIED OperationEventType = 0
	// Operation for create stream content started.
	OperationEventType_OPERATION_EVENT_CREATE_CONTENT_STARTED OperationEventType = 1
	// Operation for create stream content ended.
	OperationEventType_OPERATION_EVENT_CREATE_CONTENT_ENDED OperationEventType = 2
	// Operation for build stream content started.
	OperationEventType_OPERATION_EVENT_BUILD_CONTENT_STARTED OperationEventType = 3
	// Operation for build stream content ended.
	OperationEventType_OPERATION_EVENT_BUILD_CONTENT_ENDED OperationEventType = 4
	// Operation for update stream content started.
	OperationEventType_OPERATION_EVENT_UPDATE_CONTENT_STARTED OperationEventType = 5
	// Operation for update stream content ended.
	OperationEventType_OPERATION_EVENT_UPDATE_CONTENT_ENDED OperationEventType = 6
	// Operation for delete stream content started.
	OperationEventType_OPERATION_EVENT_DELETE_CONTENT_STARTED OperationEventType = 7
	// Operation for delete stream content ended.
	OperationEventType_OPERATION_EVENT_DELETE_CONTENT_ENDED OperationEventType = 8
	// Operation for create stream instance started.
	OperationEventType_OPERATION_EVENT_CREATE_INSTANCE_STARTED OperationEventType = 9
	// Operation for create stream instance ended.
	OperationEventType_OPERATION_EVENT_CREATE_INSTANCE_ENDED OperationEventType = 10
	// Operation for update stream instance started.
	OperationEventType_OPERATION_EVENT_UPDATE_INSTANCE_STARTED OperationEventType = 11
	// Operation for update stream instance ended.
	OperationEventType_OPERATION_EVENT_UPDATE_INSTANCE_ENDED OperationEventType = 12
	// Operation for delete stream instance started.
	OperationEventType_OPERATION_EVENT_DELETE_INSTANCE_STARTED OperationEventType = 13
	// Operation for delete stream instance ended.
	OperationEventType_OPERATION_EVENT_DELETE_INSTANCE_ENDED OperationEventType = 14
)

func (OperationEventType) Descriptor

func (OperationEventType) Enum

func (OperationEventType) EnumDescriptor deprecated

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

Deprecated: Use OperationEventType.Descriptor instead.

func (OperationEventType) Number

func (OperationEventType) String

func (x OperationEventType) String() string

func (OperationEventType) Type

type SessionEventLog

type SessionEventLog struct {

	// Enum for type of event being logged.
	EventType SessionEventType `` /* 142-byte string literal not displayed */
	// Timestamp when the event occurred.
	EventTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
	// Session identifier generated from the server.
	SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

SessionEventLog contains the time series data regarding the streaming session to serve the end consumer. Internally, these logs represent events in the data plane streamer instance as a result of end consumer interacting with the stream resources.

func (*SessionEventLog) Descriptor deprecated

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

Deprecated: Use SessionEventLog.ProtoReflect.Descriptor instead.

func (*SessionEventLog) GetEventTime

func (x *SessionEventLog) GetEventTime() *timestamppb.Timestamp

func (*SessionEventLog) GetEventType

func (x *SessionEventLog) GetEventType() SessionEventType

func (*SessionEventLog) GetSessionId

func (x *SessionEventLog) GetSessionId() string

func (*SessionEventLog) ProtoMessage

func (*SessionEventLog) ProtoMessage()

func (*SessionEventLog) ProtoReflect

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

func (*SessionEventLog) Reset

func (x *SessionEventLog) Reset()

func (*SessionEventLog) String

func (x *SessionEventLog) String() string

type SessionEventType

type SessionEventType int32

SessionEventType is the enum value for the state of session.

const (
	// Unspecified session event type.
	SessionEventType_SESSION_EVENT_TYPE_UNSPECIFIED SessionEventType = 0
	// Session in streamer shutting down state.
	SessionEventType_SESSION_EVENT_SERVER_STREAMER_SHUTTING_DOWN SessionEventType = 1
	// Session in streamer ready state.
	SessionEventType_SESSION_EVENT_SERVER_STREAMER_READY SessionEventType = 2
	// Session in streamer binary started state.
	SessionEventType_SESSION_EVENT_SERVER_STREAMER_BINARY_STARTED SessionEventType = 3
	// Session in streamer read pod image names state.
	SessionEventType_SESSION_EVENT_SERVER_STREAMER_READ_POD_IMAGE_NAMES SessionEventType = 4
	// Session in streamer connected to game state.
	SessionEventType_SESSION_EVENT_SERVER_STREAMER_CONNECTED_TO_GAME SessionEventType = 5
	// Session in streamer connected to client state.
	SessionEventType_SESSION_EVENT_SERVER_STREAMER_CONNECTED_TO_CLIENT SessionEventType = 6
	// Session in streamer disconnected from client state.
	SessionEventType_SESSION_EVENT_SERVER_STREAMER_DISCONNECTED_FROM_CLIENT SessionEventType = 7
	// Session in streamer received create session request state.
	SessionEventType_SESSION_EVENT_SERVER_STREAMER_RECEIVED_CREATE_SESSION_REQUEST SessionEventType = 8
	// Session in streamer game message to stream closed state.
	SessionEventType_SESSION_EVENT_SERVER_STREAMER_GAME_MESSAGE_STREAM_CLOSED SessionEventType = 9
	// Session in streamer game frame stream closed state.
	SessionEventType_SESSION_EVENT_SERVER_STREAMER_GAME_FRAME_STREAM_CLOSED SessionEventType = 10
	// Session in streamer game message stream error state.
	SessionEventType_SESSION_EVENT_SERVER_STREAMER_GAME_MESSAGE_STREAM_ERROR SessionEventType = 11
	// Session in streamer game audio stream error state.
	SessionEventType_SESSION_EVENT_SERVER_STREAMER_GAME_AUDIO_STREAM_ERROR SessionEventType = 12
	// Session in streamer game audio stream closed state.
	SessionEventType_SESSION_EVENT_SERVER_STREAMER_GAME_AUDIO_STREAM_CLOSED SessionEventType = 13
	// Session in streamer game frame stream error state.
	SessionEventType_SESSION_EVENT_SERVER_STREAMER_GAME_FRAME_STREAM_ERROR SessionEventType = 14
	// Session in game disconnecting after paused too long state.
	SessionEventType_SESSION_EVENT_SERVER_GAME_DISCONNECTING_AFTER_PAUSED_TOO_LONG SessionEventType = 15
	// Session in streamer received experiment configuration state.
	SessionEventType_SESSION_EVENT_SERVER_STREAMER_RECEIVED_EXPERIMENT_CONFIGURATION SessionEventType = 16
	// Session in game connected to logging service state.
	SessionEventType_SESSION_EVENT_SERVER_GAME_CONNECTED_TO_LOGGING_SERVICE SessionEventType = 17
	// Session in streamer determined session options state.
	SessionEventType_SESSION_EVENT_SERVER_STREAMER_DETERMINED_SESSION_OPTIONS SessionEventType = 18
	// Session in streamer killed in middle of session state.
	SessionEventType_SESSION_EVENT_SERVER_STREAMER_KILLED_IN_MIDDLE_OF_SESSION SessionEventType = 19
	// Session in game updated frame pipeline state.
	SessionEventType_SESSION_EVENT_SERVER_GAME_UPDATED_FRAME_PIPELINE SessionEventType = 20
	// Session in server error state.
	SessionEventType_SESSION_EVENT_SERVER_ERROR SessionEventType = 21
)

func (SessionEventType) Descriptor

func (SessionEventType) Enum

func (SessionEventType) EnumDescriptor deprecated

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

Deprecated: Use SessionEventType.Descriptor instead.

func (SessionEventType) Number

func (SessionEventType) String

func (x SessionEventType) String() string

func (SessionEventType) Type

Jump to

Keyboard shortcuts

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