public final class ChannelData extends GeneratedMessageV3 implements ChannelDataOrBuilder
Channel data is data related to a specific Channel or Subchannel.Protobuf type
grpc.channelz.v1.ChannelData| Modifier and Type | Class and Description |
|---|---|
static class |
ChannelData.Builder
Channel data is data related to a specific Channel or Subchannel.
|
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 |
CALLS_FAILED_FIELD_NUMBER |
static int |
CALLS_STARTED_FIELD_NUMBER |
static int |
CALLS_SUCCEEDED_FIELD_NUMBER |
static int |
LAST_CALL_STARTED_TIMESTAMP_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
TARGET_FIELD_NUMBER |
static int |
TRACE_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 STATE_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
public static final int TRACE_FIELD_NUMBER
public static final int CALLS_STARTED_FIELD_NUMBER
public static final int CALLS_SUCCEEDED_FIELD_NUMBER
public static final int CALLS_FAILED_FIELD_NUMBER
public static final int LAST_CALL_STARTED_TIMESTAMP_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 boolean hasState()
The connectivity state of the channel or subchannel. Implementations should always set this.
.grpc.channelz.v1.ChannelConnectivityState state = 1;hasState in interface ChannelDataOrBuilderpublic ChannelConnectivityState getState()
The connectivity state of the channel or subchannel. Implementations should always set this.
.grpc.channelz.v1.ChannelConnectivityState state = 1;getState in interface ChannelDataOrBuilderpublic ChannelConnectivityStateOrBuilder getStateOrBuilder()
The connectivity state of the channel or subchannel. Implementations should always set this.
.grpc.channelz.v1.ChannelConnectivityState state = 1;getStateOrBuilder in interface ChannelDataOrBuilderpublic String getTarget()
The target this channel originally tried to connect to. May be absent
string target = 2;getTarget in interface ChannelDataOrBuilderpublic ByteString getTargetBytes()
The target this channel originally tried to connect to. May be absent
string target = 2;getTargetBytes in interface ChannelDataOrBuilderpublic boolean hasTrace()
A trace of recent events on the channel. May be absent.
.grpc.channelz.v1.ChannelTrace trace = 3;hasTrace in interface ChannelDataOrBuilderpublic ChannelTrace getTrace()
A trace of recent events on the channel. May be absent.
.grpc.channelz.v1.ChannelTrace trace = 3;getTrace in interface ChannelDataOrBuilderpublic ChannelTraceOrBuilder getTraceOrBuilder()
A trace of recent events on the channel. May be absent.
.grpc.channelz.v1.ChannelTrace trace = 3;getTraceOrBuilder in interface ChannelDataOrBuilderpublic long getCallsStarted()
The number of calls started on the channel
int64 calls_started = 4;getCallsStarted in interface ChannelDataOrBuilderpublic long getCallsSucceeded()
The number of calls that have completed with an OK status
int64 calls_succeeded = 5;getCallsSucceeded in interface ChannelDataOrBuilderpublic long getCallsFailed()
The number of calls that have completed with a non-OK status
int64 calls_failed = 6;getCallsFailed in interface ChannelDataOrBuilderpublic boolean hasLastCallStartedTimestamp()
The last time a call was started on the channel.
.google.protobuf.Timestamp last_call_started_timestamp = 7;hasLastCallStartedTimestamp in interface ChannelDataOrBuilderpublic Timestamp getLastCallStartedTimestamp()
The last time a call was started on the channel.
.google.protobuf.Timestamp last_call_started_timestamp = 7;getLastCallStartedTimestamp in interface ChannelDataOrBuilderpublic TimestampOrBuilder getLastCallStartedTimestampOrBuilder()
The last time a call was started on the channel.
.google.protobuf.Timestamp last_call_started_timestamp = 7;getLastCallStartedTimestampOrBuilder in interface ChannelDataOrBuilderpublic 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 ChannelData parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ChannelData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ChannelData parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ChannelData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ChannelData parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ChannelData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ChannelData parseFrom(InputStream input) throws IOException
IOExceptionpublic static ChannelData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ChannelData parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ChannelData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ChannelData parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static ChannelData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ChannelData.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static ChannelData.Builder newBuilder()
public static ChannelData.Builder newBuilder(ChannelData prototype)
public ChannelData.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected ChannelData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static ChannelData getDefaultInstance()
public static Parser<ChannelData> parser()
public Parser<ChannelData> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public ChannelData getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder