api

package
v0.0.0-...-e5f8ed5 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	LogMetadataType_name = map[int32]string{
		0: "LOG_METADATA_TYPE_UNSPECIFIED",
		1: "LOG_METADATA_TYPE_PREDICTION",
		2: "LOG_METADATA_TYPE_OBSERVATION",
		3: "LOG_METADATA_TYPE_ROUTER",
	}
	LogMetadataType_value = map[string]int32{
		"LOG_METADATA_TYPE_UNSPECIFIED": 0,
		"LOG_METADATA_TYPE_PREDICTION":  1,
		"LOG_METADATA_TYPE_OBSERVATION": 2,
		"LOG_METADATA_TYPE_ROUTER":      3,
	}
)

Enum value maps for LogMetadataType.

View Source
var (
	LogWriterSourceType_name = map[int32]string{
		0: "LOG_WRITER_SOURCE_TYPE_UNSPECIFIED",
		1: "LOG_WRITER_SOURCE_TYPE_PREDICTION_LOG",
		2: "LOG_WRITER_SOURCE_TYPE_ROUTER_LOG",
	}
	LogWriterSourceType_value = map[string]int32{
		"LOG_WRITER_SOURCE_TYPE_UNSPECIFIED":    0,
		"LOG_WRITER_SOURCE_TYPE_PREDICTION_LOG": 1,
		"LOG_WRITER_SOURCE_TYPE_ROUTER_LOG":     2,
	}
)

Enum value maps for LogWriterSourceType.

View Source
var (
	ObservationServiceSourceType_name = map[int32]string{
		0: "OBSERVATION_SERVICE_SOURCE_TYPE_UNSPECIFIED",
		1: "OBSERVATION_SERVICE_SOURCE_TYPE_EAGER",
		2: "OBSERVATION_SERVICE_SOURCE_TYPE_KAFKA",
	}
	ObservationServiceSourceType_value = map[string]int32{
		"OBSERVATION_SERVICE_SOURCE_TYPE_UNSPECIFIED": 0,
		"OBSERVATION_SERVICE_SOURCE_TYPE_EAGER":       1,
		"OBSERVATION_SERVICE_SOURCE_TYPE_KAFKA":       2,
	}
)

Enum value maps for ObservationServiceSourceType.

View Source
var (
	Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "STATUS_DEPLOYED",
		2: "STATUS_UNINSTALLED",
		3: "STATUS_FAILED",
		4: "STATUS_PENDING",
	}
	Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"STATUS_DEPLOYED":    1,
		"STATUS_UNINSTALLED": 2,
		"STATUS_FAILED":      3,
		"STATUS_PENDING":     4,
	}
)

Enum value maps for Status.

View Source
var DatasetService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "caraml.timber.v1.DatasetService",
	HandlerType: (*DatasetServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListLogMetadata",
			Handler:    _DatasetService_ListLogMetadata_Handler,
		},
		{
			MethodName: "GetLogMetadata",
			Handler:    _DatasetService_GetLogMetadata_Handler,
		},
		{
			MethodName: "ListLogWriters",
			Handler:    _DatasetService_ListLogWriters_Handler,
		},
		{
			MethodName: "GetLogWriter",
			Handler:    _DatasetService_GetLogWriter_Handler,
		},
		{
			MethodName: "CreateLogWriter",
			Handler:    _DatasetService_CreateLogWriter_Handler,
		},
		{
			MethodName: "UpdateLogWriter",
			Handler:    _DatasetService_UpdateLogWriter_Handler,
		},
		{
			MethodName: "ListObservationServices",
			Handler:    _DatasetService_ListObservationServices_Handler,
		},
		{
			MethodName: "GetObservationService",
			Handler:    _DatasetService_GetObservationService_Handler,
		},
		{
			MethodName: "CreateObservationService",
			Handler:    _DatasetService_CreateObservationService_Handler,
		},
		{
			MethodName: "UpdateObservationService",
			Handler:    _DatasetService_UpdateObservationService_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "caraml/timber/v1/dataset_service.proto",
}

DatasetService_ServiceDesc is the grpc.ServiceDesc for DatasetService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_caraml_timber_v1_dataset_service_proto protoreflect.FileDescriptor
View Source
var File_caraml_timber_v1_kafka_proto protoreflect.FileDescriptor
View Source
var File_caraml_timber_v1_log_metadata_proto protoreflect.FileDescriptor
View Source
var File_caraml_timber_v1_log_writer_proto protoreflect.FileDescriptor
View Source
var File_caraml_timber_v1_observation_service_proto protoreflect.FileDescriptor
View Source
var File_caraml_timber_v1_status_proto protoreflect.FileDescriptor

Functions

func RegisterDatasetServiceHandler

func RegisterDatasetServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterDatasetServiceHandler registers the http handlers for service DatasetService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterDatasetServiceHandlerClient

func RegisterDatasetServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DatasetServiceClient) error

RegisterDatasetServiceHandlerClient registers the http handlers for service DatasetService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DatasetServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DatasetServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DatasetServiceClient" to call the correct interceptors.

func RegisterDatasetServiceHandlerFromEndpoint

func RegisterDatasetServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterDatasetServiceHandlerFromEndpoint is same as RegisterDatasetServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterDatasetServiceHandlerServer

func RegisterDatasetServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DatasetServiceServer) error

RegisterDatasetServiceHandlerServer registers the http handlers for service DatasetService to "mux". UnaryRPC :call DatasetServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterDatasetServiceHandlerFromEndpoint instead.

func RegisterDatasetServiceServer

func RegisterDatasetServiceServer(s grpc.ServiceRegistrar, srv DatasetServiceServer)

Types

type CreateLogWriterRequest

