// Vendored verbatim from https://github.com/vectordotdev/vector
// Copyright Datadog, Inc. Licensed under the Mozilla Public License 2.0
// (MPL-2.0, https://www.mozilla.org/MPL/2.0/). Unmodified -- see /NOTICE.
// Source: proto/vector/vector.proto (Vector v2 gRPC protocol)
// Pinned: 2026-03-02 (stable since 2021, rarely changes)

syntax = "proto3";

package vector;

import "event.proto";

message PushEventsRequest {
  repeated event.EventWrapper events = 1;
}

message PushEventsResponse {}

enum ServingStatus {
  SERVING = 0;
  NOT_SERVING = 1;
}

message HealthCheckRequest {}

message HealthCheckResponse {
  ServingStatus status = 1;
}

service Vector {
  rpc PushEvents(PushEventsRequest) returns (PushEventsResponse) {}

  rpc HealthCheck(HealthCheckRequest) returns (HealthCheckResponse);
}
