Interface StorageObjectOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
StorageObject, StorageObject.Builder

public interface StorageObjectOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The collection which stores the object.
    com.google.protobuf.ByteString
    The collection which stores the object.
    The UNIX time when the object was created.
    The UNIX time when the object was created.
    The key of the object within the collection.
    com.google.protobuf.ByteString
    The key of the object within the collection.
    int
    The read access permissions for the object.
    int
    The write access permissions for the object.
    The UNIX time when the object was last updated.
    The UNIX time when the object was last updated.
    The user owner of the object.
    com.google.protobuf.ByteString
    The user owner of the object.
    The value of the object.
    com.google.protobuf.ByteString
    The value of the object.
    The version hash of the object.
    com.google.protobuf.ByteString
    The version hash of the object.
    boolean
    The UNIX time when the object was created.
    boolean
    The UNIX time when the object was last updated.

    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

    • getCollection

      String getCollection()
       The collection which stores the object.
       
      string collection = 1;
      Returns:
      The collection.
    • getCollectionBytes

      com.google.protobuf.ByteString getCollectionBytes()
       The collection which stores the object.
       
      string collection = 1;
      Returns:
      The bytes for collection.
    • getKey

      String getKey()
       The key of the object within the collection.
       
      string key = 2;
      Returns:
      The key.
    • getKeyBytes

      com.google.protobuf.ByteString getKeyBytes()
       The key of the object within the collection.
       
      string key = 2;
      Returns:
      The bytes for key.
    • getUserId

      String getUserId()
       The user owner of the object.
       
      string user_id = 3;
      Returns:
      The userId.
    • getUserIdBytes

      com.google.protobuf.ByteString getUserIdBytes()
       The user owner of the object.
       
      string user_id = 3;
      Returns:
      The bytes for userId.
    • getValue

      String getValue()
       The value of the object.
       
      string value = 4;
      Returns:
      The value.
    • getValueBytes

      com.google.protobuf.ByteString getValueBytes()
       The value of the object.
       
      string value = 4;
      Returns:
      The bytes for value.
    • getVersion

      String getVersion()
       The version hash of the object.
       
      string version = 5;
      Returns:
      The version.
    • getVersionBytes

      com.google.protobuf.ByteString getVersionBytes()
       The version hash of the object.
       
      string version = 5;
      Returns:
      The bytes for version.
    • getPermissionRead

      int getPermissionRead()
       The read access permissions for the object.
       
      int32 permission_read = 6;
      Returns:
      The permissionRead.
    • getPermissionWrite

      int getPermissionWrite()
       The write access permissions for the object.
       
      int32 permission_write = 7;
      Returns:
      The permissionWrite.
    • hasCreateTime

      boolean hasCreateTime()
       The UNIX time when the object was created.
       
      .google.protobuf.Timestamp create_time = 8;
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      Timestamp getCreateTime()
       The UNIX time when the object was created.
       
      .google.protobuf.Timestamp create_time = 8;
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      TimestampOrBuilder getCreateTimeOrBuilder()
       The UNIX time when the object was created.
       
      .google.protobuf.Timestamp create_time = 8;
    • hasUpdateTime

      boolean hasUpdateTime()
       The UNIX time when the object was last updated.
       
      .google.protobuf.Timestamp update_time = 9;
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      Timestamp getUpdateTime()
       The UNIX time when the object was last updated.
       
      .google.protobuf.Timestamp update_time = 9;
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      TimestampOrBuilder getUpdateTimeOrBuilder()
       The UNIX time when the object was last updated.
       
      .google.protobuf.Timestamp update_time = 9;