type CreateLogWriterRequest struct {

	// The CaraML project ID that will own the new Log Writer.
	ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Details of single Log Writer to be deployed by Dataset Service.
	LogWriter *LogWriter `protobuf:"bytes,2,opt,name=log_writer,json=logWriter,proto3" json:"log_writer,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateLogWriter method.

func (*CreateLogWriterRequest) Descriptor deprecated

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

Deprecated: Use CreateLogWriterRequest.ProtoReflect.Descriptor instead.

func (*CreateLogWriterRequest) GetLogWriter

func (x *CreateLogWriterRequest) GetLogWriter() *LogWriter

func (*CreateLogWriterRequest) GetProjectId

func (x *CreateLogWriterRequest) GetProjectId() int64

func (*CreateLogWriterRequest) ProtoMessage

func (*CreateLogWriterRequest) ProtoMessage()

func (*CreateLogWriterRequest) ProtoReflect

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

func (*CreateLogWriterRequest) Reset

func (x *CreateLogWriterRequest) Reset()

func (*CreateLogWriterRequest) String

func (x *CreateLogWriterRequest) String() string

type CreateLogWriterResponse

type CreateLogWriterResponse struct {

	// Details of single Log Writer deployed by Dataset Service.
	LogWriter *LogWriter `protobuf:"bytes,1,opt,name=log_writer,json=logWriter,proto3" json:"log_writer,omitempty"`
	// contains filtered or unexported fields
}

Response message for CreateLogWriter method.

func (*CreateLogWriterResponse) Descriptor deprecated

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

Deprecated: Use CreateLogWriterResponse.ProtoReflect.Descriptor instead.

func (*CreateLogWriterResponse) GetLogWriter

func (x *CreateLogWriterResponse) GetLogWriter() *LogWriter

func (*CreateLogWriterResponse) ProtoMessage

func (*CreateLogWriterResponse) ProtoMessage()

func (*CreateLogWriterResponse) ProtoReflect

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

func (*CreateLogWriterResponse) Reset

func (x *CreateLogWriterResponse) Reset()

func (*CreateLogWriterResponse) String

func (x *CreateLogWriterResponse) String() string

type CreateObservationServiceRequest

type CreateObservationServiceRequest struct {

	// The CaraML project ID that will own the observation service.
	ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Details of single Observation Service to be deployed by Dataset Service.
	ObservationService *ObservationService `protobuf:"bytes,2,opt,name=observation_service,json=observationService,proto3" json:"observation_service,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateObservationService method.

func (*CreateObservationServiceRequest) Descriptor deprecated

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

Deprecated: Use CreateObservationServiceRequest.ProtoReflect.Descriptor instead.

func (*CreateObservationServiceRequest) GetObservationService

func (x *CreateObservationServiceRequest) GetObservationService() *ObservationService

func (*CreateObservationServiceRequest) GetProjectId

func (x *CreateObservationServiceRequest) GetProjectId() int64

func (*CreateObservationServiceRequest) ProtoMessage

func (*CreateObservationServiceRequest) ProtoMessage()

func (*CreateObservationServiceRequest) ProtoReflect

func (*CreateObservationServiceRequest) Reset

func (*CreateObservationServiceRequest) String

type CreateObservationServiceResponse

type CreateObservationServiceResponse struct {

	// Details of single Observation Service deployed by Dataset Service.
	ObservationService *ObservationService `protobuf:"bytes,1,opt,name=observation_service,json=observationService,proto3" json:"observation_service,omitempty"`
	// contains filtered or unexported fields
}

Response message for CreateObservationService method.

func (*CreateObservationServiceResponse) Descriptor deprecated

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

Deprecated: Use CreateObservationServiceResponse.ProtoReflect.Descriptor instead.

func (*CreateObservationServiceResponse) GetObservationService

func (x *CreateObservationServiceResponse) GetObservationService() *ObservationService

func (*CreateObservationServiceResponse) ProtoMessage

func (*CreateObservationServiceResponse) ProtoMessage()

func (*CreateObservationServiceResponse) ProtoReflect

func (*CreateObservationServiceResponse) Reset

func (*CreateObservationServiceResponse) String

type DatasetServiceClient

type DatasetServiceClient interface {
	// ListLogMetadata return paginated list of log metadata under a project and filtered by query string.
	ListLogMetadata(ctx context.Context, in *ListLogMetadataRequest, opts ...grpc.CallOption) (*ListLogMetadataResponse, error)
	// GetLogMetadata returns metadata of a log.
	GetLogMetadata(ctx context.Context, in *GetLogMetadataRequest, opts ...grpc.CallOption) (*GetLogMetadataResponse, error)
	// ListLogWriters return paginated list of log writers under a project and filtered by query string.
	ListLogWriters(ctx context.Context, in *ListLogWritersRequest, opts ...grpc.CallOption) (*ListLogWritersResponse, error)
	// GetLogWriter return details of the log writer deployment.
	GetLogWriter(ctx context.Context, in *GetLogWriterRequest, opts ...grpc.CallOption) (*GetLogWriterResponse, error)
	// CreateLogWriter creates a new log writer deployment as specified by the details given in the request body.
	CreateLogWriter(ctx context.Context, in *CreateLogWriterRequest, opts ...grpc.CallOption) (*CreateLogWriterResponse, error)
	// UpdateLogWriter updates an existing log writer deployment as specified by the details given in the request body.
	UpdateLogWriter(ctx context.Context, in *UpdateLogWriterRequest, opts ...grpc.CallOption) (*UpdateLogWriterResponse, error)
	// ListObservationServices return paginated list of observation services under a project and filtered by query string.
	ListObservationServices(ctx context.Context, in *ListObservationServicesRequest, opts ...grpc.CallOption) (*ListObservationServicesResponse, error)
	// GetObservationService return details of the observation service deployment.
	GetObservationService(ctx context.Context, in *GetObservationServiceRequest, opts ...grpc.CallOption) (*GetObservationServiceResponse, error)
	// CreateObservationService creates a new observation service deployment as specified by the details given in the request body.
	CreateObservationService(ctx context.Context, in *CreateObservationServiceRequest, opts ...grpc.CallOption) (*CreateObservationServiceResponse, error)
	// UpdateObservationService updates an existing observation service deployment as specified by the details given in the request body.
	UpdateObservationService(ctx context.Context, in *UpdateObservationServiceRequest, opts ...grpc.CallOption) (*UpdateObservationServiceResponse, error)
}

DatasetServiceClient is the client API for DatasetService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type DatasetServiceServer

type DatasetServiceServer interface {
	// ListLogMetadata return paginated list of log metadata under a project and filtered by query string.
	ListLogMetadata(context.Context, *ListLogMetadataRequest) (*ListLogMetadataResponse, error)
	// GetLogMetadata returns metadata of a log.
	GetLogMetadata(context.Context, *GetLogMetadataRequest) (*GetLogMetadataResponse, error)
	// ListLogWriters return paginated list of log writers under a project and filtered by query string.
	ListLogWriters(context.Context, *ListLogWritersRequest) (*ListLogWritersResponse, error)
	// GetLogWriter return details of the log writer deployment.
	GetLogWriter(context.Context, *GetLogWriterRequest) (*GetLogWriterResponse, error)
	// CreateLogWriter creates a new log writer deployment as specified by the details given in the request body.
	CreateLogWriter(context.Context, *CreateLogWriterRequest) (*CreateLogWriterResponse, error)
	// UpdateLogWriter updates an existing log writer deployment as specified by the details given in the request body.
	UpdateLogWriter(context.Context, *UpdateLogWriterRequest) (*UpdateLogWriterResponse, error)
	// ListObservationServices return paginated list of observation services under a project and filtered by query string.
	ListObservationServices(context.Context, *ListObservationServicesRequest) (*ListObservationServicesResponse, error)
	// GetObservationService return details of the observation service deployment.
	GetObservationService(context.Context, *GetObservationServiceRequest) (*GetObservationServiceResponse, error)
	// CreateObservationService creates a new observation service deployment as specified by the details given in the request body.
	CreateObservationService(context.Context, *CreateObservationServiceRequest) (*CreateObservationServiceResponse, error)
	// UpdateObservationService updates an existing observation service deployment as specified by the details given in the request body.
	UpdateObservationService(context.Context, *UpdateObservationServiceRequest) (*UpdateObservationServiceResponse, error)
}

DatasetServiceServer is the server API for DatasetService service. All implementations should embed UnimplementedDatasetServiceServer for forward compatibility

type GetLogMetadataRequest

type GetLogMetadataRequest struct {

	// The CaraML project ID to retrieve Log Metadata from.
	ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The ID of the log metadata to retrieve.
	Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetLogMetadata method.

func (*GetLogMetadataRequest) Descriptor deprecated

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

Deprecated: Use GetLogMetadataRequest.ProtoReflect.Descriptor instead.

func (*GetLogMetadataRequest) GetId

func (x *GetLogMetadataRequest) GetId() int64

func (*GetLogMetadataRequest) GetProjectId

func (x *GetLogMetadataRequest) GetProjectId() int64

func (*GetLogMetadataRequest) ProtoMessage

func (*GetLogMetadataRequest) ProtoMessage()

func (*GetLogMetadataRequest) ProtoReflect

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

func (*GetLogMetadataRequest) Reset

func (x *GetLogMetadataRequest) Reset()

func (*GetLogMetadataRequest) String

func (x *GetLogMetadataRequest) String() string

type GetLogMetadataResponse

type GetLogMetadataResponse struct {

	// Single log metadata stored in configured Dataset Service storage sink.
	LogMetadata *LogMetadata `protobuf:"bytes,1,opt,name=log_metadata,json=logMetadata,proto3" json:"log_metadata,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetLogMetadata method.

func (*GetLogMetadataResponse) Descriptor deprecated

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

Deprecated: Use GetLogMetadataResponse.ProtoReflect.Descriptor instead.

func (*GetLogMetadataResponse) GetLogMetadata

func (x *GetLogMetadataResponse) GetLogMetadata() *LogMetadata

func (*GetLogMetadataResponse) ProtoMessage

func (*GetLogMetadataResponse) ProtoMessage()

func (*GetLogMetadataResponse) ProtoReflect

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

func (*GetLogMetadataResponse) Reset

func (x *GetLogMetadataResponse) Reset()

func (*GetLogMetadataResponse) String

func (x *GetLogMetadataResponse) String() string

type GetLogWriterRequest

type GetLogWriterRequest struct {

	// The CaraML project ID to retrieve the Log Writer from.
	ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The ID of the Log Writer resource to retrieve.
	Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetLogWriter method.

func (*GetLogWriterRequest) Descriptor deprecated

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

Deprecated: Use GetLogWriterRequest.ProtoReflect.Descriptor instead.

func (*GetLogWriterRequest) GetId

func (x *GetLogWriterRequest) GetId() int64

func (*GetLogWriterRequest) GetProjectId

func (x *GetLogWriterRequest) GetProjectId() int64

func (*GetLogWriterRequest) ProtoMessage

func (*GetLogWriterRequest) ProtoMessage()

func (*GetLogWriterRequest) ProtoReflect

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

func (*GetLogWriterRequest) Reset

func (x *GetLogWriterRequest) Reset()

func (*GetLogWriterRequest) String

func (x *GetLogWriterRequest) String() string

type GetLogWriterResponse

type GetLogWriterResponse struct {

	// Details of single Log Writer deployed by Dataset Service.
	LogWriter *LogWriter `protobuf:"bytes,1,opt,name=log_writer,json=logWriter,proto3" json:"log_writer,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetLogWriter method.

func (*GetLogWriterResponse) Descriptor deprecated

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

Deprecated: Use GetLogWriterResponse.ProtoReflect.Descriptor instead.

func (*GetLogWriterResponse) GetLogWriter

func (x *GetLogWriterResponse) GetLogWriter() *LogWriter

func (*GetLogWriterResponse) ProtoMessage

func (*GetLogWriterResponse) ProtoMessage()

func (*GetLogWriterResponse) ProtoReflect

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

func (*GetLogWriterResponse) Reset

func (x *GetLogWriterResponse) Reset()

func (*GetLogWriterResponse) String

func (x *GetLogWriterResponse) String() string

type GetObservationServiceRequest

type GetObservationServiceRequest struct {

	// The CaraML project ID to retrieve the Observation Service from.
	ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The ID of the Observation Service resource to retrieve.
	Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetObservationService method.

func (*GetObservationServiceRequest) Descriptor deprecated

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

Deprecated: Use GetObservationServiceRequest.ProtoReflect.Descriptor instead.

func (*GetObservationServiceRequest) GetId

func (*GetObservationServiceRequest) GetProjectId

func (x *GetObservationServiceRequest) GetProjectId() int64

func (*GetObservationServiceRequest) ProtoMessage

func (*GetObservationServiceRequest) ProtoMessage()

func (*GetObservationServiceRequest) ProtoReflect

func (*GetObservationServiceRequest) Reset

func (x *GetObservationServiceRequest) Reset()

func (*GetObservationServiceRequest) String

type GetObservationServiceResponse

type GetObservationServiceResponse struct {

	// Details of single Observation Service deployed by Dataset Service.
	ObservationService *ObservationService `protobuf:"bytes,1,opt,name=observation_service,json=observationService,proto3" json:"observation_service,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetObservationService method.

func (*GetObservationServiceResponse) Descriptor deprecated

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

Deprecated: Use GetObservationServiceResponse.ProtoReflect.Descriptor instead.

func (*GetObservationServiceResponse) GetObservationService

func (x *GetObservationServiceResponse) GetObservationService() *ObservationService

func (*GetObservationServiceResponse) ProtoMessage

func (*GetObservationServiceResponse) ProtoMessage()

func (*GetObservationServiceResponse) ProtoReflect

func (*GetObservationServiceResponse) Reset

func (x *GetObservationServiceResponse) Reset()

func (*GetObservationServiceResponse) String

type KafkaConfig

type KafkaConfig struct {

	// Kafka Brokers to connect to, comma-delimited, in the form of "<broker_host>:<broker_port>"
	Brokers string `protobuf:"bytes,1,opt,name=brokers,proto3" json:"brokers,omitempty"`
	// Kafka Topic to produce to/consume from
	Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
	// contains filtered or unexported fields
}

Kafka configurations

func (*KafkaConfig) Descriptor deprecated

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

Deprecated: Use KafkaConfig.ProtoReflect.Descriptor instead.

func (*KafkaConfig) GetBrokers

func (x *KafkaConfig) GetBrokers() string

func (*KafkaConfig) GetTopic

func (x *KafkaConfig) GetTopic() string

func (*KafkaConfig) ProtoMessage

func (*KafkaConfig) ProtoMessage()

func (*KafkaConfig) ProtoReflect

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

func (*KafkaConfig) Reset

func (x *KafkaConfig) Reset()

func (*KafkaConfig) String

func (x *KafkaConfig) String() string

type ListLogMetadataRequest

type ListLogMetadataRequest struct {

	// The CaraML project ID to retrieve list of Log Metadata from.
	ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListLogMetadata method.

func (*ListLogMetadataRequest) Descriptor deprecated

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

Deprecated: Use ListLogMetadataRequest.ProtoReflect.Descriptor instead.

func (*ListLogMetadataRequest) GetProjectId

func (x *ListLogMetadataRequest) GetProjectId() int64

func (*ListLogMetadataRequest) ProtoMessage

func (*ListLogMetadataRequest) ProtoMessage()

func (*ListLogMetadataRequest) ProtoReflect

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

func (*ListLogMetadataRequest) Reset

func (x *ListLogMetadataRequest) Reset()

func (*ListLogMetadataRequest) String

func (x *ListLogMetadataRequest) String() string

type ListLogMetadataResponse

type ListLogMetadataResponse struct {

	// Log metadata stored in configured Dataset Service storage sink.
	LogMetadata []*LogMetadata `protobuf:"bytes,1,rep,name=log_metadata,json=logMetadata,proto3" json:"log_metadata,omitempty"`
	// contains filtered or unexported fields
}

Response message for ListLogMetadata method.

func (*ListLogMetadataResponse) Descriptor deprecated

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

Deprecated: Use ListLogMetadataResponse.ProtoReflect.Descriptor instead.

func (*ListLogMetadataResponse) GetLogMetadata

func (x *ListLogMetadataResponse) GetLogMetadata() []*LogMetadata

func (*ListLogMetadataResponse) ProtoMessage

func (*ListLogMetadataResponse) ProtoMessage()

func (*ListLogMetadataResponse) ProtoReflect

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

func (*ListLogMetadataResponse) Reset

func (x *ListLogMetadataResponse) Reset()

func (*ListLogMetadataResponse) String

func (x *ListLogMetadataResponse) String() string

type ListLogWritersRequest

type ListLogWritersRequest struct {

	// The CaraML project ID to retrieve list of Log Writers from.
	ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// List request details
	List *ListOption `protobuf:"bytes,2,opt,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListLogWriters method.

func (*ListLogWritersRequest) Descriptor deprecated

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

Deprecated: Use ListLogWritersRequest.ProtoReflect.Descriptor instead.

func (*ListLogWritersRequest) GetList

func (x *ListLogWritersRequest) GetList() *ListOption

func (*ListLogWritersRequest) GetProjectId

func (x *ListLogWritersRequest) GetProjectId() int64

func (*ListLogWritersRequest) ProtoMessage

func (*ListLogWritersRequest) ProtoMessage()

func (*ListLogWritersRequest) ProtoReflect

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

func (*ListLogWritersRequest) Reset

func (x *ListLogWritersRequest) Reset()

func (*ListLogWritersRequest) String

func (x *ListLogWritersRequest) String() string

type ListLogWritersResponse

type ListLogWritersResponse struct {

	// Log Writers deployed by Dataset Service for a particular CaraML project.
	LogWriters []*LogWriter `protobuf:"bytes,1,rep,name=log_writers,json=logWriters,proto3" json:"log_writers,omitempty"`
	// contains filtered or unexported fields
}

Response message for ListLogWriters method.

func (*ListLogWritersResponse) Descriptor deprecated

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

Deprecated: Use ListLogWritersResponse.ProtoReflect.Descriptor instead.

func (*ListLogWritersResponse) GetLogWriters

func (x *ListLogWritersResponse) GetLogWriters() []*LogWriter

func (*ListLogWritersResponse) ProtoMessage

func (*ListLogWritersResponse) ProtoMessage()

func (*ListLogWritersResponse) ProtoReflect

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

func (*ListLogWritersResponse) Reset

func (x *ListLogWritersResponse) Reset()

func (*ListLogWritersResponse) String

func (x *ListLogWritersResponse) String() string

type ListObservationServicesRequest

type ListObservationServicesRequest struct {

	// The CaraML project ID to retrieve list of Observation Services from.
	ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// List request details
	List *ListOption `protobuf:"bytes,2,opt,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListObservationServices method.

func (*ListObservationServicesRequest) Descriptor deprecated

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

Deprecated: Use ListObservationServicesRequest.ProtoReflect.Descriptor instead.

func (*ListObservationServicesRequest) GetList

func (*ListObservationServicesRequest) GetProjectId

func (x *ListObservationServicesRequest) GetProjectId() int64

func (*ListObservationServicesRequest) ProtoMessage

func (*ListObservationServicesRequest) ProtoMessage()

func (*ListObservationServicesRequest) ProtoReflect

func (*ListObservationServicesRequest) Reset

func (x *ListObservationServicesRequest) Reset()

func (*ListObservationServicesRequest) String

type ListObservationServicesResponse

type ListObservationServicesResponse struct {

	// Observation Services deployed by Dataset Service for a particular CaraML project.
	ObservationServices []*ObservationService `protobuf:"bytes,1,rep,name=observation_services,json=observationServices,proto3" json:"observation_services,omitempty"`
	// contains filtered or unexported fields
}

Response message for ListObservationServices method.

func (*ListObservationServicesResponse) Descriptor deprecated

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

Deprecated: Use ListObservationServicesResponse.ProtoReflect.Descriptor instead.

func (*ListObservationServicesResponse) GetObservationServices

func (x *ListObservationServicesResponse) GetObservationServices() []*ObservationService

func (*ListObservationServicesResponse) ProtoMessage

func (*ListObservationServicesResponse) ProtoMessage()

func (*ListObservationServicesResponse) ProtoReflect

func (*ListObservationServicesResponse) Reset

func (*ListObservationServicesResponse) String

type ListOption

type ListOption struct {

	// Starting offset of the list request
	Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	// Number of entry to be returned by list request
	Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOption) Descriptor deprecated

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

Deprecated: Use ListOption.ProtoReflect.Descriptor instead.

func (*ListOption) GetLimit

func (x *ListOption) GetLimit() int32

func (*ListOption) GetOffset

func (x *ListOption) GetOffset() int32

func (*ListOption) ProtoMessage

func (*ListOption) ProtoMessage()

func (*ListOption) ProtoReflect

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

func (*ListOption) Reset

func (x *ListOption) Reset()

func (*ListOption) String

func (x *ListOption) String() string

type LogMetadata

type LogMetadata struct {

	// Unique identifier of a log generated by a LogProducer.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name of the log, generated by Dataset Service.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Source of the log.
	Type LogMetadataType `protobuf:"varint,3,opt,name=type,proto3,enum=caraml.timber.v1.LogMetadataType" json:"type,omitempty"`
	// List of target names associated with a log.
	TargetNames []string `protobuf:"bytes,4,rep,name=target_names,json=targetNames,proto3" json:"target_names,omitempty"`
	// BQ table ID where the data is stored.
	BqTable string `protobuf:"bytes,5,opt,name=bq_table,json=bqTable,proto3" json:"bq_table,omitempty"`
	// Details of LogProducer that generated a log.
	LogProducer *LogProducer `protobuf:"bytes,6,opt,name=log_producer,json=logProducer,proto3" json:"log_producer,omitempty"`
	// contains filtered or unexported fields
}

LogMetadata is an entity/metadata in Dataset Service that represents an append-only data produced by ingesting the observation, prediction, or router logs

func (*LogMetadata) Descriptor deprecated

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

Deprecated: Use LogMetadata.ProtoReflect.Descriptor instead.

func (*LogMetadata) GetBqTable

func (x *LogMetadata) GetBqTable() string

func (*LogMetadata) GetId

func (x *LogMetadata) GetId() string

func (*LogMetadata) GetLogProducer

func (x *LogMetadata) GetLogProducer() *LogProducer

func (*LogMetadata) GetName

func (x *LogMetadata) GetName() string

func (*LogMetadata) GetTargetNames

func (x *LogMetadata) GetTargetNames() []string

func (*LogMetadata) GetType

func (x *LogMetadata) GetType() LogMetadataType

func (*LogMetadata) ProtoMessage

func (*LogMetadata) ProtoMessage()

func (*LogMetadata) ProtoReflect

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

func (*LogMetadata) Reset

func (x *LogMetadata) Reset()

func (*LogMetadata) String

func (x *LogMetadata) String() string

type LogMetadataType

type LogMetadataType int32

LogType supported by UPI

const (
	LogMetadataType_LOG_METADATA_TYPE_UNSPECIFIED LogMetadataType = 0
	// Log from Prediction service
	LogMetadataType_LOG_METADATA_TYPE_PREDICTION LogMetadataType = 1
	// Log from Observation service
	LogMetadataType_LOG_METADATA_TYPE_OBSERVATION LogMetadataType = 2
	// Log from Router service
	LogMetadataType_LOG_METADATA_TYPE_ROUTER LogMetadataType = 3
)

func (LogMetadataType) Descriptor

func (LogMetadataType) Enum

func (x LogMetadataType) Enum() *LogMetadataType

func (LogMetadataType) EnumDescriptor deprecated

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

Deprecated: Use LogMetadataType.Descriptor instead.

func (LogMetadataType) Number

func (LogMetadataType) String

func (x LogMetadataType) String() string

func (LogMetadataType) Type

type LogProducer

type LogProducer struct {

	// Unique identifier of the producer.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name of the producer, dependent on the type of the log.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Name of the CaraML project that hosts the producer.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

LogProducer describes the service that generates the log

func (*LogProducer) Descriptor deprecated

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

Deprecated: Use LogProducer.ProtoReflect.Descriptor instead.

func (*LogProducer) GetId

func (x *LogProducer) GetId() string

func (*LogProducer) GetName

func (x *LogProducer) GetName() string

func (*LogProducer) GetProject

func (x *LogProducer) GetProject() string

func (*LogProducer) ProtoMessage

func (*LogProducer) ProtoMessage()

func (*LogProducer) ProtoReflect

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

func (*LogProducer) Reset

func (x *LogProducer) Reset()

func (*LogProducer) String

func (x *LogProducer) String() string

type LogWriter

type LogWriter struct {

	// Project id that owns the log writer
	ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Log writer's ID
	Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// Name of the log writer
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Log writer source
	Source *LogWriterSource `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
	// TODO: Add details of where the log is stored at
	// Status of the log writer deployment
	Status Status `protobuf:"varint,10,opt,name=status,proto3,enum=caraml.timber.v1.Status" json:"status,omitempty"`
	// Error message, will be populated if the status failed
	Error string `protobuf:"bytes,11,opt,name=error,proto3" json:"error,omitempty"`
	// Creation timestamp
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Last update timestamp
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

LogWriter describes details of a Log Writer

func (*LogWriter) Descriptor deprecated

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

Deprecated: Use LogWriter.ProtoReflect.Descriptor instead.

func (*LogWriter) GetCreatedAt

func (x *LogWriter) GetCreatedAt() *timestamppb.Timestamp

func (*LogWriter) GetError

func (x *LogWriter) GetError() string

func (*LogWriter) GetId

func (x *LogWriter) GetId() int64

func (*LogWriter) GetName

func (x *LogWriter) GetName() string

func (*LogWriter) GetProjectId

func (x *LogWriter) GetProjectId() int64

func (*LogWriter) GetSource

func (x *LogWriter) GetSource() *LogWriterSource

func (*LogWriter) GetStatus

func (x *LogWriter) GetStatus() Status

func (*LogWriter) GetUpdatedAt

func (x *LogWriter) GetUpdatedAt() *timestamppb.Timestamp

func (*LogWriter) ProtoMessage

func (*LogWriter) ProtoMessage()

func (*LogWriter) ProtoReflect

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

func (*LogWriter) Reset

func (x *LogWriter) Reset()

func (*LogWriter) String

func (x *LogWriter) String() string

type LogWriterSource

type LogWriterSource struct {

	// Log type. It determines whether prediction_log_source or router_log_source is populated.
	// If the value is LOG_TYPE_PREDICTION_LOG, then prediction_log_source should be valid.
	// Whereas, if the value is LOG_TYPE_ROUTER_LOG, then router_log_source should be valid.
	Type LogWriterSourceType `protobuf:"varint,1,opt,name=type,proto3,enum=caraml.timber.v1.LogWriterSourceType" json:"type,omitempty"`
	// Prediction log source details
	PredictionLogSource *PredictionLogSource `protobuf:"bytes,2,opt,name=prediction_log_source,json=predictionLogSource,proto3" json:"prediction_log_source,omitempty"`
	// Router log source details
	RouterLogSource *RouterLogSource `protobuf:"bytes,3,opt,name=router_log_source,json=routerLogSource,proto3" json:"router_log_source,omitempty"`
	// contains filtered or unexported fields
}

Details of the log writer data source

func (*LogWriterSource) Descriptor deprecated

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

Deprecated: Use LogWriterSource.ProtoReflect.Descriptor instead.

func (*LogWriterSource) GetPredictionLogSource

func (x *LogWriterSource) GetPredictionLogSource() *PredictionLogSource

func (*LogWriterSource) GetRouterLogSource

func (x *LogWriterSource) GetRouterLogSource() *RouterLogSource

func (*LogWriterSource) GetType

func (x *LogWriterSource) GetType() LogWriterSourceType

func (*LogWriterSource) ProtoMessage

func (*LogWriterSource) ProtoMessage()

func (*LogWriterSource) ProtoReflect

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

func (*LogWriterSource) Reset

func (x *LogWriterSource) Reset()

func (*LogWriterSource) String

func (x *LogWriterSource) String() string

type LogWriterSourceType

type LogWriterSourceType int32
const (
	// log type is not specified
	LogWriterSourceType_LOG_WRITER_SOURCE_TYPE_UNSPECIFIED LogWriterSourceType = 0
	// log type for consuming prediction log
	LogWriterSourceType_LOG_WRITER_SOURCE_TYPE_PREDICTION_LOG LogWriterSourceType = 1
	// log type for consuming router log
	LogWriterSourceType_LOG_WRITER_SOURCE_TYPE_ROUTER_LOG LogWriterSourceType = 2
)

func (LogWriterSourceType) Descriptor

func (LogWriterSourceType) Enum

func (LogWriterSourceType) EnumDescriptor deprecated

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

Deprecated: Use LogWriterSourceType.Descriptor instead.

func (LogWriterSourceType) Number

func (LogWriterSourceType) String

func (x LogWriterSourceType) String() string

func (LogWriterSourceType) Type

type ObservationService

type ObservationService struct {

	// Project id that owns the observation service
	ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Observation service id
	Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// Observation service name
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Configuration for pull-based Observation Service data source.
	Source *ObservationServiceSource `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
	// TODO: Add details of where the log is stored at
	// Status of the observation service
	Status Status `protobuf:"varint,10,opt,name=status,proto3,enum=caraml.timber.v1.Status" json:"status,omitempty"`
	// Error message
	Error string `protobuf:"bytes,11,opt,name=error,proto3" json:"error,omitempty"`
	// Creation timestamp
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Last update timestamp
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

ObservationServiceConfig describes details of a Observation Service

func (*ObservationService) Descriptor deprecated

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

Deprecated: Use ObservationService.ProtoReflect.Descriptor instead.

func (*ObservationService) GetCreatedAt

func (x *ObservationService) GetCreatedAt() *timestamppb.Timestamp

func (*ObservationService) GetError

func (x *ObservationService) GetError() string

func (*ObservationService) GetId

func (x *ObservationService) GetId() int64

func (*ObservationService) GetName

func (x *ObservationService) GetName() string

func (*ObservationService) GetProjectId

func (x *ObservationService) GetProjectId() int64

func (*ObservationService) GetSource

func (*ObservationService) GetStatus

func (x *ObservationService) GetStatus() Status

func (*ObservationService) GetUpdatedAt

func (x *ObservationService) GetUpdatedAt() *timestamppb.Timestamp

func (*ObservationService) ProtoMessage

func (*ObservationService) ProtoMessage()

func (*ObservationService) ProtoReflect

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

func (*ObservationService) Reset

func (x *ObservationService) Reset()

func (*ObservationService) String

func (x *ObservationService) String() string

type ObservationServiceSource

type ObservationServiceSource struct {

	// Data source of the observation service
	Type ObservationServiceSourceType `protobuf:"varint,1,opt,name=type,proto3,enum=caraml.timber.v1.ObservationServiceSourceType" json:"type,omitempty"`
	// Kafka configuration, required if the source type is SOURCE_TYPE_KAFKA
	Kafka *KafkaConfig `protobuf:"bytes,2,opt,name=kafka,proto3" json:"kafka,omitempty"`
	// contains filtered or unexported fields
}

Configurations of Data source where Observation logs should be retrieved from

func (*ObservationServiceSource) Descriptor deprecated

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

Deprecated: Use ObservationServiceSource.ProtoReflect.Descriptor instead.

func (*ObservationServiceSource) GetKafka

func (x *ObservationServiceSource) GetKafka() *KafkaConfig

func (*ObservationServiceSource) GetType

func (*ObservationServiceSource) ProtoMessage

func (*ObservationServiceSource) ProtoMessage()

func (*ObservationServiceSource) ProtoReflect

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

func (*ObservationServiceSource) Reset

func (x *ObservationServiceSource) Reset()

func (*ObservationServiceSource) String

func (x *ObservationServiceSource) String() string

type ObservationServiceSourceType

type ObservationServiceSourceType int32

Data source where Observation logs should be retrieved from

const (
	ObservationServiceSourceType_OBSERVATION_SERVICE_SOURCE_TYPE_UNSPECIFIED ObservationServiceSourceType = 0
	// No-Op represents no need to fetch logs from any data source, this should be selected if
	// Observation Service should be deployed for just the eager API
	ObservationServiceSourceType_OBSERVATION_SERVICE_SOURCE_TYPE_EAGER ObservationServiceSourceType = 1
	// Observation Service will poll logs from a Kafka source
	ObservationServiceSourceType_OBSERVATION_SERVICE_SOURCE_TYPE_KAFKA ObservationServiceSourceType = 2
)

func (ObservationServiceSourceType) Descriptor

func (ObservationServiceSourceType) Enum

func (ObservationServiceSourceType) EnumDescriptor deprecated

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

Deprecated: Use ObservationServiceSourceType.Descriptor instead.

func (ObservationServiceSourceType) Number

func (ObservationServiceSourceType) String

func (ObservationServiceSourceType) Type

type PredictionLogSource

type PredictionLogSource struct {

	// id of the model producing the prediction log
	ModelId int64 `protobuf:"varint,1,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"`
	// name of the model producing the prediction log
	ModelName string `protobuf:"bytes,2,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"`
	// kafka source configuration where the prediction logs are located
	Kafka *KafkaConfig `protobuf:"bytes,3,opt,name=kafka,proto3" json:"kafka,omitempty"`
	// contains filtered or unexported fields
}

Prediction log source details

func (*PredictionLogSource) Descriptor deprecated

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

Deprecated: Use PredictionLogSource.ProtoReflect.Descriptor instead.

func (*PredictionLogSource) GetKafka

func (x *PredictionLogSource) GetKafka() *KafkaConfig

func (*PredictionLogSource) GetModelId

func (x *PredictionLogSource) GetModelId() int64

func (*PredictionLogSource) GetModelName

func (x *PredictionLogSource) GetModelName() string

func (*PredictionLogSource) ProtoMessage

func (*PredictionLogSource) ProtoMessage()

func (*PredictionLogSource) ProtoReflect

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

func (*PredictionLogSource) Reset

func (x *PredictionLogSource) Reset()

func (*PredictionLogSource) String

func (x *PredictionLogSource) String() string

type RouterLogSource

type RouterLogSource struct {

	// id of the router producing the router logs
	RouterId int64 `protobuf:"varint,1,opt,name=router_id,json=routerId,proto3" json:"router_id,omitempty"`
	// name of the router producing the router logs
	RouterName string `protobuf:"bytes,2,opt,name=router_name,json=routerName,proto3" json:"router_name,omitempty"`
	// kafka source configuration where the router logs are located
	Kafka *KafkaConfig `protobuf:"bytes,3,opt,name=kafka,proto3" json:"kafka,omitempty"`
	// contains filtered or unexported fields
}

func (*RouterLogSource) Descriptor deprecated

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

Deprecated: Use RouterLogSource.ProtoReflect.Descriptor instead.

func (*RouterLogSource) GetKafka

func (x *RouterLogSource) GetKafka() *KafkaConfig

func (*RouterLogSource) GetRouterId

func (x *RouterLogSource) GetRouterId() int64

func (*RouterLogSource) GetRouterName

func (x *RouterLogSource) GetRouterName() string

func (*RouterLogSource) ProtoMessage

func (*RouterLogSource) ProtoMessage()

func (*RouterLogSource) ProtoReflect

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

func (*RouterLogSource) Reset

func (x *RouterLogSource) Reset()

func (*RouterLogSource) String

func (x *RouterLogSource) String() string

type Status

type Status int32

Deployment status

const (
	Status_STATUS_UNSPECIFIED Status = 0
	Status_STATUS_DEPLOYED    Status = 1
	Status_STATUS_UNINSTALLED Status = 2
	Status_STATUS_FAILED      Status = 3
	Status_STATUS_PENDING     Status = 4
)

func (Status) Descriptor

func (Status) Descriptor() protoreflect.EnumDescriptor

func (Status) Enum

func (x Status) Enum() *Status

func (Status) EnumDescriptor deprecated

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

Deprecated: Use Status.Descriptor instead.

func (Status) Number

func (x Status) Number() protoreflect.EnumNumber

func (Status) String

func (x Status) String() string

func (Status) Type

func (Status) Type() protoreflect.EnumType

type UnimplementedDatasetServiceServer

type UnimplementedDatasetServiceServer struct {
}

UnimplementedDatasetServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedDatasetServiceServer) CreateLogWriter

func (UnimplementedDatasetServiceServer) GetLogMetadata

func (UnimplementedDatasetServiceServer) GetLogWriter

func (UnimplementedDatasetServiceServer) ListLogMetadata

func (UnimplementedDatasetServiceServer) ListLogWriters

func (UnimplementedDatasetServiceServer) UpdateLogWriter

type UnsafeDatasetServiceServer

type UnsafeDatasetServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeDatasetServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DatasetServiceServer will result in compilation errors.

type UpdateLogWriterRequest

type UpdateLogWriterRequest struct {

	// The CaraML project ID that owns the Log Writer to be updated.
	ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The ID of Log Writer to update.
	Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// Details of single Log Writer to be updated by Dataset Service.
	LogWriter *LogWriter `protobuf:"bytes,3,opt,name=log_writer,json=logWriter,proto3" json:"log_writer,omitempty"`
	// contains filtered or unexported fields
}

Request message for UpdateLogWriter method.

func (*UpdateLogWriterRequest) Descriptor deprecated

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

Deprecated: Use UpdateLogWriterRequest.ProtoReflect.Descriptor instead.

func (*UpdateLogWriterRequest) GetId

func (x *UpdateLogWriterRequest) GetId() int64

func (*UpdateLogWriterRequest) GetLogWriter

func (x *UpdateLogWriterRequest) GetLogWriter() *LogWriter

func (*UpdateLogWriterRequest) GetProjectId

func (x *UpdateLogWriterRequest) GetProjectId() int64

func (*UpdateLogWriterRequest) ProtoMessage

func (*UpdateLogWriterRequest) ProtoMessage()

func (*UpdateLogWriterRequest) ProtoReflect

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

func (*UpdateLogWriterRequest) Reset

func (x *UpdateLogWriterRequest) Reset()

func (*UpdateLogWriterRequest) String

func (x *UpdateLogWriterRequest) String() string

type UpdateLogWriterResponse

type UpdateLogWriterResponse struct {

	// Details of single Log Writer updated by Dataset Service.
	LogWriter *LogWriter `protobuf:"bytes,1,opt,name=log_writer,json=logWriter,proto3" json:"log_writer,omitempty"`
	// contains filtered or unexported fields
}

Response message for UpdateLogWriter method.

func (*UpdateLogWriterResponse) Descriptor deprecated

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

Deprecated: Use UpdateLogWriterResponse.ProtoReflect.Descriptor instead.

func (*UpdateLogWriterResponse) GetLogWriter

func (x *UpdateLogWriterResponse) GetLogWriter() *LogWriter

func (*UpdateLogWriterResponse) ProtoMessage

func (*UpdateLogWriterResponse) ProtoMessage()

func (*UpdateLogWriterResponse) ProtoReflect

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

func (*UpdateLogWriterResponse) Reset

func (x *UpdateLogWriterResponse) Reset()

func (*UpdateLogWriterResponse) String

func (x *UpdateLogWriterResponse) String() string

type UpdateObservationServiceRequest

type UpdateObservationServiceRequest struct {

	// The CaraML project ID that owns the Observation Service to be updated.
	ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The ID of Observation Service to update.
	Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// Details of single Observation Service to be updated by Dataset Service.
	ObservationService *ObservationService `protobuf:"bytes,3,opt,name=observation_service,json=observationService,proto3" json:"observation_service,omitempty"`
	// contains filtered or unexported fields
}

Request message for UpdateObservationService method.

func (*UpdateObservationServiceRequest) Descriptor deprecated

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

Deprecated: Use UpdateObservationServiceRequest.ProtoReflect.Descriptor instead.

func (*UpdateObservationServiceRequest) GetId

func (*UpdateObservationServiceRequest) GetObservationService

func (x *UpdateObservationServiceRequest) GetObservationService() *ObservationService

func (*UpdateObservationServiceRequest) GetProjectId

func (x *UpdateObservationServiceRequest) GetProjectId() int64

func (*UpdateObservationServiceRequest) ProtoMessage

func (*UpdateObservationServiceRequest) ProtoMessage()

func (*UpdateObservationServiceRequest) ProtoReflect

func (*UpdateObservationServiceRequest) Reset

func (*UpdateObservationServiceRequest) String

type UpdateObservationServiceResponse

type UpdateObservationServiceResponse struct {

	// Details of single Observation Service updated by Dataset Service.
	ObservationService *ObservationService `protobuf:"bytes,1,opt,name=observation_service,json=observationService,proto3" json:"observation_service,omitempty"`
	// contains filtered or unexported fields
}

Response message for UpdateObservationService method.

func (*UpdateObservationServiceResponse) Descriptor deprecated

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

Deprecated: Use UpdateObservationServiceResponse.ProtoReflect.Descriptor instead.

func (*UpdateObservationServiceResponse) GetObservationService

func (x *UpdateObservationServiceResponse) GetObservationService() *ObservationService

func (*UpdateObservationServiceResponse) ProtoMessage

func (*UpdateObservationServiceResponse) ProtoMessage()

func (*UpdateObservationServiceResponse) ProtoReflect

func (*UpdateObservationServiceResponse) Reset

func (*UpdateObservationServiceResponse) String

Jump to

Keyboard shortcuts

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