Interface SocketOption.SocketTypeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SocketOption.SocketType,SocketOption.SocketType.Builder
- Enclosing class:
- SocketOption
public static interface SocketOption.SocketTypeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionApply the socket option to the datagram socket type.Apply the socket option to the datagram socket type.Apply the socket option to the stream socket type.Apply the socket option to the stream socket type.booleanApply the socket option to the datagram socket type.booleanApply the socket option to the stream socket type.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasStream
boolean hasStream()Apply the socket option to the stream socket type.
.envoy.config.core.v3.SocketOption.SocketType.Stream stream = 1;- Returns:
- Whether the stream field is set.
-
getStream
SocketOption.SocketType.Stream getStream()Apply the socket option to the stream socket type.
.envoy.config.core.v3.SocketOption.SocketType.Stream stream = 1;- Returns:
- The stream.
-
getStreamOrBuilder
SocketOption.SocketType.StreamOrBuilder getStreamOrBuilder()Apply the socket option to the stream socket type.
.envoy.config.core.v3.SocketOption.SocketType.Stream stream = 1; -
hasDatagram
boolean hasDatagram()Apply the socket option to the datagram socket type.
.envoy.config.core.v3.SocketOption.SocketType.Datagram datagram = 2;- Returns:
- Whether the datagram field is set.
-
getDatagram
SocketOption.SocketType.Datagram getDatagram()Apply the socket option to the datagram socket type.
.envoy.config.core.v3.SocketOption.SocketType.Datagram datagram = 2;- Returns:
- The datagram.
-
getDatagramOrBuilder
SocketOption.SocketType.DatagramOrBuilder getDatagramOrBuilder()Apply the socket option to the datagram socket type.
.envoy.config.core.v3.SocketOption.SocketType.Datagram datagram = 2;
-