public final class ChannelTrace extends GeneratedMessageV3 implements ChannelTraceOrBuilder
ChannelTrace represents the recent events that have occurred on the channel.Protobuf type
grpc.channelz.v1.ChannelTrace| Modifier and Type | Class and Description |
|---|---|
static class |
ChannelTrace.Builder
ChannelTrace represents the recent events that have occurred on the channel.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
static int |
CREATION_TIMESTAMP_FIELD_NUMBER |
static int |
EVENTS_FIELD_NUMBER |
static int |
NUM_EVENTS_LOGGED_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NUM_EVENTS_LOGGED_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
public static final int EVENTS_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public 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;getNumEventsLogged in interface ChannelTraceOrBuilderpublic boolean hasCreationTimestamp()
Time that this channel was created.
.google.protobuf.Timestamp creation_timestamp = 2;hasCreationTimestamp in interface ChannelTraceOrBuilderpublic Timestamp getCreationTimestamp()
Time that this channel was created.
.google.protobuf.Timestamp creation_timestamp = 2;getCreationTimestamp in interface ChannelTraceOrBuilderpublic TimestampOrBuilder getCreationTimestampOrBuilder()
Time that this channel was created.
.google.protobuf.Timestamp creation_timestamp = 2;getCreationTimestampOrBuilder in interface ChannelTraceOrBuilderpublic List<ChannelTraceEvent> getEventsList()
List of events that have occurred on this channel.
repeated .grpc.channelz.v1.ChannelTraceEvent events = 3;getEventsList in interface ChannelTraceOrBuilderpublic List<? extends ChannelTraceEventOrBuilder> getEventsOrBuilderList()
List of events that have occurred on this channel.
repeated .grpc.channelz.v1.ChannelTraceEvent events = 3;getEventsOrBuilderList in interface ChannelTraceOrBuilderpublic int getEventsCount()
List of events that have occurred on this channel.
repeated .grpc.channelz.v1.ChannelTraceEvent events = 3;getEventsCount in interface ChannelTraceOrBuilderpublic ChannelTraceEvent getEvents(int index)
List of events that have occurred on this channel.
repeated .grpc.channelz.v1.ChannelTraceEvent events = 3;getEvents in interface ChannelTraceOrBuilderpublic ChannelTraceEventOrBuilder getEventsOrBuilder(int index)
List of events that have occurred on this channel.
repeated .grpc.channelz.v1.ChannelTraceEvent events = 3;getEventsOrBuilder in interface ChannelTraceOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static ChannelTrace parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ChannelTrace parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ChannelTrace parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ChannelTrace parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ChannelTrace parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ChannelTrace parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ChannelTrace parseFrom(InputStream input) throws IOException
IOExceptionpublic static ChannelTrace parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ChannelTrace parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ChannelTrace parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ChannelTrace parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static ChannelTrace parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ChannelTrace.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static ChannelTrace.Builder newBuilder()
public static ChannelTrace.Builder newBuilder(ChannelTrace prototype)
public ChannelTrace.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected ChannelTrace.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static ChannelTrace getDefaultInstance()
public static Parser<ChannelTrace> parser()
public Parser<ChannelTrace> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public ChannelTrace getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder