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 TypeMethodDescription文件摘要com.google.protobuf.ByteString文件摘要com.google.protobuf.Timestamp上传时间com.google.protobuf.TimestampOrBuilder上传时间getId()附件IDcom.google.protobuf.ByteString附件IDgetName()文件名com.google.protobuf.ByteString文件名上传者com.google.protobuf.ByteString上传者longgetSize()文件大小。附件状态int附件状态getType()MIME 类型com.google.protobuf.ByteStringMIME 类型boolean上传时间boolean上传者Methods 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
-
getId
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()附件ID
string id = 1;- Returns:
- The bytes for id.
-
getName
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()文件名
string name = 2;- Returns:
- The bytes for name.
-
getChecksum
-
getChecksumBytes
com.google.protobuf.ByteString getChecksumBytes()文件摘要
string checksum = 3;- Returns:
- The bytes for checksum.
-
getSize
long getSize()文件大小。单位:字节。
uint64 size = 4;- Returns:
- The size.
-
getType
-
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
-
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;
-