Interface AttachmentItemOrBuilder

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

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

    Modifier and Type
    Method
    Description
    文件摘要
    com.google.protobuf.ByteString
    文件摘要
    com.google.protobuf.Timestamp
    上传时间
    com.google.protobuf.TimestampOrBuilder
    上传时间
    附件ID
    com.google.protobuf.ByteString
    附件ID
    文件名
    com.google.protobuf.ByteString
    文件名
    上传者
    com.google.protobuf.ByteString
    上传者
    long
    文件大小。
    附件状态
    int
    附件状态
    MIME 类型
    com.google.protobuf.ByteString
    MIME 类型
    boolean
    上传时间
    boolean
    上传者

    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

    • getId

      String getId()
      附件ID
      
      string id = 1;
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
      附件ID
      
      string id = 1;
      Returns:
      The bytes for id.
    • getName

      String getName()
      文件名
      
      string name = 2;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
      文件名
      
      string name = 2;
      Returns:
      The bytes for name.
    • getChecksum

      String getChecksum()
      文件摘要
      
      string checksum = 3;
      Returns:
      The checksum.
    • getChecksumBytes

      com.google.protobuf.ByteString getChecksumBytes()
      文件摘要
      
      string checksum = 3;
      Returns:
      The bytes for checksum.
    • getSize

      long getSize()
      文件大小。单位:字节。
      
      uint64 size = 4;
      Returns:
      The size.
    • getType

      String getType()
      MIME 类型
      
      string type = 5;
      Returns:
      The type.
    • getTypeBytes

      com.google.protobuf.ByteString getTypeBytes()
      MIME 类型
      
      string type = 5;
      Returns:
      The bytes for type.
    • getStatusValue

      int getStatusValue()
      附件状态
      
      .io.github.xezzon.zeroweb.attachment.AttachmentStatus status = 9;
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

      AttachmentStatus getStatus()
      附件状态
      
      .io.github.xezzon.zeroweb.attachment.AttachmentStatus status = 9;
      Returns:
      The status.
    • hasOwnerId

      boolean hasOwnerId()
      上传者
      
      optional string owner_id = 10;
      Returns:
      Whether the ownerId field is set.
    • getOwnerId

      String getOwnerId()
      上传者
      
      optional string owner_id = 10;
      Returns:
      The ownerId.
    • getOwnerIdBytes

      com.google.protobuf.ByteString getOwnerIdBytes()
      上传者
      
      optional string owner_id = 10;
      Returns:
      The bytes for ownerId.
    • hasCreateTime

      boolean hasCreateTime()
      上传时间
      
      .google.protobuf.Timestamp create_time = 11;
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
      上传时间
      
      .google.protobuf.Timestamp create_time = 11;
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
      上传时间
      
      .google.protobuf.Timestamp create_time = 11;