fleetcostpb

package
v0.0.0-...-6700e38 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Overview

Package fleetcostpb is the generated protos for the fleet cost service.

Package fleetcostpb is the generated protos for the fleet cost service.

Index

Constants

This section is empty.

Variables

View Source
var File_go_chromium_org_infra_cros_fleetcost_api_rpc_service_proto protoreflect.FileDescriptor

Functions

func FileDescriptorSet

func FileDescriptorSet() *descriptorpb.FileDescriptorSet

FileDescriptorSet returns a descriptor set for this proto package, which includes all defined services, and all transitive dependencies.

Will not return nil.

Do NOT modify the returned descriptor.

func RegisterFleetCostServer

func RegisterFleetCostServer(s prpc.Registrar, srv FleetCostServer)

Types

type CreateCostIndicatorRequest

type CreateCostIndicatorRequest struct {
	CostIndicator *models.CostIndicator `protobuf:"bytes,1,opt,name=cost_indicator,json=costIndicator,proto3" json:"cost_indicator,omitempty"`
	// contains filtered or unexported fields
}

CreateCostIndicatorRequest creates a new cost indicator.

func (*CreateCostIndicatorRequest) Descriptor deprecated

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

Deprecated: Use CreateCostIndicatorRequest.ProtoReflect.Descriptor instead.

func (*CreateCostIndicatorRequest) GetCostIndicator

func (x *CreateCostIndicatorRequest) GetCostIndicator() *models.CostIndicator

func (*CreateCostIndicatorRequest) ProtoMessage

func (*CreateCostIndicatorRequest) ProtoMessage()

func (*CreateCostIndicatorRequest) ProtoReflect

func (*CreateCostIndicatorRequest) Reset

func (x *CreateCostIndicatorRequest) Reset()

func (*CreateCostIndicatorRequest) String

func (x *CreateCostIndicatorRequest) String() string

type CreateCostIndicatorResponse

type CreateCostIndicatorResponse struct {
	CostIndicator *models.CostIndicator `protobuf:"bytes,1,opt,name=cost_indicator,json=costIndicator,proto3" json:"cost_indicator,omitempty"`
	// contains filtered or unexported fields
}

CreateCostIndicatorResponse contains the newly created CostIndicator.

func (*CreateCostIndicatorResponse) Descriptor deprecated

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

Deprecated: Use CreateCostIndicatorResponse.ProtoReflect.Descriptor instead.

func (*CreateCostIndicatorResponse) GetCostIndicator

func (x *CreateCostIndicatorResponse) GetCostIndicator() *models.CostIndicator

func (*CreateCostIndicatorResponse) ProtoMessage

func (*CreateCostIndicatorResponse) ProtoMessage()

func (*CreateCostIndicatorResponse) ProtoReflect

func (*CreateCostIndicatorResponse) Reset

func (x *CreateCostIndicatorResponse) Reset()

func (*CreateCostIndicatorResponse) String

func (x *CreateCostIndicatorResponse) String() string

type CreateVariableRequest

type CreateVariableRequest struct {
	Variable *models.Variable `protobuf:"bytes,1,opt,name=variable,proto3" json:"variable,omitempty"`
	// contains filtered or unexported fields
}

CreateVariableRequest creates a new variable.

func (*CreateVariableRequest) Descriptor deprecated

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

Deprecated: Use CreateVariableRequest.ProtoReflect.Descriptor instead.

func (*CreateVariableRequest) GetVariable

func (x *CreateVariableRequest) GetVariable() *models.Variable

func (*CreateVariableRequest) ProtoMessage

func (*CreateVariableRequest) ProtoMessage()

func (*CreateVariableRequest) ProtoReflect

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

func (*CreateVariableRequest) Reset

func (x *CreateVariableRequest) Reset()

func (*CreateVariableRequest) String

func (x *CreateVariableRequest) String() string

type CreateVariableResponse

type CreateVariableResponse struct {
	Variable *models.Variable `protobuf:"bytes,1,opt,name=variable,proto3" json:"variable,omitempty"`
	// contains filtered or unexported fields
}

CreateVariableResponse contains only the newly created variable

func (*CreateVariableResponse) Descriptor deprecated

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

