Package com.streamlayer.files
Class File
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<File,File.Builder>
-
- com.streamlayer.files.File
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,FileOrBuilder
public final class File extends com.google.protobuf.GeneratedMessageLite<File,File.Builder> implements FileOrBuilder
Protobuf typestreamlayer.files.File
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFile.BuilderProtobuf typestreamlayer.files.File-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
-
-
Field Summary
Fields Modifier and Type Field Description static intCONTENT_LENGTH_FIELD_NUMBERstatic intCONTENT_TYPE_FIELD_NUMBERstatic intMD5_HASH_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)intgetContentLength()sint32 content_length = 4 [json_name = "contentLength"];java.lang.StringgetContentType()string content_type = 3 [json_name = "contentType"];com.google.protobuf.ByteStringgetContentTypeBytes()string content_type = 3 [json_name = "contentType"];static FilegetDefaultInstance()java.lang.StringgetMd5Hash()string md5_hash = 1 [json_name = "md5Hash"];com.google.protobuf.ByteStringgetMd5HashBytes()string md5_hash = 1 [json_name = "md5Hash"];java.lang.StringgetType()string type = 2 [json_name = "type"];com.google.protobuf.ByteStringgetTypeBytes()string type = 2 [json_name = "type"];static File.BuildernewBuilder()static File.BuildernewBuilder(File prototype)static FileparseDelimitedFrom(java.io.InputStream input)static FileparseDelimitedFrom(java.io.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(java.io.InputStream input)static FileparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FileparseFrom(java.nio.ByteBuffer data)static FileparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<File>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
-
-
-
Field Detail
-
MD5_HASH_FIELD_NUMBER
public static final int MD5_HASH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTENT_TYPE_FIELD_NUMBER
public static final int CONTENT_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTENT_LENGTH_FIELD_NUMBER
public static final int CONTENT_LENGTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMd5Hash
public java.lang.String getMd5Hash()
string md5_hash = 1 [json_name = "md5Hash"];- Specified by:
getMd5Hashin interfaceFileOrBuilder- Returns:
- The md5Hash.
-
getMd5HashBytes
public com.google.protobuf.ByteString getMd5HashBytes()
string md5_hash = 1 [json_name = "md5Hash"];- Specified by:
getMd5HashBytesin interfaceFileOrBuilder- Returns:
- The bytes for md5Hash.
-
getType
public java.lang.String getType()
string type = 2 [json_name = "type"];- Specified by:
getTypein interfaceFileOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
string type = 2 [json_name = "type"];- Specified by:
getTypeBytesin interfaceFileOrBuilder- Returns:
- The bytes for type.
-
getContentType
public java.lang.String getContentType()
string content_type = 3 [json_name = "contentType"];- Specified by:
getContentTypein interfaceFileOrBuilder- Returns:
- The contentType.
-
getContentTypeBytes
public com.google.protobuf.ByteString getContentTypeBytes()
string content_type = 3 [json_name = "contentType"];- Specified by:
getContentTypeBytesin interfaceFileOrBuilder- Returns:
- The bytes for contentType.
-
getContentLength
public int getContentLength()
sint32 content_length = 4 [json_name = "contentLength"];- Specified by:
getContentLengthin interfaceFileOrBuilder- Returns:
- The contentLength.
-
parseFrom
public static File parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static File parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static File parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static File parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static File parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static File parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static File parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static File parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static File parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static File parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static File parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static File.Builder newBuilder()
-
newBuilder
public static File.Builder newBuilder(File prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<File,File.Builder>
-
getDefaultInstance
public static File getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<File> parser()
-
-