bqpb

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_go_chromium_org_luci_tree_status_proto_bq_status_row_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Builder

type Builder struct {

	// The LUCI project (e.g. chromium).
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// The LUCI bucket (e.g. ci).
	Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// The LUCI builder name (e.g. linux-rel).
	Builder string `protobuf:"bytes,3,opt,name=builder,proto3" json:"builder,omitempty"`
	// contains filtered or unexported fields
}

Represents a LUCI builder.

func (*Builder) Descriptor deprecated

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

Deprecated: Use Builder.ProtoReflect.Descriptor instead.

func (*Builder) GetBucket

func (x *Builder) GetBucket() string

func (*Builder) GetBuilder

func (x *Builder) GetBuilder() string

func (*Builder) GetProject

func (x *Builder) GetProject() string

func (*Builder) ProtoMessage

func (*Builder) ProtoMessage()

func (*Builder) ProtoReflect

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

func (*Builder) Reset

func (x *Builder) Reset()

func (*Builder) String

func (x *Builder) String() string

type StatusRow

type StatusRow struct {

	// The name of the tree, e.g. chromium.
	TreeName string `protobuf:"bytes,1,opt,name=tree_name,json=treeName,proto3" json:"tree_name,omitempty"`
	// Possible values: 'open', 'closed', 'throttled' or 'maintenance'.
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// The message provided with the status update.
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// If the status was created by a bot (service account), it will contain the service account.
	// Otherwise, it will just contain "user", as we don't want BigQuery to contain PII.
	CreateUser string `protobuf:"bytes,4,opt,name=create_user,json=createUser,proto3" json:"create_user,omitempty"`
	// The timestamp when this status was posted.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The LUCI builder name that caused the tree to close.
	// Only applicable if the status is 'closed'.
	ClosingBuilder *Builder `protobuf:"bytes,6,opt,name=closing_builder,json=closingBuilder,proto3" json:"closing_builder,omitempty"`
	// contains filtered or unexported fields
}

Represents a row in the table `luci-tree-status.internal.statuses`.

func (*StatusRow) Descriptor deprecated

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

Deprecated: Use StatusRow.ProtoReflect.Descriptor instead.

func (*StatusRow) GetClosingBuilder

func (x *StatusRow) GetClosingBuilder() *Builder

func (*StatusRow) GetCreateTime

func (x *StatusRow) GetCreateTime() *timestamppb.Timestamp

func (*StatusRow) GetCreateUser

func (x *StatusRow) GetCreateUser() string

func (*StatusRow) GetMessage

func (x *StatusRow) GetMessage() string

func (*StatusRow) GetStatus

func (x *StatusRow) GetStatus() string

func (*StatusRow) GetTreeName

func (x *StatusRow) GetTreeName() string

func (*StatusRow) ProtoMessage

func (*StatusRow) ProtoMessage()

func (*StatusRow) ProtoReflect

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

func (*StatusRow) Reset

func (x *StatusRow) Reset()

func (*StatusRow) String

func (x *StatusRow) String() string

Jump to

Keyboard shortcuts

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