Deprecated: Use CreateVariableResponse.ProtoReflect.Descriptor instead.

func (*CreateVariableResponse) GetVariable

func (x *CreateVariableResponse) GetVariable() *models.Variable

func (*CreateVariableResponse) ProtoMessage

func (*CreateVariableResponse) ProtoMessage()

func (*CreateVariableResponse) ProtoReflect

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

func (*CreateVariableResponse) Reset

func (x *CreateVariableResponse) Reset()

func (*CreateVariableResponse) String

func (x *CreateVariableResponse) String() string

type DeleteCostIndicatorRequest

type DeleteCostIndicatorRequest struct {
	CostIndicator *models.CostIndicator `protobuf:"bytes,1,opt,name=cost_indicator,json=costIndicator,proto3" json:"cost_indicator,omitempty"`
	// contains filtered or unexported fields
}

DeleteCostIndicatorRequest deletes a cost_indicator

func (*DeleteCostIndicatorRequest) Descriptor deprecated

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

Deprecated: Use DeleteCostIndicatorRequest.ProtoReflect.Descriptor instead.

func (*DeleteCostIndicatorRequest) GetCostIndicator

func (x *DeleteCostIndicatorRequest) GetCostIndicator() *models.CostIndicator

func (*DeleteCostIndicatorRequest) ProtoMessage

func (*DeleteCostIndicatorRequest) ProtoMessage()

func (*DeleteCostIndicatorRequest) ProtoReflect

func (*DeleteCostIndicatorRequest) Reset

func (x *DeleteCostIndicatorRequest) Reset()

func (*DeleteCostIndicatorRequest) String

func (x *DeleteCostIndicatorRequest) String() string

type DeleteCostIndicatorResponse

type DeleteCostIndicatorResponse struct {
	CostIndicator *models.CostIndicator `protobuf:"bytes,1,opt,name=cost_indicator,json=costIndicator,proto3" json:"cost_indicator,omitempty"`
	// contains filtered or unexported fields
}

DeleteCostIndicatorResponse deletes a cost_indicator

func (*DeleteCostIndicatorResponse) Descriptor deprecated

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

Deprecated: Use DeleteCostIndicatorResponse.ProtoReflect.Descriptor instead.

func (*DeleteCostIndicatorResponse) GetCostIndicator

func (x *DeleteCostIndicatorResponse) GetCostIndicator() *models.CostIndicator

func (*DeleteCostIndicatorResponse) ProtoMessage

func (*DeleteCostIndicatorResponse) ProtoMessage()

func (*DeleteCostIndicatorResponse) ProtoReflect

func (*DeleteCostIndicatorResponse) Reset

func (x *DeleteCostIndicatorResponse) Reset()

func (*DeleteCostIndicatorResponse) String

func (x *DeleteCostIndicatorResponse) String() string

type FleetCostClient

type FleetCostClient interface {
	// Ping does not send or receive any information. It just checks that the service is there.
	//
	// It can't be given any data and does not return anything especially useful.
	Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
	// PingUFS pings UFS and returns what it did.
	PingUFS(ctx context.Context, in *PingUFSRequest, opts ...grpc.CallOption) (*PingUFSResponse, error)
	// CreateCostIndicator creates a new cost indicator.
	CreateCostIndicator(ctx context.Context, in *CreateCostIndicatorRequest, opts ...grpc.CallOption) (*CreateCostIndicatorResponse, error)
	// ListCostIndicators creates a new cost indicator.
	ListCostIndicators(ctx context.Context, in *ListCostIndicatorsRequest, opts ...grpc.CallOption) (*ListCostIndicatorsResponse, error)
	// UpdateCostIndicator updates an existing cost indicator.
	UpdateCostIndicator(ctx context.Context, in *UpdateCostIndicatorRequest, opts ...grpc.CallOption) (*UpdateCostIndicatorResponse, error)
	DeleteCostIndicator(ctx context.Context, in *DeleteCostIndicatorRequest, opts ...grpc.CallOption) (*DeleteCostIndicatorResponse, error)
	// CreateVariable creates a variable for storing non-cost data.
	CreateVariable(ctx context.Context, in *CreateVariableRequest, opts ...grpc.CallOption) (*CreateVariableResponse, error)
	// GetCostResult gets the cost breakdown for a given device.
	GetCostResult(ctx context.Context, in *GetCostResultRequest, opts ...grpc.CallOption) (*models.CostResult, error)
	// PeristToBigquery persists records to BigQuery.
	PersistToBigquery(ctx context.Context, in *PersistToBigqueryRequest, opts ...grpc.CallOption) (*PersistToBigqueryResponse, error)
	// RepopulateCache ensures that the cost data matches the state of UFS.
	RepopulateCache(ctx context.Context, in *RepopulateCacheRequest, opts ...grpc.CallOption) (*RepopulateCacheResponse, error)
}

