Package io.grpc.channelz.v1
Class ChannelTraceEvent
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.grpc.channelz.v1.ChannelTraceEvent
-
- All Implemented Interfaces:
Message
,MessageLite
,MessageLiteOrBuilder
,MessageOrBuilder
,ChannelTraceEventOrBuilder
,Serializable
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 typegrpc.channelz.v1.ChannelTraceEvent
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class 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.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, GeneratedMessageV3.ExtendableMessage<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
-
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum
-
-
Field Summary
Fields Modifier and Type Field 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
-
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
-
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
-
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, 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 Detail
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHANNEL_REF_FIELD_NUMBER
public static final int CHANNEL_REF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBCHANNEL_REF_FIELD_NUMBER
public static final int SUBCHANNEL_REF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classGeneratedMessageV3
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3
-
getChildRefCase
public ChannelTraceEvent.ChildRefCase getChildRefCase()
- Specified by:
getChildRefCase
in interfaceChannelTraceEventOrBuilder
-
getDescription
public String getDescription()
High level description of the event.
string description = 1;
- Specified by:
getDescription
in interfaceChannelTraceEventOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public 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
public ChannelTraceEvent.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 Timestamp getTimestamp()
When this event occurred.
.google.protobuf.Timestamp timestamp = 3;
- Specified by:
getTimestamp
in interfaceChannelTraceEventOrBuilder
- Returns:
- The timestamp.
-
getTimestampOrBuilder
public 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
public ChannelRef getChannelRef()
.grpc.channelz.v1.ChannelRef channel_ref = 4;
- Specified by:
getChannelRef
in interfaceChannelTraceEventOrBuilder
- Returns:
- The channelRef.
-
getChannelRefOrBuilder
public ChannelRefOrBuilder 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
public SubchannelRef getSubchannelRef()
.grpc.channelz.v1.SubchannelRef subchannel_ref = 5;
- Specified by:
getSubchannelRef
in interfaceChannelTraceEventOrBuilder
- Returns:
- The subchannelRef.
-
getSubchannelRefOrBuilder
public SubchannelRefOrBuilder getSubchannelRefOrBuilder()
.grpc.channelz.v1.SubchannelRef subchannel_ref = 5;
- Specified by:
getSubchannelRefOrBuilder
in interfaceChannelTraceEventOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3
-
writeTo
public void writeTo(CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfaceMessageLite
- Overrides:
writeTo
in classGeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfaceMessageLite
- Overrides:
getSerializedSize
in classGeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfaceMessage
- Overrides:
equals
in classAbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceMessage
- Overrides:
hashCode
in classAbstractMessage
-
parseFrom
public static ChannelTraceEvent parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static ChannelTraceEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static ChannelTraceEvent parseFrom(ByteString data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static ChannelTraceEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static ChannelTraceEvent parseFrom(byte[] data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static ChannelTraceEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static ChannelTraceEvent parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ChannelTraceEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ChannelTraceEvent parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ChannelTraceEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ChannelTraceEvent parseFrom(CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ChannelTraceEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ChannelTraceEvent.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfaceMessage
- Specified by:
newBuilderForType
in interfaceMessageLite
-
newBuilder
public static ChannelTraceEvent.Builder newBuilder()
-
newBuilder
public static ChannelTraceEvent.Builder newBuilder(ChannelTraceEvent prototype)
-
toBuilder
public ChannelTraceEvent.Builder toBuilder()
- Specified by:
toBuilder
in interfaceMessage
- Specified by:
toBuilder
in interfaceMessageLite
-
newBuilderForType
protected ChannelTraceEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classGeneratedMessageV3
-
getDefaultInstance
public static ChannelTraceEvent getDefaultInstance()
-
parser
public static Parser<ChannelTraceEvent> parser()
-
getParserForType
public Parser<ChannelTraceEvent> getParserForType()
- Specified by:
getParserForType
in interfaceMessage
- Specified by:
getParserForType
in interfaceMessageLite
- Overrides:
getParserForType
in classGeneratedMessageV3
-
getDefaultInstanceForType
public ChannelTraceEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
-