- 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 TypeMethodDescriptionbooleancontainsMetadata(String key) map<string, string> metadata = 4;com.google.protobuf.TimestampCreation timecom.google.protobuf.TimestampOrBuilderCreation timeDeprecated.intmap<string, string> metadata = 4;map<string, string> metadata = 4;getMetadataOrDefault(String key, String defaultValue) map<string, string> metadata = 4;getMetadataOrThrow(String key) map<string, string> metadata = 4;getName()Object namecom.google.protobuf.ByteStringObject namelonggetSize()Size in bytesbooleanCreation timebooleanhasName()Object namebooleanhasSize()Size in bytesMethods 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()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()map<string, string> metadata = 4; -
containsMetadata
map<string, string> metadata = 4; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
map<string, string> metadata = 4; -
getMetadataOrDefault
map<string, string> metadata = 4; -
getMetadataOrThrow
map<string, string> metadata = 4;
-