adminpb

package
v0.0.0-...-9eda336 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Overview

Package adminpb contains LUCI CV admin/maintainer APIs definitions.

It is intentionally unversioned because it can change at any time, since it depends on CV implementation details.

Index

Constants

View Source
const (
	Admin_GetProject_FullMethodName          = "/cv.internal.rpc.admin.api.Admin/GetProject"
	Admin_GetProjectLogs_FullMethodName      = "/cv.internal.rpc.admin.api.Admin/GetProjectLogs"
	Admin_GetRun_FullMethodName              = "/cv.internal.rpc.admin.api.Admin/GetRun"
	Admin_GetCL_FullMethodName               = "/cv.internal.rpc.admin.api.Admin/GetCL"
	Admin_GetPoller_FullMethodName           = "/cv.internal.rpc.admin.api.Admin/GetPoller"
	Admin_SearchRuns_FullMethodName          = "/cv.internal.rpc.admin.api.Admin/SearchRuns"
	Admin_DSMLaunchJob_FullMethodName        = "/cv.internal.rpc.admin.api.Admin/DSMLaunchJob"
	Admin_DSMGetJob_FullMethodName           = "/cv.internal.rpc.admin.api.Admin/DSMGetJob"
	Admin_DSMAbortJob_FullMethodName         = "/cv.internal.rpc.admin.api.Admin/DSMAbortJob"
	Admin_RefreshProjectCLs_FullMethodName   = "/cv.internal.rpc.admin.api.Admin/RefreshProjectCLs"
	Admin_DeleteProjectEvents_FullMethodName = "/cv.internal.rpc.admin.api.Admin/DeleteProjectEvents"
	Admin_SendProjectEvent_FullMethodName    = "/cv.internal.rpc.admin.api.Admin/SendProjectEvent"
	Admin_SendRunEvent_FullMethodName        = "/cv.internal.rpc.admin.api.Admin/SendRunEvent"
	Admin_ScheduleTask_FullMethodName        = "/cv.internal.rpc.admin.api.Admin/ScheduleTask"
	Admin_GetQuotaAccounts_FullMethodName    = "/cv.internal.rpc.admin.api.Admin/GetQuotaAccounts"
	Admin_ApplyQuotaOps_FullMethodName       = "/cv.internal.rpc.admin.api.Admin/ApplyQuotaOps"
)

Variables

View Source
var Admin_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cv.internal.rpc.admin.api.Admin",
	HandlerType: (*AdminServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetProject",
			Handler:    _Admin_GetProject_Handler,
		},
		{
			MethodName: "GetProjectLogs",
			Handler:    _Admin_GetProjectLogs_Handler,
		},
		{
			MethodName: "GetRun",
			Handler:    _Admin_GetRun_Handler,
		},
		{
			MethodName: "GetCL",
			Handler:    _Admin_GetCL_Handler,
		},
		{
			MethodName: "GetPoller",
			Handler:    _Admin_GetPoller_Handler,
		},
		{
			MethodName: "SearchRuns",
			Handler:    _Admin_SearchRuns_Handler,
		},
		{
			MethodName: "DSMLaunchJob",
			Handler:    _Admin_DSMLaunchJob_Handler,
		},
		{
			MethodName: "DSMGetJob",
			Handler:    _Admin_DSMGetJob_Handler,
		},
		{
			MethodName: "DSMAbortJob",
			Handler:    _Admin_DSMAbortJob_Handler,
		},
		{
			MethodName: "RefreshProjectCLs",
			Handler:    _Admin_RefreshProjectCLs_Handler,
		},
		{
			MethodName: "DeleteProjectEvents",
			Handler:    _Admin_DeleteProjectEvents_Handler,
		},
		{
			MethodName: "SendProjectEvent",
			Handler:    _Admin_SendProjectEvent_Handler,
		},
		{
			MethodName: "SendRunEvent",
			Handler:    _Admin_SendRunEvent_Handler,
		},
		{
			MethodName: "ScheduleTask",
			Handler:    _Admin_ScheduleTask_Handler,
		},
		{
			MethodName: "GetQuotaAccounts",
			Handler:    _Admin_GetQuotaAccounts_Handler,
		},
		{
			MethodName: "ApplyQuotaOps",
			Handler:    _Admin_ApplyQuotaOps_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "go.chromium.org/luci/cv/internal/rpc/admin/api/admin.proto",
}

Admin_ServiceDesc is the grpc.ServiceDesc for Admin 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_go_chromium_org_luci_cv_internal_rpc_admin_api_admin_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 RegisterAdminServer

func RegisterAdminServer(s grpc.ServiceRegistrar, srv AdminServer)

Types

type AdminClient

type AdminClient interface {
	// GetProject returns current Project state.
	GetProject(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*GetProjectResponse, error)
	// GetProjectLogs returns ProjectLogs recorded in the past.
	GetProjectLogs(ctx context.Context, in *GetProjectLogsRequest, opts ...grpc.CallOption) (*GetProjectLogsResponse, error)
	// GetRun returns current Run state.
	GetRun(ctx context.Context, in *GetRunRequest, opts ...grpc.CallOption) (*GetRunResponse, error)
	// GetCL returns current CL state.
	GetCL(ctx context.Context, in *GetCLRequest, opts ...grpc.CallOption) (*GetCLResponse, error)
	// GetPoller returns current Poller state.
	GetPoller(ctx context.Context, in *GetPollerRequest, opts ...grpc.CallOption) (*GetPollerResponse, error)
	// SearchRuns returns Runs ordered by .CreateTime DESC (most recent first).
	SearchRuns(ctx context.Context, in *SearchRunsRequest, opts ...grpc.CallOption) (*RunsResponse, error)
	// DSMLaunchJob launches a new job, pre-registered in dsmapper.go.
	//
	// If unsure about job name, use "404" and observe the error,
	// which will list all known names.
	//
	// Returns job ID.
	DSMLaunchJob(ctx context.Context, in *DSMLaunchJobRequest, opts ...grpc.CallOption) (*DSMJobID, error)
	// DSMGetJob returns details of previously launched job given its ID.
	DSMGetJob(ctx context.Context, in *DSMJobID, opts ...grpc.CallOption) (*DSMJob, error)
	// DSMAbortJob aborts previously launched job given its ID.
	DSMAbortJob(ctx context.Context, in *DSMJobID, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// RefreshProjectCLs refreshes all CLs currently tracked by PM.
	//
	// This is generally safe to call, but it may consume Gerrit Quota of the
	// given project, so use with care.
	RefreshProjectCLs(ctx context.Context, in *RefreshProjectCLsRequest, opts ...grpc.CallOption) (*RefreshProjectCLsResponse, error)
	// DeleteProjectEvents deletes all outstanding project events.
	//
	// DANGER ZONE. DO NOT USE UNLESS YOU UNDERSTAND THE IMPLICATIONS WELL.
	//
	// Useful in case of severe emergency where a Project Manager gets stuck
	// with too many bogus events and/or an incorrect event. Usually, it's better
	// to figure out which event is incorrect and delete just that event in the
	// Cloud Datastore UI. However, in a time crunch, it may be OK to unblock a
	// busy project with this API, and manually resend important events (e.g. Run
	// Finished) via SendProjectEvent at a later time.
	//
	// Must be called with stopped manage-run task queue.
	DeleteProjectEvents(ctx context.Context, in *DeleteProjectEventsRequest, opts ...grpc.CallOption) (*DeleteProjectEventsResponse, error)
	// SendProjectEvent sends event to a PM.
	//
	// DANGER ZONE. DO NOT USE UNLESS YOU UNDERSTAND THE IMPLICATIONS WELL.
	//
	// The implications vary depending on the event kind.
	SendProjectEvent(ctx context.Context, in *SendProjectEventRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// SendRunEvent sends event to a RM.
	//
	// DANGER ZONE. DO NOT USE UNLESS YOU UNDERSTAND THE IMPLICATIONS WELL.
	//
	// The implications vary depending on the event kind.
	SendRunEvent(ctx context.Context, in *SendRunEventRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// ScheduleTask schedules an arbitrary CV TQ task.
	//
	// DANGER ZONE. DO NOT USE UNLESS YOU UNDERSTAND THE IMPLICATIONS WELL.
	//
	// Some TQ tasks have external side effect, e.g. exporting BQ rows, which
	// shouldn't be scheduled willy-nilly. However, this API is indispensable when
	// a bunch of BQ rows failed to be exported, say due to a misconfiguration.
	ScheduleTask(ctx context.Context, in *ScheduleTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// GetAccounts returns the indicated Accounts.
	GetQuotaAccounts(ctx context.Context, in *quotapb.GetAccountsRequest, opts ...grpc.CallOption) (*quotapb.GetAccountsResponse, error)
	// ApplyOps updates the available resources with the provided operations.
	ApplyQuotaOps(ctx context.Context, in *quotapb.ApplyOpsRequest, opts ...grpc.CallOption) (*quotapb.ApplyOpsResponse, error)
}

AdminClient is the client API for Admin 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.

Admin is for CV maintainers only.

CAN AND WILL CHANGE WITHOUT NOTICE IN BACKWARDS INCOMPATIBLE WAY.

func NewAdminClient

func NewAdminClient(cc grpc.ClientConnInterface) AdminClient

type AdminServer

type AdminServer interface {
	// GetProject returns current Project state.
	GetProject(context.Context, *GetProjectRequest) (*GetProjectResponse, error)
	// GetProjectLogs returns ProjectLogs recorded in the past.
	GetProjectLogs(context.Context, *GetProjectLogsRequest) (*GetProjectLogsResponse, error)
	// GetRun returns current Run state.
	GetRun(context.Context, *GetRunRequest) (*GetRunResponse, error)
	// GetCL returns current CL state.
	GetCL(context.Context, *GetCLRequest) (*GetCLResponse, error)
	// GetPoller returns current Poller state.
	GetPoller(context.Context, *GetPollerRequest) (*GetPollerResponse, error)
	// SearchRuns returns Runs ordered by .CreateTime DESC (most recent first).
	SearchRuns(context.Context, *SearchRunsRequest) (*RunsResponse, error)
	// DSMLaunchJob launches a new job, pre-registered in dsmapper.go.
	//
	// If unsure about job name, use "404" and observe the error,
	// which will list all known names.
	//
	// Returns job ID.
	DSMLaunchJob(context.Context, *DSMLaunchJobRequest) (*DSMJobID, error)
	// DSMGetJob returns details of previously launched job given its ID.
	DSMGetJob(context.Context, *DSMJobID) (*DSMJob, error)
	// DSMAbortJob aborts previously launched job given its ID.
	DSMAbortJob(context.Context, *DSMJobID) (*emptypb.Empty, error)
	// RefreshProjectCLs refreshes all CLs currently tracked by PM.
	//
	// This is generally safe to call, but it may consume Gerrit Quota of the
	// given project, so use with care.
	RefreshProjectCLs(context.Context, *RefreshProjectCLsRequest) (*RefreshProjectCLsResponse, error)
	// DeleteProjectEvents deletes all outstanding project events.
	//
	// DANGER ZONE. DO NOT USE UNLESS YOU UNDERSTAND THE IMPLICATIONS WELL.
	//
	// Useful in case of severe emergency where a Project Manager gets stuck
	// with too many bogus events and/or an incorrect event. Usually, it's better
	// to figure out which event is incorrect and delete just that event in the
	// Cloud Datastore UI. However, in a time crunch, it may be OK to unblock a
	// busy project with this API, and manually resend important events (e.g. Run
	// Finished) via SendProjectEvent at a later time.
	//
	// Must be called with stopped manage-run task queue.
	DeleteProjectEvents(context.Context, *DeleteProjectEventsRequest) (*DeleteProjectEventsResponse, error)
	// SendProjectEvent sends event to a PM.
	//
	// DANGER ZONE. DO NOT USE UNLESS YOU UNDERSTAND THE IMPLICATIONS WELL.
	//
	// The implications vary depending on the event kind.
	SendProjectEvent(context.Context, *SendProjectEventRequest) (*emptypb.Empty, error)
	// SendRunEvent sends event to a RM.
	//
	// DANGER ZONE. DO NOT USE UNLESS YOU UNDERSTAND THE IMPLICATIONS WELL.
	//
	// The implications vary depending on the event kind.
	SendRunEvent(context.Context, *SendRunEventRequest) (*emptypb.Empty, error)
	// ScheduleTask schedules an arbitrary CV TQ task.
	//
	// DANGER ZONE. DO NOT USE UNLESS YOU UNDERSTAND THE IMPLICATIONS WELL.
	//
	// Some TQ tasks have external side effect, e.g. exporting BQ rows, which
	// shouldn't be scheduled willy-nilly. However, this API is indispensable when
	// a bunch of BQ rows failed to be exported, say due to a misconfiguration.
	ScheduleTask(context.Context, *ScheduleTaskRequest) (*emptypb.Empty, error)
	// GetAccounts returns the indicated Accounts.
	GetQuotaAccounts(context.Context, *quotapb.GetAccountsRequest) (*quotapb.GetAccountsResponse, error)
	// ApplyOps updates the available resources with the provided operations.
	ApplyQuotaOps(context.Context, *quotapb.ApplyOpsRequest) (*quotapb.ApplyOpsResponse, error)
	// contains filtered or unexported methods
}

AdminServer is the server API for Admin service. All implementations must embed UnimplementedAdminServer for forward compatibility.

Admin is for CV maintainers only.

CAN AND WILL CHANGE WITHOUT NOTICE IN BACKWARDS INCOMPATIBLE WAY.

type DSMJob

type DSMJob struct {

	// Name as registered is admin/dsmapper.go.
	Name string              `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Info *dsmapperpb.JobInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*DSMJob) Descriptor deprecated

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

Deprecated: Use DSMJob.ProtoReflect.Descriptor instead.

func (*DSMJob) GetInfo

func (x *DSMJob) GetInfo() *dsmapperpb.JobInfo

func (*DSMJob) GetName

func (x *DSMJob) GetName() string

func (*DSMJob) ProtoMessage

func (*DSMJob) ProtoMessage()

func (*DSMJob) ProtoReflect

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

func (*DSMJob) Reset

func (x *DSMJob) Reset()

func (*DSMJob) String

func (x *DSMJob) String() string

func (*DSMJob) Validate

func (m *DSMJob) Validate() error

Validate checks the field values on DSMJob with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DSMJob) ValidateAll

func (m *DSMJob) ValidateAll() error

ValidateAll checks the field values on DSMJob with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DSMJobMultiError, or nil if none found.

type DSMJobID

type DSMJobID struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DSMJobID) Descriptor deprecated

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

Deprecated: Use DSMJobID.ProtoReflect.Descriptor instead.

func (*DSMJobID) GetId

func (x *DSMJobID) GetId() int64

func (*DSMJobID) ProtoMessage

func (*DSMJobID) ProtoMessage()

func (*DSMJobID) ProtoReflect

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

func (*DSMJobID) Reset

func (x *DSMJobID) Reset()

func (*DSMJobID) String

func (x *DSMJobID) String() string

func (*DSMJobID) Validate

func (m *DSMJobID) Validate() error

Validate checks the field values on DSMJobID with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DSMJobID) ValidateAll

func (m *DSMJobID) ValidateAll() error

ValidateAll checks the field values on DSMJobID with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DSMJobIDMultiError, or nil if none found.

type DSMJobIDMultiError

type DSMJobIDMultiError []error

DSMJobIDMultiError is an error wrapping multiple validation errors returned by DSMJobID.ValidateAll() if the designated constraints aren't met.

func (DSMJobIDMultiError) AllErrors

func (m DSMJobIDMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DSMJobIDMultiError) Error

func (m DSMJobIDMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DSMJobIDValidationError

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

DSMJobIDValidationError is the validation error returned by DSMJobID.Validate if the designated constraints aren't met.

func (DSMJobIDValidationError) Cause

func (e DSMJobIDValidationError) Cause() error

Cause function returns cause value.

func (DSMJobIDValidationError) Error

func (e DSMJobIDValidationError) Error() string

Error satisfies the builtin error interface

func (DSMJobIDValidationError) ErrorName

func (e DSMJobIDValidationError) ErrorName() string

ErrorName returns error name.

func (DSMJobIDValidationError) Field

func (e DSMJobIDValidationError) Field() string

Field function returns field value.

func (DSMJobIDValidationError) Key

func (e DSMJobIDValidationError) Key() bool

Key function returns key value.

func (DSMJobIDValidationError) Reason

func (e DSMJobIDValidationError) Reason() string

Reason function returns reason value.

type DSMJobMultiError

type DSMJobMultiError []error

DSMJobMultiError is an error wrapping multiple validation errors returned by DSMJob.ValidateAll() if the designated constraints aren't met.

func (DSMJobMultiError) AllErrors

func (m DSMJobMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DSMJobMultiError) Error

func (m DSMJobMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DSMJobValidationError

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

DSMJobValidationError is the validation error returned by DSMJob.Validate if the designated constraints aren't met.

func (DSMJobValidationError) Cause

func (e DSMJobValidationError) Cause() error

Cause function returns cause value.

func (DSMJobValidationError) Error

func (e DSMJobValidationError) Error() string

Error satisfies the builtin error interface

func (DSMJobValidationError) ErrorName

func (e DSMJobValidationError) ErrorName() string

ErrorName returns error name.

func (DSMJobValidationError) Field

func (e DSMJobValidationError) Field() string

Field function returns field value.

func (DSMJobValidationError) Key

func (e DSMJobValidationError) Key() bool

Key function returns key value.

func (DSMJobValidationError) Reason

func (e DSMJobValidationError) Reason() string

Reason function returns reason value.

type DSMLaunchJobRequest

type DSMLaunchJobRequest struct {

	// Name of migration, must be registered in admin/dsmapper.go.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DSMLaunchJobRequest) Descriptor deprecated

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

Deprecated: Use DSMLaunchJobRequest.ProtoReflect.Descriptor instead.

func (*DSMLaunchJobRequest) GetName

func (x *DSMLaunchJobRequest) GetName() string

func (*DSMLaunchJobRequest) ProtoMessage

func (*DSMLaunchJobRequest) ProtoMessage()

func (*DSMLaunchJobRequest) ProtoReflect

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

func (*DSMLaunchJobRequest) Reset

func (x *DSMLaunchJobRequest) Reset()

func (*DSMLaunchJobRequest) String

func (x *DSMLaunchJobRequest) String() string

func (*DSMLaunchJobRequest) Validate

func (m *DSMLaunchJobRequest) Validate() error

Validate checks the field values on DSMLaunchJobRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DSMLaunchJobRequest) ValidateAll

func (m *DSMLaunchJobRequest) ValidateAll() error

ValidateAll checks the field values on DSMLaunchJobRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DSMLaunchJobRequestMultiError, or nil if none found.

type DSMLaunchJobRequestMultiError

type DSMLaunchJobRequestMultiError []error

DSMLaunchJobRequestMultiError is an error wrapping multiple validation errors returned by DSMLaunchJobRequest.ValidateAll() if the designated constraints aren't met.

func (DSMLaunchJobRequestMultiError) AllErrors

func (m DSMLaunchJobRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DSMLaunchJobRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DSMLaunchJobRequestValidationError

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

DSMLaunchJobRequestValidationError is the validation error returned by DSMLaunchJobRequest.Validate if the designated constraints aren't met.

func (DSMLaunchJobRequestValidationError) Cause

Cause function returns cause value.

func (DSMLaunchJobRequestValidationError) Error

Error satisfies the builtin error interface

func (DSMLaunchJobRequestValidationError) ErrorName

ErrorName returns error name.

func (DSMLaunchJobRequestValidationError) Field

Field function returns field value.

func (DSMLaunchJobRequestValidationError) Key

Key function returns key value.

func (DSMLaunchJobRequestValidationError) Reason

Reason function returns reason value.

type DeleteProjectEventsRequest

type DeleteProjectEventsRequest struct {
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Limit   int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProjectEventsRequest) Descriptor deprecated

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

Deprecated: Use DeleteProjectEventsRequest.ProtoReflect.Descriptor instead.

func (*DeleteProjectEventsRequest) GetLimit

func (x *DeleteProjectEventsRequest) GetLimit() int32

func (*DeleteProjectEventsRequest) GetProject

func (x *DeleteProjectEventsRequest) GetProject() string

func (*DeleteProjectEventsRequest) ProtoMessage

func (*DeleteProjectEventsRequest) ProtoMessage()

func (*DeleteProjectEventsRequest) ProtoReflect

func (*DeleteProjectEventsRequest) Reset

func (x *DeleteProjectEventsRequest) Reset()

func (*DeleteProjectEventsRequest) String

func (x *DeleteProjectEventsRequest) String() string

func (*DeleteProjectEventsRequest) Validate

func (m *DeleteProjectEventsRequest) Validate() error

Validate checks the field values on DeleteProjectEventsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteProjectEventsRequest) ValidateAll

func (m *DeleteProjectEventsRequest) ValidateAll() error

ValidateAll checks the field values on DeleteProjectEventsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteProjectEventsRequestMultiError, or nil if none found.

type DeleteProjectEventsRequestMultiError

type DeleteProjectEventsRequestMultiError []error

DeleteProjectEventsRequestMultiError is an error wrapping multiple validation errors returned by DeleteProjectEventsRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteProjectEventsRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteProjectEventsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteProjectEventsRequestValidationError

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

DeleteProjectEventsRequestValidationError is the validation error returned by DeleteProjectEventsRequest.Validate if the designated constraints aren't met.

func (DeleteProjectEventsRequestValidationError) Cause

Cause function returns cause value.

func (DeleteProjectEventsRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteProjectEventsRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteProjectEventsRequestValidationError) Field

Field function returns field value.

func (DeleteProjectEventsRequestValidationError) Key

Key function returns key value.

func (DeleteProjectEventsRequestValidationError) Reason

Reason function returns reason value.

type DeleteProjectEventsResponse

type DeleteProjectEventsResponse struct {
	Events map[string]int64 `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeleteProjectEventsResponse) Descriptor deprecated

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

Deprecated: Use DeleteProjectEventsResponse.ProtoReflect.Descriptor instead.

func (*DeleteProjectEventsResponse) GetEvents

func (x *DeleteProjectEventsResponse) GetEvents() map[string]int64

func (*DeleteProjectEventsResponse) ProtoMessage

func (*DeleteProjectEventsResponse) ProtoMessage()

func (*DeleteProjectEventsResponse) ProtoReflect

func (*DeleteProjectEventsResponse) Reset

func (x *DeleteProjectEventsResponse) Reset()

func (*DeleteProjectEventsResponse) String

func (x *DeleteProjectEventsResponse) String() string

func (*DeleteProjectEventsResponse) Validate

func (m *DeleteProjectEventsResponse) Validate() error

Validate checks the field values on DeleteProjectEventsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteProjectEventsResponse) ValidateAll

func (m *DeleteProjectEventsResponse) ValidateAll() error

ValidateAll checks the field values on DeleteProjectEventsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteProjectEventsResponseMultiError, or nil if none found.

type DeleteProjectEventsResponseMultiError

type DeleteProjectEventsResponseMultiError []error

DeleteProjectEventsResponseMultiError is an error wrapping multiple validation errors returned by DeleteProjectEventsResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteProjectEventsResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteProjectEventsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteProjectEventsResponseValidationError

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

DeleteProjectEventsResponseValidationError is the validation error returned by DeleteProjectEventsResponse.Validate if the designated constraints aren't met.

func (DeleteProjectEventsResponseValidationError) Cause

Cause function returns cause value.

func (DeleteProjectEventsResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteProjectEventsResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteProjectEventsResponseValidationError) Field

Field function returns field value.

func (DeleteProjectEventsResponseValidationError) Key

Key function returns key value.

func (DeleteProjectEventsResponseValidationError) Reason

Reason function returns reason value.

type GetCLRequest

type GetCLRequest struct {
	Id         int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	GerritUrl  string `protobuf:"bytes,3,opt,name=gerrit_url,json=gerritUrl,proto3" json:"gerrit_url,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCLRequest) Descriptor deprecated

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

Deprecated: Use GetCLRequest.ProtoReflect.Descriptor instead.

func (*GetCLRequest) GetExternalId

func (x *GetCLRequest) GetExternalId() string

func (*GetCLRequest) GetGerritUrl

func (x *GetCLRequest) GetGerritUrl() string

func (*GetCLRequest) GetId

func (x *GetCLRequest) GetId() int64

func (*GetCLRequest) ProtoMessage

func (*GetCLRequest) ProtoMessage()

func (*GetCLRequest) ProtoReflect

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

func (*GetCLRequest) Reset

func (x *GetCLRequest) Reset()

func (*GetCLRequest) String

func (x *GetCLRequest) String() string

func (*GetCLRequest) Validate

func (m *GetCLRequest) Validate() error

Validate checks the field values on GetCLRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetCLRequest) ValidateAll

func (m *GetCLRequest) ValidateAll() error

ValidateAll checks the field values on GetCLRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCLRequestMultiError, or nil if none found.

type GetCLRequestMultiError

type GetCLRequestMultiError []error

GetCLRequestMultiError is an error wrapping multiple validation errors returned by GetCLRequest.ValidateAll() if the designated constraints aren't met.

func (GetCLRequestMultiError) AllErrors

func (m GetCLRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCLRequestMultiError) Error

func (m GetCLRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetCLRequestValidationError

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

GetCLRequestValidationError is the validation error returned by GetCLRequest.Validate if the designated constraints aren't met.

func (GetCLRequestValidationError) Cause

Cause function returns cause value.

func (GetCLRequestValidationError) Error

Error satisfies the builtin error interface

func (GetCLRequestValidationError) ErrorName

func (e GetCLRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetCLRequestValidationError) Field

Field function returns field value.

func (GetCLRequestValidationError) Key

Key function returns key value.

func (GetCLRequestValidationError) Reason

Reason function returns reason value.

type GetCLResponse

type GetCLResponse struct {

	// State. Next tag: 9.
	Id               int64                        `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Eversion         int64                        `protobuf:"varint,2,opt,name=eversion,proto3" json:"eversion,omitempty"`
	ExternalId       string                       `protobuf:"bytes,3,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	UpdateTime       *timestamppb.Timestamp       `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	Snapshot         *changelist.Snapshot         `protobuf:"bytes,4,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	ApplicableConfig *changelist.ApplicableConfig `protobuf:"bytes,5,opt,name=applicable_config,json=applicableConfig,proto3" json:"applicable_config,omitempty"`
	Access           *changelist.Access           `protobuf:"bytes,6,opt,name=access,proto3" json:"access,omitempty"`
	IncompleteRuns   []string                     `protobuf:"bytes,7,rep,name=incomplete_runs,json=incompleteRuns,proto3" json:"incomplete_runs,omitempty"`
	// contains filtered or unexported fields
}

GetProjectResponse provides non-atomic snapshot of a project state.

The config hash and status come from different DS entity than PState, and each event comes from its own entity and depends on yet another tombstone entity.

func (*GetCLResponse) Descriptor deprecated

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

Deprecated: Use GetCLResponse.ProtoReflect.Descriptor instead.

func (*GetCLResponse) GetAccess

func (x *GetCLResponse) GetAccess() *changelist.Access

func (*GetCLResponse) GetApplicableConfig

func (x *GetCLResponse) GetApplicableConfig() *changelist.ApplicableConfig

func (*GetCLResponse) GetEversion

func (x *GetCLResponse) GetEversion() int64

func (*GetCLResponse) GetExternalId

func (x *GetCLResponse) GetExternalId() string

func (*GetCLResponse) GetId

func (x *GetCLResponse) GetId() int64

func (*GetCLResponse) GetIncompleteRuns

func (x *GetCLResponse) GetIncompleteRuns() []string

func (*GetCLResponse) GetSnapshot

func (x *GetCLResponse) GetSnapshot() *changelist.Snapshot

func (*GetCLResponse) GetUpdateTime

func (x *GetCLResponse) GetUpdateTime() *timestamppb.Timestamp

func (*GetCLResponse) ProtoMessage

func (*GetCLResponse) ProtoMessage()

func (*GetCLResponse) ProtoReflect

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

func (*GetCLResponse) Reset

func (x *GetCLResponse) Reset()

func (*GetCLResponse) String

func (x *GetCLResponse) String() string

func (*GetCLResponse) Validate

func (m *GetCLResponse) Validate() error

Validate checks the field values on GetCLResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetCLResponse) ValidateAll

func (m *GetCLResponse) ValidateAll() error

ValidateAll checks the field values on GetCLResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCLResponseMultiError, or nil if none found.

type GetCLResponseMultiError

type GetCLResponseMultiError []error

GetCLResponseMultiError is an error wrapping multiple validation errors returned by GetCLResponse.ValidateAll() if the designated constraints aren't met.

func (GetCLResponseMultiError) AllErrors

func (m GetCLResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCLResponseMultiError) Error

func (m GetCLResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetCLResponseValidationError

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

GetCLResponseValidationError is the validation error returned by GetCLResponse.Validate if the designated constraints aren't met.

func (GetCLResponseValidationError) Cause

Cause function returns cause value.

func (GetCLResponseValidationError) Error

Error satisfies the builtin error interface

func (GetCLResponseValidationError) ErrorName

func (e GetCLResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetCLResponseValidationError) Field

Field function returns field value.

func (GetCLResponseValidationError) Key

Key function returns key value.

func (GetCLResponseValidationError) Reason

Reason function returns reason value.

type GetPollerRequest

type GetPollerRequest struct {
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPollerRequest) Descriptor deprecated

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

Deprecated: Use GetPollerRequest.ProtoReflect.Descriptor instead.

func (*GetPollerRequest) GetProject

func (x *GetPollerRequest) GetProject() string

func (*GetPollerRequest) ProtoMessage

func (*GetPollerRequest) ProtoMessage()

func (*GetPollerRequest) ProtoReflect

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

func (*GetPollerRequest) Reset

func (x *GetPollerRequest) Reset()

func (*GetPollerRequest) String

func (x *GetPollerRequest) String() string

func (*GetPollerRequest) Validate

func (m *GetPollerRequest) Validate() error

Validate checks the field values on GetPollerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetPollerRequest) ValidateAll

func (m *GetPollerRequest) ValidateAll() error

ValidateAll checks the field values on GetPollerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPollerRequestMultiError, or nil if none found.

type GetPollerRequestMultiError

type GetPollerRequestMultiError []error

GetPollerRequestMultiError is an error wrapping multiple validation errors returned by GetPollerRequest.ValidateAll() if the designated constraints aren't met.

func (GetPollerRequestMultiError) AllErrors

func (m GetPollerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetPollerRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetPollerRequestValidationError

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

GetPollerRequestValidationError is the validation error returned by GetPollerRequest.Validate if the designated constraints aren't met.

func (GetPollerRequestValidationError) Cause

Cause function returns cause value.

func (GetPollerRequestValidationError) Error

Error satisfies the builtin error interface

func (GetPollerRequestValidationError) ErrorName

ErrorName returns error name.

func (GetPollerRequestValidationError) Field

Field function returns field value.

func (GetPollerRequestValidationError) Key

Key function returns key value.

func (GetPollerRequestValidationError) Reason

Reason function returns reason value.

type GetPollerResponse

type GetPollerResponse struct {
	Project     string                 `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Eversion    int64                  `protobuf:"varint,2,opt,name=eversion,proto3" json:"eversion,omitempty"`
	UpdateTime  *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	ConfigHash  string                 `protobuf:"bytes,4,opt,name=config_hash,json=configHash,proto3" json:"config_hash,omitempty"`
	QueryStates *poller.QueryStates    `protobuf:"bytes,5,opt,name=query_states,json=queryStates,proto3" json:"query_states,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPollerResponse) Descriptor deprecated

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

Deprecated: Use GetPollerResponse.ProtoReflect.Descriptor instead.

func (*GetPollerResponse) GetConfigHash

func (x *GetPollerResponse) GetConfigHash() string

func (*GetPollerResponse) GetEversion

func (x *GetPollerResponse) GetEversion() int64

func (*GetPollerResponse) GetProject

func (x *GetPollerResponse) GetProject() string

func (*GetPollerResponse) GetQueryStates

func (x *GetPollerResponse) GetQueryStates() *poller.QueryStates

func (*GetPollerResponse) GetUpdateTime

func (x *GetPollerResponse) GetUpdateTime() *timestamppb.Timestamp

func (*GetPollerResponse) ProtoMessage

func (*GetPollerResponse) ProtoMessage()

func (*GetPollerResponse) ProtoReflect

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

func (*GetPollerResponse) Reset

func (x *GetPollerResponse) Reset()

func (*GetPollerResponse) String

func (x *GetPollerResponse) String() string

func (*GetPollerResponse) Validate

func (m *GetPollerResponse) Validate() error

Validate checks the field values on GetPollerResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetPollerResponse) ValidateAll

func (m *GetPollerResponse) ValidateAll() error

ValidateAll checks the field values on GetPollerResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPollerResponseMultiError, or nil if none found.

type GetPollerResponseMultiError

type GetPollerResponseMultiError []error

GetPollerResponseMultiError is an error wrapping multiple validation errors returned by GetPollerResponse.ValidateAll() if the designated constraints aren't met.

func (GetPollerResponseMultiError) AllErrors

func (m GetPollerResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetPollerResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetPollerResponseValidationError

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

GetPollerResponseValidationError is the validation error returned by GetPollerResponse.Validate if the designated constraints aren't met.

func (GetPollerResponseValidationError) Cause

Cause function returns cause value.

func (GetPollerResponseValidationError) Error

Error satisfies the builtin error interface

func (GetPollerResponseValidationError) ErrorName

ErrorName returns error name.

func (GetPollerResponseValidationError) Field

Field function returns field value.

func (GetPollerResponseValidationError) Key

Key function returns key value.

func (GetPollerResponseValidationError) Reason

Reason function returns reason value.

type GetProjectLogsRequest

type GetProjectLogsRequest struct {
	PageSize  int32  `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Project   string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// Optional. Limits EVersions to [eversion_min, eversion_max].
	EversionMin int64 `protobuf:"varint,4,opt,name=eversion_min,json=eversionMin,proto3" json:"eversion_min,omitempty"`
	EversionMax int64 `protobuf:"varint,5,opt,name=eversion_max,json=eversionMax,proto3" json:"eversion_max,omitempty"` // inclusive, for ease of use by humans.
	// contains filtered or unexported fields
}

func (*GetProjectLogsRequest) Descriptor deprecated

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

Deprecated: Use GetProjectLogsRequest.ProtoReflect.Descriptor instead.

func (*GetProjectLogsRequest) GetEversionMax

func (x *GetProjectLogsRequest) GetEversionMax() int64

func (*GetProjectLogsRequest) GetEversionMin

func (x *GetProjectLogsRequest) GetEversionMin() int64

func (*GetProjectLogsRequest) GetPageSize

func (x *GetProjectLogsRequest) GetPageSize() int32

func (*GetProjectLogsRequest) GetPageToken

func (x *GetProjectLogsRequest) GetPageToken() string

func (*GetProjectLogsRequest) GetProject

func (x *GetProjectLogsRequest) GetProject() string

func (*GetProjectLogsRequest) ProtoMessage

func (*GetProjectLogsRequest) ProtoMessage()

func (*GetProjectLogsRequest) ProtoReflect

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

func (*GetProjectLogsRequest) Reset

func (x *GetProjectLogsRequest) Reset()

func (*GetProjectLogsRequest) String

func (x *GetProjectLogsRequest) String() string

func (*GetProjectLogsRequest) Validate

func (m *GetProjectLogsRequest) Validate() error

Validate checks the field values on GetProjectLogsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetProjectLogsRequest) ValidateAll

func (m *GetProjectLogsRequest) ValidateAll() error

ValidateAll checks the field values on GetProjectLogsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetProjectLogsRequestMultiError, or nil if none found.

type GetProjectLogsRequestMultiError

type GetProjectLogsRequestMultiError []error

GetProjectLogsRequestMultiError is an error wrapping multiple validation errors returned by GetProjectLogsRequest.ValidateAll() if the designated constraints aren't met.

func (GetProjectLogsRequestMultiError) AllErrors

func (m GetProjectLogsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetProjectLogsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetProjectLogsRequestValidationError

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

GetProjectLogsRequestValidationError is the validation error returned by GetProjectLogsRequest.Validate if the designated constraints aren't met.

func (GetProjectLogsRequestValidationError) Cause

Cause function returns cause value.

func (GetProjectLogsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetProjectLogsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetProjectLogsRequestValidationError) Field

Field function returns field value.

func (GetProjectLogsRequestValidationError) Key

Key function returns key value.

func (GetProjectLogsRequestValidationError) Reason

Reason function returns reason value.

type GetProjectLogsResponse

type GetProjectLogsResponse struct {
	Logs []*ProjectLog `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProjectLogsResponse) Descriptor deprecated

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

Deprecated: Use GetProjectLogsResponse.ProtoReflect.Descriptor instead.

func (*GetProjectLogsResponse) GetLogs

func (x *GetProjectLogsResponse) GetLogs() []*ProjectLog

func (*GetProjectLogsResponse) ProtoMessage

func (*GetProjectLogsResponse) ProtoMessage()

func (*GetProjectLogsResponse) ProtoReflect

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

func (*GetProjectLogsResponse) Reset

func (x *GetProjectLogsResponse) Reset()

func (*GetProjectLogsResponse) String

func (x *GetProjectLogsResponse) String() string

func (*GetProjectLogsResponse) Validate

func (m *GetProjectLogsResponse) Validate() error

Validate checks the field values on GetProjectLogsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetProjectLogsResponse) ValidateAll

func (m *GetProjectLogsResponse) ValidateAll() error

ValidateAll checks the field values on GetProjectLogsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetProjectLogsResponseMultiError, or nil if none found.

type GetProjectLogsResponseMultiError

type GetProjectLogsResponseMultiError []error

GetProjectLogsResponseMultiError is an error wrapping multiple validation errors returned by GetProjectLogsResponse.ValidateAll() if the designated constraints aren't met.

func (GetProjectLogsResponseMultiError) AllErrors

func (m GetProjectLogsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetProjectLogsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetProjectLogsResponseValidationError

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

GetProjectLogsResponseValidationError is the validation error returned by GetProjectLogsResponse.Validate if the designated constraints aren't met.

func (GetProjectLogsResponseValidationError) Cause

Cause function returns cause value.

func (GetProjectLogsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetProjectLogsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetProjectLogsResponseValidationError) Field

Field function returns field value.

func (GetProjectLogsResponseValidationError) Key

Key function returns key value.

func (GetProjectLogsResponseValidationError) Reason

Reason function returns reason value.

type GetProjectRequest

type GetProjectRequest struct {
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProjectRequest) Descriptor deprecated

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

Deprecated: Use GetProjectRequest.ProtoReflect.Descriptor instead.

func (*GetProjectRequest) GetProject

func (x *GetProjectRequest) GetProject() string

func (*GetProjectRequest) ProtoMessage

func (*GetProjectRequest) ProtoMessage()

func (*GetProjectRequest) ProtoReflect

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

func (*GetProjectRequest) Reset

func (x *GetProjectRequest) Reset()

func (*GetProjectRequest) String

func (x *GetProjectRequest) String() string

func (*GetProjectRequest) Validate

func (m *GetProjectRequest) Validate() error

Validate checks the field values on GetProjectRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetProjectRequest) ValidateAll

func (m *GetProjectRequest) ValidateAll() error

ValidateAll checks the field values on GetProjectRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetProjectRequestMultiError, or nil if none found.

type GetProjectRequestMultiError

type GetProjectRequestMultiError []error

GetProjectRequestMultiError is an error wrapping multiple validation errors returned by GetProjectRequest.ValidateAll() if the designated constraints aren't met.

func (GetProjectRequestMultiError) AllErrors

func (m GetProjectRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetProjectRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetProjectRequestValidationError

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

GetProjectRequestValidationError is the validation error returned by GetProjectRequest.Validate if the designated constraints aren't met.

func (GetProjectRequestValidationError) Cause

Cause function returns cause value.

func (GetProjectRequestValidationError) Error

Error satisfies the builtin error interface

func (GetProjectRequestValidationError) ErrorName

ErrorName returns error name.

func (GetProjectRequestValidationError) Field

Field function returns field value.

func (GetProjectRequestValidationError) Key

Key function returns key value.

func (GetProjectRequestValidationError) Reason

Reason function returns reason value.

type GetProjectResponse

type GetProjectResponse struct {
	State  *prjpb.PState  `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	Events []*prjpb.Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

GetProjectResponse provides non-atomic snapshot of a LUCI project.

The project state and outstanding events come from different entities, read in parallel.

func (*GetProjectResponse) Descriptor deprecated

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

Deprecated: Use GetProjectResponse.ProtoReflect.Descriptor instead.

func (*GetProjectResponse) GetEvents

func (x *GetProjectResponse) GetEvents() []*prjpb.Event

func (*GetProjectResponse) GetState

func (x *GetProjectResponse) GetState() *prjpb.PState

func (*GetProjectResponse) ProtoMessage

func (*GetProjectResponse) ProtoMessage()

func (*GetProjectResponse) ProtoReflect

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

func (*GetProjectResponse) Reset

func (x *GetProjectResponse) Reset()

func (*GetProjectResponse) String

func (x *GetProjectResponse) String() string

func (*GetProjectResponse) Validate

func (m *GetProjectResponse) Validate() error

Validate checks the field values on GetProjectResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetProjectResponse) ValidateAll

func (m *GetProjectResponse) ValidateAll() error

ValidateAll checks the field values on GetProjectResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetProjectResponseMultiError, or nil if none found.

type GetProjectResponseMultiError

type GetProjectResponseMultiError []error

GetProjectResponseMultiError is an error wrapping multiple validation errors returned by GetProjectResponse.ValidateAll() if the designated constraints aren't met.

func (GetProjectResponseMultiError) AllErrors

func (m GetProjectResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetProjectResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetProjectResponseValidationError

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

GetProjectResponseValidationError is the validation error returned by GetProjectResponse.Validate if the designated constraints aren't met.

func (GetProjectResponseValidationError) Cause

Cause function returns cause value.

func (GetProjectResponseValidationError) Error

Error satisfies the builtin error interface

func (GetProjectResponseValidationError) ErrorName

ErrorName returns error name.

func (GetProjectResponseValidationError) Field

Field function returns field value.

func (GetProjectResponseValidationError) Key

Key function returns key value.

func (GetProjectResponseValidationError) Reason

Reason function returns reason value.

type GetRunRequest

type GetRunRequest struct {
	Run string `protobuf:"bytes,1,opt,name=run,proto3" json:"run,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRunRequest) Descriptor deprecated

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

Deprecated: Use GetRunRequest.ProtoReflect.Descriptor instead.

func (*GetRunRequest) GetRun

func (x *GetRunRequest) GetRun() string

func (*GetRunRequest) ProtoMessage

func (*GetRunRequest) ProtoMessage()

func (*GetRunRequest) ProtoReflect

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

func (*GetRunRequest) Reset

func (x *GetRunRequest) Reset()

func (*GetRunRequest) String

func (x *GetRunRequest) String() string

func (*GetRunRequest) Validate

func (m *GetRunRequest) Validate() error

Validate checks the field values on GetRunRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetRunRequest) ValidateAll

func (m *GetRunRequest) ValidateAll() error

ValidateAll checks the field values on GetRunRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetRunRequestMultiError, or nil if none found.

type GetRunRequestMultiError

type GetRunRequestMultiError []error

GetRunRequestMultiError is an error wrapping multiple validation errors returned by GetRunRequest.ValidateAll() if the designated constraints aren't met.

func (GetRunRequestMultiError) AllErrors

func (m GetRunRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRunRequestMultiError) Error

func (m GetRunRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetRunRequestValidationError

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

GetRunRequestValidationError is the validation error returned by GetRunRequest.Validate if the designated constraints aren't met.

func (GetRunRequestValidationError) Cause

Cause function returns cause value.

func (GetRunRequestValidationError) Error

Error satisfies the builtin error interface

func (GetRunRequestValidationError) ErrorName

func (e GetRunRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetRunRequestValidationError) Field

Field function returns field value.

func (GetRunRequestValidationError) Key

Key function returns key value.

func (GetRunRequestValidationError) Reason

Reason function returns reason value.

type GetRunResponse

type GetRunResponse struct {

	// State. Next tag: 26.
	Id                  string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Eversion            int64                  `protobuf:"varint,2,opt,name=eversion,proto3" json:"eversion,omitempty"`
	Mode                string                 `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
	Status              run.Status             `protobuf:"varint,4,opt,name=status,proto3,enum=cv.internal.run.Status" json:"status,omitempty"`
	CreateTime          *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	StartTime           *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	UpdateTime          *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	EndTime             *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Owner               string                 `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty"`
	CreatedBy           string                 `protobuf:"bytes,24,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	BilledTo            string                 `protobuf:"bytes,25,opt,name=billed_to,json=billedTo,proto3" json:"billed_to,omitempty"`
	ConfigGroupId       string                 `protobuf:"bytes,10,opt,name=config_group_id,json=configGroupId,proto3" json:"config_group_id,omitempty"`
	Cls                 []*GetRunResponse_CL   `protobuf:"bytes,23,rep,name=cls,proto3" json:"cls,omitempty"`
	Options             *run.Options           `protobuf:"bytes,16,opt,name=options,proto3" json:"options,omitempty"`
	CancellationReasons []string               `protobuf:"bytes,22,rep,name=cancellation_reasons,json=cancellationReasons,proto3" json:"cancellation_reasons,omitempty"`
	Tryjobs             *run.Tryjobs           `protobuf:"bytes,17,opt,name=tryjobs,proto3" json:"tryjobs,omitempty"`
	OngoingLongOps      *run.OngoingLongOps    `protobuf:"bytes,21,opt,name=ongoing_long_ops,json=ongoingLongOps,proto3" json:"ongoing_long_ops,omitempty"`
	Submission          *run.Submission        `protobuf:"bytes,12,opt,name=submission,proto3" json:"submission,omitempty"`
	LatestClsRefresh    *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=latest_cls_refresh,json=latestClsRefresh,proto3" json:"latest_cls_refresh,omitempty"`
	// Log entries are substantitve changes to a Run's state.
	LogEntries []*run.LogEntry `protobuf:"bytes,19,rep,name=log_entries,json=logEntries,proto3" json:"log_entries,omitempty"`
	// Outstanding events.
	Events []*eventpb.Event `protobuf:"bytes,20,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

GetRunResponse provides non-atomic snapshot of a Run.

The Run state and outstanding events come from different entities read in parallel.

func (*GetRunResponse) Descriptor deprecated

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

Deprecated: Use GetRunResponse.ProtoReflect.Descriptor instead.

func (*GetRunResponse) GetBilledTo

func (x *GetRunResponse) GetBilledTo() string

func (*GetRunResponse) GetCancellationReasons

func (x *GetRunResponse) GetCancellationReasons() []string

func (*GetRunResponse) GetCls

func (x *GetRunResponse) GetCls() []*GetRunResponse_CL

func (*GetRunResponse) GetConfigGroupId

func (x *GetRunResponse) GetConfigGroupId() string

func (*GetRunResponse) GetCreateTime

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

func (*GetRunResponse) GetCreatedBy

func (x *GetRunResponse) GetCreatedBy() string

func (*GetRunResponse) GetEndTime

func (x *GetRunResponse) GetEndTime() *timestamppb.Timestamp

func (*GetRunResponse) GetEvents

func (x *GetRunResponse) GetEvents() []*eventpb.Event

func (*GetRunResponse) GetEversion

func (x *GetRunResponse) GetEversion() int64

func (*GetRunResponse) GetId

func (x *GetRunResponse) GetId() string

func (*GetRunResponse) GetLatestClsRefresh

func (x *GetRunResponse) GetLatestClsRefresh() *timestamppb.Timestamp

func (*GetRunResponse) GetLogEntries

func (x *GetRunResponse) GetLogEntries() []*run.LogEntry

func (*GetRunResponse) GetMode

func (x *GetRunResponse) GetMode() string

func (*GetRunResponse) GetOngoingLongOps

func (x *GetRunResponse) GetOngoingLongOps() *run.OngoingLongOps

func (*GetRunResponse) GetOptions

func (x *GetRunResponse) GetOptions() *run.Options

func (*GetRunResponse) GetOwner

func (x *GetRunResponse) GetOwner() string

func (*GetRunResponse) GetStartTime

func (x *GetRunResponse) GetStartTime() *timestamppb.Timestamp

func (*GetRunResponse) GetStatus

func (x *GetRunResponse) GetStatus() run.Status

func (*GetRunResponse) GetSubmission

func (x *GetRunResponse) GetSubmission() *run.Submission

func (*GetRunResponse) GetTryjobs

func (x *GetRunResponse) GetTryjobs() *run.Tryjobs

func (*GetRunResponse) GetUpdateTime

func (x *GetRunResponse) GetUpdateTime() *timestamppb.Timestamp

func (*GetRunResponse) ProtoMessage

func (*GetRunResponse) ProtoMessage()

func (*GetRunResponse) ProtoReflect

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

func (*GetRunResponse) Reset

func (x *GetRunResponse) Reset()

func (*GetRunResponse) String

func (x *GetRunResponse) String() string

func (*GetRunResponse) Validate

func (m *GetRunResponse) Validate() error

Validate checks the field values on GetRunResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetRunResponse) ValidateAll

func (m *GetRunResponse) ValidateAll() error

ValidateAll checks the field values on GetRunResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetRunResponseMultiError, or nil if none found.

type GetRunResponseMultiError

type GetRunResponseMultiError []error

GetRunResponseMultiError is an error wrapping multiple validation errors returned by GetRunResponse.ValidateAll() if the designated constraints aren't met.

func (GetRunResponseMultiError) AllErrors

func (m GetRunResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRunResponseMultiError) Error

func (m GetRunResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetRunResponseValidationError

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

GetRunResponseValidationError is the validation error returned by GetRunResponse.Validate if the designated constraints aren't met.

func (GetRunResponseValidationError) Cause

Cause function returns cause value.

func (GetRunResponseValidationError) Error

Error satisfies the builtin error interface

func (GetRunResponseValidationError) ErrorName

func (e GetRunResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetRunResponseValidationError) Field

Field function returns field value.

func (GetRunResponseValidationError) Key

Key function returns key value.

func (GetRunResponseValidationError) Reason

Reason function returns reason value.

type GetRunResponse_CL

type GetRunResponse_CL struct {
	Id         int64                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ExternalId string               `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	Detail     *changelist.Snapshot `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
	Trigger    *run.Trigger         `protobuf:"bytes,4,opt,name=trigger,proto3" json:"trigger,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRunResponse_CL) Descriptor deprecated

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

Deprecated: Use GetRunResponse_CL.ProtoReflect.Descriptor instead.

func (*GetRunResponse_CL) GetDetail

func (x *GetRunResponse_CL) GetDetail() *changelist.Snapshot

func (*GetRunResponse_CL) GetExternalId

func (x *GetRunResponse_CL) GetExternalId() string

func (*GetRunResponse_CL) GetId

func (x *GetRunResponse_CL) GetId() int64

func (*GetRunResponse_CL) GetTrigger

func (x *GetRunResponse_CL) GetTrigger() *run.Trigger

func (*GetRunResponse_CL) ProtoMessage

func (*GetRunResponse_CL) ProtoMessage()

func (*GetRunResponse_CL) ProtoReflect

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

func (*GetRunResponse_CL) Reset

func (x *GetRunResponse_CL) Reset()

func (*GetRunResponse_CL) String

func (x *GetRunResponse_CL) String() string

func (*GetRunResponse_CL) Validate

func (m *GetRunResponse_CL) Validate() error

Validate checks the field values on GetRunResponse_CL with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetRunResponse_CL) ValidateAll

func (m *GetRunResponse_CL) ValidateAll() error

ValidateAll checks the field values on GetRunResponse_CL with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetRunResponse_CLMultiError, or nil if none found.

type GetRunResponse_CLMultiError

type GetRunResponse_CLMultiError []error

GetRunResponse_CLMultiError is an error wrapping multiple validation errors returned by GetRunResponse_CL.ValidateAll() if the designated constraints aren't met.

func (GetRunResponse_CLMultiError) AllErrors

func (m GetRunResponse_CLMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRunResponse_CLMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetRunResponse_CLValidationError

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

GetRunResponse_CLValidationError is the validation error returned by GetRunResponse_CL.Validate if the designated constraints aren't met.

func (GetRunResponse_CLValidationError) Cause

Cause function returns cause value.

func (GetRunResponse_CLValidationError) Error

Error satisfies the builtin error interface

func (GetRunResponse_CLValidationError) ErrorName

ErrorName returns error name.

func (GetRunResponse_CLValidationError) Field

Field function returns field value.

func (GetRunResponse_CLValidationError) Key

Key function returns key value.

func (GetRunResponse_CLValidationError) Reason

Reason function returns reason value.

type ProjectLog

type ProjectLog struct {
	Eversion   int64                  `protobuf:"varint,1,opt,name=eversion,proto3" json:"eversion,omitempty"`
	State      *prjpb.PState          `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	Reasons    *prjpb.LogReasons      `protobuf:"bytes,4,opt,name=reasons,proto3" json:"reasons,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectLog) Descriptor deprecated

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

Deprecated: Use ProjectLog.ProtoReflect.Descriptor instead.

func (*ProjectLog) GetEversion

func (x *ProjectLog) GetEversion() int64

func (*ProjectLog) GetReasons

func (x *ProjectLog) GetReasons() *prjpb.LogReasons

func (*ProjectLog) GetState

func (x *ProjectLog) GetState() *prjpb.PState

func (*ProjectLog) GetUpdateTime

func (x *ProjectLog) GetUpdateTime() *timestamppb.Timestamp

func (*ProjectLog) ProtoMessage

func (*ProjectLog) ProtoMessage()

func (*ProjectLog) ProtoReflect

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

func (*ProjectLog) Reset

func (x *ProjectLog) Reset()

func (*ProjectLog) String

func (x *ProjectLog) String() string

func (*ProjectLog) Validate

func (m *ProjectLog) Validate() error

Validate checks the field values on ProjectLog with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ProjectLog) ValidateAll

func (m *ProjectLog) ValidateAll() error

ValidateAll checks the field values on ProjectLog with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProjectLogMultiError, or nil if none found.

type ProjectLogMultiError

type ProjectLogMultiError []error

ProjectLogMultiError is an error wrapping multiple validation errors returned by ProjectLog.ValidateAll() if the designated constraints aren't met.

func (ProjectLogMultiError) AllErrors

func (m ProjectLogMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProjectLogMultiError) Error

func (m ProjectLogMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ProjectLogValidationError

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

ProjectLogValidationError is the validation error returned by ProjectLog.Validate if the designated constraints aren't met.

func (ProjectLogValidationError) Cause

func (e ProjectLogValidationError) Cause() error

Cause function returns cause value.

func (ProjectLogValidationError) Error

Error satisfies the builtin error interface

func (ProjectLogValidationError) ErrorName

func (e ProjectLogValidationError) ErrorName() string

ErrorName returns error name.

func (ProjectLogValidationError) Field

Field function returns field value.

func (ProjectLogValidationError) Key

Key function returns key value.

func (ProjectLogValidationError) Reason

func (e ProjectLogValidationError) Reason() string

Reason function returns reason value.

type RefreshProjectCLsRequest

type RefreshProjectCLsRequest struct {
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshProjectCLsRequest) Descriptor deprecated

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

Deprecated: Use RefreshProjectCLsRequest.ProtoReflect.Descriptor instead.

func (*RefreshProjectCLsRequest) GetProject

func (x *RefreshProjectCLsRequest) GetProject() string

func (*RefreshProjectCLsRequest) ProtoMessage

func (*RefreshProjectCLsRequest) ProtoMessage()

func (*RefreshProjectCLsRequest) ProtoReflect

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

func (*RefreshProjectCLsRequest) Reset

func (x *RefreshProjectCLsRequest) Reset()

func (*RefreshProjectCLsRequest) String

func (x *RefreshProjectCLsRequest) String() string

func (*RefreshProjectCLsRequest) Validate

func (m *RefreshProjectCLsRequest) Validate() error

Validate checks the field values on RefreshProjectCLsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RefreshProjectCLsRequest) ValidateAll

func (m *RefreshProjectCLsRequest) ValidateAll() error

ValidateAll checks the field values on RefreshProjectCLsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RefreshProjectCLsRequestMultiError, or nil if none found.

type RefreshProjectCLsRequestMultiError

type RefreshProjectCLsRequestMultiError []error

RefreshProjectCLsRequestMultiError is an error wrapping multiple validation errors returned by RefreshProjectCLsRequest.ValidateAll() if the designated constraints aren't met.

func (RefreshProjectCLsRequestMultiError) AllErrors

func (m RefreshProjectCLsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RefreshProjectCLsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RefreshProjectCLsRequestValidationError

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

RefreshProjectCLsRequestValidationError is the validation error returned by RefreshProjectCLsRequest.Validate if the designated constraints aren't met.

func (RefreshProjectCLsRequestValidationError) Cause

Cause function returns cause value.

func (RefreshProjectCLsRequestValidationError) Error

Error satisfies the builtin error interface

func (RefreshProjectCLsRequestValidationError) ErrorName

ErrorName returns error name.

func (RefreshProjectCLsRequestValidationError) Field

Field function returns field value.

func (RefreshProjectCLsRequestValidationError) Key

Key function returns key value.

func (RefreshProjectCLsRequestValidationError) Reason

Reason function returns reason value.

type RefreshProjectCLsResponse

type RefreshProjectCLsResponse struct {

	// Map from CL ID to the EVersion in Datastore before the refresh.
	ClVersions map[int64]int64 `` /* 181-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RefreshProjectCLsResponse) Descriptor deprecated

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

Deprecated: Use RefreshProjectCLsResponse.ProtoReflect.Descriptor instead.

func (*RefreshProjectCLsResponse) GetClVersions

func (x *RefreshProjectCLsResponse) GetClVersions() map[int64]int64

func (*RefreshProjectCLsResponse) ProtoMessage

func (*RefreshProjectCLsResponse) ProtoMessage()

func (*RefreshProjectCLsResponse) ProtoReflect

func (*RefreshProjectCLsResponse) Reset

func (x *RefreshProjectCLsResponse) Reset()

func (*RefreshProjectCLsResponse) String

func (x *RefreshProjectCLsResponse) String() string

func (*RefreshProjectCLsResponse) Validate

func (m *RefreshProjectCLsResponse) Validate() error

Validate checks the field values on RefreshProjectCLsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RefreshProjectCLsResponse) ValidateAll

func (m *RefreshProjectCLsResponse) ValidateAll() error

ValidateAll checks the field values on RefreshProjectCLsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RefreshProjectCLsResponseMultiError, or nil if none found.

type RefreshProjectCLsResponseMultiError

type RefreshProjectCLsResponseMultiError []error

RefreshProjectCLsResponseMultiError is an error wrapping multiple validation errors returned by RefreshProjectCLsResponse.ValidateAll() if the designated constraints aren't met.

func (RefreshProjectCLsResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RefreshProjectCLsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RefreshProjectCLsResponseValidationError

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

RefreshProjectCLsResponseValidationError is the validation error returned by RefreshProjectCLsResponse.Validate if the designated constraints aren't met.

func (RefreshProjectCLsResponseValidationError) Cause

Cause function returns cause value.

func (RefreshProjectCLsResponseValidationError) Error

Error satisfies the builtin error interface

func (RefreshProjectCLsResponseValidationError) ErrorName

ErrorName returns error name.

func (RefreshProjectCLsResponseValidationError) Field

Field function returns field value.

func (RefreshProjectCLsResponseValidationError) Key

Key function returns key value.

func (RefreshProjectCLsResponseValidationError) Reason

Reason function returns reason value.

type RunsResponse

type RunsResponse struct {
	Runs          []*GetRunResponse `protobuf:"bytes,1,rep,name=runs,proto3" json:"runs,omitempty"`
	NextPageToken string            `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*RunsResponse) Descriptor deprecated

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

Deprecated: Use RunsResponse.ProtoReflect.Descriptor instead.

func (*RunsResponse) GetNextPageToken

func (x *RunsResponse) GetNextPageToken() string

func (*RunsResponse) GetRuns

func (x *RunsResponse) GetRuns() []*GetRunResponse

func (*RunsResponse) ProtoMessage

func (*RunsResponse) ProtoMessage()

func (*RunsResponse) ProtoReflect

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

func (*RunsResponse) Reset

func (x *RunsResponse) Reset()

func (*RunsResponse) String

func (x *RunsResponse) String() string

func (*RunsResponse) Validate

func (m *RunsResponse) Validate() error

Validate checks the field values on RunsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RunsResponse) ValidateAll

func (m *RunsResponse) ValidateAll() error

ValidateAll checks the field values on RunsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RunsResponseMultiError, or nil if none found.

type RunsResponseMultiError

type RunsResponseMultiError []error

RunsResponseMultiError is an error wrapping multiple validation errors returned by RunsResponse.ValidateAll() if the designated constraints aren't met.

func (RunsResponseMultiError) AllErrors

func (m RunsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RunsResponseMultiError) Error

func (m RunsResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RunsResponseValidationError

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

RunsResponseValidationError is the validation error returned by RunsResponse.Validate if the designated constraints aren't met.

func (RunsResponseValidationError) Cause

Cause function returns cause value.

func (RunsResponseValidationError) Error

Error satisfies the builtin error interface

func (RunsResponseValidationError) ErrorName

func (e RunsResponseValidationError) ErrorName() string

ErrorName returns error name.

func (RunsResponseValidationError) Field

Field function returns field value.

func (RunsResponseValidationError) Key

Key function returns key value.

func (RunsResponseValidationError) Reason

Reason function returns reason value.

type ScheduleTaskRequest

type ScheduleTaskRequest struct {
	UpdateCl             *changelist.UpdateCLTask            `protobuf:"bytes,13,opt,name=update_cl,json=updateCl,proto3" json:"update_cl,omitempty"`
	BatchUpdateCl        *changelist.BatchUpdateCLTask       `protobuf:"bytes,14,opt,name=batch_update_cl,json=batchUpdateCl,proto3" json:"batch_update_cl,omitempty"`
	BatchOnClUpdated     *changelist.BatchOnCLUpdatedTask    `protobuf:"bytes,15,opt,name=batch_on_cl_updated,json=batchOnClUpdated,proto3" json:"batch_on_cl_updated,omitempty"`
	RefreshProjectConfig *refresher.RefreshProjectConfigTask `protobuf:"bytes,1,opt,name=refresh_project_config,json=refreshProjectConfig,proto3" json:"refresh_project_config,omitempty"`
	PollGerrit           *poller.PollGerritTask              `protobuf:"bytes,2,opt,name=poll_gerrit,json=pollGerrit,proto3" json:"poll_gerrit,omitempty"`
	ManageProject        *prjpb.ManageProjectTask            `protobuf:"bytes,5,opt,name=manage_project,json=manageProject,proto3" json:"manage_project,omitempty"`
	KickManageProject    *prjpb.KickManageProjectTask        `protobuf:"bytes,6,opt,name=kick_manage_project,json=kickManageProject,proto3" json:"kick_manage_project,omitempty"`
	PurgeCl              *prjpb.PurgeCLTask                  `protobuf:"bytes,7,opt,name=purge_cl,json=purgeCl,proto3" json:"purge_cl,omitempty"`
	ExportRunToBq        *bq.ExportRunToBQTask               `protobuf:"bytes,8,opt,name=export_run_to_bq,json=exportRunToBq,proto3" json:"export_run_to_bq,omitempty"`
	ManageRun            *eventpb.ManageRunTask              `protobuf:"bytes,9,opt,name=manage_run,json=manageRun,proto3" json:"manage_run,omitempty"`
	KickManageRun        *eventpb.KickManageRunTask          `protobuf:"bytes,10,opt,name=kick_manage_run,json=kickManageRun,proto3" json:"kick_manage_run,omitempty"`
	ManageRunLongOp      *eventpb.ManageRunLongOpTask        `protobuf:"bytes,12,opt,name=manage_run_long_op,json=manageRunLongOp,proto3" json:"manage_run_long_op,omitempty"`
	// Optional.
	DeduplicationKey string `protobuf:"bytes,11,opt,name=deduplication_key,json=deduplicationKey,proto3" json:"deduplication_key,omitempty"`
	// contains filtered or unexported fields
}

func (*ScheduleTaskRequest) Descriptor deprecated

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

Deprecated: Use ScheduleTaskRequest.ProtoReflect.Descriptor instead.

func (*ScheduleTaskRequest) GetBatchOnClUpdated

func (x *ScheduleTaskRequest) GetBatchOnClUpdated() *changelist.BatchOnCLUpdatedTask

func (*ScheduleTaskRequest) GetBatchUpdateCl

func (x *ScheduleTaskRequest) GetBatchUpdateCl() *changelist.BatchUpdateCLTask

func (*ScheduleTaskRequest) GetDeduplicationKey

func (x *ScheduleTaskRequest) GetDeduplicationKey() string

func (*ScheduleTaskRequest) GetExportRunToBq

func (x *ScheduleTaskRequest) GetExportRunToBq() *bq.ExportRunToBQTask

func (*ScheduleTaskRequest) GetKickManageProject

func (x *ScheduleTaskRequest) GetKickManageProject() *prjpb.KickManageProjectTask

func (*ScheduleTaskRequest) GetKickManageRun

func (x *ScheduleTaskRequest) GetKickManageRun() *eventpb.KickManageRunTask

func (*ScheduleTaskRequest) GetManageProject

func (x *ScheduleTaskRequest) GetManageProject() *prjpb.ManageProjectTask

func (*ScheduleTaskRequest) GetManageRun

func (x *ScheduleTaskRequest) GetManageRun() *eventpb.ManageRunTask

func (*ScheduleTaskRequest) GetManageRunLongOp

func (x *ScheduleTaskRequest) GetManageRunLongOp() *eventpb.ManageRunLongOpTask

func (*ScheduleTaskRequest) GetPollGerrit

func (x *ScheduleTaskRequest) GetPollGerrit() *poller.PollGerritTask

func (*ScheduleTaskRequest) GetPurgeCl

func (x *ScheduleTaskRequest) GetPurgeCl() *prjpb.PurgeCLTask

func (*ScheduleTaskRequest) GetRefreshProjectConfig

func (x *ScheduleTaskRequest) GetRefreshProjectConfig() *refresher.RefreshProjectConfigTask

func (*ScheduleTaskRequest) GetUpdateCl

func (x *ScheduleTaskRequest) GetUpdateCl() *changelist.UpdateCLTask

func (*ScheduleTaskRequest) ProtoMessage

func (*ScheduleTaskRequest) ProtoMessage()

func (*ScheduleTaskRequest) ProtoReflect

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

func (*ScheduleTaskRequest) Reset

func (x *ScheduleTaskRequest) Reset()

func (*ScheduleTaskRequest) String

func (x *ScheduleTaskRequest) String() string

func (*ScheduleTaskRequest) Validate

func (m *ScheduleTaskRequest) Validate() error

Validate checks the field values on ScheduleTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ScheduleTaskRequest) ValidateAll

func (m *ScheduleTaskRequest) ValidateAll() error

ValidateAll checks the field values on ScheduleTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ScheduleTaskRequestMultiError, or nil if none found.

type ScheduleTaskRequestMultiError

type ScheduleTaskRequestMultiError []error

ScheduleTaskRequestMultiError is an error wrapping multiple validation errors returned by ScheduleTaskRequest.ValidateAll() if the designated constraints aren't met.

func (ScheduleTaskRequestMultiError) AllErrors

func (m ScheduleTaskRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ScheduleTaskRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ScheduleTaskRequestValidationError

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

ScheduleTaskRequestValidationError is the validation error returned by ScheduleTaskRequest.Validate if the designated constraints aren't met.

func (ScheduleTaskRequestValidationError) Cause

Cause function returns cause value.

func (ScheduleTaskRequestValidationError) Error

Error satisfies the builtin error interface

func (ScheduleTaskRequestValidationError) ErrorName

ErrorName returns error name.

func (ScheduleTaskRequestValidationError) Field

Field function returns field value.

func (ScheduleTaskRequestValidationError) Key

Key function returns key value.

func (ScheduleTaskRequestValidationError) Reason

Reason function returns reason value.

type SearchRunsRequest

type SearchRunsRequest struct {
	PageSize  int32  `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. If omitted, scans across all active projects.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// Optional. Returns Runs with the given status, only.
	Status run.Status `protobuf:"varint,4,opt,name=status,proto3,enum=cv.internal.run.Status" json:"status,omitempty"`
	// Optional. Limits Runs referencing the given CL.
	Cl *GetCLRequest `protobuf:"bytes,5,opt,name=cl,proto3" json:"cl,omitempty"`
	// Optional. Limits Runs by mode.
	Mode string `protobuf:"bytes,6,opt,name=mode,proto3" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchRunsRequest) Descriptor deprecated

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

Deprecated: Use SearchRunsRequest.ProtoReflect.Descriptor instead.

func (*SearchRunsRequest) GetCl

func (x *SearchRunsRequest) GetCl() *GetCLRequest

func (*SearchRunsRequest) GetMode

func (x *SearchRunsRequest) GetMode() string

func (*SearchRunsRequest) GetPageSize

func (x *SearchRunsRequest) GetPageSize() int32

func (*SearchRunsRequest) GetPageToken

func (x *SearchRunsRequest) GetPageToken() string

func (*SearchRunsRequest) GetProject

func (x *SearchRunsRequest) GetProject() string

func (*SearchRunsRequest) GetStatus

func (x *SearchRunsRequest) GetStatus() run.Status

func (*SearchRunsRequest) ProtoMessage

func (*SearchRunsRequest) ProtoMessage()

func (*SearchRunsRequest) ProtoReflect

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

func (*SearchRunsRequest) Reset

func (x *SearchRunsRequest) Reset()

func (*SearchRunsRequest) String

func (x *SearchRunsRequest) String() string

func (*SearchRunsRequest) Validate

func (m *SearchRunsRequest) Validate() error

Validate checks the field values on SearchRunsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SearchRunsRequest) ValidateAll

func (m *SearchRunsRequest) ValidateAll() error

ValidateAll checks the field values on SearchRunsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SearchRunsRequestMultiError, or nil if none found.

type SearchRunsRequestMultiError

type SearchRunsRequestMultiError []error

SearchRunsRequestMultiError is an error wrapping multiple validation errors returned by SearchRunsRequest.ValidateAll() if the designated constraints aren't met.

func (SearchRunsRequestMultiError) AllErrors

func (m SearchRunsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SearchRunsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SearchRunsRequestValidationError

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

SearchRunsRequestValidationError is the validation error returned by SearchRunsRequest.Validate if the designated constraints aren't met.

func (SearchRunsRequestValidationError) Cause

Cause function returns cause value.

func (SearchRunsRequestValidationError) Error

Error satisfies the builtin error interface

func (SearchRunsRequestValidationError) ErrorName

ErrorName returns error name.

func (SearchRunsRequestValidationError) Field

Field function returns field value.

func (SearchRunsRequestValidationError) Key

Key function returns key value.

func (SearchRunsRequestValidationError) Reason

Reason function returns reason value.

type SendProjectEventRequest

type SendProjectEventRequest struct {
	Project string       `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Event   *prjpb.Event `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

func (*SendProjectEventRequest) Descriptor deprecated

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

Deprecated: Use SendProjectEventRequest.ProtoReflect.Descriptor instead.

func (*SendProjectEventRequest) GetEvent

func (x *SendProjectEventRequest) GetEvent() *prjpb.Event

func (*SendProjectEventRequest) GetProject

func (x *SendProjectEventRequest) GetProject() string

func (*SendProjectEventRequest) ProtoMessage

func (*SendProjectEventRequest) ProtoMessage()

func (*SendProjectEventRequest) ProtoReflect

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

func (*SendProjectEventRequest) Reset

func (x *SendProjectEventRequest) Reset()

func (*SendProjectEventRequest) String

func (x *SendProjectEventRequest) String() string

func (*SendProjectEventRequest) Validate

func (m *SendProjectEventRequest) Validate() error

Validate checks the field values on SendProjectEventRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SendProjectEventRequest) ValidateAll

func (m *SendProjectEventRequest) ValidateAll() error

ValidateAll checks the field values on SendProjectEventRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendProjectEventRequestMultiError, or nil if none found.

type SendProjectEventRequestMultiError

type SendProjectEventRequestMultiError []error

SendProjectEventRequestMultiError is an error wrapping multiple validation errors returned by SendProjectEventRequest.ValidateAll() if the designated constraints aren't met.

func (SendProjectEventRequestMultiError) AllErrors

func (m SendProjectEventRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SendProjectEventRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SendProjectEventRequestValidationError

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

SendProjectEventRequestValidationError is the validation error returned by SendProjectEventRequest.Validate if the designated constraints aren't met.

func (SendProjectEventRequestValidationError) Cause

Cause function returns cause value.

func (SendProjectEventRequestValidationError) Error

Error satisfies the builtin error interface

func (SendProjectEventRequestValidationError) ErrorName

ErrorName returns error name.

func (SendProjectEventRequestValidationError) Field

Field function returns field value.

func (SendProjectEventRequestValidationError) Key

Key function returns key value.

func (SendProjectEventRequestValidationError) Reason

Reason function returns reason value.

type SendRunEventRequest

type SendRunEventRequest struct {
	Run   string         `protobuf:"bytes,1,opt,name=run,proto3" json:"run,omitempty"`
	Event *eventpb.Event `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

func (*SendRunEventRequest) Descriptor deprecated

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

Deprecated: Use SendRunEventRequest.ProtoReflect.Descriptor instead.

func (*SendRunEventRequest) GetEvent

func (x *SendRunEventRequest) GetEvent() *eventpb.Event

func (*SendRunEventRequest) GetRun

func (x *SendRunEventRequest) GetRun() string

func (*SendRunEventRequest) ProtoMessage

func (*SendRunEventRequest) ProtoMessage()

func (*SendRunEventRequest) ProtoReflect

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

func (*SendRunEventRequest) Reset

func (x *SendRunEventRequest) Reset()

func (*SendRunEventRequest) String

func (x *SendRunEventRequest) String() string

func (*SendRunEventRequest) Validate

func (m *SendRunEventRequest) Validate() error

Validate checks the field values on SendRunEventRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SendRunEventRequest) ValidateAll

func (m *SendRunEventRequest) ValidateAll() error

ValidateAll checks the field values on SendRunEventRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendRunEventRequestMultiError, or nil if none found.

type SendRunEventRequestMultiError

type SendRunEventRequestMultiError []error

SendRunEventRequestMultiError is an error wrapping multiple validation errors returned by SendRunEventRequest.ValidateAll() if the designated constraints aren't met.

func (SendRunEventRequestMultiError) AllErrors

func (m SendRunEventRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SendRunEventRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SendRunEventRequestValidationError

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

SendRunEventRequestValidationError is the validation error returned by SendRunEventRequest.Validate if the designated constraints aren't met.

func (SendRunEventRequestValidationError) Cause

Cause function returns cause value.

func (SendRunEventRequestValidationError) Error

Error satisfies the builtin error interface

func (SendRunEventRequestValidationError) ErrorName

ErrorName returns error name.

func (SendRunEventRequestValidationError) Field

Field function returns field value.

func (SendRunEventRequestValidationError) Key

Key function returns key value.

func (SendRunEventRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedAdminServer

type UnimplementedAdminServer struct{}

UnimplementedAdminServer 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 (UnimplementedAdminServer) ApplyQuotaOps

func (UnimplementedAdminServer) DSMAbortJob

func (UnimplementedAdminServer) DSMGetJob

func (UnimplementedAdminServer) DSMLaunchJob

func (UnimplementedAdminServer) GetCL

func (UnimplementedAdminServer) GetPoller

func (UnimplementedAdminServer) GetProject

func (UnimplementedAdminServer) GetProjectLogs

func (UnimplementedAdminServer) GetRun

func (UnimplementedAdminServer) ScheduleTask

func (UnimplementedAdminServer) SearchRuns

func (UnimplementedAdminServer) SendProjectEvent

func (UnimplementedAdminServer) SendRunEvent

type UnsafeAdminServer

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

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

Jump to

Keyboard shortcuts

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