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

      boolean containsMetadata(String key)
       Object metadata
       
      map<string, string> metadata = 4;
    • getMetadata

      @Deprecated Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
    • getMetadataMap

      Map<String,String> getMetadataMap()
       Object metadata
       
      map<string, string> metadata = 4;
    • getMetadataOrDefault

      String getMetadataOrDefault(String key, String defaultValue)
       Object metadata
       
      map<string, string> metadata = 4;
    • getMetadataOrThrow

      String getMetadataOrThrow(String key)
       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.