Package org.yamcs.yarch.rocksdb.protobuf
Interface Tablespace.ObjectPropertiesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Tablespace.ObjectProperties
,Tablespace.ObjectProperties.Builder
- Enclosing class:
- Tablespace
public static interface Tablespace.ObjectPropertiesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsMetadata
(String key) map<string, string> metadata = 6;
optional string contentType = 3;
com.google.protobuf.ByteString
optional string contentType = 3;
long
optional int64 created = 4;
Deprecated.int
map<string, string> metadata = 6;
map<string, string> metadata = 6;
getMetadataOrDefault
(String key, String defaultValue) map<string, string> metadata = 6;
getMetadataOrThrow
(String key) map<string, string> metadata = 6;
getName()
optional string name = 1;
com.google.protobuf.ByteString
optional string name = 1;
int
optional uint32 objectId = 2;
long
getSize()
optional uint64 size = 5;
boolean
optional string contentType = 3;
boolean
optional int64 created = 4;
boolean
hasName()
optional string name = 1;
boolean
optional uint32 objectId = 2;
boolean
hasSize()
optional uint64 size = 5;
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()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.
-
hasObjectId
boolean hasObjectId()optional uint32 objectId = 2;
- Returns:
- Whether the objectId field is set.
-
getObjectId
int getObjectId()optional uint32 objectId = 2;
- Returns:
- The objectId.
-
hasContentType
boolean hasContentType()optional string contentType = 3;
- Returns:
- Whether the contentType field is set.
-
getContentType
String getContentType()optional string contentType = 3;
- Returns:
- The contentType.
-
getContentTypeBytes
com.google.protobuf.ByteString getContentTypeBytes()optional string contentType = 3;
- Returns:
- The bytes for contentType.
-
hasCreated
boolean hasCreated()optional int64 created = 4;
- Returns:
- Whether the created field is set.
-
getCreated
long getCreated()optional int64 created = 4;
- Returns:
- The created.
-
hasSize
boolean hasSize()optional uint64 size = 5;
- Returns:
- Whether the size field is set.
-
getSize
long getSize()optional uint64 size = 5;
- Returns:
- The size.
-
getMetadataCount
int getMetadataCount()map<string, string> metadata = 6;
-
containsMetadata
map<string, string> metadata = 6;
-
getMetadata
Deprecated.UsegetMetadataMap()
instead. -
getMetadataMap
map<string, string> metadata = 6;
-
getMetadataOrDefault
map<string, string> metadata = 6;
-
getMetadataOrThrow
map<string, string> metadata = 6;
-