proto

package
v0.0.0-...-e560ebb Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AlertGroups_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "alert_groups.AlertGroups",
	HandlerType: (*AlertGroupsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "MergeAlertGroups",
			Handler:    _AlertGroups_MergeAlertGroups_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "infra/chromeperf/alert_groups/alert_groups.proto",
}

AlertGroups_ServiceDesc is the grpc.ServiceDesc for AlertGroups 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_infra_chromeperf_alert_groups_alert_groups_proto protoreflect.FileDescriptor

Functions

func RegisterAlertGroupsServer

func RegisterAlertGroupsServer(s grpc.ServiceRegistrar, srv AlertGroupsServer)

Types

type AlertGroup

type AlertGroup struct {

	// AlertGroup id in Datastore.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertGroup) Descriptor deprecated

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

Deprecated: Use AlertGroup.ProtoReflect.Descriptor instead.

func (*AlertGroup) GetName

func (x *AlertGroup) GetName() string

func (*AlertGroup) ProtoMessage

func (*AlertGroup) ProtoMessage()

func (*AlertGroup) ProtoReflect

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

func (*AlertGroup) Reset

func (x *AlertGroup) Reset()

func (*AlertGroup) String

func (x *AlertGroup) String() string

type AlertGroupsClient

type AlertGroupsClient interface {
	// NOTE: An upstream project depends on this API, please contact
	// webrtc-infra@google.com if making not backwards compatible changes.
	MergeAlertGroups(ctx context.Context, in *MergeAlertGroupsRequest, opts ...grpc.CallOption) (*AlertGroup, error)
}

AlertGroupsClient is the client API for AlertGroups service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AlertGroupsServer

type AlertGroupsServer interface {
	// NOTE: An upstream project depends on this API, please contact
	// webrtc-infra@google.com if making not backwards compatible changes.
	MergeAlertGroups(context.Context, *MergeAlertGroupsRequest) (*AlertGroup, error)
	// contains filtered or unexported methods
}

AlertGroupsServer is the server API for AlertGroups service. All implementations must embed UnimplementedAlertGroupsServer for forward compatibility

type MergeAlertGroupsRequest

type MergeAlertGroupsRequest struct {

	// List of groups that will be merged into the destination_group.
	// The source groups will be deleted after merge is complete.
	SourceGroups []*AlertGroup `protobuf:"bytes,1,rep,name=source_groups,json=sourceGroups,proto3" json:"source_groups,omitempty"`
	// Group that will contain all the anomalies from the source groups.
	DestinationGroup *AlertGroup `protobuf:"bytes,2,opt,name=destination_group,json=destinationGroup,proto3" json:"destination_group,omitempty"`
	// contains filtered or unexported fields
}

func (*MergeAlertGroupsRequest) Descriptor deprecated

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

Deprecated: Use MergeAlertGroupsRequest.ProtoReflect.Descriptor instead.

func (*MergeAlertGroupsRequest) GetDestinationGroup

func (x *MergeAlertGroupsRequest) GetDestinationGroup() *AlertGroup

func (*MergeAlertGroupsRequest) GetSourceGroups

func (x *MergeAlertGroupsRequest) GetSourceGroups() []*AlertGroup

func (*MergeAlertGroupsRequest) ProtoMessage

func (*MergeAlertGroupsRequest) ProtoMessage()

func (*MergeAlertGroupsRequest) ProtoReflect

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

func (*MergeAlertGroupsRequest) Reset

func (x *MergeAlertGroupsRequest) Reset()

func (*MergeAlertGroupsRequest) String

func (x *MergeAlertGroupsRequest) String() string

type UnimplementedAlertGroupsServer

type UnimplementedAlertGroupsServer struct {
}

UnimplementedAlertGroupsServer must be embedded to have forward compatible implementations.

func (UnimplementedAlertGroupsServer) MergeAlertGroups

type UnsafeAlertGroupsServer

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

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

Jump to

Keyboard shortcuts

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