Package s2.v1alpha
Interface ReadLimitOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReadLimit
,ReadLimit.Builder
public interface ReadLimitOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getBytes()
Metered bytes limit.long
getCount()
Record count limit.boolean
hasBytes()
Metered bytes limit.boolean
hasCount()
Record count limit.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCount
boolean hasCount()
Record count limit.
optional uint64 count = 1;
- Returns:
- Whether the count field is set.
-
getCount
long getCount()
Record count limit.
optional uint64 count = 1;
- Returns:
- The count.
-
hasBytes
boolean hasBytes()
Metered bytes limit.
optional uint64 bytes = 2;
- Returns:
- Whether the bytes field is set.
-
getBytes
long getBytes()
Metered bytes limit.
optional uint64 bytes = 2;
- Returns:
- The bytes.
-
-