Package io.grpc.channelz.v1
Interface SocketOptionLingerOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
SocketOptionLinger
,SocketOptionLinger.Builder
public interface SocketOptionLingerOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getActive()
active maps to `struct linger.l_onoff`Duration
getDuration()
duration maps to `struct linger.l_linger`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
Duration getDuration()
duration maps to `struct linger.l_linger`
.google.protobuf.Duration duration = 2;
- Returns:
- The duration.
-
getDurationOrBuilder
DurationOrBuilder getDurationOrBuilder()
duration maps to `struct linger.l_linger`
.google.protobuf.Duration duration = 2;
-
-