程序包 com.knight.proto
类 File
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.knight.proto.File
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,FileOrBuilder,Serializable
/ <summary> 文件上传服务 </summary>Protobuf type
KnightSubProto.File- 另请参阅:
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter 从类继承的嵌套类/接口 com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
字段概要
字段修饰符和类型字段说明static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<File>已过时。static final intstatic final intstatic final intstatic final intstatic final intstatic final int从类继承的字段 com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields从类继承的字段 com.google.protobuf.AbstractMessage
memoizedSize从类继承的字段 com.google.protobuf.AbstractMessageLite
memoizedHashCode -
方法概要
修饰符和类型方法说明boolean/ <summary> 内容类型 </summary>com.google.protobuf.ByteString/ <summary> 内容类型 </summary>com.google.protobuf.ByteStringgetData()/ <summary> 资源数据 </summary>static File/ <summary> 描述 </summary>com.google.protobuf.ByteString/ <summary> 描述 </summary>static final com.google.protobuf.Descriptors.Descriptorlong/ <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.Parser<File>com.google.protobuf.ByteString/ <summary> 资源预览图数据 </summary>/ <summary> 资源预览图 </summary>com.google.protobuf.ByteString/ <summary> 资源预览图 </summary>intgetSize()/ <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>final com.google.protobuf.UnknownFieldSetgetUrl()/ <summary> 资源地址 </summary>com.google.protobuf.ByteString/ <summary> 资源地址 </summary>boolean/ <summary> 内容类型 </summary>booleanhasData()/ <summary> 资源数据 </summary>boolean/ <summary> 描述 </summary>inthashCode()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>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic File.Builderstatic File.BuildernewBuilder(File prototype) protected File.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static FileparseDelimitedFrom(InputStream input) static FileparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileparseFrom(byte[] data) static FileparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileparseFrom(com.google.protobuf.ByteString data) static FileparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileparseFrom(com.google.protobuf.CodedInputStream input) static FileparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileparseFrom(InputStream input) static FileparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileparseFrom(ByteBuffer data) static FileparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<File>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) 从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString从类继承的方法 com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
字段详细资料
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- 另请参阅:
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER- 另请参阅:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- 另请参阅:
-
CONTENTTYPE_FIELD_NUMBER
public static final int CONTENTTYPE_FIELD_NUMBER- 另请参阅:
-
SIZE_FIELD_NUMBER
public static final int SIZE_FIELD_NUMBER- 另请参阅:
-
URL_FIELD_NUMBER
public static final int URL_FIELD_NUMBER- 另请参阅:
-
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER- 另请参阅:
-
PREVIEWURL_FIELD_NUMBER
public static final int PREVIEWURL_FIELD_NUMBER- 另请参阅:
-
PREVIEWDATA_FIELD_NUMBER
public static final int PREVIEWDATA_FIELD_NUMBER- 另请参阅:
-
LASTMODIFIED_FIELD_NUMBER
public static final int LASTMODIFIED_FIELD_NUMBER- 另请参阅:
-
LOCALFILEPATH_FIELD_NUMBER
public static final int LOCALFILEPATH_FIELD_NUMBER- 另请参阅:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- 另请参阅:
-
OTHER_FIELD_NUMBER
public static final int OTHER_FIELD_NUMBER- 另请参阅:
-
PARSER
已过时。
-
-
方法详细资料
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
hasName
public boolean hasName()/ <summary> 资源名称 </summary>
optional string name = 1;- 指定者:
hasName在接口中FileOrBuilder
-
getName
/ <summary> 资源名称 </summary>
optional string name = 1;- 指定者:
getName在接口中FileOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()/ <summary> 资源名称 </summary>
optional string name = 1;- 指定者:
getNameBytes在接口中FileOrBuilder
-
hasUid
public boolean hasUid()/ <summary> 资源ID </summary>
optional string uid = 2;- 指定者:
hasUid在接口中FileOrBuilder
-
getUid
/ <summary> 资源ID </summary>
optional string uid = 2;- 指定者:
getUid在接口中FileOrBuilder
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()/ <summary> 资源ID </summary>
optional string uid = 2;- 指定者:
getUidBytes在接口中FileOrBuilder
-
hasType
public boolean hasType()/ <summary> 资源类型 </summary>
optional string type = 3;- 指定者:
hasType在接口中FileOrBuilder
-
getType
/ <summary> 资源类型 </summary>
optional string type = 3;- 指定者:
getType在接口中FileOrBuilder
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()/ <summary> 资源类型 </summary>
optional string type = 3;- 指定者:
getTypeBytes在接口中FileOrBuilder
-
hasContentType
public boolean hasContentType()/ <summary> 内容类型 </summary>
optional string contentType = 4;- 指定者:
hasContentType在接口中FileOrBuilder
-
getContentType
/ <summary> 内容类型 </summary>
optional string contentType = 4;- 指定者:
getContentType在接口中FileOrBuilder
-
getContentTypeBytes
public com.google.protobuf.ByteString getContentTypeBytes()/ <summary> 内容类型 </summary>
optional string contentType = 4;- 指定者:
getContentTypeBytes在接口中FileOrBuilder
-
hasSize
public boolean hasSize()/ <summary> 资源大小 </summary>
optional string size = 5;- 指定者:
hasSize在接口中FileOrBuilder
-
getSize
/ <summary> 资源大小 </summary>
optional string size = 5;- 指定者:
getSize在接口中FileOrBuilder
-
getSizeBytes
public com.google.protobuf.ByteString getSizeBytes()/ <summary> 资源大小 </summary>
optional string size = 5;- 指定者:
getSizeBytes在接口中FileOrBuilder
-
hasUrl
public boolean hasUrl()/ <summary> 资源地址 </summary>
optional string url = 6;- 指定者:
hasUrl在接口中FileOrBuilder
-
getUrl
/ <summary> 资源地址 </summary>
optional string url = 6;- 指定者:
getUrl在接口中FileOrBuilder
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()/ <summary> 资源地址 </summary>
optional string url = 6;- 指定者:
getUrlBytes在接口中FileOrBuilder
-
hasData
public boolean hasData()/ <summary> 资源数据 </summary>
optional bytes data = 7;- 指定者:
hasData在接口中FileOrBuilder
-
getData
public com.google.protobuf.ByteString getData()/ <summary> 资源数据 </summary>
optional bytes data = 7;- 指定者:
getData在接口中FileOrBuilder
-
hasPreviewUrl
public boolean hasPreviewUrl()/ <summary> 资源预览图 </summary>
optional string previewUrl = 8;- 指定者:
hasPreviewUrl在接口中FileOrBuilder
-
getPreviewUrl
/ <summary> 资源预览图 </summary>
optional string previewUrl = 8;- 指定者:
getPreviewUrl在接口中FileOrBuilder
-
getPreviewUrlBytes
public com.google.protobuf.ByteString getPreviewUrlBytes()/ <summary> 资源预览图 </summary>
optional string previewUrl = 8;- 指定者:
getPreviewUrlBytes在接口中FileOrBuilder
-
hasPreviewData
public boolean hasPreviewData()/ <summary> 资源预览图数据 </summary>
optional bytes previewData = 9;- 指定者:
hasPreviewData在接口中FileOrBuilder
-
getPreviewData
public com.google.protobuf.ByteString getPreviewData()/ <summary> 资源预览图数据 </summary>
optional bytes previewData = 9;- 指定者:
getPreviewData在接口中FileOrBuilder
-
hasLastModified
public boolean hasLastModified()/ <summary> 修改时间 </summary>
optional int64 lastModified = 10;- 指定者:
hasLastModified在接口中FileOrBuilder
-
getLastModified
public long getLastModified()/ <summary> 修改时间 </summary>
optional int64 lastModified = 10;- 指定者:
getLastModified在接口中FileOrBuilder
-
hasLocalFilePath
public boolean hasLocalFilePath()/ <summary> 本地文件路径 </summary>
optional string localFilePath = 12;- 指定者:
hasLocalFilePath在接口中FileOrBuilder
-
getLocalFilePath
/ <summary> 本地文件路径 </summary>
optional string localFilePath = 12;- 指定者:
getLocalFilePath在接口中FileOrBuilder
-
getLocalFilePathBytes
public com.google.protobuf.ByteString getLocalFilePathBytes()/ <summary> 本地文件路径 </summary>
optional string localFilePath = 12;- 指定者:
getLocalFilePathBytes在接口中FileOrBuilder
-
hasDescription
public boolean hasDescription()/ <summary> 描述 </summary>
optional string description = 13;- 指定者:
hasDescription在接口中FileOrBuilder
-
getDescription
/ <summary> 描述 </summary>
optional string description = 13;- 指定者:
getDescription在接口中FileOrBuilder
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()/ <summary> 描述 </summary>
optional string description = 13;- 指定者:
getDescriptionBytes在接口中FileOrBuilder
-
hasOther
public boolean hasOther()/ <summary> 扩展字段 </summary>
optional string other = 11;- 指定者:
hasOther在接口中FileOrBuilder
-
getOther
/ <summary> 扩展字段 </summary>
optional string other = 11;- 指定者:
getOther在接口中FileOrBuilder
-
getOtherBytes
public com.google.protobuf.ByteString getOtherBytes()/ <summary> 扩展字段 </summary>
optional string other = 11;- 指定者:
getOtherBytes在接口中FileOrBuilder
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static File parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static File parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static File parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static File parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static File parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- 抛出:
IOException
-
parseFrom
public static File parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
- 抛出:
IOException
-
parseDelimitedFrom
public static File parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseFrom
- 抛出:
IOException
-
parseFrom
public static File parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
newBuilderForType
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected File.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-