程序包 com.knight.proto
接口 FileOrBuilder
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
File,File.Builder
public interface FileOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
方法概要
修饰符和类型方法说明/ <summary> 内容类型 </summary>com.google.protobuf.ByteString/ <summary> 内容类型 </summary>com.google.protobuf.ByteStringgetData()/ <summary> 资源数据 </summary>/ <summary> 描述 </summary>com.google.protobuf.ByteString/ <summary> 描述 </summary>long/ <summary> 修改时间 </summary>/ <summary> 本地文件路径 </summary>com.google.protobuf.ByteString/ <summary> 本地文件路径 </summary>getName()/ <summary> 资源名称 </summary>com.google.protobuf.ByteString/ <summary> 资源名称 </summary>getOther()/ <summary> 扩展字段 </summary>com.google.protobuf.ByteString/ <summary> 扩展字段 </summary>com.google.protobuf.ByteString/ <summary> 资源预览图数据 </summary>/ <summary> 资源预览图 </summary>com.google.protobuf.ByteString/ <summary> 资源预览图 </summary>getSize()/ <summary> 资源大小 </summary>com.google.protobuf.ByteString/ <summary> 资源大小 </summary>getType()/ <summary> 资源类型 </summary>com.google.protobuf.ByteString/ <summary> 资源类型 </summary>getUid()/ <summary> 资源ID </summary>com.google.protobuf.ByteString/ <summary> 资源ID </summary>getUrl()/ <summary> 资源地址 </summary>com.google.protobuf.ByteString/ <summary> 资源地址 </summary>boolean/ <summary> 内容类型 </summary>booleanhasData()/ <summary> 资源数据 </summary>boolean/ <summary> 描述 </summary>boolean/ <summary> 修改时间 </summary>boolean/ <summary> 本地文件路径 </summary>booleanhasName()/ <summary> 资源名称 </summary>booleanhasOther()/ <summary> 扩展字段 </summary>boolean/ <summary> 资源预览图数据 </summary>boolean/ <summary> 资源预览图 </summary>booleanhasSize()/ <summary> 资源大小 </summary>booleanhasType()/ <summary> 资源类型 </summary>booleanhasUid()/ <summary> 资源ID </summary>booleanhasUrl()/ <summary> 资源地址 </summary>从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
hasName
boolean hasName()/ <summary> 资源名称 </summary>
optional string name = 1; -
getName
String getName()/ <summary> 资源名称 </summary>
optional string name = 1; -
getNameBytes
com.google.protobuf.ByteString getNameBytes()/ <summary> 资源名称 </summary>
optional string name = 1; -
hasUid
boolean hasUid()/ <summary> 资源ID </summary>
optional string uid = 2; -
getUid
String getUid()/ <summary> 资源ID </summary>
optional string uid = 2; -
getUidBytes
com.google.protobuf.ByteString getUidBytes()/ <summary> 资源ID </summary>
optional string uid = 2; -
hasType
boolean hasType()/ <summary> 资源类型 </summary>
optional string type = 3; -
getType
String getType()/ <summary> 资源类型 </summary>
optional string type = 3; -
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()/ <summary> 资源类型 </summary>
optional string type = 3; -
hasContentType
boolean hasContentType()/ <summary> 内容类型 </summary>
optional string contentType = 4; -
getContentType
String getContentType()/ <summary> 内容类型 </summary>
optional string contentType = 4; -
getContentTypeBytes
com.google.protobuf.ByteString getContentTypeBytes()/ <summary> 内容类型 </summary>
optional string contentType = 4; -
hasSize
boolean hasSize()/ <summary> 资源大小 </summary>
optional string size = 5; -
getSize
String getSize()/ <summary> 资源大小 </summary>
optional string size = 5; -
getSizeBytes
com.google.protobuf.ByteString getSizeBytes()/ <summary> 资源大小 </summary>
optional string size = 5; -
hasUrl
boolean hasUrl()/ <summary> 资源地址 </summary>
optional string url = 6; -
getUrl
String getUrl()/ <summary> 资源地址 </summary>
optional string url = 6; -
getUrlBytes
com.google.protobuf.ByteString getUrlBytes()/ <summary> 资源地址 </summary>
optional string url = 6; -
hasData
boolean hasData()/ <summary> 资源数据 </summary>
optional bytes data = 7; -
getData
com.google.protobuf.ByteString getData()/ <summary> 资源数据 </summary>
optional bytes data = 7; -
hasPreviewUrl
boolean hasPreviewUrl()/ <summary> 资源预览图 </summary>
optional string previewUrl = 8; -
getPreviewUrl
String getPreviewUrl()/ <summary> 资源预览图 </summary>
optional string previewUrl = 8; -
getPreviewUrlBytes
com.google.protobuf.ByteString getPreviewUrlBytes()/ <summary> 资源预览图 </summary>
optional string previewUrl = 8; -
hasPreviewData
boolean hasPreviewData()/ <summary> 资源预览图数据 </summary>
optional bytes previewData = 9; -
getPreviewData
com.google.protobuf.ByteString getPreviewData()/ <summary> 资源预览图数据 </summary>
optional bytes previewData = 9; -
hasLastModified
boolean hasLastModified()/ <summary> 修改时间 </summary>
optional int64 lastModified = 10; -
getLastModified
long getLastModified()/ <summary> 修改时间 </summary>
optional int64 lastModified = 10; -
hasLocalFilePath
boolean hasLocalFilePath()/ <summary> 本地文件路径 </summary>
optional string localFilePath = 12; -
getLocalFilePath
String getLocalFilePath()/ <summary> 本地文件路径 </summary>
optional string localFilePath = 12; -
getLocalFilePathBytes
com.google.protobuf.ByteString getLocalFilePathBytes()/ <summary> 本地文件路径 </summary>
optional string localFilePath = 12; -
hasDescription
boolean hasDescription()/ <summary> 描述 </summary>
optional string description = 13; -
getDescription
String getDescription()/ <summary> 描述 </summary>
optional string description = 13; -
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()/ <summary> 描述 </summary>
optional string description = 13; -
hasOther
boolean hasOther()/ <summary> 扩展字段 </summary>
optional string other = 11; -
getOther
String getOther()/ <summary> 扩展字段 </summary>
optional string other = 11; -
getOtherBytes
com.google.protobuf.ByteString getOtherBytes()/ <summary> 扩展字段 </summary>
optional string other = 11;
-