Package io.grpc.channelz.v1
Interface ChannelTraceOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
ChannelTrace
,ChannelTrace.Builder
public interface ChannelTraceOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Timestamp
getCreationTimestamp()
Time that this channel was created.TimestampOrBuilder
getCreationTimestampOrBuilder()
Time that this channel was created.ChannelTraceEvent
getEvents(int index)
List of events that have occurred on this channel.int
getEventsCount()
List of events that have occurred on this channel.List<ChannelTraceEvent>
getEventsList()
List of events that have occurred on this channel.ChannelTraceEventOrBuilder
getEventsOrBuilder(int index)
List of events that have occurred on this channel.List<? extends ChannelTraceEventOrBuilder>
getEventsOrBuilderList()
List of events that have occurred on this channel.long
getNumEventsLogged()
Number of events ever logged in this tracing object.boolean
hasCreationTimestamp()
Time that this channel was created.-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNumEventsLogged
long getNumEventsLogged()
Number of events ever logged in this tracing object. This can differ from events.size() because events can be overwritten or garbage collected by implementations.
int64 num_events_logged = 1;
- Returns:
- The numEventsLogged.
-
hasCreationTimestamp
boolean hasCreationTimestamp()
Time that this channel was created.
.google.protobuf.Timestamp creation_timestamp = 2;
- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Timestamp getCreationTimestamp()
Time that this channel was created.
.google.protobuf.Timestamp creation_timestamp = 2;
- Returns:
- The creationTimestamp.
-
getCreationTimestampOrBuilder
TimestampOrBuilder getCreationTimestampOrBuilder()
Time that this channel was created.
.google.protobuf.Timestamp creation_timestamp = 2;
-
getEventsList
List<ChannelTraceEvent> getEventsList()
List of events that have occurred on this channel.
repeated .grpc.channelz.v1.ChannelTraceEvent events = 3;
-
getEvents
ChannelTraceEvent getEvents(int index)
List of events that have occurred on this channel.
repeated .grpc.channelz.v1.ChannelTraceEvent events = 3;
-
getEventsCount
int getEventsCount()
List of events that have occurred on this channel.
repeated .grpc.channelz.v1.ChannelTraceEvent events = 3;
-
getEventsOrBuilderList
List<? extends ChannelTraceEventOrBuilder> getEventsOrBuilderList()
List of events that have occurred on this channel.
repeated .grpc.channelz.v1.ChannelTraceEvent events = 3;
-
getEventsOrBuilder
ChannelTraceEventOrBuilder getEventsOrBuilder(int index)
List of events that have occurred on this channel.
repeated .grpc.channelz.v1.ChannelTraceEvent events = 3;
-
-