Package connection_request
Interface ConnectionRequestOuterClass.CompressionConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConnectionRequestOuterClass.CompressionConfig,ConnectionRequestOuterClass.CompressionConfig.Builder
- Enclosing class:
- ConnectionRequestOuterClass
public static interface ConnectionRequestOuterClass.CompressionConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectionRequestOuterClass.CompressionBackendgetBackend().connection_request.CompressionBackend backend = 2;intgetBackendValue().connection_request.CompressionBackend backend = 2;intgetCompressionLevel()optional int32 compression_level = 3;booleangetEnabled()bool enabled = 1;intgetMinCompressionSize()uint32 min_compression_size = 4;booleanhasCompressionLevel()optional int32 compression_level = 3;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getEnabled
boolean getEnabled()
bool enabled = 1;- Returns:
- The enabled.
-
getBackendValue
int getBackendValue()
.connection_request.CompressionBackend backend = 2;- Returns:
- The enum numeric value on the wire for backend.
-
getBackend
ConnectionRequestOuterClass.CompressionBackend getBackend()
.connection_request.CompressionBackend backend = 2;- Returns:
- The backend.
-
hasCompressionLevel
boolean hasCompressionLevel()
optional int32 compression_level = 3;- Returns:
- Whether the compressionLevel field is set.
-
getCompressionLevel
int getCompressionLevel()
optional int32 compression_level = 3;- Returns:
- The compressionLevel.
-
getMinCompressionSize
int getMinCompressionSize()
uint32 min_compression_size = 4;- Returns:
- The minCompressionSize.
-
-