- 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.TimestampCreation time of this bucketcom.google.protobuf.TimestampOrBuilderCreation time of this bucketBucket root directory.com.google.protobuf.ByteStringBucket root directory.Bucket locationBucket locationintMaximum allowed number of objectslongMaximum allowed total size of all objectsgetName()Bucket namecom.google.protobuf.ByteStringBucket nameintNumber of objects in the bucketlonggetSize()Total size in bytes of all objects in the bucket (metadata is not counted)booleanCreation time of this bucketbooleanBucket root directory.booleanBucket locationbooleanMaximum allowed number of objectsbooleanMaximum allowed total size of all objectsbooleanhasName()Bucket namebooleanNumber of objects in the bucketbooleanhasSize()Total size in bytes of all objects in the bucket (metadata is not counted)Methods 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()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;
-