fleetconsolerpc

package
v0.0.0-...-6e5b399 Latest Latest
Warning

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

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

Documentation

Overview

Package fleetconsolerpc is the generated protos for the fleet console service.

Index

Constants

View Source
const (
	FleetConsole_Ping_FullMethodName                 = "/fleetconsole.FleetConsole/Ping"
	FleetConsole_PingBigQuery_FullMethodName         = "/fleetconsole.FleetConsole/PingBigQuery"
	FleetConsole_PingDeviceManager_FullMethodName    = "/fleetconsole.FleetConsole/PingDeviceManager"
	FleetConsole_PingUfs_FullMethodName              = "/fleetconsole.FleetConsole/PingUfs"
	FleetConsole_ListDevices_FullMethodName          = "/fleetconsole.FleetConsole/ListDevices"
	FleetConsole_GetDeviceDimensions_FullMethodName  = "/fleetconsole.FleetConsole/GetDeviceDimensions"
	FleetConsole_CountDevices_FullMethodName         = "/fleetconsole.FleetConsole/CountDevices"
	FleetConsole_RepopulateCache_FullMethodName      = "/fleetconsole.FleetConsole/RepopulateCache"
	FleetConsole_PingDB_FullMethodName               = "/fleetconsole.FleetConsole/PingDB"
	FleetConsole_CleanExit_FullMethodName            = "/fleetconsole.FleetConsole/CleanExit"
	FleetConsole_ListResourceRequests_FullMethodName = "/fleetconsole.FleetConsole/ListResourceRequests"
)

Variables

View Source
var (
	DeviceType_name = map[int32]string{
		0: "DEVICE_TYPE_UNSPECIFIED",
		1: "DEVICE_TYPE_VIRTUAL",
		2: "DEVICE_TYPE_PHYSICAL",
	}
	DeviceType_value = map[string]int32{
		"DEVICE_TYPE_UNSPECIFIED": 0,
		"DEVICE_TYPE_VIRTUAL":     1,
		"DEVICE_TYPE_PHYSICAL":    2,
	}
)

Enum value maps for DeviceType.

View Source
var (
	DeviceState_name = map[int32]string{
		0: "DEVICE_STATE_UNSPECIFIED",
		1: "DEVICE_STATE_AVAILABLE",
		2: "DEVICE_STATE_LEASED",
	}
	DeviceState_value = map[string]int32{
		"DEVICE_STATE_UNSPECIFIED": 0,
		"DEVICE_STATE_AVAILABLE":   1,
		"DEVICE_STATE_LEASED":      2,
	}
)

Enum value maps for DeviceState.

View Source
var File_go_chromium_org_infra_fleetconsole_api_fleetconsolerpc_common_types_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_infra_fleetconsole_api_fleetconsolerpc_service_proto protoreflect.FileDescriptor
View Source
var FleetConsole_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "fleetconsole.FleetConsole",
	HandlerType: (*FleetConsoleServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Ping",
			Handler:    _FleetConsole_Ping_Handler,
		},
		{
			MethodName: "PingBigQuery",
			Handler:    _FleetConsole_PingBigQuery_Handler,
		},
		{
			MethodName: "PingDeviceManager",
			Handler:    _FleetConsole_PingDeviceManager_Handler,
		},
		{
			MethodName: "PingUfs",
			Handler:    _FleetConsole_PingUfs_Handler,
		},
		{
			MethodName: "ListDevices",
			Handler:    _FleetConsole_ListDevices_Handler,
		},
		{
			MethodName: "GetDeviceDimensions",
			Handler:    _FleetConsole_GetDeviceDimensions_Handler,
		},
		{
			MethodName: "CountDevices",
			Handler:    _FleetConsole_CountDevices_Handler,
		},
		{
			MethodName: "RepopulateCache",
			Handler:    _FleetConsole_RepopulateCache_Handler,
		},
		{
			MethodName: "PingDB",
			Handler:    _FleetConsole_PingDB_Handler,
		},
		{
			MethodName: "CleanExit",
			Handler:    _FleetConsole_CleanExit_Handler,
		},
		{
			MethodName: "ListResourceRequests",
			Handler:    _FleetConsole_ListResourceRequests_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "go.chromium.org/infra/fleetconsole/api/fleetconsolerpc/service.proto",
}

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

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 RegisterFleetConsoleServer

