Package io.grpc.channelz.v1
Interface SubchannelOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
Subchannel
,Subchannel.Builder
public interface SubchannelOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChannelRef
getChannelRef(int index)
There are no ordering guarantees on the order of channel refs.int
getChannelRefCount()
There are no ordering guarantees on the order of channel refs.List<ChannelRef>
getChannelRefList()
There are no ordering guarantees on the order of channel refs.ChannelRefOrBuilder
getChannelRefOrBuilder(int index)
There are no ordering guarantees on the order of channel refs.List<? extends ChannelRefOrBuilder>
getChannelRefOrBuilderList()
There are no ordering guarantees on the order of channel refs.ChannelData
getData()
Data specific to this channel.ChannelDataOrBuilder
getDataOrBuilder()
Data specific to this channel.SubchannelRef
getRef()
The identifier for this channel.SubchannelRefOrBuilder
getRefOrBuilder()
The identifier for this channel.SocketRef
getSocketRef(int index)
There are no ordering guarantees on the order of sockets.int
getSocketRefCount()
There are no ordering guarantees on the order of sockets.List<SocketRef>
getSocketRefList()
There are no ordering guarantees on the order of sockets.SocketRefOrBuilder
getSocketRefOrBuilder(int index)
There are no ordering guarantees on the order of sockets.List<? extends SocketRefOrBuilder>
getSocketRefOrBuilderList()
There are no ordering guarantees on the order of sockets.SubchannelRef
getSubchannelRef(int index)
At most one of 'channel_ref+subchannel_ref' and 'socket' is set.int
getSubchannelRefCount()
At most one of 'channel_ref+subchannel_ref' and 'socket' is set.List<SubchannelRef>
getSubchannelRefList()
At most one of 'channel_ref+subchannel_ref' and 'socket' is set.SubchannelRefOrBuilder
getSubchannelRefOrBuilder(int index)
At most one of 'channel_ref+subchannel_ref' and 'socket' is set.List<? extends SubchannelRefOrBuilder>
getSubchannelRefOrBuilderList()
At most one of 'channel_ref+subchannel_ref' and 'socket' is set.boolean
hasData()
Data specific to this channel.boolean
hasRef()
The identifier for this 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 Detail
-
hasRef
boolean hasRef()
The identifier for this channel.
.grpc.channelz.v1.SubchannelRef ref = 1;
- Returns:
- Whether the ref field is set.
-
getRef
SubchannelRef getRef()
The identifier for this channel.
.grpc.channelz.v1.SubchannelRef ref = 1;
- Returns:
- The ref.
-
getRefOrBuilder
SubchannelRefOrBuilder getRefOrBuilder()
The identifier for this channel.
.grpc.channelz.v1.SubchannelRef ref = 1;
-
hasData
boolean hasData()
Data specific to this channel.
.grpc.channelz.v1.ChannelData data = 2;
- Returns:
- Whether the data field is set.
-
getData
ChannelData getData()
Data specific to this channel.
.grpc.channelz.v1.ChannelData data = 2;
- Returns:
- The data.
-
getDataOrBuilder
ChannelDataOrBuilder getDataOrBuilder()
Data specific to this channel.
.grpc.channelz.v1.ChannelData data = 2;
-
getChannelRefList
List<ChannelRef> 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;
-
getChannelRef
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;
-
getChannelRefCount
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;
-
getChannelRefOrBuilderList
List<? extends 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;
-
getChannelRefOrBuilder
ChannelRefOrBuilder getChannelRefOrBuilder(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;
-
getSubchannelRefList
List<SubchannelRef> 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;
-
getSubchannelRef
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;
-
getSubchannelRefCount
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;
-
getSubchannelRefOrBuilderList
List<? extends 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;
-
getSubchannelRefOrBuilder
SubchannelRefOrBuilder getSubchannelRefOrBuilder(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;
-
getSocketRefList
List<SocketRef> getSocketRefList()
There are no ordering guarantees on the order of sockets.
repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
-
getSocketRef
SocketRef getSocketRef(int index)
There are no ordering guarantees on the order of sockets.
repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
-
getSocketRefCount
int getSocketRefCount()
There are no ordering guarantees on the order of sockets.
repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
-
getSocketRefOrBuilderList
List<? extends SocketRefOrBuilder> getSocketRefOrBuilderList()
There are no ordering guarantees on the order of sockets.
repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
-
getSocketRefOrBuilder
SocketRefOrBuilder getSocketRefOrBuilder(int index)
There are no ordering guarantees on the order of sockets.
repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
-
-