Package io.sbp.grpc
Interface ConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Config
,Config.Builder
public interface ConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.EnumAction action = 2;
int
.EnumAction action = 2;
boolean
bool isReadRequests = 7;
boolean
bool isWriteRequests = 6;
long
int64 maxLatency = 5;
long
int64 minLatency = 4;
string storageName = 1;
com.google.protobuf.ByteString
string storageName = 1;
.EnumTimeUnit timeUnit = 3;
int
.EnumTimeUnit timeUnit = 3;
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
-
getStorageName
String getStorageName()string storageName = 1;
- Returns:
- The storageName.
-
getStorageNameBytes
com.google.protobuf.ByteString getStorageNameBytes()string storageName = 1;
- Returns:
- The bytes for storageName.
-
getActionValue
int getActionValue().EnumAction action = 2;
- Returns:
- The enum numeric value on the wire for action.
-
getAction
EnumAction getAction().EnumAction action = 2;
- Returns:
- The action.
-
getTimeUnitValue
int getTimeUnitValue().EnumTimeUnit timeUnit = 3;
- Returns:
- The enum numeric value on the wire for timeUnit.
-
getTimeUnit
EnumTimeUnit getTimeUnit().EnumTimeUnit timeUnit = 3;
- Returns:
- The timeUnit.
-
getMinLatency
long getMinLatency()int64 minLatency = 4;
- Returns:
- The minLatency.
-
getMaxLatency
long getMaxLatency()int64 maxLatency = 5;
- Returns:
- The maxLatency.
-
getIsWriteRequests
boolean getIsWriteRequests()bool isWriteRequests = 6;
- Returns:
- The isWriteRequests.
-
getIsReadRequests
boolean getIsReadRequests()bool isReadRequests = 7;
- Returns:
- The isReadRequests.
-