Package io.grpc.channelz.v1
Interface SubchannelOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Subchannel
,Subchannel.Builder
public interface SubchannelOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetChannelRef
(int index) There are no ordering guarantees on the order of channel refs.int
There are no ordering guarantees on the order of channel refs.There are no ordering guarantees on the order of channel refs.getChannelRefOrBuilder
(int index) There are no ordering guarantees on the order of channel refs.List
<? extends ChannelRefOrBuilder> There are no ordering guarantees on the order of channel refs.getData()
Data specific to this channel.Data specific to this channel.getRef()
The identifier for this channel.The identifier for this channel.getSocketRef
(int index) There are no ordering guarantees on the order of sockets.int
There are no ordering guarantees on the order of sockets.There are no ordering guarantees on the order of sockets.getSocketRefOrBuilder
(int index) There are no ordering guarantees on the order of sockets.List
<? extends SocketRefOrBuilder> There are no ordering guarantees on the order of sockets.getSubchannelRef
(int index) At most one of 'channel_ref+subchannel_ref' and 'socket' is set.int
At most one of 'channel_ref+subchannel_ref' and 'socket' is set.At most one of 'channel_ref+subchannel_ref' and 'socket' is set.getSubchannelRefOrBuilder
(int index) At most one of 'channel_ref+subchannel_ref' and 'socket' is set.List
<? extends SubchannelRefOrBuilder> 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 Details
-
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
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
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
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
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
There are no ordering guarantees on the order of sockets.
repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
-
getSocketRef
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
There are no ordering guarantees on the order of sockets.
repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
-