java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.yamcs.protobuf.BucketInfo
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,BucketInfoOrBuilder
@Generated
public final class BucketInfo
extends com.google.protobuf.GeneratedMessage
implements BucketInfoOrBuilder
Protobuf type
yamcs.protobuf.buckets.BucketInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeyamcs.protobuf.buckets.BucketInfoNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.TimestampCreation time of this bucketcom.google.protobuf.TimestampOrBuilderCreation time of this bucketstatic BucketInfostatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorBucket 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 bucketcom.google.protobuf.Parser<BucketInfo> intlonggetSize()Total size in bytes of all objects in the bucket (metadata is not counted)booleanCreation time of this bucketbooleanBucket root directory.inthashCode()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)protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic BucketInfo.Builderstatic BucketInfo.BuildernewBuilder(BucketInfo prototype) protected BucketInfo.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static BucketInfoparseDelimitedFrom(InputStream input) static BucketInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BucketInfoparseFrom(byte[] data) static BucketInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BucketInfoparseFrom(com.google.protobuf.ByteString data) static BucketInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BucketInfoparseFrom(com.google.protobuf.CodedInputStream input) static BucketInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BucketInfoparseFrom(InputStream input) static BucketInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BucketInfoparseFrom(ByteBuffer data) static BucketInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BucketInfo> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
SIZE_FIELD_NUMBER
public static final int SIZE_FIELD_NUMBER- See Also:
-
NUMOBJECTS_FIELD_NUMBER
public static final int NUMOBJECTS_FIELD_NUMBER- See Also:
-
MAXSIZE_FIELD_NUMBER
public static final int MAXSIZE_FIELD_NUMBER- See Also:
-
MAXOBJECTS_FIELD_NUMBER
public static final int MAXOBJECTS_FIELD_NUMBER- See Also:
-
CREATED_FIELD_NUMBER
public static final int CREATED_FIELD_NUMBER- See Also:
-
DIRECTORY_FIELD_NUMBER
public static final int DIRECTORY_FIELD_NUMBER- See Also:
-
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasName
public boolean hasName()Bucket name
optional string name = 1;- Specified by:
hasNamein interfaceBucketInfoOrBuilder- Returns:
- Whether the name field is set.
-
getName
Bucket name
optional string name = 1;- Specified by:
getNamein interfaceBucketInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Bucket name
optional string name = 1;- Specified by:
getNameBytesin interfaceBucketInfoOrBuilder- Returns:
- The bytes for name.
-
hasSize
public boolean hasSize()Total size in bytes of all objects in the bucket (metadata is not counted)
optional uint64 size = 2;- Specified by:
hasSizein interfaceBucketInfoOrBuilder- Returns:
- Whether the size field is set.
-
getSize
public long getSize()Total size in bytes of all objects in the bucket (metadata is not counted)
optional uint64 size = 2;- Specified by:
getSizein interfaceBucketInfoOrBuilder- Returns:
- The size.
-
hasNumObjects
public boolean hasNumObjects()Number of objects in the bucket
optional uint32 numObjects = 3;- Specified by:
hasNumObjectsin interfaceBucketInfoOrBuilder- Returns:
- Whether the numObjects field is set.
-
getNumObjects
public int getNumObjects()Number of objects in the bucket
optional uint32 numObjects = 3;- Specified by:
getNumObjectsin interfaceBucketInfoOrBuilder- Returns:
- The numObjects.
-
hasMaxSize
public boolean hasMaxSize()Maximum allowed total size of all objects
optional uint64 maxSize = 4;- Specified by:
hasMaxSizein interfaceBucketInfoOrBuilder- Returns:
- Whether the maxSize field is set.
-
getMaxSize
public long getMaxSize()Maximum allowed total size of all objects
optional uint64 maxSize = 4;- Specified by:
getMaxSizein interfaceBucketInfoOrBuilder- Returns:
- The maxSize.
-
hasMaxObjects
public boolean hasMaxObjects()Maximum allowed number of objects
optional uint32 maxObjects = 5;- Specified by:
hasMaxObjectsin interfaceBucketInfoOrBuilder- Returns:
- Whether the maxObjects field is set.
-
getMaxObjects
public int getMaxObjects()Maximum allowed number of objects
optional uint32 maxObjects = 5;- Specified by:
getMaxObjectsin interfaceBucketInfoOrBuilder- Returns:
- The maxObjects.
-
hasCreated
public boolean hasCreated()Creation time of this bucket
optional .google.protobuf.Timestamp created = 6;- Specified by:
hasCreatedin interfaceBucketInfoOrBuilder- Returns:
- Whether the created field is set.
-
getCreated
public com.google.protobuf.Timestamp getCreated()Creation time of this bucket
optional .google.protobuf.Timestamp created = 6;- Specified by:
getCreatedin interfaceBucketInfoOrBuilder- Returns:
- The created.
-
getCreatedOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder()Creation time of this bucket
optional .google.protobuf.Timestamp created = 6;- Specified by:
getCreatedOrBuilderin interfaceBucketInfoOrBuilder
-
hasDirectory
public 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;- Specified by:
hasDirectoryin interfaceBucketInfoOrBuilder- Returns:
- Whether the directory field is set.
-
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;- Specified by:
getDirectoryin interfaceBucketInfoOrBuilder- Returns:
- The directory.
-
getDirectoryBytes
public 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;- Specified by:
getDirectoryBytesin interfaceBucketInfoOrBuilder- Returns:
- The bytes for directory.
-
hasLocation
public boolean hasLocation()Bucket location
optional .yamcs.protobuf.buckets.BucketLocation location = 8;- Specified by:
hasLocationin interfaceBucketInfoOrBuilder- Returns:
- Whether the location field is set.
-
getLocation
Bucket location
optional .yamcs.protobuf.buckets.BucketLocation location = 8;- Specified by:
getLocationin interfaceBucketInfoOrBuilder- Returns:
- The location.
-
getLocationOrBuilder
Bucket location
optional .yamcs.protobuf.buckets.BucketLocation location = 8;- Specified by:
getLocationOrBuilderin interfaceBucketInfoOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BucketInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BucketInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BucketInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BucketInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BucketInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BucketInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BucketInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static BucketInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BucketInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BucketInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-