func RegisterFleetConsoleServer(s grpc.ServiceRegistrar, srv FleetConsoleServer)

Types

type CleanExitRequest

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

func (*CleanExitRequest) Descriptor deprecated

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

Deprecated: Use CleanExitRequest.ProtoReflect.Descriptor instead.

func (*CleanExitRequest) ProtoMessage

func (*CleanExitRequest) ProtoMessage()

func (*CleanExitRequest) ProtoReflect

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

func (*CleanExitRequest) Reset

func (x *CleanExitRequest) Reset()

func (*CleanExitRequest) String

func (x *CleanExitRequest) String() string

type CleanExitResponse

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

func (*CleanExitResponse) Descriptor deprecated

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

Deprecated: Use CleanExitResponse.ProtoReflect.Descriptor instead.

func (*CleanExitResponse) ProtoMessage

func (*CleanExitResponse) ProtoMessage()

func (*CleanExitResponse) ProtoReflect

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

func (*CleanExitResponse) Reset

func (x *CleanExitResponse) Reset()

func (*CleanExitResponse) String

func (x *CleanExitResponse) String() string

type CountDevicesRequest

type CountDevicesRequest struct {

	// See: AIP-160 (https://google.aip.dev/160) for the syntax
	// Same filter format as ListDevicesRequest
	Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*CountDevicesRequest) Descriptor deprecated

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

Deprecated: Use CountDevicesRequest.ProtoReflect.Descriptor instead.

func (*CountDevicesRequest) GetFilter

func (x *CountDevicesRequest) GetFilter() string

func (*CountDevicesRequest) ProtoMessage

func (*CountDevicesRequest) ProtoMessage()

func (*CountDevicesRequest) ProtoReflect

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

func (*CountDevicesRequest) Reset

func (x *CountDevicesRequest) Reset()

func (*CountDevicesRequest) String

func (x *CountDevicesRequest) String() string

type CountDevicesResponse

type CountDevicesResponse struct {
	Total       int32              `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	TaskState   *TaskStateCounts   `protobuf:"bytes,2,opt,name=task_state,json=taskState,proto3" json:"task_state,omitempty"`
	DeviceState *DeviceStateCounts `protobuf:"bytes,3,opt,name=device_state,json=deviceState,proto3" json:"device_state,omitempty"`
	// contains filtered or unexported fields
}

func (*CountDevicesResponse) Descriptor deprecated

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

Deprecated: Use CountDevicesResponse.ProtoReflect.Descriptor instead.

func (*CountDevicesResponse) GetDeviceState

func (x *CountDevicesResponse) GetDeviceState() *DeviceStateCounts

func (*CountDevicesResponse) GetTaskState

func (x *CountDevicesResponse) GetTaskState() *TaskStateCounts

func (*CountDevicesResponse) GetTotal

func (x *CountDevicesResponse) GetTotal() int32

func (*CountDevicesResponse) ProtoMessage

func (*CountDevicesResponse) ProtoMessage()

func (*CountDevicesResponse) ProtoReflect

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

func (*CountDevicesResponse) Reset

func (x *CountDevicesResponse) Reset()

func (*CountDevicesResponse) String

func (x *CountDevicesResponse) String() string

type DateOnly

type DateOnly struct {
	Year  int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"`
	Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"`
	Day   int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"`
	// contains filtered or unexported fields
}

func (*DateOnly) Descriptor deprecated

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

Deprecated: Use DateOnly.ProtoReflect.Descriptor instead.

func (*DateOnly) GetDay

func (x *DateOnly) GetDay() int32

func (*DateOnly) GetMonth

func (x *DateOnly) GetMonth() int32

func (*DateOnly) GetYear

func (x *DateOnly) GetYear() int32

func (*DateOnly) ProtoMessage

func (*DateOnly) ProtoMessage()

func (*DateOnly) ProtoReflect

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

func (*DateOnly) Reset

func (x *DateOnly) Reset()

func (*DateOnly) String

func (x *DateOnly) String() string

type Device

