Package io.grpc.channelz.v1
Interface ChannelTraceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ChannelTrace
,ChannelTrace.Builder
public interface ChannelTraceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Timestamp
Time that this channel was created.com.google.protobuf.TimestampOrBuilder
Time that this channel was created.getEvents
(int index) List of events that have occurred on this channel.int
List of events that have occurred on this channel.List of events that have occurred on this channel.getEventsOrBuilder
(int index) List of events that have occurred on this channel.List
<? extends ChannelTraceEventOrBuilder> List of events that have occurred on this channel.long
Number of events ever logged in this tracing object.boolean
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 Details
-
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
com.google.protobuf.Timestamp getCreationTimestamp()Time that this channel was created.
.google.protobuf.Timestamp creation_timestamp = 2;
- Returns:
- The creationTimestamp.
-
getCreationTimestampOrBuilder
com.google.protobuf.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
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
List of events that have occurred on this channel.
repeated .grpc.channelz.v1.ChannelTraceEvent events = 3;
-