github.com/cloudwan/edgelq-sdk@v1.15.4/logging/proto/v1alpha2/common.proto (about)

     1  syntax = "proto3";
     2  
     3  package ntt.logging.v1alpha2;
     4  
     5  import "google/protobuf/any.proto";
     6  import "google/protobuf/timestamp.proto";
     7  
     8  option go_package = "github.com/cloudwan/edgelq-sdk/logging/resources/v1alpha2/common";
     9  option java_multiple_files = true;
    10  option java_outer_classname = "CommonProto";
    11  option java_package = "com.ntt.logging.pb.v1alpha2";
    12  
    13  message LabelDescriptor {
    14    // The label key.
    15    string key = 1;
    16  
    17    // Label description
    18    string description = 2;
    19  }
    20  
    21  // LabelKeySet is used for defining PromotedLabelKeySets
    22  message LabelKeySet { repeated string label_keys = 1; }
    23  
    24  // A time interval extending just after a start time through an end time.
    25  // If the start time is the same as the end time, then the interval
    26  // represents a single point in time.
    27  message TimeInterval {
    28    // Optional - end of the time interval. If not provided, current
    29    // time will be assumed.
    30    google.protobuf.Timestamp end_time = 2;
    31  
    32    // Required. The beginning of the time interval. The start time must not be
    33    // later than the end time.
    34    google.protobuf.Timestamp start_time = 1;
    35  }