type Device struct {

	// In the case of VMs, device id could be the GCE instance name. For physical
	// DUTs we use the IDs we get from UFS.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// dut_id is the asset tag for a Device
	DutId   string         `protobuf:"bytes,6,opt,name=dut_id,json=dutId,proto3" json:"dut_id,omitempty"`
	Address *DeviceAddress `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Type    DeviceType     `protobuf:"varint,3,opt,name=type,proto3,enum=fleetconsole.DeviceType" json:"type,omitempty"`
	State   DeviceState    `protobuf:"varint,4,opt,name=state,proto3,enum=fleetconsole.DeviceState" json:"state,omitempty"`
	// // This proto contains per-DUT hardware relevant information including labels.
	DeviceSpec *DeviceSpec `protobuf:"bytes,5,opt,name=device_spec,json=deviceSpec,proto3" json:"device_spec,omitempty"`
	// contains filtered or unexported fields
}

func (*Device) Descriptor deprecated

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

Deprecated: Use Device.ProtoReflect.Descriptor instead.

func (*Device) GetAddress

func (x *Device) GetAddress() *DeviceAddress

func (*Device) GetDeviceSpec

func (x *Device) GetDeviceSpec() *DeviceSpec

func (*Device) GetDutId

func (x *Device) GetDutId() string

func (*Device) GetId

func (x *Device) GetId() string

func (*Device) GetState

func (x *Device) GetState() DeviceState

func (*Device) GetType

func (x *Device) GetType() DeviceType

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect

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

func (*Device) Reset

func (x *Device) Reset()

func (*Device) String

func (x *Device) String() string

type DeviceAddress

type DeviceAddress struct {

	// IP address of the device.
	// For physical DUTs it can be a hostname.
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port int32  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceAddress) Descriptor deprecated

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

Deprecated: Use DeviceAddress.ProtoReflect.Descriptor instead.

func (*DeviceAddress) GetHost

func (x *DeviceAddress) GetHost() string

func (*DeviceAddress) GetPort

func (x *DeviceAddress) GetPort() int32

func (*DeviceAddress) ProtoMessage

func (*DeviceAddress) ProtoMessage()

func (*DeviceAddress) ProtoReflect

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

func (*DeviceAddress) Reset

func (x *DeviceAddress) Reset()

func (*DeviceAddress) String

func (x *DeviceAddress) String() string

type DeviceSpec

type DeviceSpec struct {

	// A map for labels used to request a matching device.
	Labels map[string]*LabelValues `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeviceSpec) Descriptor deprecated

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

Deprecated: Use DeviceSpec.ProtoReflect.Descriptor instead.

func (*DeviceSpec) GetLabels

func (x *DeviceSpec) GetLabels() map[string]*LabelValues

func (*DeviceSpec) ProtoMessage

func (*DeviceSpec) ProtoMessage()

func (*DeviceSpec) ProtoReflect

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

func (*DeviceSpec) Reset

func (x *DeviceSpec) Reset()

func (*DeviceSpec) String

func (x *DeviceSpec) String() string

type DeviceState

type DeviceState int32
const (
	DeviceState_DEVICE_STATE_UNSPECIFIED DeviceState = 0
	// Default state.
	// Device is available to be leased.
	DeviceState_DEVICE_STATE_AVAILABLE DeviceState = 1
	// Device is leased.
	DeviceState_DEVICE_STATE_LEASED DeviceState = 2
)

func (DeviceState) Descriptor

func (DeviceState) Enum

func (x DeviceState) Enum() *DeviceState

func (DeviceState) EnumDescriptor deprecated

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

Deprecated: Use DeviceState.Descriptor instead.

func (DeviceState) Number

func (x DeviceState) Number() protoreflect.EnumNumber

func (DeviceState) String

func (x DeviceState) String() string

func (DeviceState) Type

type DeviceStateCounts

type DeviceStateCounts struct {
	Ready            int32 `protobuf:"varint,1,opt,name=ready,proto3" json:"ready,omitempty"`
	NeedManualRepair int32 `protobuf:"varint,2,opt,name=need_manual_repair,json=needManualRepair,proto3" json:"need_manual_repair,omitempty"`
	NeedRepair       int32 `protobuf:"varint,3,opt,name=need_repair,json=needRepair,proto3" json:"need_repair,omitempty"`
	RepairFailed     int32 `protobuf:"varint,4,opt,name=repair_failed,json=repairFailed,proto3" json:"repair_failed,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceStateCounts) Descriptor deprecated

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

Deprecated: Use DeviceStateCounts.ProtoReflect.Descriptor instead.

func (*DeviceStateCounts) GetNeedManualRepair

func (x *DeviceStateCounts) GetNeedManualRepair() int32

func (*DeviceStateCounts) GetNeedRepair

func (x *DeviceStateCounts) GetNeedRepair() int32

func (*DeviceStateCounts) GetReady

func (x *DeviceStateCounts) GetReady() int32

func (*DeviceStateCounts) GetRepairFailed

func (x *DeviceStateCounts) GetRepairFailed() int32

func (*DeviceStateCounts) ProtoMessage

func (*DeviceStateCounts) ProtoMessage()

func (*DeviceStateCounts) ProtoReflect

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

func (*DeviceStateCounts) Reset

func (x *DeviceStateCounts) Reset()

func (*DeviceStateCounts) String

func (x *DeviceStateCounts) String() string

type DeviceType

type DeviceType int32
const (
	DeviceType_DEVICE_TYPE_UNSPECIFIED DeviceType = 0
	DeviceType_DEVICE_TYPE_VIRTUAL     DeviceType = 1
	DeviceType_DEVICE_TYPE_PHYSICAL    DeviceType = 2
)

func (DeviceType) Descriptor

func (DeviceType) Descriptor() protoreflect.EnumDescriptor

func (DeviceType) Enum

func (x DeviceType) Enum() *DeviceType

func (DeviceType) EnumDescriptor deprecated

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

Deprecated: Use DeviceType.Descriptor instead.

func (DeviceType) Number

func (x DeviceType) Number() protoreflect.EnumNumber

func (DeviceType) String

func (x DeviceType) String() string

func (DeviceType) Type

type FleetConsoleClient

type FleetConsoleClient interface {
	// Ping does not send or receive any information. It just checks that the service is there.
	Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
	// PingBigQuery attempts to contact BigQuery service through Fleet Console. Useful for debugging.
	PingBigQuery(ctx context.Context, in *PingBigQueryRequest, opts ...grpc.CallOption) (*PingBigQueryResponse, error)
	// PingDeviceManager attempts to contact DeviceManager through Fleet Console. Useful for debugging.
	PingDeviceManager(ctx context.Context, in *PingDeviceManagerRequest, opts ...grpc.CallOption) (*PingDeviceManagerResponse, error)
	// PingUfs attempts to contact UFS through Fleet Console. Useful for debugging.
	PingUfs(ctx context.Context, in *PingUfsRequest, opts ...grpc.CallOption) (*PingUfsResponse, error)
	// ListDevices managed by Device Manager.
	ListDevices(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error)
	// GetDeviceDimensions provides overview of devices dimensions and their values
	GetDeviceDimensions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetDeviceDimensionsResponse, error)
	// CountDevices provides a count of the devices
	CountDevices(ctx context.Context, in *CountDevicesRequest, opts ...grpc.CallOption) (*CountDevicesResponse, error)
	// RepopulateCache repopulates the cache, meant to be triggered by cron.
	RepopulateCache(ctx context.Context, in *RepopulateCacheRequest, opts ...grpc.CallOption) (*RepopulateCacheResponse, error)
	// PingDB attempts to establish contact with the database and does nothing else.
	PingDB(ctx context.Context, in *PingDBRequest, opts ...grpc.CallOption) (*PingDBResponse, error)
	// CleanExit just exits the current process.
	CleanExit(ctx context.Context, in *CleanExitRequest, opts ...grpc.CallOption) (*CleanExitResponse, error)
	// ListResourceRequests returns Resource Requests provided by BigQuery
	ListResourceRequests(ctx context.Context, in *ListResourceRequestsRequest, opts ...grpc.CallOption) (*ListResourceRequestsResponse, error)
}

FleetConsoleClient is the client API for FleetConsole 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 FleetConsoleServer

type FleetConsoleServer interface {
	// Ping does not send or receive any information. It just checks that the service is there.
	Ping(context.Context, *PingRequest) (*PingResponse, error)
	// PingBigQuery attempts to contact BigQuery service through Fleet Console. Useful for debugging.
	PingBigQuery(context.Context, *PingBigQueryRequest) (*PingBigQueryResponse, error)
	// PingDeviceManager attempts to contact DeviceManager through Fleet Console. Useful for debugging.
	PingDeviceManager(context.Context, *PingDeviceManagerRequest) (*PingDeviceManagerResponse, error)
	// PingUfs attempts to contact UFS through Fleet Console. Useful for debugging.
	PingUfs(context.Context, *PingUfsRequest) (*PingUfsResponse, error)
	// ListDevices managed by Device Manager.
	ListDevices(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error)
	// GetDeviceDimensions provides overview of devices dimensions and their values
	GetDeviceDimensions(context.Context, *emptypb.Empty) (*GetDeviceDimensionsResponse, error)
	// CountDevices provides a count of the devices
	CountDevices(context.Context, *CountDevicesRequest) (*CountDevicesResponse, error)
	// RepopulateCache repopulates the cache, meant to be triggered by cron.
	RepopulateCache(context.Context, *RepopulateCacheRequest) (*RepopulateCacheResponse, error)
	// PingDB attempts to establish contact with the database and does nothing else.
	PingDB(context.Context, *PingDBRequest) (*PingDBResponse, error)
	// CleanExit just exits the current process.
	CleanExit(context.Context, *CleanExitRequest) (*CleanExitResponse, error)
	// ListResourceRequests returns Resource Requests provided by BigQuery
	ListResourceRequests(context.Context, *ListResourceRequestsRequest) (*ListResourceRequestsResponse, error)
	// contains filtered or unexported methods
}

FleetConsoleServer is the server API for FleetConsole service. All implementations must embed UnimplementedFleetConsoleServer for forward compatibility.

type GetDeviceDimensionsResponse

type GetDeviceDimensionsResponse struct {
	BaseDimensions map[string]*LabelValues `` /* 177-byte string literal not displayed */
	Labels         map[string]*LabelValues `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetDeviceDimensionsResponse) Descriptor deprecated

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

Deprecated: Use GetDeviceDimensionsResponse.ProtoReflect.Descriptor instead.

func (*GetDeviceDimensionsResponse) GetBaseDimensions

func (x *GetDeviceDimensionsResponse) GetBaseDimensions() map[string]*LabelValues

func (*GetDeviceDimensionsResponse) GetLabels

func (x *GetDeviceDimensionsResponse) GetLabels() map[string]*LabelValues

func (*GetDeviceDimensionsResponse) ProtoMessage

func (*GetDeviceDimensionsResponse) ProtoMessage()

func (*GetDeviceDimensionsResponse) ProtoReflect

func (*GetDeviceDimensionsResponse) Reset

func (x *GetDeviceDimensionsResponse) Reset()

func (*GetDeviceDimensionsResponse) String

func (x *GetDeviceDimensionsResponse) String() string

type LabelValues

type LabelValues struct {
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*LabelValues) Descriptor deprecated

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

Deprecated: Use LabelValues.ProtoReflect.Descriptor instead.

func (*LabelValues) GetValues

func (x *LabelValues) GetValues() []string

func (*LabelValues) ProtoMessage

func (*LabelValues) ProtoMessage()

func (*LabelValues) ProtoReflect

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

func (*LabelValues) Reset

func (x *LabelValues) Reset()

func (*LabelValues) String

func (x *LabelValues) String() string

type ListDevicesRequest

type ListDevicesRequest struct {

	// The maximum number of devices to return. The service may return fewer than
	// this value. If unspecified, at most 50 devices will be returned.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListDevices` call. Provide this to
	// retrieve the subsequent page. Returns first page if omitted.
	//
	// When paginating, all other parameters provided to `ListDevices` must match
	// the call that provided the page token.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy   string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// See: AIP-160 (https://google.aip.dev/160) for the syntax
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDevicesRequest) Descriptor deprecated

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

Deprecated: Use ListDevicesRequest.ProtoReflect.Descriptor instead.

func (*ListDevicesRequest) GetFilter

