Package org.yamcs.protobuf
Interface ObjectInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ObjectInfo
,ObjectInfo.Builder
public interface ObjectInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsMetadata
(String key) Object metadataContent typecom.google.protobuf.ByteString
Content typecom.google.protobuf.Timestamp
Creation timecom.google.protobuf.TimestampOrBuilder
Creation timeDeprecated.int
Object metadataObject metadatagetMetadataOrDefault
(String key, String defaultValue) Object metadatagetMetadataOrThrow
(String key) Object metadatagetName()
Object namecom.google.protobuf.ByteString
Object namelong
getSize()
Size in bytesboolean
Content typeboolean
Creation timeboolean
hasName()
Object nameboolean
hasSize()
Size in bytesMethods 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()Object name
optional string name = 1;
- Returns:
- Whether the name field is set.
-
getName
String getName()Object name
optional string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Object name
optional string name = 1;
- Returns:
- The bytes for name.
-
hasCreated
boolean hasCreated()Creation time
optional .google.protobuf.Timestamp created = 2;
- Returns:
- Whether the created field is set.
-
getCreated
com.google.protobuf.Timestamp getCreated()Creation time
optional .google.protobuf.Timestamp created = 2;
- Returns:
- The created.
-
getCreatedOrBuilder
com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder()Creation time
optional .google.protobuf.Timestamp created = 2;
-
hasSize
boolean hasSize()Size in bytes
optional uint64 size = 3;
- Returns:
- Whether the size field is set.
-
getSize
long getSize()Size in bytes
optional uint64 size = 3;
- Returns:
- The size.
-
getMetadataCount
int getMetadataCount()Object metadata
map<string, string> metadata = 4;
-
containsMetadata
Object metadata
map<string, string> metadata = 4;
-
getMetadata
Deprecated.UsegetMetadataMap()
instead. -
getMetadataMap
Object metadata
map<string, string> metadata = 4;
-
getMetadataOrDefault
Object metadata
map<string, string> metadata = 4;
-
getMetadataOrThrow
Object metadata
map<string, string> metadata = 4;
-
hasContentType
boolean hasContentType()Content type
optional string contentType = 5;
- Returns:
- Whether the contentType field is set.
-
getContentType
String getContentType()Content type
optional string contentType = 5;
- Returns:
- The contentType.
-
getContentTypeBytes
com.google.protobuf.ByteString getContentTypeBytes()Content type
optional string contentType = 5;
- Returns:
- The bytes for contentType.
-