FleetCostClient is the client API for FleetCost service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewFleetCostClient

func NewFleetCostClient(cc grpc.ClientConnInterface) FleetCostClient

func NewFleetCostPRPCClient

func NewFleetCostPRPCClient(client *prpc.Client) FleetCostClient

type FleetCostServer

type FleetCostServer interface {
	// Ping does not send or receive any information. It just checks that the service is there.
	//
	// It can't be given any data and does not return anything especially useful.
	Ping(context.Context, *PingRequest) (*PingResponse, error)
	// PingUFS pings UFS and returns what it did.
	PingUFS(context.Context, *PingUFSRequest) (*PingUFSResponse, error)
	// CreateCostIndicator creates a new cost indicator.
	CreateCostIndicator(context.Context, *CreateCostIndicatorRequest) (*CreateCostIndicatorResponse, error)
	// ListCostIndicators creates a new cost indicator.
	ListCostIndicators(context.Context, *ListCostIndicatorsRequest) (*ListCostIndicatorsResponse, error)
	// UpdateCostIndicator updates an existing cost indicator.
	UpdateCostIndicator(context.Context, *UpdateCostIndicatorRequest) (*UpdateCostIndicatorResponse, error)
	DeleteCostIndicator(context.Context, *DeleteCostIndicatorRequest) (*DeleteCostIndicatorResponse, error)
	// CreateVariable creates a variable for storing non-cost data.
	CreateVariable(context.Context, *CreateVariableRequest) (*CreateVariableResponse, error)
	// GetCostResult gets the cost breakdown for a given device.
	GetCostResult(context.Context, *GetCostResultRequest) (*models.CostResult, error)
	// PeristToBigquery persists records to BigQuery.
	PersistToBigquery(context.Context, *PersistToBigqueryRequest) (*PersistToBigqueryResponse, error)
	// RepopulateCache ensures that the cost data matches the state of UFS.
	RepopulateCache(context.Context, *RepopulateCacheRequest) (*RepopulateCacheResponse, error)
}

FleetCostServer is the server API for FleetCost service.

type GetCostResultRequest

type GetCostResultRequest struct {
	DeviceId    string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	Hostname    string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	ForceUpdate bool   `protobuf:"varint,3,opt,name=force_update,json=forceUpdate,proto3" json:"force_update,omitempty"`
	// forgive missing entries forgives entries that are missing.
	ForgiveMissingEntries bool `` /* 127-byte string literal not displayed */
	// If no UFS is true, then compute the answer for a generic entity (that may not exist in UFS).
	// If no UFS is false, then do the usual thing and get information such as the board and model from UFS.
	NoUfs bool `protobuf:"varint,5,opt,name=no_ufs,json=noUfs,proto3" json:"no_ufs,omitempty"`
	// An analysis hint is a hint provided to a cost result request when no_ufs is true
	// that provides features for the DUT that would otherwise come from UFS.
	//
	// These features are:
	//
	// -- "chromeos"  (says that the DUT is an ordinary chromeos device)
	// -- "pool:" ... (controls the pool)
	AnalysisHint []string `protobuf:"bytes,6,rep,name=analysis_hint,json=analysisHint,proto3" json:"analysis_hint,omitempty"`
	// contains filtered or unexported fields
}

GetCostResultRequest gets information about the cost of a device.

func (*GetCostResultRequest) Descriptor deprecated

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

Deprecated: Use GetCostResultRequest.ProtoReflect.Descriptor instead.

func (*GetCostResultRequest) GetAnalysisHint

