Class 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 type streamlayer.files.File
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  File.Builder
      Protobuf type streamlayer.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
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)  
      int getContentLength()
      sint32 content_length = 4 [json_name = "contentLength"];
      java.lang.String getContentType()
      string content_type = 3 [json_name = "contentType"];
      com.google.protobuf.ByteString getContentTypeBytes()
      string content_type = 3 [json_name = "contentType"];
      static File getDefaultInstance()  
      java.lang.String getMd5Hash()
      string md5_hash = 1 [json_name = "md5Hash"];
      com.google.protobuf.ByteString getMd5HashBytes()
      string md5_hash = 1 [json_name = "md5Hash"];
      java.lang.String getType()
      string type = 2 [json_name = "type"];
      com.google.protobuf.ByteString getTypeBytes()
      string type = 2 [json_name = "type"];
      static File.Builder newBuilder()  
      static File.Builder newBuilder​(File prototype)  
      static File parseDelimitedFrom​(java.io.InputStream input)  
      static File parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static File parseFrom​(byte[] data)  
      static File parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static File parseFrom​(com.google.protobuf.ByteString data)  
      static File parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static File parseFrom​(com.google.protobuf.CodedInputStream input)  
      static File parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static File parseFrom​(java.io.InputStream input)  
      static File parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static File parseFrom​(java.nio.ByteBuffer data)  
      static File parseFrom​(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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getMd5Hash

        public java.lang.String getMd5Hash()
        string md5_hash = 1 [json_name = "md5Hash"];
        Specified by:
        getMd5Hash in interface FileOrBuilder
        Returns:
        The md5Hash.
      • getMd5HashBytes

        public com.google.protobuf.ByteString getMd5HashBytes()
        string md5_hash = 1 [json_name = "md5Hash"];
        Specified by:
        getMd5HashBytes in interface FileOrBuilder
        Returns:
        The bytes for md5Hash.
      • getType

        public java.lang.String getType()
        string type = 2 [json_name = "type"];
        Specified by:
        getType in interface FileOrBuilder
        Returns:
        The type.
      • getTypeBytes

        public com.google.protobuf.ByteString getTypeBytes()
        string type = 2 [json_name = "type"];
        Specified by:
        getTypeBytes in interface FileOrBuilder
        Returns:
        The bytes for type.
      • getContentType

        public java.lang.String getContentType()
        string content_type = 3 [json_name = "contentType"];
        Specified by:
        getContentType in interface FileOrBuilder
        Returns:
        The contentType.
      • getContentTypeBytes

        public com.google.protobuf.ByteString getContentTypeBytes()
        string content_type = 3 [json_name = "contentType"];
        Specified by:
        getContentTypeBytes in interface FileOrBuilder
        Returns:
        The bytes for contentType.
      • getContentLength

        public int getContentLength()
        sint32 content_length = 4 [json_name = "contentLength"];
        Specified by:
        getContentLength in interface FileOrBuilder
        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
      • dynamicMethod

        protected final java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Specified by:
        dynamicMethod in class com.google.protobuf.GeneratedMessageLite<File,​File.Builder>
      • getDefaultInstance

        public static File getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<File> parser()