Interface DownloadResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DownloadResponse, DownloadResponse.Builder

public interface DownloadResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    bytes content = 1000;
    long
    optional uint64 contentLength = 2;
    optional string contentType = 1;
    com.google.protobuf.ByteString
    optional string contentType = 1;
    boolean
    optional uint64 contentLength = 2;
    boolean
    optional string contentType = 1;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasContentType

      boolean hasContentType()
      optional string contentType = 1;
      Returns:
      Whether the contentType field is set.
    • getContentType

      String getContentType()
      optional string contentType = 1;
      Returns:
      The contentType.
    • getContentTypeBytes

      com.google.protobuf.ByteString getContentTypeBytes()
      optional string contentType = 1;
      Returns:
      The bytes for contentType.
    • hasContentLength

      boolean hasContentLength()
      optional uint64 contentLength = 2;
      Returns:
      Whether the contentLength field is set.
    • getContentLength

      long getContentLength()
      optional uint64 contentLength = 2;
      Returns:
      The contentLength.
    • getContent

      com.google.protobuf.ByteString getContent()
      bytes content = 1000;
      Returns:
      The content.