Class SocketData.Builder

    • Method Detail

      • getStreamsStarted

        public long getStreamsStarted()
         The number of streams that have been started.
         
        int64 streams_started = 1;
        Specified by:
        getStreamsStarted in interface SocketDataOrBuilder
        Returns:
        The streamsStarted.
      • setStreamsStarted

        public SocketData.Builder setStreamsStarted​(long value)
         The number of streams that have been started.
         
        int64 streams_started = 1;
        Parameters:
        value - The streamsStarted to set.
        Returns:
        This builder for chaining.
      • clearStreamsStarted

        public SocketData.Builder clearStreamsStarted()
         The number of streams that have been started.
         
        int64 streams_started = 1;
        Returns:
        This builder for chaining.
      • getStreamsSucceeded

        public long getStreamsSucceeded()
         The number of streams that have ended successfully:
         On client side, received frame with eos bit set;
         On server side, sent frame with eos bit set.
         
        int64 streams_succeeded = 2;
        Specified by:
        getStreamsSucceeded in interface SocketDataOrBuilder
        Returns:
        The streamsSucceeded.
      • setStreamsSucceeded

        public SocketData.Builder setStreamsSucceeded​(long value)
         The number of streams that have ended successfully:
         On client side, received frame with eos bit set;
         On server side, sent frame with eos bit set.
         
        int64 streams_succeeded = 2;
        Parameters:
        value - The streamsSucceeded to set.
        Returns:
        This builder for chaining.
      • clearStreamsSucceeded

        public SocketData.Builder clearStreamsSucceeded()
         The number of streams that have ended successfully:
         On client side, received frame with eos bit set;
         On server side, sent frame with eos bit set.
         
        int64 streams_succeeded = 2;
        Returns:
        This builder for chaining.
      • getStreamsFailed

        public long getStreamsFailed()
         The number of streams that have ended unsuccessfully:
         On client side, ended without receiving frame with eos bit set;
         On server side, ended without sending frame with eos bit set.
         
        int64 streams_failed = 3;
        Specified by:
        getStreamsFailed in interface SocketDataOrBuilder
        Returns:
        The streamsFailed.
      • setStreamsFailed

        public SocketData.Builder setStreamsFailed​(long value)
         The number of streams that have ended unsuccessfully:
         On client side, ended without receiving frame with eos bit set;
         On server side, ended without sending frame with eos bit set.
         
        int64 streams_failed = 3;
        Parameters:
        value - The streamsFailed to set.
        Returns:
        This builder for chaining.
      • clearStreamsFailed

        public SocketData.Builder clearStreamsFailed()
         The number of streams that have ended unsuccessfully:
         On client side, ended without receiving frame with eos bit set;
         On server side, ended without sending frame with eos bit set.
         
        int64 streams_failed = 3;
        Returns:
        This builder for chaining.
      • getMessagesSent

        public long getMessagesSent()
         The number of grpc messages successfully sent on this socket.
         
        int64 messages_sent = 4;
        Specified by:
        getMessagesSent in interface SocketDataOrBuilder
        Returns:
        The messagesSent.
      • setMessagesSent

        public SocketData.Builder setMessagesSent​(long value)
         The number of grpc messages successfully sent on this socket.
         
        int64 messages_sent = 4;
        Parameters:
        value - The messagesSent to set.
        Returns:
        This builder for chaining.
      • clearMessagesSent

        public SocketData.Builder clearMessagesSent()
         The number of grpc messages successfully sent on this socket.
         
        int64 messages_sent = 4;
        Returns:
        This builder for chaining.
      • getMessagesReceived

        public long getMessagesReceived()
         The number of grpc messages received on this socket.
         
        int64 messages_received = 5;
        Specified by:
        getMessagesReceived in interface SocketDataOrBuilder
        Returns:
        The messagesReceived.
      • setMessagesReceived

        public SocketData.Builder setMessagesReceived​(long value)
         The number of grpc messages received on this socket.
         
        int64 messages_received = 5;
        Parameters:
        value - The messagesReceived to set.
        Returns:
        This builder for chaining.
      • clearMessagesReceived

        public SocketData.Builder clearMessagesReceived()
         The number of grpc messages received on this socket.
         
        int64 messages_received = 5;
        Returns:
        This builder for chaining.
      • getKeepAlivesSent

        public long getKeepAlivesSent()
         The number of keep alives sent.  This is typically implemented with HTTP/2
         ping messages.
         
        int64 keep_alives_sent = 6;
        Specified by:
        getKeepAlivesSent in interface SocketDataOrBuilder
        Returns:
        The keepAlivesSent.
      • setKeepAlivesSent

        public SocketData.Builder setKeepAlivesSent​(long value)
         The number of keep alives sent.  This is typically implemented with HTTP/2
         ping messages.
         
        int64 keep_alives_sent = 6;
        Parameters:
        value - The keepAlivesSent to set.
        Returns:
        This builder for chaining.
      • clearKeepAlivesSent

        public SocketData.Builder clearKeepAlivesSent()
         The number of keep alives sent.  This is typically implemented with HTTP/2
         ping messages.
         
        int64 keep_alives_sent = 6;
        Returns:
        This builder for chaining.
      • hasLastLocalStreamCreatedTimestamp

        public boolean hasLastLocalStreamCreatedTimestamp()
         The last time a stream was created by this endpoint.  Usually unset for
         servers.
         
        .google.protobuf.Timestamp last_local_stream_created_timestamp = 7;
        Specified by:
        hasLastLocalStreamCreatedTimestamp in interface SocketDataOrBuilder
        Returns:
        Whether the lastLocalStreamCreatedTimestamp field is set.
      • getLastLocalStreamCreatedTimestamp

        public Timestamp getLastLocalStreamCreatedTimestamp()
         The last time a stream was created by this endpoint.  Usually unset for
         servers.
         
        .google.protobuf.Timestamp last_local_stream_created_timestamp = 7;
        Specified by:
        getLastLocalStreamCreatedTimestamp in interface SocketDataOrBuilder
        Returns:
        The lastLocalStreamCreatedTimestamp.
      • setLastLocalStreamCreatedTimestamp

        public SocketData.Builder setLastLocalStreamCreatedTimestamp​(Timestamp value)
         The last time a stream was created by this endpoint.  Usually unset for
         servers.
         
        .google.protobuf.Timestamp last_local_stream_created_timestamp = 7;
      • setLastLocalStreamCreatedTimestamp

        public SocketData.Builder setLastLocalStreamCreatedTimestamp​(Timestamp.Builder builderForValue)
         The last time a stream was created by this endpoint.  Usually unset for
         servers.
         
        .google.protobuf.Timestamp last_local_stream_created_timestamp = 7;
      • mergeLastLocalStreamCreatedTimestamp

        public SocketData.Builder mergeLastLocalStreamCreatedTimestamp​(Timestamp value)
         The last time a stream was created by this endpoint.  Usually unset for
         servers.
         
        .google.protobuf.Timestamp last_local_stream_created_timestamp = 7;
      • clearLastLocalStreamCreatedTimestamp

        public SocketData.Builder clearLastLocalStreamCreatedTimestamp()
         The last time a stream was created by this endpoint.  Usually unset for
         servers.
         
        .google.protobuf.Timestamp last_local_stream_created_timestamp = 7;
      • getLastLocalStreamCreatedTimestampBuilder

        public Timestamp.Builder getLastLocalStreamCreatedTimestampBuilder()
         The last time a stream was created by this endpoint.  Usually unset for
         servers.
         
        .google.protobuf.Timestamp last_local_stream_created_timestamp = 7;
      • hasLastRemoteStreamCreatedTimestamp

        public boolean hasLastRemoteStreamCreatedTimestamp()
         The last time a stream was created by the remote endpoint.  Usually unset
         for clients.
         
        .google.protobuf.Timestamp last_remote_stream_created_timestamp = 8;
        Specified by:
        hasLastRemoteStreamCreatedTimestamp in interface SocketDataOrBuilder
        Returns:
        Whether the lastRemoteStreamCreatedTimestamp field is set.
      • getLastRemoteStreamCreatedTimestamp

        public Timestamp getLastRemoteStreamCreatedTimestamp()
         The last time a stream was created by the remote endpoint.  Usually unset
         for clients.
         
        .google.protobuf.Timestamp last_remote_stream_created_timestamp = 8;
        Specified by:
        getLastRemoteStreamCreatedTimestamp in interface SocketDataOrBuilder
        Returns:
        The lastRemoteStreamCreatedTimestamp.
      • setLastRemoteStreamCreatedTimestamp

        public SocketData.Builder setLastRemoteStreamCreatedTimestamp​(Timestamp value)
         The last time a stream was created by the remote endpoint.  Usually unset
         for clients.
         
        .google.protobuf.Timestamp last_remote_stream_created_timestamp = 8;
      • setLastRemoteStreamCreatedTimestamp

        public SocketData.Builder setLastRemoteStreamCreatedTimestamp​(Timestamp.Builder builderForValue)
         The last time a stream was created by the remote endpoint.  Usually unset
         for clients.
         
        .google.protobuf.Timestamp last_remote_stream_created_timestamp = 8;
      • mergeLastRemoteStreamCreatedTimestamp

        public SocketData.Builder mergeLastRemoteStreamCreatedTimestamp​(Timestamp value)
         The last time a stream was created by the remote endpoint.  Usually unset
         for clients.
         
        .google.protobuf.Timestamp last_remote_stream_created_timestamp = 8;
      • clearLastRemoteStreamCreatedTimestamp

        public SocketData.Builder clearLastRemoteStreamCreatedTimestamp()
         The last time a stream was created by the remote endpoint.  Usually unset
         for clients.
         
        .google.protobuf.Timestamp last_remote_stream_created_timestamp = 8;
      • getLastRemoteStreamCreatedTimestampBuilder

        public Timestamp.Builder getLastRemoteStreamCreatedTimestampBuilder()
         The last time a stream was created by the remote endpoint.  Usually unset
         for clients.
         
        .google.protobuf.Timestamp last_remote_stream_created_timestamp = 8;
      • hasLastMessageSentTimestamp

        public boolean hasLastMessageSentTimestamp()
         The last time a message was sent by this endpoint.
         
        .google.protobuf.Timestamp last_message_sent_timestamp = 9;
        Specified by:
        hasLastMessageSentTimestamp in interface SocketDataOrBuilder
        Returns:
        Whether the lastMessageSentTimestamp field is set.
      • getLastMessageSentTimestamp

        public Timestamp getLastMessageSentTimestamp()
         The last time a message was sent by this endpoint.
         
        .google.protobuf.Timestamp last_message_sent_timestamp = 9;
        Specified by:
        getLastMessageSentTimestamp in interface SocketDataOrBuilder
        Returns:
        The lastMessageSentTimestamp.
      • setLastMessageSentTimestamp

        public SocketData.Builder setLastMessageSentTimestamp​(Timestamp value)
         The last time a message was sent by this endpoint.
         
        .google.protobuf.Timestamp last_message_sent_timestamp = 9;
      • setLastMessageSentTimestamp

        public SocketData.Builder setLastMessageSentTimestamp​(Timestamp.Builder builderForValue)
         The last time a message was sent by this endpoint.
         
        .google.protobuf.Timestamp last_message_sent_timestamp = 9;
      • mergeLastMessageSentTimestamp

        public SocketData.Builder mergeLastMessageSentTimestamp​(Timestamp value)
         The last time a message was sent by this endpoint.
         
        .google.protobuf.Timestamp last_message_sent_timestamp = 9;
      • clearLastMessageSentTimestamp

        public SocketData.Builder clearLastMessageSentTimestamp()
         The last time a message was sent by this endpoint.
         
        .google.protobuf.Timestamp last_message_sent_timestamp = 9;
      • getLastMessageSentTimestampBuilder

        public Timestamp.Builder getLastMessageSentTimestampBuilder()
         The last time a message was sent by this endpoint.
         
        .google.protobuf.Timestamp last_message_sent_timestamp = 9;
      • hasLastMessageReceivedTimestamp

        public boolean hasLastMessageReceivedTimestamp()
         The last time a message was received by this endpoint.
         
        .google.protobuf.Timestamp last_message_received_timestamp = 10;
        Specified by:
        hasLastMessageReceivedTimestamp in interface SocketDataOrBuilder
        Returns:
        Whether the lastMessageReceivedTimestamp field is set.
      • getLastMessageReceivedTimestamp

        public Timestamp getLastMessageReceivedTimestamp()
         The last time a message was received by this endpoint.
         
        .google.protobuf.Timestamp last_message_received_timestamp = 10;
        Specified by:
        getLastMessageReceivedTimestamp in interface SocketDataOrBuilder
        Returns:
        The lastMessageReceivedTimestamp.
      • setLastMessageReceivedTimestamp

        public SocketData.Builder setLastMessageReceivedTimestamp​(Timestamp value)
         The last time a message was received by this endpoint.
         
        .google.protobuf.Timestamp last_message_received_timestamp = 10;
      • setLastMessageReceivedTimestamp

        public SocketData.Builder setLastMessageReceivedTimestamp​(Timestamp.Builder builderForValue)
         The last time a message was received by this endpoint.
         
        .google.protobuf.Timestamp last_message_received_timestamp = 10;
      • mergeLastMessageReceivedTimestamp

        public SocketData.Builder mergeLastMessageReceivedTimestamp​(Timestamp value)
         The last time a message was received by this endpoint.
         
        .google.protobuf.Timestamp last_message_received_timestamp = 10;
      • clearLastMessageReceivedTimestamp

        public SocketData.Builder clearLastMessageReceivedTimestamp()
         The last time a message was received by this endpoint.
         
        .google.protobuf.Timestamp last_message_received_timestamp = 10;
      • getLastMessageReceivedTimestampBuilder

        public Timestamp.Builder getLastMessageReceivedTimestampBuilder()
         The last time a message was received by this endpoint.
         
        .google.protobuf.Timestamp last_message_received_timestamp = 10;
      • hasLocalFlowControlWindow

        public boolean hasLocalFlowControlWindow()
         The amount of window, granted to the local endpoint by the remote endpoint.
         This may be slightly out of date due to network latency.  This does NOT
         include stream level or TCP level flow control info.
         
        .google.protobuf.Int64Value local_flow_control_window = 11;
        Specified by:
        hasLocalFlowControlWindow in interface SocketDataOrBuilder
        Returns:
        Whether the localFlowControlWindow field is set.
      • getLocalFlowControlWindow

        public Int64Value getLocalFlowControlWindow()
         The amount of window, granted to the local endpoint by the remote endpoint.
         This may be slightly out of date due to network latency.  This does NOT
         include stream level or TCP level flow control info.
         
        .google.protobuf.Int64Value local_flow_control_window = 11;
        Specified by:
        getLocalFlowControlWindow in interface SocketDataOrBuilder
        Returns:
        The localFlowControlWindow.
      • setLocalFlowControlWindow

        public SocketData.Builder setLocalFlowControlWindow​(Int64Value value)
         The amount of window, granted to the local endpoint by the remote endpoint.
         This may be slightly out of date due to network latency.  This does NOT
         include stream level or TCP level flow control info.
         
        .google.protobuf.Int64Value local_flow_control_window = 11;
      • setLocalFlowControlWindow

        public SocketData.Builder setLocalFlowControlWindow​(Int64Value.Builder builderForValue)
         The amount of window, granted to the local endpoint by the remote endpoint.
         This may be slightly out of date due to network latency.  This does NOT
         include stream level or TCP level flow control info.
         
        .google.protobuf.Int64Value local_flow_control_window = 11;
      • mergeLocalFlowControlWindow

        public SocketData.Builder mergeLocalFlowControlWindow​(Int64Value value)
         The amount of window, granted to the local endpoint by the remote endpoint.
         This may be slightly out of date due to network latency.  This does NOT
         include stream level or TCP level flow control info.
         
        .google.protobuf.Int64Value local_flow_control_window = 11;
      • clearLocalFlowControlWindow

        public SocketData.Builder clearLocalFlowControlWindow()
         The amount of window, granted to the local endpoint by the remote endpoint.
         This may be slightly out of date due to network latency.  This does NOT
         include stream level or TCP level flow control info.
         
        .google.protobuf.Int64Value local_flow_control_window = 11;
      • getLocalFlowControlWindowBuilder

        public Int64Value.Builder getLocalFlowControlWindowBuilder()
         The amount of window, granted to the local endpoint by the remote endpoint.
         This may be slightly out of date due to network latency.  This does NOT
         include stream level or TCP level flow control info.
         
        .google.protobuf.Int64Value local_flow_control_window = 11;
      • getLocalFlowControlWindowOrBuilder

        public Int64ValueOrBuilder getLocalFlowControlWindowOrBuilder()
         The amount of window, granted to the local endpoint by the remote endpoint.
         This may be slightly out of date due to network latency.  This does NOT
         include stream level or TCP level flow control info.
         
        .google.protobuf.Int64Value local_flow_control_window = 11;
        Specified by:
        getLocalFlowControlWindowOrBuilder in interface SocketDataOrBuilder
      • hasRemoteFlowControlWindow

        public boolean hasRemoteFlowControlWindow()
         The amount of window, granted to the remote endpoint by the local endpoint.
         This may be slightly out of date due to network latency.  This does NOT
         include stream level or TCP level flow control info.
         
        .google.protobuf.Int64Value remote_flow_control_window = 12;
        Specified by:
        hasRemoteFlowControlWindow in interface SocketDataOrBuilder
        Returns:
        Whether the remoteFlowControlWindow field is set.
      • getRemoteFlowControlWindow

        public Int64Value getRemoteFlowControlWindow()
         The amount of window, granted to the remote endpoint by the local endpoint.
         This may be slightly out of date due to network latency.  This does NOT
         include stream level or TCP level flow control info.
         
        .google.protobuf.Int64Value remote_flow_control_window = 12;
        Specified by:
        getRemoteFlowControlWindow in interface SocketDataOrBuilder
        Returns:
        The remoteFlowControlWindow.
      • setRemoteFlowControlWindow

        public SocketData.Builder setRemoteFlowControlWindow​(Int64Value value)
         The amount of window, granted to the remote endpoint by the local endpoint.
         This may be slightly out of date due to network latency.  This does NOT
         include stream level or TCP level flow control info.
         
        .google.protobuf.Int64Value remote_flow_control_window = 12;
      • setRemoteFlowControlWindow

        public SocketData.Builder setRemoteFlowControlWindow​(Int64Value.Builder builderForValue)
         The amount of window, granted to the remote endpoint by the local endpoint.
         This may be slightly out of date due to network latency.  This does NOT
         include stream level or TCP level flow control info.
         
        .google.protobuf.Int64Value remote_flow_control_window = 12;
      • mergeRemoteFlowControlWindow

        public SocketData.Builder mergeRemoteFlowControlWindow​(Int64Value value)
         The amount of window, granted to the remote endpoint by the local endpoint.
         This may be slightly out of date due to network latency.  This does NOT
         include stream level or TCP level flow control info.
         
        .google.protobuf.Int64Value remote_flow_control_window = 12;
      • clearRemoteFlowControlWindow

        public SocketData.Builder clearRemoteFlowControlWindow()
         The amount of window, granted to the remote endpoint by the local endpoint.
         This may be slightly out of date due to network latency.  This does NOT
         include stream level or TCP level flow control info.
         
        .google.protobuf.Int64Value remote_flow_control_window = 12;
      • getRemoteFlowControlWindowBuilder

        public Int64Value.Builder getRemoteFlowControlWindowBuilder()
         The amount of window, granted to the remote endpoint by the local endpoint.
         This may be slightly out of date due to network latency.  This does NOT
         include stream level or TCP level flow control info.
         
        .google.protobuf.Int64Value remote_flow_control_window = 12;
      • getRemoteFlowControlWindowOrBuilder

        public Int64ValueOrBuilder getRemoteFlowControlWindowOrBuilder()
         The amount of window, granted to the remote endpoint by the local endpoint.
         This may be slightly out of date due to network latency.  This does NOT
         include stream level or TCP level flow control info.
         
        .google.protobuf.Int64Value remote_flow_control_window = 12;
        Specified by:
        getRemoteFlowControlWindowOrBuilder in interface SocketDataOrBuilder
      • getOptionList

        public List<SocketOption> getOptionList()
         Socket options set on this socket.  May be absent if 'summary' is set
         on GetSocketRequest.
         
        repeated .grpc.channelz.v1.SocketOption option = 13;
        Specified by:
        getOptionList in interface SocketDataOrBuilder
      • getOptionCount

        public int getOptionCount()
         Socket options set on this socket.  May be absent if 'summary' is set
         on GetSocketRequest.
         
        repeated .grpc.channelz.v1.SocketOption option = 13;
        Specified by:
        getOptionCount in interface SocketDataOrBuilder
      • getOption

        public SocketOption getOption​(int index)
         Socket options set on this socket.  May be absent if 'summary' is set
         on GetSocketRequest.
         
        repeated .grpc.channelz.v1.SocketOption option = 13;
        Specified by:
        getOption in interface SocketDataOrBuilder
      • setOption

        public SocketData.Builder setOption​(int index,
                                            SocketOption value)
         Socket options set on this socket.  May be absent if 'summary' is set
         on GetSocketRequest.
         
        repeated .grpc.channelz.v1.SocketOption option = 13;
      • setOption

        public SocketData.Builder setOption​(int index,
                                            SocketOption.Builder builderForValue)
         Socket options set on this socket.  May be absent if 'summary' is set
         on GetSocketRequest.
         
        repeated .grpc.channelz.v1.SocketOption option = 13;
      • addOption

        public SocketData.Builder addOption​(SocketOption value)
         Socket options set on this socket.  May be absent if 'summary' is set
         on GetSocketRequest.
         
        repeated .grpc.channelz.v1.SocketOption option = 13;
      • addOption

        public SocketData.Builder addOption​(int index,
                                            SocketOption value)
         Socket options set on this socket.  May be absent if 'summary' is set
         on GetSocketRequest.
         
        repeated .grpc.channelz.v1.SocketOption option = 13;
      • addOption

        public SocketData.Builder addOption​(SocketOption.Builder builderForValue)
         Socket options set on this socket.  May be absent if 'summary' is set
         on GetSocketRequest.
         
        repeated .grpc.channelz.v1.SocketOption option = 13;
      • addOption

        public SocketData.Builder addOption​(int index,
                                            SocketOption.Builder builderForValue)
         Socket options set on this socket.  May be absent if 'summary' is set
         on GetSocketRequest.
         
        repeated .grpc.channelz.v1.SocketOption option = 13;
      • addAllOption

        public SocketData.Builder addAllOption​(Iterable<? extends SocketOption> values)
         Socket options set on this socket.  May be absent if 'summary' is set
         on GetSocketRequest.
         
        repeated .grpc.channelz.v1.SocketOption option = 13;
      • clearOption

        public SocketData.Builder clearOption()
         Socket options set on this socket.  May be absent if 'summary' is set
         on GetSocketRequest.
         
        repeated .grpc.channelz.v1.SocketOption option = 13;
      • removeOption

        public SocketData.Builder removeOption​(int index)
         Socket options set on this socket.  May be absent if 'summary' is set
         on GetSocketRequest.
         
        repeated .grpc.channelz.v1.SocketOption option = 13;
      • getOptionBuilder

        public SocketOption.Builder getOptionBuilder​(int index)
         Socket options set on this socket.  May be absent if 'summary' is set
         on GetSocketRequest.
         
        repeated .grpc.channelz.v1.SocketOption option = 13;
      • getOptionOrBuilder

        public SocketOptionOrBuilder getOptionOrBuilder​(int index)
         Socket options set on this socket.  May be absent if 'summary' is set
         on GetSocketRequest.
         
        repeated .grpc.channelz.v1.SocketOption option = 13;
        Specified by:
        getOptionOrBuilder in interface SocketDataOrBuilder
      • addOptionBuilder

        public SocketOption.Builder addOptionBuilder()
         Socket options set on this socket.  May be absent if 'summary' is set
         on GetSocketRequest.
         
        repeated .grpc.channelz.v1.SocketOption option = 13;
      • addOptionBuilder

        public SocketOption.Builder addOptionBuilder​(int index)
         Socket options set on this socket.  May be absent if 'summary' is set
         on GetSocketRequest.
         
        repeated .grpc.channelz.v1.SocketOption option = 13;
      • getOptionBuilderList

        public List<SocketOption.Builder> getOptionBuilderList()
         Socket options set on this socket.  May be absent if 'summary' is set
         on GetSocketRequest.
         
        repeated .grpc.channelz.v1.SocketOption option = 13;