HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: /var/www/api.javaapp.co.uk/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/Channel.ts
// Original file: proto/channelz.proto

import type { ChannelRef as _grpc_channelz_v1_ChannelRef, ChannelRef__Output as _grpc_channelz_v1_ChannelRef__Output } from '../../../grpc/channelz/v1/ChannelRef';
import type { ChannelData as _grpc_channelz_v1_ChannelData, ChannelData__Output as _grpc_channelz_v1_ChannelData__Output } from '../../../grpc/channelz/v1/ChannelData';
import type { SubchannelRef as _grpc_channelz_v1_SubchannelRef, SubchannelRef__Output as _grpc_channelz_v1_SubchannelRef__Output } from '../../../grpc/channelz/v1/SubchannelRef';
import type { SocketRef as _grpc_channelz_v1_SocketRef, SocketRef__Output as _grpc_channelz_v1_SocketRef__Output } from '../../../grpc/channelz/v1/SocketRef';

/**
 * Channel is a logical grouping of channels, subchannels, and sockets.
 */
export interface Channel {
  /**
   * The identifier for this channel. This should bet set.
   */
  'ref'?: (_grpc_channelz_v1_ChannelRef | null);
  /**
   * Data specific to this channel.
   */
  'data'?: (_grpc_channelz_v1_ChannelData | null);
  /**
   * There are no ordering guarantees on the order of channel refs.
   * There may not be cycles in the ref graph.
   * A channel ref may be present in more than one channel or subchannel.
   */
  'channel_ref'?: (_grpc_channelz_v1_ChannelRef)[];
  /**
   * At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
   * There are no ordering guarantees on the order of subchannel refs.
   * There may not be cycles in the ref graph.
   * A sub channel ref may be present in more than one channel or subchannel.
   */
  'subchannel_ref'?: (_grpc_channelz_v1_SubchannelRef)[];
  /**
   * There are no ordering guarantees on the order of sockets.
   */
  'socket_ref'?: (_grpc_channelz_v1_SocketRef)[];
}

/**
 * Channel is a logical grouping of channels, subchannels, and sockets.
 */
export interface Channel__Output {
  /**
   * The identifier for this channel. This should bet set.
   */
  'ref': (_grpc_channelz_v1_ChannelRef__Output | null);
  /**
   * Data specific to this channel.
   */
  'data': (_grpc_channelz_v1_ChannelData__Output | null);
  /**
   * There are no ordering guarantees on the order of channel refs.
   * There may not be cycles in the ref graph.
   * A channel ref may be present in more than one channel or subchannel.
   */
  'channel_ref': (_grpc_channelz_v1_ChannelRef__Output)[];
  /**
   * At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
   * There are no ordering guarantees on the order of subchannel refs.
   * There may not be cycles in the ref graph.
   * A sub channel ref may be present in more than one channel or subchannel.
   */
  'subchannel_ref': (_grpc_channelz_v1_SubchannelRef__Output)[];
  /**
   * There are no ordering guarantees on the order of sockets.
   */
  'socket_ref': (_grpc_channelz_v1_SocketRef__Output)[];
}