func (x *ListDevicesRequest) GetFilter() string

func (*ListDevicesRequest) GetOrderBy

func (x *ListDevicesRequest) GetOrderBy() string

func (*ListDevicesRequest) GetPageSize

func (x *ListDevicesRequest) GetPageSize() int32

func (*ListDevicesRequest) GetPageToken

func (x *ListDevicesRequest) GetPageToken() string

func (*ListDevicesRequest) ProtoMessage

func (*ListDevicesRequest) ProtoMessage()

func (*ListDevicesRequest) ProtoReflect

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

func (*ListDevicesRequest) Reset

func (x *ListDevicesRequest) Reset()

func (*ListDevicesRequest) String

func (x *ListDevicesRequest) String() string

type ListDevicesResponse

type ListDevicesResponse struct {

	// List of devices to be returned.
	Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page. If
	// this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDevicesResponse) Descriptor deprecated

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

Deprecated: Use ListDevicesResponse.ProtoReflect.Descriptor instead.

func (*ListDevicesResponse) GetDevices

func (x *ListDevicesResponse) GetDevices() []*Device

func (*ListDevicesResponse) GetNextPageToken

func (x *ListDevicesResponse) GetNextPageToken() string

func (*ListDevicesResponse) ProtoMessage

func (*ListDevicesResponse) ProtoMessage()

func (*ListDevicesResponse) ProtoReflect

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

func (*ListDevicesResponse) Reset

func (x *ListDevicesResponse) Reset()

func (*ListDevicesResponse) String

func (x *ListDevicesResponse) String() string

type ListResourceRequestsRequest

type ListResourceRequestsRequest struct {

	// The maximum number of Resource Requests to return. The service may return fewer than
	// this value. If unspecified, at most 50 Resource Requests will be returned.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListResourceRequests` call. Provide this to
	// retrieve the subsequent page. Returns first page if omitted.
	//
	// When paginating, all other parameters provided to `ListResourceRequests` must match
	// the call that provided the page token.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy   string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// See: AIP-160 (https://google.aip.dev/160) for the syntax
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourceRequestsRequest) Descriptor deprecated

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

Deprecated: Use ListResourceRequestsRequest.ProtoReflect.Descriptor instead.

func (*ListResourceRequestsRequest) GetFilter

func (x *ListResourceRequestsRequest) GetFilter() string

func (*ListResourceRequestsRequest) GetOrderBy

func (x *ListResourceRequestsRequest) GetOrderBy() string

func (*ListResourceRequestsRequest) GetPageSize

func (x *ListResourceRequestsRequest) GetPageSize() int32

func (*ListResourceRequestsRequest) GetPageToken

func (x *ListResourceRequestsRequest) GetPageToken() string

func (*ListResourceRequestsRequest) ProtoMessage

func (*ListResourceRequestsRequest) ProtoMessage()

func (*ListResourceRequestsRequest) ProtoReflect

func (*ListResourceRequestsRequest) Reset

func (x *ListResourceRequestsRequest) Reset()

func (*ListResourceRequestsRequest) String

func (x *ListResourceRequestsRequest) String() string

type ListResourceRequestsResponse

type ListResourceRequestsResponse struct {

	// List of Resource Requests to be returned.
	ResourceRequests []*ResourceRequest `protobuf:"bytes,1,rep,name=resource_requests,json=resourceRequests,proto3" json:"resource_requests,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page. If
	// this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourceRequestsResponse) Descriptor deprecated

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

Deprecated: Use ListResourceRequestsResponse.ProtoReflect.Descriptor instead.

func (*ListResourceRequestsResponse) GetNextPageToken

func (x *ListResourceRequestsResponse) GetNextPageToken() string

func (*ListResourceRequestsResponse) GetResourceRequests

func (x *ListResourceRequestsResponse) GetResourceRequests() []*ResourceRequest

func (*ListResourceRequestsResponse) ProtoMessage

func (*ListResourceRequestsResponse) ProtoMessage()

func (*ListResourceRequestsResponse) ProtoReflect

func (*ListResourceRequestsResponse) Reset

func (x *ListResourceRequestsResponse) Reset()

func (*ListResourceRequestsResponse) String

type PingBigQueryRequest

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

PingBigQueryRequest intentionally contains nothing.

func (*PingBigQueryRequest) Descriptor deprecated

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

Deprecated: Use PingBigQueryRequest.ProtoReflect.Descriptor instead.

func (*PingBigQueryRequest) ProtoMessage

func (*PingBigQueryRequest) ProtoMessage()

func (*PingBigQueryRequest) ProtoReflect

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

func (*PingBigQueryRequest) Reset

func (x *PingBigQueryRequest) Reset()

func (*PingBigQueryRequest) String

func (x *PingBigQueryRequest) String() string

type PingBigQueryResponse

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

PingBigQueryResponse intentionally contains nothing.

func (*PingBigQueryResponse) Descriptor deprecated

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

Deprecated: Use PingBigQueryResponse.ProtoReflect.Descriptor instead.

func (*PingBigQueryResponse) ProtoMessage

func (*PingBigQueryResponse) ProtoMessage()

func (*PingBigQueryResponse) ProtoReflect

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

func (*PingBigQueryResponse) Reset

func (x *PingBigQueryResponse) Reset()

func (*PingBigQueryResponse) String

func (x *PingBigQueryResponse) String() string

type PingDBRequest

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

func (*PingDBRequest) Descriptor deprecated

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

Deprecated: Use PingDBRequest.ProtoReflect.Descriptor instead.

func (*PingDBRequest) ProtoMessage

func (*PingDBRequest) ProtoMessage()

func (*PingDBRequest) ProtoReflect

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

func (*PingDBRequest) Reset

func (x *PingDBRequest) Reset()

func (*PingDBRequest) String

func (x *PingDBRequest) String() string

type PingDBResponse

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

func (*PingDBResponse) Descriptor deprecated

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

Deprecated: Use PingDBResponse.ProtoReflect.Descriptor instead.

func (*PingDBResponse) ProtoMessage

func (*PingDBResponse) ProtoMessage()

func (*PingDBResponse) ProtoReflect

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

func (*PingDBResponse) Reset

func (x *PingDBResponse) Reset()

func (*PingDBResponse) String

func (x *PingDBResponse) String() string

type PingDeviceManagerRequest

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

PingDeviceManagerRequest intentionally contains nothing.

func (*PingDeviceManagerRequest) Descriptor deprecated

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

Deprecated: Use PingDeviceManagerRequest.ProtoReflect.Descriptor instead.

func (*PingDeviceManagerRequest) ProtoMessage

func (*PingDeviceManagerRequest) ProtoMessage()

func (*PingDeviceManagerRequest) ProtoReflect

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

func (*PingDeviceManagerRequest) Reset

func (x *PingDeviceManagerRequest) Reset()

func (*PingDeviceManagerRequest) String

func (x *PingDeviceManagerRequest) String() string

type PingDeviceManagerResponse

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

PingDeviceManagerResponse intentionally contains nothing.

func (*PingDeviceManagerResponse) Descriptor deprecated

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

Deprecated: Use PingDeviceManagerResponse.ProtoReflect.Descriptor instead.

func (*PingDeviceManagerResponse) ProtoMessage

func (*PingDeviceManagerResponse) ProtoMessage()

func (*PingDeviceManagerResponse) ProtoReflect

func (*PingDeviceManagerResponse) Reset

func (x *PingDeviceManagerResponse) Reset()

func (*PingDeviceManagerResponse) String

func (x *PingDeviceManagerResponse) 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 {
	// contains filtered or unexported fields
}

PingUfsResponse intentionally contains nothing.

func (*PingUfsResponse) Descriptor deprecated

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

Deprecated: Use PingUfsResponse.ProtoReflect.Descriptor instead.

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 {
	// contains filtered or unexported fields
}

func (*RepopulateCacheRequest) Descriptor deprecated

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

Deprecated: Use RepopulateCacheRequest.ProtoReflect.Descriptor instead.

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 {
	// contains filtered or unexported fields
}

func (*RepopulateCacheResponse) Descriptor deprecated

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

Deprecated: Use RepopulateCacheResponse.ProtoReflect.Descriptor instead.

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 ResourceRequest

type ResourceRequest struct {

	// The resource name of the resource request.
	// Format: resourceRequests/{rr_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The ID of the resource request.
	RrId string `protobuf:"bytes,2,opt,name=rr_id,json=rrId,proto3" json:"rr_id,omitempty"`
	// The details of the resource request.
	ResourceDetails string `protobuf:"bytes,3,opt,name=resource_details,json=resourceDetails,proto3" json:"resource_details,omitempty"`
	// The procurement end date of the resource request.
	ProcurementEndDate *DateOnly `protobuf:"bytes,4,opt,name=procurement_end_date,json=procurementEndDate,proto3" json:"procurement_end_date,omitempty"`
	// The build end date of the resource request.
	BuildEndDate *DateOnly `protobuf:"bytes,5,opt,name=build_end_date,json=buildEndDate,proto3" json:"build_end_date,omitempty"`
	// The QA end date of the resource request.
	QaEndDate *DateOnly `protobuf:"bytes,6,opt,name=qa_end_date,json=qaEndDate,proto3" json:"qa_end_date,omitempty"`
	// The config end date of the resource request.
	ConfigEndDate *DateOnly `protobuf:"bytes,7,opt,name=config_end_date,json=configEndDate,proto3" json:"config_end_date,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceRequest) Descriptor deprecated

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

Deprecated: Use ResourceRequest.ProtoReflect.Descriptor instead.

func (*ResourceRequest) GetBuildEndDate

func (x *ResourceRequest) GetBuildEndDate() *DateOnly

func (*ResourceRequest) GetConfigEndDate

func (x *ResourceRequest) GetConfigEndDate() *DateOnly

func (*ResourceRequest) GetName

func (x *ResourceRequest) GetName() string

func (*ResourceRequest) GetProcurementEndDate

func (x *ResourceRequest) GetProcurementEndDate() *DateOnly

func (*ResourceRequest) GetQaEndDate

func (x *ResourceRequest) GetQaEndDate() *DateOnly

func (*ResourceRequest) GetResourceDetails

func (x *ResourceRequest) GetResourceDetails() string

func (*ResourceRequest) GetRrId

func (x *ResourceRequest) GetRrId() string

func (*ResourceRequest) ProtoMessage

func (*ResourceRequest) ProtoMessage()

func (*ResourceRequest) ProtoReflect

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

func (*ResourceRequest) Reset

func (x *ResourceRequest) Reset()

func (*ResourceRequest) String

func (x *ResourceRequest) String() string

type TaskStateCounts

type TaskStateCounts struct {
	Busy int32 `protobuf:"varint,1,opt,name=busy,proto3" json:"busy,omitempty"`
	Idle int32 `protobuf:"varint,2,opt,name=idle,proto3" json:"idle,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskStateCounts) Descriptor deprecated

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

Deprecated: Use TaskStateCounts.ProtoReflect.Descriptor instead.

func (*TaskStateCounts) GetBusy

func (x *TaskStateCounts) GetBusy() int32

func (*TaskStateCounts) GetIdle

func (x *TaskStateCounts) GetIdle() int32

func (*TaskStateCounts) ProtoMessage

func (*TaskStateCounts) ProtoMessage()

func (*TaskStateCounts) ProtoReflect

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

func (*TaskStateCounts) Reset

func (x *TaskStateCounts) Reset()

func (*TaskStateCounts) String

func (x *TaskStateCounts) String() string

type UnimplementedFleetConsoleServer

type UnimplementedFleetConsoleServer struct{}

UnimplementedFleetConsoleServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedFleetConsoleServer) CleanExit

func (UnimplementedFleetConsoleServer) CountDevices

func (UnimplementedFleetConsoleServer) GetDeviceDimensions

func (UnimplementedFleetConsoleServer) ListDevices

func (UnimplementedFleetConsoleServer) Ping

func (UnimplementedFleetConsoleServer) PingBigQuery

func (UnimplementedFleetConsoleServer) PingDB

func (UnimplementedFleetConsoleServer) PingDeviceManager

func (UnimplementedFleetConsoleServer) PingUfs

func (UnimplementedFleetConsoleServer) RepopulateCache

type UnsafeFleetConsoleServer

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

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

Jump to

Keyboard shortcuts

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