Package io.grpc.channelz.v1
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
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 class
A trace event is an interesting thing that happened to a channel or subchannel, such as creation, address resolution, subchannel creation, etc.static enum
static enum
The supported severity levels of trace events.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
static final int
private Object
private int
private static final ChannelTraceEvent
private Object
static final int
private byte
private static final com.google.protobuf.Parser
<ChannelTraceEvent> private static final long
private int
static final int
static final int
private com.google.protobuf.Timestamp
static final int
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
private
ChannelTraceEvent
(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 ChannelTraceEvent
High level description of the event.com.google.protobuf.ByteString
High level description of the event.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Parser
<ChannelTraceEvent> int
the severity of the trace eventint
the severity of the trace event.grpc.channelz.v1.SubchannelRef subchannel_ref = 5;
.grpc.channelz.v1.SubchannelRef subchannel_ref = 5;
com.google.protobuf.Timestamp
When this event occurred.com.google.protobuf.TimestampOrBuilder
When this event occurred.boolean
.grpc.channelz.v1.ChannelRef channel_ref = 4;
int
hashCode()
boolean
.grpc.channelz.v1.SubchannelRef subchannel_ref = 5;
boolean
When this event occurred.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
static ChannelTraceEvent.Builder
static ChannelTraceEvent.Builder
newBuilder
(ChannelTraceEvent prototype) protected ChannelTraceEvent.Builder
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) static ChannelTraceEvent
parseDelimitedFrom
(InputStream input) static ChannelTraceEvent
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChannelTraceEvent
parseFrom
(byte[] data) static ChannelTraceEvent
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChannelTraceEvent
parseFrom
(com.google.protobuf.ByteString data) static ChannelTraceEvent
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChannelTraceEvent
parseFrom
(com.google.protobuf.CodedInputStream input) static ChannelTraceEvent
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChannelTraceEvent
parseFrom
(InputStream input) static ChannelTraceEvent
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ChannelTraceEvent
parseFrom
(ByteBuffer data) static ChannelTraceEvent
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser
<ChannelTraceEvent> parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
getChildRefCase
- Specified by:
getChildRefCase
in interfaceChannelTraceEventOrBuilder
-
getDescription
High level description of the event.
string description = 1;
- Specified by:
getDescription
in interfaceChannelTraceEventOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()High level description of the event.
string description = 1;
- Specified by:
getDescriptionBytes
in 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:
getSeverityValue
in 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:
getSeverity
in interfaceChannelTraceEventOrBuilder
- Returns:
- The severity.
-
hasTimestamp
public boolean hasTimestamp()When this event occurred.
.google.protobuf.Timestamp timestamp = 3;
- Specified by:
hasTimestamp
in 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:
getTimestamp
in interfaceChannelTraceEventOrBuilder
- Returns:
- The timestamp.
-
getTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()When this event occurred.
.google.protobuf.Timestamp timestamp = 3;
- Specified by:
getTimestampOrBuilder
in interfaceChannelTraceEventOrBuilder
-
hasChannelRef
public boolean hasChannelRef().grpc.channelz.v1.ChannelRef channel_ref = 4;
- Specified by:
hasChannelRef
in interfaceChannelTraceEventOrBuilder
- Returns:
- Whether the channelRef field is set.
-
getChannelRef
.grpc.channelz.v1.ChannelRef channel_ref = 4;
- Specified by:
getChannelRef
in interfaceChannelTraceEventOrBuilder
- Returns:
- The channelRef.
-
getChannelRefOrBuilder
.grpc.channelz.v1.ChannelRef channel_ref = 4;
- Specified by:
getChannelRefOrBuilder
in interfaceChannelTraceEventOrBuilder
-
hasSubchannelRef
public boolean hasSubchannelRef().grpc.channelz.v1.SubchannelRef subchannel_ref = 5;
- Specified by:
hasSubchannelRef
in interfaceChannelTraceEventOrBuilder
- Returns:
- Whether the subchannelRef field is set.
-
getSubchannelRef
.grpc.channelz.v1.SubchannelRef subchannel_ref = 5;
- Specified by:
getSubchannelRef
in interfaceChannelTraceEventOrBuilder
- Returns:
- The subchannelRef.
-
getSubchannelRefOrBuilder
.grpc.channelz.v1.SubchannelRef subchannel_ref = 5;
- Specified by:
getSubchannelRefOrBuilder
in interfaceChannelTraceEventOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ChannelTraceEvent.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-