Class StreamUploadProgressResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.connector.intake.v1.StreamUploadProgressResponse
All Implemented Interfaces:
StreamUploadProgressResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class StreamUploadProgressResponse extends com.google.protobuf.GeneratedMessage implements StreamUploadProgressResponseOrBuilder
 Streaming response with real-time upload progress updates
 
Protobuf type ai.pipestream.connector.intake.v1.StreamUploadProgressResponse
See Also:
  • Field Details

    • FILE_ID_FIELD_NUMBER

      public static final int FILE_ID_FIELD_NUMBER
      See Also:
    • CHUNKS_RECEIVED_FIELD_NUMBER

      public static final int CHUNKS_RECEIVED_FIELD_NUMBER
      See Also:
    • TOTAL_CHUNKS_FIELD_NUMBER

      public static final int TOTAL_CHUNKS_FIELD_NUMBER
      See Also:
    • CHUNKS_UPLOADED_TO_S3_FIELD_NUMBER

      public static final int CHUNKS_UPLOADED_TO_S3_FIELD_NUMBER
      See Also:
    • COMPLETE_FIELD_NUMBER

      public static final int COMPLETE_FIELD_NUMBER
      See Also:
    • RESULT_FIELD_NUMBER

      public static final int RESULT_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getFileId

      public String getFileId()
       File identifier
       
      string file_id = 1 [json_name = "fileId"];
      Specified by:
      getFileId in interface StreamUploadProgressResponseOrBuilder
      Returns:
      The fileId.
    • getFileIdBytes

      public com.google.protobuf.ByteString getFileIdBytes()
       File identifier
       
      string file_id = 1 [json_name = "fileId"];
      Specified by:
      getFileIdBytes in interface StreamUploadProgressResponseOrBuilder
      Returns:
      The bytes for fileId.
    • getChunksReceived

      public int getChunksReceived()
       Number of chunks received so far
       
      int32 chunks_received = 2 [json_name = "chunksReceived"];
      Specified by:
      getChunksReceived in interface StreamUploadProgressResponseOrBuilder
      Returns:
      The chunksReceived.
    • getTotalChunks

      public int getTotalChunks()
       Total number of chunks expected (0 if unknown)
       
      int32 total_chunks = 3 [json_name = "totalChunks"];
      Specified by:
      getTotalChunks in interface StreamUploadProgressResponseOrBuilder
      Returns:
      The totalChunks.
    • getChunksUploadedToS3

      public int getChunksUploadedToS3()
       Number of chunks successfully uploaded to S3
       
      int32 chunks_uploaded_to_s3 = 4 [json_name = "chunksUploadedToS3"];
      Specified by:
      getChunksUploadedToS3 in interface StreamUploadProgressResponseOrBuilder
      Returns:
      The chunksUploadedToS3.
    • getComplete

      public boolean getComplete()
       Whether the upload is complete (final message in stream)
       
      bool complete = 5 [json_name = "complete"];
      Specified by:
      getComplete in interface StreamUploadProgressResponseOrBuilder
      Returns:
      The complete.
    • hasResult

      public boolean hasResult()
       Final result (only populated when complete=true)
       
      .ai.pipestream.connector.intake.v1.UploadResult result = 6 [json_name = "result"];
      Specified by:
      hasResult in interface StreamUploadProgressResponseOrBuilder
      Returns:
      Whether the result field is set.
    • getResult

      public UploadResult getResult()
       Final result (only populated when complete=true)
       
      .ai.pipestream.connector.intake.v1.UploadResult result = 6 [json_name = "result"];
      Specified by:
      getResult in interface StreamUploadProgressResponseOrBuilder
      Returns:
      The result.
    • getResultOrBuilder

      public UploadResultOrBuilder getResultOrBuilder()
       Final result (only populated when complete=true)
       
      .ai.pipestream.connector.intake.v1.UploadResult result = 6 [json_name = "result"];
      Specified by:
      getResultOrBuilder in interface StreamUploadProgressResponseOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static StreamUploadProgressResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StreamUploadProgressResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StreamUploadProgressResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StreamUploadProgressResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StreamUploadProgressResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StreamUploadProgressResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StreamUploadProgressResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StreamUploadProgressResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StreamUploadProgressResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StreamUploadProgressResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StreamUploadProgressResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StreamUploadProgressResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public StreamUploadProgressResponse.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static StreamUploadProgressResponse.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected StreamUploadProgressResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static StreamUploadProgressResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<StreamUploadProgressResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<StreamUploadProgressResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public StreamUploadProgressResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder