Module org.yamcs.core
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 TypeMethodDescriptionlongoptional int64 created = 2;intmaximum number of objects in the bucketlongmaximum size in bytesgetName()optional string name = 1;com.google.protobuf.ByteStringoptional string name = 1;intcurrent number of objects in the bucketlonggetSize()current bucket sizebooleanoptional int64 created = 2;booleanmaximum number of objects in the bucketbooleanmaximum size in bytesbooleanhasName()optional string name = 1;booleancurrent number of objects in the bucketbooleanhasSize()current bucket sizeMethods 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
-
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.
-