func (x *GetCostResultRequest) GetAnalysisHint() []string

func (*GetCostResultRequest) GetDeviceId

func (x *GetCostResultRequest) GetDeviceId() string

func (*GetCostResultRequest) GetForceUpdate

func (x *GetCostResultRequest) GetForceUpdate() bool

func (*GetCostResultRequest) GetForgiveMissingEntries

func (x *GetCostResultRequest) GetForgiveMissingEntries() bool

func (*GetCostResultRequest) GetHostname

func (x *GetCostResultRequest) GetHostname() string

func (*GetCostResultRequest) GetNoUfs

func (x *GetCostResultRequest) GetNoUfs() bool

func (*GetCostResultRequest) ProtoMessage

func (*GetCostResultRequest) ProtoMessage()

func (*GetCostResultRequest) ProtoReflect

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

func (*GetCostResultRequest) Reset

func (x *GetCostResultRequest) Reset()

func (*GetCostResultRequest) String

func (x *GetCostResultRequest) String() string

type ListCostIndicatorsFilter

type ListCostIndicatorsFilter struct {

	// primary, secondary, and tertiary are three levels of taxonomy for indictors.
	// Historically, primary was board, secondary was model, and tertiary was sku.
	Primary   string `protobuf:"bytes,6,opt,name=primary,proto3" json:"primary,omitempty"`
	Secondary string `protobuf:"bytes,7,opt,name=secondary,proto3" json:"secondary,omitempty"`
	Tertiary  string `protobuf:"bytes,8,opt,name=tertiary,proto3" json:"tertiary,omitempty"`
	// Location is the location as a string.
	Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
	// Type is the type as a string.
	Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

ListCostIndicatorsFilter is a filter query containing all the fields that can be filtered on.

TODO(gregorynisbet): Do we want a separate Boolean field for searching for empty boards, models, SKUs?

Does the datastore query engine support this well?

func (*ListCostIndicatorsFilter) Descriptor deprecated

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

Deprecated: Use ListCostIndicatorsFilter.ProtoReflect.Descriptor instead.

func (*ListCostIndicatorsFilter) GetLocation

func (x *ListCostIndicatorsFilter) GetLocation() string

func (*ListCostIndicatorsFilter) GetPrimary

func (x *ListCostIndicatorsFilter) GetPrimary() string

func (*ListCostIndicatorsFilter) GetSecondary

func (x *ListCostIndicatorsFilter) GetSecondary() string

func (*ListCostIndicatorsFilter) GetTertiary

func (x *ListCostIndicatorsFilter) GetTertiary() string

func (*ListCostIndicatorsFilter) GetType

func (x *ListCostIndicatorsFilter) GetType() string

func (*ListCostIndicatorsFilter) ProtoMessage

func (*ListCostIndicatorsFilter) ProtoMessage()

func (*ListCostIndicatorsFilter) ProtoReflect

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

func (*ListCostIndicatorsFilter) Reset

func (x *ListCostIndicatorsFilter) Reset()

func (*ListCostIndicatorsFilter) String

func (x *ListCostIndicatorsFilter) String() string

type ListCostIndicatorsRequest

type ListCostIndicatorsRequest struct {
	PageSize int32 `protobuf:"varint,1,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// TODO(gregorynisbet): Do we need filter disjunctions here? For the moment, don't add them.
	Filter *ListCostIndicatorsFilter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

ListCostIndicatorsRequest lists the cost indicators.

func (*ListCostIndicatorsRequest) Descriptor deprecated

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

Deprecated: Use ListCostIndicatorsRequest.ProtoReflect.Descriptor instead.

func (*ListCostIndicatorsRequest) GetFilter

func (*ListCostIndicatorsRequest) GetPageSize

func (x *ListCostIndicatorsRequest) GetPageSize() int32

func (*ListCostIndicatorsRequest) ProtoMessage

func (*ListCostIndicatorsRequest) ProtoMessage()

func (*ListCostIndicatorsRequest) ProtoReflect

func (*ListCostIndicatorsRequest) Reset

func (x *ListCostIndicatorsRequest) Reset()

func (*ListCostIndicatorsRequest) String

func (x *ListCostIndicatorsRequest) String() string

type ListCostIndicatorsResponse

type ListCostIndicatorsResponse struct {
	CostIndicator []*models.CostIndicator `protobuf:"bytes,1,rep,name=cost_indicator,json=costIndicator,proto3" json:"cost_indicator,omitempty"`
	// contains filtered or unexported fields
}

ListCostIndicatorsResponse lists cost indicators

func (*ListCostIndicatorsResponse) Descriptor deprecated

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

Deprecated: Use ListCostIndicatorsResponse.ProtoReflect.Descriptor instead.

func (*ListCostIndicatorsResponse) GetCostIndicator

func (x *ListCostIndicatorsResponse) GetCostIndicator() []*models.CostIndicator

func (*ListCostIndicatorsResponse) ProtoMessage

func (*ListCostIndicatorsResponse) ProtoMessage()

func (*ListCostIndicatorsResponse) ProtoReflect

func (*ListCostIndicatorsResponse) Reset

func (x *ListCostIndicatorsResponse) Reset()

func (*ListCostIndicatorsResponse) String

func (x *ListCostIndicatorsResponse) String() string

type PersistToBigqueryRequest

type PersistToBigqueryRequest struct {

	// If readonly is true, then we perform a dry run and do not update BigQuery.
	// If readonly is false, then we do update BigQuery.
	Readonly bool `protobuf:"varint,1,opt,name=readonly,proto3" json:"readonly,omitempty"`
	// contains filtered or unexported fields
}

PersistToBigqueryRequest does not contain any info, since PersistToBigquery is intended to be called as a cron job.

func (*PersistToBigqueryRequest) Descriptor deprecated

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

Deprecated: Use PersistToBigqueryRequest.ProtoReflect.Descriptor instead.

func (*PersistToBigqueryRequest) GetReadonly

func (x *PersistToBigqueryRequest) GetReadonly() bool

func (*PersistToBigqueryRequest) ProtoMessage

func (*PersistToBigqueryRequest) ProtoMessage()

func (*PersistToBigqueryRequest) ProtoReflect

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

func (*PersistToBigqueryRequest) Reset

func (x *PersistToBigqueryRequest) Reset()

func (*PersistToBigqueryRequest) String

func (x *PersistToBigqueryRequest) String() string

type PersistToBigqueryResponse

type PersistToBigqueryResponse struct {

	// Persisted records is the number of records that were persisted.
	PersistedRecords int32 `protobuf:"varint,1,opt,name=persisted_records,json=persistedRecords,proto3" json:"persisted_records,omitempty"`
	// Succeeded is true if and only if no errors at all were encountered during persistence.
	Succeeded bool `protobuf:"varint,2,opt,name=succeeded,proto3" json:"succeeded,omitempty"`
	// contains filtered or unexported fields
}

func (*PersistToBigqueryResponse) Descriptor deprecated

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

Deprecated: Use PersistToBigqueryResponse.ProtoReflect.Descriptor instead.

func (*PersistToBigqueryResponse) GetPersistedRecords

func (x *PersistToBigqueryResponse) GetPersistedRecords() int32

func (*PersistToBigqueryResponse) GetSucceeded

func (x *PersistToBigqueryResponse) GetSucceeded() bool

func (*PersistToBigqueryResponse) ProtoMessage

func (*PersistToBigqueryResponse) ProtoMessage()

func (*PersistToBigqueryResponse) ProtoReflect

func (*PersistToBigqueryResponse) Reset

func (x *PersistToBigqueryResponse) Reset()

func (*PersistToBigqueryResponse) String

func (x *PersistToBigqueryResponse) String() string

type PingRequest

type PingRequest struct {
	// contains filtered or unexported fields
}

PingRequest intentionally contains nothing.

func (*PingRequest) Descriptor deprecated

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

Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.

func (*PingRequest) ProtoMessage

func (*PingRequest) ProtoMessage()

func (*PingRequest) ProtoReflect

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

func (*PingRequest) Reset

func (x *PingRequest) Reset()

func (*PingRequest) String

func (x *PingRequest) String() string

type PingResponse

type PingResponse struct {
	// contains filtered or unexported fields
}

PingResponse intentionally contains nothing.

func (*PingResponse) Descriptor deprecated

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

Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) ProtoReflect

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

func (*PingResponse) Reset

func (x *PingResponse) Reset()

func (*PingResponse) String

func (x *PingResponse) String() string

type PingUFSRequest

type PingUFSRequest struct {
	// contains filtered or unexported fields
}

PingUFSRequest intentionally contains nothing.

func (*PingUFSRequest) Descriptor deprecated

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

Deprecated: Use PingUFSRequest.ProtoReflect.Descriptor instead.

func (*PingUFSRequest) ProtoMessage

func (*PingUFSRequest) ProtoMessage()

func (*PingUFSRequest) ProtoReflect

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

func (*PingUFSRequest) Reset

func (x *PingUFSRequest) Reset()

func (*PingUFSRequest) String

func (x *PingUFSRequest) String() string

type PingUFSResponse

type PingUFSResponse struct {

	// ufs_request is the request to UFS, encoded as JSON.
	UfsRequest *anypb.Any `protobuf:"bytes,1,opt,name=ufs_request,json=ufsRequest,proto3" json:"ufs_request,omitempty"`
	// ufs_response is the response from UFS, encoded as JSON.
	UfsResponse *anypb.Any `protobuf:"bytes,2,opt,name=ufs_response,json=ufsResponse,proto3" json:"ufs_response,omitempty"`
	// ufs_error is the error we encountered from trying to ping UFS.
	UfsError string `protobuf:"bytes,3,opt,name=ufs_error,json=ufsError,proto3" json:"ufs_error,omitempty"`
	// ufs_hostname is the hostname of the UFS instance that we contacted.
	UfsHostname string `protobuf:"bytes,4,opt,name=ufs_hostname,json=ufsHostname,proto3" json:"ufs_hostname,omitempty"`
	// contains filtered or unexported fields
}

PingUFSResponse contains information about the request sent to and returned from UFS.

This RPC is intended solely for diagnostic purposes.

func (*PingUFSResponse) Descriptor deprecated

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

Deprecated: Use PingUFSResponse.ProtoReflect.Descriptor instead.

func (*PingUFSResponse) GetUfsError

func (x *PingUFSResponse) GetUfsError() string

func (*PingUFSResponse) GetUfsHostname

func (x *PingUFSResponse) GetUfsHostname() string

func (*PingUFSResponse) GetUfsRequest

func (x *PingUFSResponse) GetUfsRequest() *anypb.Any

func (*PingUFSResponse) GetUfsResponse

func (x *PingUFSResponse) GetUfsResponse() *anypb.Any

func (*PingUFSResponse) ProtoMessage

func (*PingUFSResponse) ProtoMessage()

func (*PingUFSResponse) ProtoReflect

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

func (*PingUFSResponse) Reset

func (x *PingUFSResponse) Reset()

func (*PingUFSResponse) String

func (x *PingUFSResponse) String() string

type RepopulateCacheRequest

type RepopulateCacheRequest struct {

	// forgive missing entries forgives entries that are missing.
	ForgiveMissingEntries bool `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

RepopulateCacheRequest doesn't contain any information. We always persist the entire cache.

func (*RepopulateCacheRequest) Descriptor deprecated

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

Deprecated: Use RepopulateCacheRequest.ProtoReflect.Descriptor instead.

func (*RepopulateCacheRequest) GetForgiveMissingEntries

func (x *RepopulateCacheRequest) GetForgiveMissingEntries() bool

func (*RepopulateCacheRequest) ProtoMessage

func (*RepopulateCacheRequest) ProtoMessage()

func (*RepopulateCacheRequest) ProtoReflect

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

func (*RepopulateCacheRequest) Reset

func (x *RepopulateCacheRequest) Reset()

func (*RepopulateCacheRequest) String

func (x *RepopulateCacheRequest) String() string

type RepopulateCacheResponse

type RepopulateCacheResponse struct {

	// Persisted records is the number of records that were repopulated.
	ProcessedRecords int32 `protobuf:"varint,1,opt,name=processed_records,json=processedRecords,proto3" json:"processed_records,omitempty"`
	// Succeeded is true if and only if no errors at all were encountered when repopulating the cache.
	Succeeded bool `protobuf:"varint,2,opt,name=succeeded,proto3" json:"succeeded,omitempty"`
	// contains filtered or unexported fields
}

RepopulateCacheResponse records the result of repopulating the cache.

func (*RepopulateCacheResponse) Descriptor deprecated

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

Deprecated: Use RepopulateCacheResponse.ProtoReflect.Descriptor instead.

func (*RepopulateCacheResponse) GetProcessedRecords

func (x *RepopulateCacheResponse) GetProcessedRecords() int32

func (*RepopulateCacheResponse) GetSucceeded

func (x *RepopulateCacheResponse) GetSucceeded() bool

func (*RepopulateCacheResponse) ProtoMessage

func (*RepopulateCacheResponse) ProtoMessage()

func (*RepopulateCacheResponse) ProtoReflect

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

func (*RepopulateCacheResponse) Reset

func (x *RepopulateCacheResponse) Reset()

func (*RepopulateCacheResponse) String

func (x *RepopulateCacheResponse) String() string

type UnimplementedFleetCostServer

type UnimplementedFleetCostServer struct {
}

UnimplementedFleetCostServer can be embedded to have forward compatible implementations.

func (*UnimplementedFleetCostServer) CreateCostIndicator

func (*UnimplementedFleetCostServer) CreateVariable

func (*UnimplementedFleetCostServer) DeleteCostIndicator

func (*UnimplementedFleetCostServer) GetCostResult

func (*UnimplementedFleetCostServer) ListCostIndicators

func (*UnimplementedFleetCostServer) PersistToBigquery

func (*UnimplementedFleetCostServer) Ping

func (*UnimplementedFleetCostServer) PingUFS

func (*UnimplementedFleetCostServer) RepopulateCache

func (*UnimplementedFleetCostServer) UpdateCostIndicator

type UpdateCostIndicatorRequest

type UpdateCostIndicatorRequest struct {
	CostIndicator *models.CostIndicator `protobuf:"bytes,1,opt,name=cost_indicator,json=costIndicator,proto3" json:"cost_indicator,omitempty"`
	// The list of fields to be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

UpdateCostIndicatorRequest updates a cost indicator.

func (*UpdateCostIndicatorRequest) Descriptor deprecated

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

Deprecated: Use UpdateCostIndicatorRequest.ProtoReflect.Descriptor instead.

func (*UpdateCostIndicatorRequest) GetCostIndicator

func (x *UpdateCostIndicatorRequest) GetCostIndicator() *models.CostIndicator

func (*UpdateCostIndicatorRequest) GetUpdateMask

func (x *UpdateCostIndicatorRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateCostIndicatorRequest) ProtoMessage

func (*UpdateCostIndicatorRequest) ProtoMessage()

func (*UpdateCostIndicatorRequest) ProtoReflect

func (*UpdateCostIndicatorRequest) Reset

func (x *UpdateCostIndicatorRequest) Reset()

func (*UpdateCostIndicatorRequest) String

func (x *UpdateCostIndicatorRequest) String() string

type UpdateCostIndicatorResponse

type UpdateCostIndicatorResponse struct {
	CostIndicator *models.CostIndicator `protobuf:"bytes,1,opt,name=cost_indicator,json=costIndicator,proto3" json:"cost_indicator,omitempty"`
	// contains filtered or unexported fields
}

UpdateCostIndicatorResponse contains a CostIndicator.

func (*UpdateCostIndicatorResponse) Descriptor deprecated

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

Deprecated: Use UpdateCostIndicatorResponse.ProtoReflect.Descriptor instead.

func (*UpdateCostIndicatorResponse) GetCostIndicator

func (x *UpdateCostIndicatorResponse) GetCostIndicator() *models.CostIndicator

func (*UpdateCostIndicatorResponse) ProtoMessage

func (*UpdateCostIndicatorResponse) ProtoMessage()

func (*UpdateCostIndicatorResponse) ProtoReflect

func (*UpdateCostIndicatorResponse) Reset

func (x *UpdateCostIndicatorResponse) Reset()

func (*UpdateCostIndicatorResponse) String

func (x *UpdateCostIndicatorResponse) String() string

Jump to

Keyboard shortcuts

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