public final class ChannelData extends com.google.protobuf.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.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getCallsFailed()
The number of calls that have completed with a non-OK status
|
long |
getCallsStarted()
The number of calls started on the channel
|
long |
getCallsSucceeded()
The number of calls that have completed with an OK status
|
static ChannelData |
getDefaultInstance() |
ChannelData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getLastCallStartedTimestamp()
The last time a call was started on the channel.
|
com.google.protobuf.TimestampOrBuilder |
getLastCallStartedTimestampOrBuilder()
The last time a call was started on the channel.
|
com.google.protobuf.Parser<ChannelData> |
getParserForType() |
int |
getSerializedSize() |
ChannelConnectivityState |
getState()
The connectivity state of the channel or subchannel.
|
ChannelConnectivityStateOrBuilder |
getStateOrBuilder()
The connectivity state of the channel or subchannel.
|
String |
getTarget()
The target this channel originally tried to connect to.
|
com.google.protobuf.ByteString |
getTargetBytes()
The target this channel originally tried to connect to.
|
ChannelTrace |
getTrace()
A trace of recent events on the channel.
|
ChannelTraceOrBuilder |
getTraceOrBuilder()
A trace of recent events on the channel.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasLastCallStartedTimestamp()
The last time a call was started on the channel.
|
boolean |
hasState()
The connectivity state of the channel or subchannel.
|
boolean |
hasTrace()
A trace of recent events on the channel.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ChannelData.Builder |
newBuilder() |
static ChannelData.Builder |
newBuilder(ChannelData prototype) |
ChannelData.Builder |
newBuilderForType() |
protected ChannelData.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ChannelData |
parseDelimitedFrom(InputStream input) |
static ChannelData |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChannelData |
parseFrom(byte[] data) |
static ChannelData |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChannelData |
parseFrom(ByteBuffer data) |
static ChannelData |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChannelData |
parseFrom(com.google.protobuf.ByteString data) |
static ChannelData |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChannelData |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ChannelData |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChannelData |
parseFrom(InputStream input) |
static ChannelData |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ChannelData> |
parser() |
ChannelData.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, 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, waitpublic 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(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.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 com.google.protobuf.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 com.google.protobuf.Timestamp getLastCallStartedTimestamp()
The last time a call was started on the channel.
.google.protobuf.Timestamp last_call_started_timestamp = 7;getLastCallStartedTimestamp in interface ChannelDataOrBuilderpublic com.google.protobuf.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 com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ChannelData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ChannelData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ChannelData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ChannelData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ChannelData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ChannelData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ChannelData parseFrom(InputStream input) throws IOException
IOExceptionpublic static ChannelData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ChannelData parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ChannelData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ChannelData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ChannelData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ChannelData.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ChannelData.Builder newBuilder()
public static ChannelData.Builder newBuilder(ChannelData prototype)
public ChannelData.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ChannelData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ChannelData getDefaultInstance()
public static com.google.protobuf.Parser<ChannelData> parser()
public com.google.protobuf.Parser<ChannelData> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ChannelData getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder