bigquery

package
v0.0.0-...-d3da680 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package bigquery contains BigQuery table schema definitions.

Index

Constants

This section is empty.

Variables

View Source
var File_go_chromium_org_luci_gce_api_bigquery_v1_bq_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AssignedQuotaRow

type AssignedQuotaRow struct {

	// Ingest time of the row.
	SnapshotTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=snapshot_time,json=snapshotTime,proto3" json:"snapshot_time,omitempty"`
	// The assigned quota.
	AssignedQuota *v11.AssignedQuota `protobuf:"bytes,2,opt,name=assigned_quota,json=assignedQuota,proto3" json:"assigned_quota,omitempty"`
	// contains filtered or unexported fields
}

The BigQuery table row for an AssignedQuota.

func (*AssignedQuotaRow) Descriptor deprecated

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

Deprecated: Use AssignedQuotaRow.ProtoReflect.Descriptor instead.

func (*AssignedQuotaRow) GetAssignedQuota

func (x *AssignedQuotaRow) GetAssignedQuota() *v11.AssignedQuota

func (*AssignedQuotaRow) GetSnapshotTime

func (x *AssignedQuotaRow) GetSnapshotTime() *timestamppb.Timestamp

func (*AssignedQuotaRow) ProtoMessage

func (*AssignedQuotaRow) ProtoMessage()

func (*AssignedQuotaRow) ProtoReflect

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

func (*AssignedQuotaRow) Reset

func (x *AssignedQuotaRow) Reset()

func (*AssignedQuotaRow) String

func (x *AssignedQuotaRow) String() string

type ConfigRow

type ConfigRow struct {

	// Ingest time of the row.
	SnapshotTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=snapshot_time,json=snapshotTime,proto3" json:"snapshot_time,omitempty"`
	// The prefix config.
	Config *v1.Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

The BigQuery table row for a Config.

func (*ConfigRow) Descriptor deprecated

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

Deprecated: Use ConfigRow.ProtoReflect.Descriptor instead.

func (*ConfigRow) GetConfig

func (x *ConfigRow) GetConfig() *v1.Config

func (*ConfigRow) GetSnapshotTime

func (x *ConfigRow) GetSnapshotTime() *timestamppb.Timestamp

func (*ConfigRow) ProtoMessage

func (*ConfigRow) ProtoMessage()

func (*ConfigRow) ProtoReflect

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

func (*ConfigRow) Reset

func (x *ConfigRow) Reset()

func (*ConfigRow) String

func (x *ConfigRow) String() string

type ConfiguredCount

type ConfiguredCount struct {
	Count   int64  `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

Configured count of a prefix.

func (*ConfiguredCount) Descriptor deprecated

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

Deprecated: Use ConfiguredCount.ProtoReflect.Descriptor instead.

func (*ConfiguredCount) GetCount

func (x *ConfiguredCount) GetCount() int64

func (*ConfiguredCount) GetProject

func (x *ConfiguredCount) GetProject() string

func (*ConfiguredCount) ProtoMessage

func (*ConfiguredCount) ProtoMessage()

func (*ConfiguredCount) ProtoReflect

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

func (*ConfiguredCount) Reset

func (x *ConfiguredCount) Reset()

func (*ConfiguredCount) String

func (x *ConfiguredCount) String() string

type ConnectedCount

type ConnectedCount struct {
	Count   int64  `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Server  string `protobuf:"bytes,3,opt,name=server,proto3" json:"server,omitempty"`
	Zone    string `protobuf:"bytes,4,opt,name=zone,proto3" json:"zone,omitempty"`
	// contains filtered or unexported fields
}

Connected count of a prefix.

func (*ConnectedCount) Descriptor deprecated

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

Deprecated: Use ConnectedCount.ProtoReflect.Descriptor instead.

func (*ConnectedCount) GetCount

func (x *ConnectedCount) GetCount() int64

func (*ConnectedCount) GetProject

func (x *ConnectedCount) GetProject() string

func (*ConnectedCount) GetServer

func (x *ConnectedCount) GetServer() string

func (*ConnectedCount) GetZone

func (x *ConnectedCount) GetZone() string

func (*ConnectedCount) ProtoMessage

func (*ConnectedCount) ProtoMessage()

func (*ConnectedCount) ProtoReflect

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

func (*ConnectedCount) Reset

func (x *ConnectedCount) Reset()

func (*ConnectedCount) String

func (x *ConnectedCount) String() string

type CreatedCount

type CreatedCount struct {
	Count   int64  `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Zone    string `protobuf:"bytes,3,opt,name=zone,proto3" json:"zone,omitempty"`
	// contains filtered or unexported fields
}

Created count of a prefix.

func (*CreatedCount) Descriptor deprecated

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

Deprecated: Use CreatedCount.ProtoReflect.Descriptor instead.

func (*CreatedCount) GetCount

func (x *CreatedCount) GetCount() int64

func (*CreatedCount) GetProject

func (x *CreatedCount) GetProject() string

func (*CreatedCount) GetZone

func (x *CreatedCount) GetZone() string

func (*CreatedCount) ProtoMessage

func (*CreatedCount) ProtoMessage()

func (*CreatedCount) ProtoReflect

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

func (*CreatedCount) Reset

func (x *CreatedCount) Reset()

func (*CreatedCount) String

func (x *CreatedCount) String() string

type InstanceCountRow

type InstanceCountRow struct {

	// Ingest time of the row.
	SnapshotTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=snapshot_time,json=snapshotTime,proto3" json:"snapshot_time,omitempty"`
	// The prefix for this count.
	Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// The time this count was computed.
	Computed *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=computed,proto3" json:"computed,omitempty"`
	// The configured instance count of the prefix.
	ConfiguredCount []*ConfiguredCount `protobuf:"bytes,4,rep,name=configured_count,json=configuredCount,proto3" json:"configured_count,omitempty"`
	// The created instance count of the prefix.
	CreatedCount []*CreatedCount `protobuf:"bytes,5,rep,name=created_count,json=createdCount,proto3" json:"created_count,omitempty"`
	// The connected instance count of the prefix.
	ConnectedCount []*ConnectedCount `protobuf:"bytes,6,rep,name=connected_count,json=connectedCount,proto3" json:"connected_count,omitempty"`
	// contains filtered or unexported fields
}

The BigQuery table row for instance count.

func (*InstanceCountRow) Descriptor deprecated

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

Deprecated: Use InstanceCountRow.ProtoReflect.Descriptor instead.

func (*InstanceCountRow) GetComputed

func (x *InstanceCountRow) GetComputed() *timestamppb.Timestamp

func (*InstanceCountRow) GetConfiguredCount

func (x *InstanceCountRow) GetConfiguredCount() []*ConfiguredCount

func (*InstanceCountRow) GetConnectedCount

func (x *InstanceCountRow) GetConnectedCount() []*ConnectedCount

func (*InstanceCountRow) GetCreatedCount

func (x *InstanceCountRow) GetCreatedCount() []*CreatedCount

func (*InstanceCountRow) GetPrefix

func (x *InstanceCountRow) GetPrefix() string

func (*InstanceCountRow) GetSnapshotTime

func (x *InstanceCountRow) GetSnapshotTime() *timestamppb.Timestamp

func (*InstanceCountRow) ProtoMessage

func (*InstanceCountRow) ProtoMessage()

func (*InstanceCountRow) ProtoReflect

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

func (*InstanceCountRow) Reset

func (x *InstanceCountRow) Reset()

func (*InstanceCountRow) String

func (x *InstanceCountRow) String() string

type MachineTypeRow

type MachineTypeRow struct {

	// Ingest time of the row.
	SnapshotTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=snapshot_time,json=snapshotTime,proto3" json:"snapshot_time,omitempty"`
	// Machine type name, e.g. n2-starndard-4.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// CPU type, e.g. "n2".
	CpuType string `protobuf:"bytes,3,opt,name=cpu_type,json=cpuType,proto3" json:"cpu_type,omitempty"`
	// The count of CPU.
	CpuCount float32 `protobuf:"fixed32,4,opt,name=cpu_count,json=cpuCount,proto3" json:"cpu_count,omitempty"`
	// Memory size in GB.
	MemoryGb float32 `protobuf:"fixed32,5,opt,name=memory_gb,json=memoryGb,proto3" json:"memory_gb,omitempty"`
	// Allowed count of disks.
	Disks []int64 `protobuf:"varint,6,rep,packed,name=disks,proto3" json:"disks,omitempty"`
	// contains filtered or unexported fields
}

The BigQuery table row for a machine type.

func (*MachineTypeRow) Descriptor deprecated

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

Deprecated: Use MachineTypeRow.ProtoReflect.Descriptor instead.

func (*MachineTypeRow) GetCpuCount

func (x *MachineTypeRow) GetCpuCount() float32

func (*MachineTypeRow) GetCpuType

func (x *MachineTypeRow) GetCpuType() string

func (*MachineTypeRow) GetDisks

func (x *MachineTypeRow) GetDisks() []int64

func (*MachineTypeRow) GetMemoryGb

func (x *MachineTypeRow) GetMemoryGb() float32

func (*MachineTypeRow) GetName

func (x *MachineTypeRow) GetName() string

func (*MachineTypeRow) GetSnapshotTime

func (x *MachineTypeRow) GetSnapshotTime() *timestamppb.Timestamp

func (*MachineTypeRow) ProtoMessage

func (*MachineTypeRow) ProtoMessage()

func (*MachineTypeRow) ProtoReflect

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

func (*MachineTypeRow) Reset

func (x *MachineTypeRow) Reset()

func (*MachineTypeRow) String

func (x *MachineTypeRow) String() string

Jump to

Keyboard shortcuts

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