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 classChannelTraceEvent.BuilderA trace event is an interesting thing that happened to a channel or subchannel, such as creation, address resolution, subchannel creation, etc.static classChannelTraceEvent.ChildRefCasestatic classChannelTraceEvent.SeverityThe 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 intCHANNEL_REF_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intSEVERITY_FIELD_NUMBERstatic intSUBCHANNEL_REF_FIELD_NUMBERstatic intTIMESTAMP_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:
newInstancein classGeneratedMessageV3
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getChildRefCase
public ChannelTraceEvent.ChildRefCase getChildRefCase()
- Specified by:
getChildRefCasein interfaceChannelTraceEventOrBuilder
-
getDescription
public String getDescription()
High level description of the event.
string description = 1;- Specified by:
getDescriptionin interfaceChannelTraceEventOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public 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
public ChannelTraceEvent.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 Timestamp getTimestamp()
When this event occurred.
.google.protobuf.Timestamp timestamp = 3;- Specified by:
getTimestampin interfaceChannelTraceEventOrBuilder- Returns:
- The timestamp.
-
getTimestampOrBuilder
public 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
public ChannelRef getChannelRef()
.grpc.channelz.v1.ChannelRef channel_ref = 4;- Specified by:
getChannelRefin interfaceChannelTraceEventOrBuilder- Returns:
- The channelRef.
-
getChannelRefOrBuilder
public ChannelRefOrBuilder 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
public SubchannelRef getSubchannelRef()
.grpc.channelz.v1.SubchannelRef subchannel_ref = 5;- Specified by:
getSubchannelRefin interfaceChannelTraceEventOrBuilder- Returns:
- The subchannelRef.
-
getSubchannelRefOrBuilder
public SubchannelRefOrBuilder getSubchannelRefOrBuilder()
.grpc.channelz.v1.SubchannelRef subchannel_ref = 5;- Specified by:
getSubchannelRefOrBuilderin interfaceChannelTraceEventOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3
-
writeTo
public void writeTo(CodedOutputStream output) throws IOException
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein 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:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
public static ChannelTraceEvent.Builder newBuilder()
-
newBuilder
public static ChannelTraceEvent.Builder newBuilder(ChannelTraceEvent prototype)
-
toBuilder
public ChannelTraceEvent.Builder toBuilder()
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
protected ChannelTraceEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
public static ChannelTraceEvent getDefaultInstance()
-
parser
public static Parser<ChannelTraceEvent> parser()
-
getParserForType
public Parser<ChannelTraceEvent> getParserForType()
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
public ChannelTraceEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
-