io.grpc.channelz.v1.ChannelOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: grpc/channelz/v1/channelz.proto
// Protobuf Java Version: 3.25.1
package io.grpc.channelz.v1;
public interface ChannelOrBuilder extends
// @@protoc_insertion_point(interface_extends:grpc.channelz.v1.Channel)
com.google.protobuf.MessageOrBuilder {
/**
*
* The identifier for this channel. This should be set.
*
*
* .grpc.channelz.v1.ChannelRef ref = 1;
* @return Whether the ref field is set.
*/
boolean hasRef();
/**
*
* The identifier for this channel. This should be set.
*
*
* .grpc.channelz.v1.ChannelRef ref = 1;
* @return The ref.
*/
io.grpc.channelz.v1.ChannelRef getRef();
/**
*
* The identifier for this channel. This should be set.
*
*
* .grpc.channelz.v1.ChannelRef ref = 1;
*/
io.grpc.channelz.v1.ChannelRefOrBuilder getRefOrBuilder();
/**
*
* Data specific to this channel.
*
*
* .grpc.channelz.v1.ChannelData data = 2;
* @return Whether the data field is set.
*/
boolean hasData();
/**
*
* Data specific to this channel.
*
*
* .grpc.channelz.v1.ChannelData data = 2;
* @return The data.
*/
io.grpc.channelz.v1.ChannelData getData();
/**
*
* Data specific to this channel.
*
*
* .grpc.channelz.v1.ChannelData data = 2;
*/
io.grpc.channelz.v1.ChannelDataOrBuilder getDataOrBuilder();
/**
*
* 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.
*
*
* repeated .grpc.channelz.v1.ChannelRef channel_ref = 3;
*/
java.util.List
getChannelRefList();
/**
*
* 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.
*
*
* repeated .grpc.channelz.v1.ChannelRef channel_ref = 3;
*/
io.grpc.channelz.v1.ChannelRef getChannelRef(int index);
/**
*
* 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.
*
*
* repeated .grpc.channelz.v1.ChannelRef channel_ref = 3;
*/
int getChannelRefCount();
/**
*
* 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.
*
*
* repeated .grpc.channelz.v1.ChannelRef channel_ref = 3;
*/
java.util.List extends io.grpc.channelz.v1.ChannelRefOrBuilder>
getChannelRefOrBuilderList();
/**
*
* 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.
*
*
* repeated .grpc.channelz.v1.ChannelRef channel_ref = 3;
*/
io.grpc.channelz.v1.ChannelRefOrBuilder getChannelRefOrBuilder(
int index);
/**
*
* 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.
*
*
* repeated .grpc.channelz.v1.SubchannelRef subchannel_ref = 4;
*/
java.util.List
getSubchannelRefList();
/**
*
* 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.
*
*
* repeated .grpc.channelz.v1.SubchannelRef subchannel_ref = 4;
*/
io.grpc.channelz.v1.SubchannelRef getSubchannelRef(int index);
/**
*
* 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.
*
*
* repeated .grpc.channelz.v1.SubchannelRef subchannel_ref = 4;
*/
int getSubchannelRefCount();
/**
*
* 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.
*
*
* repeated .grpc.channelz.v1.SubchannelRef subchannel_ref = 4;
*/
java.util.List extends io.grpc.channelz.v1.SubchannelRefOrBuilder>
getSubchannelRefOrBuilderList();
/**
*
* 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.
*
*
* repeated .grpc.channelz.v1.SubchannelRef subchannel_ref = 4;
*/
io.grpc.channelz.v1.SubchannelRefOrBuilder getSubchannelRefOrBuilder(
int index);
/**
*
* There are no ordering guarantees on the order of sockets.
*
*
* repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
*/
java.util.List
getSocketRefList();
/**
*
* There are no ordering guarantees on the order of sockets.
*
*
* repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
*/
io.grpc.channelz.v1.SocketRef getSocketRef(int index);
/**
*
* There are no ordering guarantees on the order of sockets.
*
*
* repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
*/
int getSocketRefCount();
/**
*
* There are no ordering guarantees on the order of sockets.
*
*
* repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
*/
java.util.List extends io.grpc.channelz.v1.SocketRefOrBuilder>
getSocketRefOrBuilderList();
/**
*
* There are no ordering guarantees on the order of sockets.
*
*
* repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
*/
io.grpc.channelz.v1.SocketRefOrBuilder getSocketRefOrBuilder(
int index);
}