1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: grpc/channelz/v1/channelz.proto
3 
4 package io.grpc.channelz.v1;
5 
6 public interface ChannelTraceOrBuilder extends
7     // @@protoc_insertion_point(interface_extends:grpc.channelz.v1.ChannelTrace)
8     com.google.protobuf.MessageOrBuilder {
9 
10   /**
11    * <pre>
12    * Number of events ever logged in this tracing object. This can differ from
13    * events.size() because events can be overwritten or garbage collected by
14    * implementations.
15    * </pre>
16    *
17    * <code>int64 num_events_logged = 1;</code>
18    */
getNumEventsLogged()19   long getNumEventsLogged();
20 
21   /**
22    * <pre>
23    * Time that this channel was created.
24    * </pre>
25    *
26    * <code>.google.protobuf.Timestamp creation_timestamp = 2;</code>
27    */
hasCreationTimestamp()28   boolean hasCreationTimestamp();
29   /**
30    * <pre>
31    * Time that this channel was created.
32    * </pre>
33    *
34    * <code>.google.protobuf.Timestamp creation_timestamp = 2;</code>
35    */
getCreationTimestamp()36   com.google.protobuf.Timestamp getCreationTimestamp();
37   /**
38    * <pre>
39    * Time that this channel was created.
40    * </pre>
41    *
42    * <code>.google.protobuf.Timestamp creation_timestamp = 2;</code>
43    */
getCreationTimestampOrBuilder()44   com.google.protobuf.TimestampOrBuilder getCreationTimestampOrBuilder();
45 
46   /**
47    * <pre>
48    * List of events that have occurred on this channel.
49    * </pre>
50    *
51    * <code>repeated .grpc.channelz.v1.ChannelTraceEvent events = 3;</code>
52    */
53   java.util.List<io.grpc.channelz.v1.ChannelTraceEvent>
getEventsList()54       getEventsList();
55   /**
56    * <pre>
57    * List of events that have occurred on this channel.
58    * </pre>
59    *
60    * <code>repeated .grpc.channelz.v1.ChannelTraceEvent events = 3;</code>
61    */
getEvents(int index)62   io.grpc.channelz.v1.ChannelTraceEvent getEvents(int index);
63   /**
64    * <pre>
65    * List of events that have occurred on this channel.
66    * </pre>
67    *
68    * <code>repeated .grpc.channelz.v1.ChannelTraceEvent events = 3;</code>
69    */
getEventsCount()70   int getEventsCount();
71   /**
72    * <pre>
73    * List of events that have occurred on this channel.
74    * </pre>
75    *
76    * <code>repeated .grpc.channelz.v1.ChannelTraceEvent events = 3;</code>
77    */
78   java.util.List<? extends io.grpc.channelz.v1.ChannelTraceEventOrBuilder>
getEventsOrBuilderList()79       getEventsOrBuilderList();
80   /**
81    * <pre>
82    * List of events that have occurred on this channel.
83    * </pre>
84    *
85    * <code>repeated .grpc.channelz.v1.ChannelTraceEvent events = 3;</code>
86    */
getEventsOrBuilder( int index)87   io.grpc.channelz.v1.ChannelTraceEventOrBuilder getEventsOrBuilder(
88       int index);
89 }
90