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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.Timestamp getCreated()
      Creation time of this bucket
      com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder()
      Creation time of this bucket
      String getDirectory()
      Bucket root directory.
      com.google.protobuf.ByteString getDirectoryBytes()
      Bucket root directory.
      int getMaxObjects()
      Maximum allowed number of objects
      long getMaxSize()
      Maximum allowed total size of all objects
      String getName()
      Bucket name.
      com.google.protobuf.ByteString getNameBytes()
      Bucket name.
      int getNumObjects()
      Number of objects in the bucket
      long getSize()
      Total size in bytes of all objects in the bucket (metadata is not counted)
      boolean hasCreated()
      Creation time of this bucket
      boolean hasDirectory()
      Bucket root directory.
      boolean hasMaxObjects()
      Maximum allowed number of objects
      boolean hasMaxSize()
      Maximum allowed total size of all objects
      boolean hasName()
      Bucket name.
      boolean hasNumObjects()
      Number of objects in the bucket
      boolean 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 Detail

      • 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.