Interface SocketOptionLingerOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    SocketOptionLinger, SocketOptionLinger.Builder

    public interface SocketOptionLingerOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getActive()
      active maps to `struct linger.l_onoff`
      com.google.protobuf.Duration getDuration()
      duration maps to `struct linger.l_linger`
      com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
      duration maps to `struct linger.l_linger`
      boolean hasDuration()
      duration maps to `struct linger.l_linger`
      • 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

      • getActive

        boolean getActive()
         active maps to `struct linger.l_onoff`
         
        bool active = 1;
        Returns:
        The active.
      • hasDuration

        boolean hasDuration()
         duration maps to `struct linger.l_linger`
         
        .google.protobuf.Duration duration = 2;
        Returns:
        Whether the duration field is set.
      • getDuration

        com.google.protobuf.Duration getDuration()
         duration maps to `struct linger.l_linger`
         
        .google.protobuf.Duration duration = 2;
        Returns:
        The duration.
      • getDurationOrBuilder

        com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
         duration maps to `struct linger.l_linger`
         
        .google.protobuf.Duration duration = 2;