logging

package
v0.0.0-...-e639e21 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_google_cloud_aiplatform_logging_prediction_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type OnlinePredictionLogEntry

type OnlinePredictionLogEntry struct {

	// The resource name of the endpoint as referred to in the original request.
	// For example, projects/12323/locations/us-central1/endpoints/123.
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// The ID of the deployed model used to serve this predict request.
	DeployedModelId string `protobuf:"bytes,2,opt,name=deployed_model_id,json=deployedModelId,proto3" json:"deployed_model_id,omitempty"`
	// The number of instances in the prediction request.
	InstanceCount int64 `protobuf:"varint,3,opt,name=instance_count,json=instanceCount,proto3" json:"instance_count,omitempty"`
	// The number of successfully predicted instances in the response.
	// Populated when prediction succeeds.
	PredictionCount int64 `protobuf:"varint,4,opt,name=prediction_count,json=predictionCount,proto3" json:"prediction_count,omitempty"`
	// The error code and message.
	// Populated when prediction fails.
	Error *status.Status `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

The access log entry definition of online prediction.

func (*OnlinePredictionLogEntry) Descriptor deprecated

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

Deprecated: Use OnlinePredictionLogEntry.ProtoReflect.Descriptor instead.

func (*OnlinePredictionLogEntry) GetDeployedModelId

func (x *OnlinePredictionLogEntry) GetDeployedModelId() string

func (*OnlinePredictionLogEntry) GetEndpoint

func (x *OnlinePredictionLogEntry) GetEndpoint() string

func (*OnlinePredictionLogEntry) GetError

func (x *OnlinePredictionLogEntry) GetError() *status.Status

func (*OnlinePredictionLogEntry) GetInstanceCount

func (x *OnlinePredictionLogEntry) GetInstanceCount() int64

func (*OnlinePredictionLogEntry) GetPredictionCount

func (x *OnlinePredictionLogEntry) GetPredictionCount() int64

func (*OnlinePredictionLogEntry) ProtoMessage

func (*OnlinePredictionLogEntry) ProtoMessage()

func (*OnlinePredictionLogEntry) ProtoReflect

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

func (*OnlinePredictionLogEntry) Reset

func (x *OnlinePredictionLogEntry) Reset()

func (*OnlinePredictionLogEntry) String

func (x *OnlinePredictionLogEntry) String() string

Jump to

Keyboard shortcuts

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