Package org.yamcs.protobuf
Interface BucketInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BucketInfo
,BucketInfo.Builder
public interface BucketInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Timestamp
Creation time of this bucketcom.google.protobuf.TimestampOrBuilder
Creation time of this bucketBucket root directory.com.google.protobuf.ByteString
Bucket root directory.Bucket locationBucket locationint
Maximum allowed number of objectslong
Maximum allowed total size of all objectsgetName()
Bucket namecom.google.protobuf.ByteString
Bucket nameint
Number of objects in the bucketlong
getSize()
Total size in bytes of all objects in the bucket (metadata is not counted)boolean
Creation time of this bucketboolean
Bucket root directory.boolean
Bucket locationboolean
Maximum allowed number of objectsboolean
Maximum allowed total size of all objectsboolean
hasName()
Bucket nameboolean
Number of objects in the bucketboolean
hasSize()
Total size in bytes of all objects in the bucket (metadata is not counted)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
-
hasName
boolean hasName()Bucket name
optional string name = 1;
- Returns:
- Whether the name field is set.
-
getName
String getName()Bucket name
optional string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Bucket name
optional string name = 1;
- Returns:
- The bytes for name.
-
hasSize
boolean hasSize()Total size in bytes of all objects in the bucket (metadata is not counted)
optional uint64 size = 2;
- Returns:
- Whether the size field is set.
-
getSize
long getSize()Total size in bytes of all objects in the bucket (metadata is not counted)
optional uint64 size = 2;
- Returns:
- The size.
-
hasNumObjects
boolean hasNumObjects()Number of objects in the bucket
optional uint32 numObjects = 3;
- Returns:
- Whether the numObjects field is set.
-
getNumObjects
int getNumObjects()Number of objects in the bucket
optional uint32 numObjects = 3;
- Returns:
- The numObjects.
-
hasMaxSize
boolean hasMaxSize()Maximum allowed total size of all objects
optional uint64 maxSize = 4;
- Returns:
- Whether the maxSize field is set.
-
getMaxSize
long getMaxSize()Maximum allowed total size of all objects
optional uint64 maxSize = 4;
- Returns:
- The maxSize.
-
hasMaxObjects
boolean hasMaxObjects()Maximum allowed number of objects
optional uint32 maxObjects = 5;
- Returns:
- Whether the maxObjects field is set.
-
getMaxObjects
int getMaxObjects()Maximum allowed number of objects
optional uint32 maxObjects = 5;
- Returns:
- The maxObjects.
-
hasCreated
boolean hasCreated()Creation time of this bucket
optional .google.protobuf.Timestamp created = 6;
- Returns:
- Whether the created field is set.
-
getCreated
com.google.protobuf.Timestamp getCreated()Creation time of this bucket
optional .google.protobuf.Timestamp created = 6;
- Returns:
- The created.
-
getCreatedOrBuilder
com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder()Creation time of this bucket
optional .google.protobuf.Timestamp created = 6;
-
hasDirectory
boolean hasDirectory()Bucket root directory. This field is only set when the bucket is mapped to the file system. Therefore it is not set for buckets that store objects in RocksDB.
optional string directory = 7;
- Returns:
- Whether the directory field is set.
-
getDirectory
String getDirectory()Bucket root directory. This field is only set when the bucket is mapped to the file system. Therefore it is not set for buckets that store objects in RocksDB.
optional string directory = 7;
- Returns:
- The directory.
-
getDirectoryBytes
com.google.protobuf.ByteString getDirectoryBytes()Bucket root directory. This field is only set when the bucket is mapped to the file system. Therefore it is not set for buckets that store objects in RocksDB.
optional string directory = 7;
- Returns:
- The bytes for directory.
-
hasLocation
boolean hasLocation()Bucket location
optional .yamcs.protobuf.buckets.BucketLocation location = 8;
- Returns:
- Whether the location field is set.
-
getLocation
BucketLocation getLocation()Bucket location
optional .yamcs.protobuf.buckets.BucketLocation location = 8;
- Returns:
- The location.
-
getLocationOrBuilder
BucketLocationOrBuilder getLocationOrBuilder()Bucket location
optional .yamcs.protobuf.buckets.BucketLocation location = 8;
-