Class ChannelTraceEvent
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.grpc.channelz.v1.ChannelTraceEvent
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ChannelTraceEventOrBuilder, Serializable
@Generated
public final class ChannelTraceEvent
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA trace event is an interesting thing that happened to a channel or subchannel, such as creation, address resolution, subchannel creation, etc.static enumstatic enumThe supported severity levels of trace events.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intstatic final intprivate Objectprivate intprivate static final ChannelTraceEventprivate Objectstatic final intprivate byteprivate static final com.google.protobuf.Parser<ChannelTraceEvent> private static final longprivate intstatic final intstatic final intprivate com.google.protobuf.Timestampstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateprivateChannelTraceEvent(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionboolean.grpc.channelz.v1.ChannelRef channel_ref = 4;.grpc.channelz.v1.ChannelRef channel_ref = 4;static ChannelTraceEventHigh level description of the event.com.google.protobuf.ByteStringHigh level description of the event.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<ChannelTraceEvent> intthe severity of the trace eventintthe severity of the trace event.grpc.channelz.v1.SubchannelRef subchannel_ref = 5;.grpc.channelz.v1.SubchannelRef subchannel_ref = 5;com.google.protobuf.TimestampWhen this event occurred.com.google.protobuf.TimestampOrBuilderWhen this event occurred.boolean.grpc.channelz.v1.ChannelRef channel_ref = 4;inthashCode()boolean.grpc.channelz.v1.SubchannelRef subchannel_ref = 5;booleanWhen this event occurred.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ChannelTraceEvent.Builderstatic ChannelTraceEvent.BuildernewBuilder(ChannelTraceEvent prototype) protected ChannelTraceEvent.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ChannelTraceEventparseDelimitedFrom(InputStream input) static ChannelTraceEventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChannelTraceEventparseFrom(byte[] data) static ChannelTraceEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChannelTraceEventparseFrom(com.google.protobuf.ByteString data) static ChannelTraceEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChannelTraceEventparseFrom(com.google.protobuf.CodedInputStream input) static ChannelTraceEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChannelTraceEventparseFrom(InputStream input) static ChannelTraceEventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChannelTraceEventparseFrom(ByteBuffer data) static ChannelTraceEventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ChannelTraceEvent> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
childRefCase_
private int childRefCase_ -
childRef_
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
description_
-
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER- See Also:
-
severity_
private int severity_ -
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER- See Also:
-
timestamp_
private com.google.protobuf.Timestamp timestamp_ -
CHANNEL_REF_FIELD_NUMBER
public static final int CHANNEL_REF_FIELD_NUMBER- See Also:
-
SUBCHANNEL_REF_FIELD_NUMBER
public static final int SUBCHANNEL_REF_FIELD_NUMBER- See Also:
-
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
ChannelTraceEvent
private ChannelTraceEvent(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
ChannelTraceEvent
private ChannelTraceEvent()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getChildRefCase
- Specified by:
getChildRefCasein interfaceChannelTraceEventOrBuilder
-
getDescription
High level description of the event.
string description = 1;- Specified by:
getDescriptionin interfaceChannelTraceEventOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()High level description of the event.
string description = 1;- Specified by:
getDescriptionBytesin interfaceChannelTraceEventOrBuilder- Returns:
- The bytes for description.
-
getSeverityValue
public int getSeverityValue()the severity of the trace event
.grpc.channelz.v1.ChannelTraceEvent.Severity severity = 2;- Specified by:
getSeverityValuein interfaceChannelTraceEventOrBuilder- Returns:
- The enum numeric value on the wire for severity.
-
getSeverity
the severity of the trace event
.grpc.channelz.v1.ChannelTraceEvent.Severity severity = 2;- Specified by:
getSeverityin interfaceChannelTraceEventOrBuilder- Returns:
- The severity.
-
hasTimestamp
public boolean hasTimestamp()When this event occurred.
.google.protobuf.Timestamp timestamp = 3;- Specified by:
hasTimestampin interfaceChannelTraceEventOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public com.google.protobuf.Timestamp getTimestamp()When this event occurred.
.google.protobuf.Timestamp timestamp = 3;- Specified by:
getTimestampin interfaceChannelTraceEventOrBuilder- Returns:
- The timestamp.
-
getTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()When this event occurred.
.google.protobuf.Timestamp timestamp = 3;- Specified by:
getTimestampOrBuilderin interfaceChannelTraceEventOrBuilder
-
hasChannelRef
public boolean hasChannelRef().grpc.channelz.v1.ChannelRef channel_ref = 4;- Specified by:
hasChannelRefin interfaceChannelTraceEventOrBuilder- Returns:
- Whether the channelRef field is set.
-
getChannelRef
.grpc.channelz.v1.ChannelRef channel_ref = 4;- Specified by:
getChannelRefin interfaceChannelTraceEventOrBuilder- Returns:
- The channelRef.
-
getChannelRefOrBuilder
.grpc.channelz.v1.ChannelRef channel_ref = 4;- Specified by:
getChannelRefOrBuilderin interfaceChannelTraceEventOrBuilder
-
hasSubchannelRef
public boolean hasSubchannelRef().grpc.channelz.v1.SubchannelRef subchannel_ref = 5;- Specified by:
hasSubchannelRefin interfaceChannelTraceEventOrBuilder- Returns:
- Whether the subchannelRef field is set.
-
getSubchannelRef
.grpc.channelz.v1.SubchannelRef subchannel_ref = 5;- Specified by:
getSubchannelRefin interfaceChannelTraceEventOrBuilder- Returns:
- The subchannelRef.
-
getSubchannelRefOrBuilder
.grpc.channelz.v1.SubchannelRef subchannel_ref = 5;- Specified by:
getSubchannelRefOrBuilderin interfaceChannelTraceEventOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ChannelTraceEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ChannelTraceEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ChannelTraceEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ChannelTraceEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ChannelTraceEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ChannelTraceEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ChannelTraceEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ChannelTraceEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ChannelTraceEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ChannelTraceEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ChannelTraceEvent.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-