Interface ChannelDataOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ChannelData, ChannelData.Builder

public interface ChannelDataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    The number of calls that have completed with a non-OK status
    long
    The number of calls started on the channel
    long
    The number of calls that have completed with an OK status
    com.google.protobuf.Timestamp
    The last time a call was started on the channel.
    com.google.protobuf.TimestampOrBuilder
    The last time a call was started on the channel.
    The connectivity state of the channel or subchannel.
    The connectivity state of the channel or subchannel.
    The target this channel originally tried to connect to.
    com.google.protobuf.ByteString
    The target this channel originally tried to connect to.
    A trace of recent events on the channel.
    A trace of recent events on the channel.
    boolean
    The last time a call was started on the channel.
    boolean
    The connectivity state of the channel or subchannel.
    boolean
    A trace of recent events on the channel.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasState

      boolean hasState()
       The connectivity state of the channel or subchannel.  Implementations
       should always set this.
       
      .grpc.channelz.v1.ChannelConnectivityState state = 1;
      Returns:
      Whether the state field is set.
    • getState

       The connectivity state of the channel or subchannel.  Implementations
       should always set this.
       
      .grpc.channelz.v1.ChannelConnectivityState state = 1;
      Returns:
      The state.
    • getStateOrBuilder

       The connectivity state of the channel or subchannel.  Implementations
       should always set this.
       
      .grpc.channelz.v1.ChannelConnectivityState state = 1;
    • getTarget

      String getTarget()
       The target this channel originally tried to connect to.  May be absent
       
      string target = 2;
      Returns:
      The target.
    • getTargetBytes

      com.google.protobuf.ByteString getTargetBytes()
       The target this channel originally tried to connect to.  May be absent
       
      string target = 2;
      Returns:
      The bytes for target.
    • hasTrace

      boolean hasTrace()
       A trace of recent events on the channel.  May be absent.
       
      .grpc.channelz.v1.ChannelTrace trace = 3;
      Returns:
      Whether the trace field is set.
    • getTrace

      ChannelTrace getTrace()
       A trace of recent events on the channel.  May be absent.
       
      .grpc.channelz.v1.ChannelTrace trace = 3;
      Returns:
      The trace.
    • getTraceOrBuilder

      ChannelTraceOrBuilder getTraceOrBuilder()
       A trace of recent events on the channel.  May be absent.
       
      .grpc.channelz.v1.ChannelTrace trace = 3;
    • getCallsStarted

      long getCallsStarted()
       The number of calls started on the channel
       
      int64 calls_started = 4;
      Returns:
      The callsStarted.
    • getCallsSucceeded

      long getCallsSucceeded()
       The number of calls that have completed with an OK status
       
      int64 calls_succeeded = 5;
      Returns:
      The callsSucceeded.
    • getCallsFailed

      long getCallsFailed()
       The number of calls that have completed with a non-OK status
       
      int64 calls_failed = 6;
      Returns:
      The callsFailed.
    • hasLastCallStartedTimestamp

      boolean hasLastCallStartedTimestamp()
       The last time a call was started on the channel.
       
      .google.protobuf.Timestamp last_call_started_timestamp = 7;
      Returns:
      Whether the lastCallStartedTimestamp field is set.
    • getLastCallStartedTimestamp

      com.google.protobuf.Timestamp getLastCallStartedTimestamp()
       The last time a call was started on the channel.
       
      .google.protobuf.Timestamp last_call_started_timestamp = 7;
      Returns:
      The lastCallStartedTimestamp.
    • getLastCallStartedTimestampOrBuilder

      com.google.protobuf.TimestampOrBuilder getLastCallStartedTimestampOrBuilder()
       The last time a call was started on the channel.
       
      .google.protobuf.Timestamp last_call_started_timestamp = 7;