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
Modifier and TypeMethodDescriptioncom.google.protobuf.Duration
.google.protobuf.Duration duration = 1;
com.google.protobuf.DurationOrBuilder
.google.protobuf.Duration duration = 1;
boolean
.google.protobuf.Duration duration = 1;
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 Details
-
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;
-