public final class ChannelTraceEvent extends GeneratedMessageV3 implements ChannelTraceEventOrBuilder
A trace event is an interesting thing that happened to a channel or subchannel, such as creation, address resolution, subchannel creation, etc.Protobuf type
grpc.channelz.v1.ChannelTraceEvent| Modifier and Type | Class and Description |
|---|---|
static class |
ChannelTraceEvent.Builder
A trace event is an interesting thing that happened to a channel or
subchannel, such as creation, address resolution, subchannel creation, etc.
|
static class |
ChannelTraceEvent.ChildRefCase |
static class |
ChannelTraceEvent.Severity
The supported severity levels of trace events.
|
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 |
CHANNEL_REF_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
SEVERITY_FIELD_NUMBER |
static int |
SUBCHANNEL_REF_FIELD_NUMBER |
static int |
TIMESTAMP_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 DESCRIPTION_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int CHANNEL_REF_FIELD_NUMBER
public static final int SUBCHANNEL_REF_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 ChannelTraceEvent.ChildRefCase getChildRefCase()
getChildRefCase in interface ChannelTraceEventOrBuilderpublic String getDescription()
High level description of the event.
string description = 1;getDescription in interface ChannelTraceEventOrBuilderpublic ByteString getDescriptionBytes()
High level description of the event.
string description = 1;getDescriptionBytes in interface ChannelTraceEventOrBuilderpublic int getSeverityValue()
the severity of the trace event
.grpc.channelz.v1.ChannelTraceEvent.Severity severity = 2;getSeverityValue in interface ChannelTraceEventOrBuilderpublic ChannelTraceEvent.Severity getSeverity()
the severity of the trace event
.grpc.channelz.v1.ChannelTraceEvent.Severity severity = 2;getSeverity in interface ChannelTraceEventOrBuilderpublic boolean hasTimestamp()
When this event occurred.
.google.protobuf.Timestamp timestamp = 3;hasTimestamp in interface ChannelTraceEventOrBuilderpublic Timestamp getTimestamp()
When this event occurred.
.google.protobuf.Timestamp timestamp = 3;getTimestamp in interface ChannelTraceEventOrBuilderpublic TimestampOrBuilder getTimestampOrBuilder()
When this event occurred.
.google.protobuf.Timestamp timestamp = 3;getTimestampOrBuilder in interface ChannelTraceEventOrBuilderpublic boolean hasChannelRef()
.grpc.channelz.v1.ChannelRef channel_ref = 4;hasChannelRef in interface ChannelTraceEventOrBuilderpublic ChannelRef getChannelRef()
.grpc.channelz.v1.ChannelRef channel_ref = 4;getChannelRef in interface ChannelTraceEventOrBuilderpublic ChannelRefOrBuilder getChannelRefOrBuilder()
.grpc.channelz.v1.ChannelRef channel_ref = 4;getChannelRefOrBuilder in interface ChannelTraceEventOrBuilderpublic boolean hasSubchannelRef()
.grpc.channelz.v1.SubchannelRef subchannel_ref = 5;hasSubchannelRef in interface ChannelTraceEventOrBuilderpublic SubchannelRef getSubchannelRef()
.grpc.channelz.v1.SubchannelRef subchannel_ref = 5;getSubchannelRef in interface ChannelTraceEventOrBuilderpublic SubchannelRefOrBuilder getSubchannelRefOrBuilder()
.grpc.channelz.v1.SubchannelRef subchannel_ref = 5;getSubchannelRefOrBuilder in interface ChannelTraceEventOrBuilderpublic 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 ChannelTraceEvent parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ChannelTraceEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ChannelTraceEvent parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ChannelTraceEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ChannelTraceEvent parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ChannelTraceEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ChannelTraceEvent parseFrom(InputStream input) throws IOException
IOExceptionpublic static ChannelTraceEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ChannelTraceEvent parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ChannelTraceEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ChannelTraceEvent parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static ChannelTraceEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ChannelTraceEvent.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static ChannelTraceEvent.Builder newBuilder()
public static ChannelTraceEvent.Builder newBuilder(ChannelTraceEvent prototype)
public ChannelTraceEvent.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected ChannelTraceEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static ChannelTraceEvent getDefaultInstance()
public static Parser<ChannelTraceEvent> parser()
public Parser<ChannelTraceEvent> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public ChannelTraceEvent getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder