Class Subchannel.Builder

    • Method Detail

      • hasRef

        public boolean hasRef()
         The identifier for this channel.
         
        .grpc.channelz.v1.SubchannelRef ref = 1;
        Specified by:
        hasRef in interface SubchannelOrBuilder
        Returns:
        Whether the ref field is set.
      • clearRef

        public Subchannel.Builder clearRef()
         The identifier for this channel.
         
        .grpc.channelz.v1.SubchannelRef ref = 1;
      • getRefBuilder

        public SubchannelRef.Builder getRefBuilder()
         The identifier for this channel.
         
        .grpc.channelz.v1.SubchannelRef ref = 1;
      • hasData

        public boolean hasData()
         Data specific to this channel.
         
        .grpc.channelz.v1.ChannelData data = 2;
        Specified by:
        hasData in interface SubchannelOrBuilder
        Returns:
        Whether the data field is set.
      • getData

        public ChannelData getData()
         Data specific to this channel.
         
        .grpc.channelz.v1.ChannelData data = 2;
        Specified by:
        getData in interface SubchannelOrBuilder
        Returns:
        The data.
      • clearData

        public Subchannel.Builder clearData()
         Data specific to this channel.
         
        .grpc.channelz.v1.ChannelData data = 2;
      • getDataBuilder

        public ChannelData.Builder getDataBuilder()
         Data specific to this channel.
         
        .grpc.channelz.v1.ChannelData data = 2;
      • getChannelRefList

        public 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;
        Specified by:
        getChannelRefList in interface SubchannelOrBuilder
      • getChannelRefCount

        public 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;
        Specified by:
        getChannelRefCount in interface SubchannelOrBuilder
      • getChannelRef

        public 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;
        Specified by:
        getChannelRef in interface SubchannelOrBuilder
      • setChannelRef

        public Subchannel.Builder setChannelRef​(int index,
                                                ChannelRef value)
         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;
      • setChannelRef

        public Subchannel.Builder setChannelRef​(int index,
                                                ChannelRef.Builder builderForValue)
         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;
      • addChannelRef

        public Subchannel.Builder addChannelRef​(ChannelRef value)
         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;
      • addChannelRef

        public Subchannel.Builder addChannelRef​(int index,
                                                ChannelRef value)
         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;
      • addChannelRef

        public Subchannel.Builder addChannelRef​(ChannelRef.Builder builderForValue)
         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;
      • addChannelRef

        public Subchannel.Builder addChannelRef​(int index,
                                                ChannelRef.Builder builderForValue)
         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;
      • addAllChannelRef

        public Subchannel.Builder addAllChannelRef​(Iterable<? extends ChannelRef> values)
         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;
      • clearChannelRef

        public Subchannel.Builder clearChannelRef()
         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;
      • removeChannelRef

        public Subchannel.Builder removeChannelRef​(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;
      • getChannelRefBuilder

        public ChannelRef.Builder getChannelRefBuilder​(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;
      • getChannelRefOrBuilder

        public 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;
        Specified by:
        getChannelRefOrBuilder in interface SubchannelOrBuilder
      • getChannelRefOrBuilderList

        public 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;
        Specified by:
        getChannelRefOrBuilderList in interface SubchannelOrBuilder
      • addChannelRefBuilder

        public ChannelRef.Builder addChannelRefBuilder()
         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;
      • addChannelRefBuilder

        public ChannelRef.Builder addChannelRefBuilder​(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;
      • getChannelRefBuilderList

        public List<ChannelRef.Builder> getChannelRefBuilderList()
         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

        public 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;
        Specified by:
        getSubchannelRefList in interface SubchannelOrBuilder
      • getSubchannelRefCount

        public 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;
        Specified by:
        getSubchannelRefCount in interface SubchannelOrBuilder
      • getSubchannelRef

        public 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;
        Specified by:
        getSubchannelRef in interface SubchannelOrBuilder
      • setSubchannelRef

        public Subchannel.Builder setSubchannelRef​(int index,
                                                   SubchannelRef value)
         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;
      • setSubchannelRef

        public Subchannel.Builder setSubchannelRef​(int index,
                                                   SubchannelRef.Builder builderForValue)
         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;
      • addSubchannelRef

        public Subchannel.Builder addSubchannelRef​(SubchannelRef value)
         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;
      • addSubchannelRef

        public Subchannel.Builder addSubchannelRef​(int index,
                                                   SubchannelRef value)
         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;
      • addSubchannelRef

        public Subchannel.Builder addSubchannelRef​(SubchannelRef.Builder builderForValue)
         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;
      • addSubchannelRef

        public Subchannel.Builder addSubchannelRef​(int index,
                                                   SubchannelRef.Builder builderForValue)
         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;
      • addAllSubchannelRef

        public Subchannel.Builder addAllSubchannelRef​(Iterable<? extends SubchannelRef> values)
         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;
      • clearSubchannelRef

        public Subchannel.Builder clearSubchannelRef()
         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;
      • removeSubchannelRef

        public Subchannel.Builder removeSubchannelRef​(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;
      • getSubchannelRefBuilder

        public SubchannelRef.Builder getSubchannelRefBuilder​(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;
      • getSubchannelRefOrBuilder

        public 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;
        Specified by:
        getSubchannelRefOrBuilder in interface SubchannelOrBuilder
      • getSubchannelRefOrBuilderList

        public 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;
        Specified by:
        getSubchannelRefOrBuilderList in interface SubchannelOrBuilder
      • addSubchannelRefBuilder

        public SubchannelRef.Builder addSubchannelRefBuilder()
         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;
      • addSubchannelRefBuilder

        public SubchannelRef.Builder addSubchannelRefBuilder​(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;
      • getSubchannelRefBuilderList

        public List<SubchannelRef.Builder> getSubchannelRefBuilderList()
         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;
      • getSocketRefCount

        public int getSocketRefCount()
         There are no ordering guarantees on the order of sockets.
         
        repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
        Specified by:
        getSocketRefCount in interface SubchannelOrBuilder
      • getSocketRef

        public SocketRef getSocketRef​(int index)
         There are no ordering guarantees on the order of sockets.
         
        repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
        Specified by:
        getSocketRef in interface SubchannelOrBuilder
      • setSocketRef

        public Subchannel.Builder setSocketRef​(int index,
                                               SocketRef value)
         There are no ordering guarantees on the order of sockets.
         
        repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
      • setSocketRef

        public Subchannel.Builder setSocketRef​(int index,
                                               SocketRef.Builder builderForValue)
         There are no ordering guarantees on the order of sockets.
         
        repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
      • addSocketRef

        public Subchannel.Builder addSocketRef​(SocketRef value)
         There are no ordering guarantees on the order of sockets.
         
        repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
      • addSocketRef

        public Subchannel.Builder addSocketRef​(int index,
                                               SocketRef value)
         There are no ordering guarantees on the order of sockets.
         
        repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
      • addSocketRef

        public Subchannel.Builder addSocketRef​(SocketRef.Builder builderForValue)
         There are no ordering guarantees on the order of sockets.
         
        repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
      • addSocketRef

        public Subchannel.Builder addSocketRef​(int index,
                                               SocketRef.Builder builderForValue)
         There are no ordering guarantees on the order of sockets.
         
        repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
      • addAllSocketRef

        public Subchannel.Builder addAllSocketRef​(Iterable<? extends SocketRef> values)
         There are no ordering guarantees on the order of sockets.
         
        repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
      • clearSocketRef

        public Subchannel.Builder clearSocketRef()
         There are no ordering guarantees on the order of sockets.
         
        repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
      • removeSocketRef

        public Subchannel.Builder removeSocketRef​(int index)
         There are no ordering guarantees on the order of sockets.
         
        repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
      • getSocketRefBuilder

        public SocketRef.Builder getSocketRefBuilder​(int index)
         There are no ordering guarantees on the order of sockets.
         
        repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
      • addSocketRefBuilder

        public SocketRef.Builder addSocketRefBuilder()
         There are no ordering guarantees on the order of sockets.
         
        repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
      • addSocketRefBuilder

        public SocketRef.Builder addSocketRefBuilder​(int index)
         There are no ordering guarantees on the order of sockets.
         
        repeated .grpc.channelz.v1.SocketRef socket_ref = 5;
      • getSocketRefBuilderList

        public List<SocketRef.Builder> getSocketRefBuilderList()
         There are no ordering guarantees on the order of sockets.
         
        repeated .grpc.channelz.v1.SocketRef socket_ref = 5;