Package org.yamcs.yarch.rocksdb.protobuf
Interface Tablespace.BucketPropertiesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Tablespace.BucketProperties
,Tablespace.BucketProperties.Builder
- Enclosing class:
- Tablespace
public static interface Tablespace.BucketPropertiesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlong
optional int64 created = 2;
int
maximum number of objects in the bucketlong
maximum size in bytesgetName()
optional string name = 1;
com.google.protobuf.ByteString
optional string name = 1;
int
current number of objects in the bucketlong
getSize()
current bucket sizeboolean
optional int64 created = 2;
boolean
maximum number of objects in the bucketboolean
maximum size in bytesboolean
hasName()
optional string name = 1;
boolean
current number of objects in the bucketboolean
hasSize()
current bucket sizeMethods 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
-
hasName
boolean hasName()optional string name = 1;
- Returns:
- Whether the name field is set.
-
getName
String getName()optional string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()optional string name = 1;
- Returns:
- The bytes for name.
-
hasCreated
boolean hasCreated()optional int64 created = 2;
- Returns:
- Whether the created field is set.
-
getCreated
long getCreated()optional int64 created = 2;
- Returns:
- The created.
-
hasMaxNumObjects
boolean hasMaxNumObjects()maximum number of objects in the bucket
optional int32 maxNumObjects = 3;
- Returns:
- Whether the maxNumObjects field is set.
-
getMaxNumObjects
int getMaxNumObjects()maximum number of objects in the bucket
optional int32 maxNumObjects = 3;
- Returns:
- The maxNumObjects.
-
hasMaxSize
boolean hasMaxSize()maximum size in bytes
optional uint64 maxSize = 4;
- Returns:
- Whether the maxSize field is set.
-
getMaxSize
long getMaxSize()maximum size in bytes
optional uint64 maxSize = 4;
- Returns:
- The maxSize.
-
hasNumObjects
boolean hasNumObjects()current number of objects in the bucket
optional int32 numObjects = 5;
- Returns:
- Whether the numObjects field is set.
-
getNumObjects
int getNumObjects()current number of objects in the bucket
optional int32 numObjects = 5;
- Returns:
- The numObjects.
-
hasSize
boolean hasSize()current bucket size
optional uint64 size = 6;
- Returns:
- Whether the size field is set.
-
getSize
long getSize()current bucket size
optional uint64 size = 6;
- Returns:
- The size.
-