Package io.grpc.channelz.v1
Interface SocketOptionTimeoutOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SocketOptionTimeout
,SocketOptionTimeout.Builder
public interface SocketOptionTimeoutOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Duration
getDuration()
.google.protobuf.Duration duration = 1;
com.google.protobuf.DurationOrBuilder
getDurationOrBuilder()
.google.protobuf.Duration duration = 1;
boolean
hasDuration()
.google.protobuf.Duration duration = 1;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDuration
boolean hasDuration()
.google.protobuf.Duration duration = 1;
- Returns:
- Whether the duration field is set.
-
getDuration
com.google.protobuf.Duration getDuration()
.google.protobuf.Duration duration = 1;
- Returns:
- The duration.
-
getDurationOrBuilder
com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
.google.protobuf.Duration duration = 1;
-
-