Interface DownloadRequestOrBuilder

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

@Generated public interface DownloadRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getHeaders(int index)
    Optional HTTP headers to include in the request to the target server.
    int
    Optional HTTP headers to include in the request to the target server.
    Optional HTTP headers to include in the request to the target server.
    Optional HTTP headers to include in the request to the target server.
    Optional HTTP headers to include in the request to the target server.
    The UUID of the SoulFire instance to associate this download with.
    com.google.protobuf.ByteString
    The UUID of the SoulFire instance to associate this download with.
    Optional proxy configuration for the download request.
    Optional proxy configuration for the download request.
    The URI to download content from.
    com.google.protobuf.ByteString
    The URI to download content from.
    boolean
    Optional proxy configuration for the download request.

    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

    • getInstanceId

      String getInstanceId()
      The UUID of the SoulFire instance to associate this download with.
      Used for permission checking - the caller must have DOWNLOAD_URL permission
      for this instance. Must be a valid UUID string (e.g., "550e8400-e29b-41d4-a716-446655440000").
      
      string instance_id = 1;
      Returns:
      The instanceId.
    • getInstanceIdBytes

      com.google.protobuf.ByteString getInstanceIdBytes()
      The UUID of the SoulFire instance to associate this download with.
      Used for permission checking - the caller must have DOWNLOAD_URL permission
      for this instance. Must be a valid UUID string (e.g., "550e8400-e29b-41d4-a716-446655440000").
      
      string instance_id = 1;
      Returns:
      The bytes for instanceId.
    • getUri

      String getUri()
      The URI to download content from. Must be a valid, fully-formed URI
      (e.g., "https://example.com/resource.json"). The server will make an HTTP GET
      request to this URI.
      
      string uri = 2;
      Returns:
      The uri.
    • getUriBytes

      com.google.protobuf.ByteString getUriBytes()
      The URI to download content from. Must be a valid, fully-formed URI
      (e.g., "https://example.com/resource.json"). The server will make an HTTP GET
      request to this URI.
      
      string uri = 2;
      Returns:
      The bytes for uri.
    • getHeadersList

      List<HeaderPair> getHeadersList()
      Optional HTTP headers to include in the request to the target server.
      These headers are added on top of the default headers set by the server
      (Accept, Accept-Language, User-Agent). Custom headers can override defaults.
      
      repeated .soulfire.v1.HeaderPair headers = 3;
    • getHeaders

      HeaderPair getHeaders(int index)
      Optional HTTP headers to include in the request to the target server.
      These headers are added on top of the default headers set by the server
      (Accept, Accept-Language, User-Agent). Custom headers can override defaults.
      
      repeated .soulfire.v1.HeaderPair headers = 3;
    • getHeadersCount

      int getHeadersCount()
      Optional HTTP headers to include in the request to the target server.
      These headers are added on top of the default headers set by the server
      (Accept, Accept-Language, User-Agent). Custom headers can override defaults.
      
      repeated .soulfire.v1.HeaderPair headers = 3;
    • getHeadersOrBuilderList

      List<? extends HeaderPairOrBuilder> getHeadersOrBuilderList()
      Optional HTTP headers to include in the request to the target server.
      These headers are added on top of the default headers set by the server
      (Accept, Accept-Language, User-Agent). Custom headers can override defaults.
      
      repeated .soulfire.v1.HeaderPair headers = 3;
    • getHeadersOrBuilder

      HeaderPairOrBuilder getHeadersOrBuilder(int index)
      Optional HTTP headers to include in the request to the target server.
      These headers are added on top of the default headers set by the server
      (Accept, Accept-Language, User-Agent). Custom headers can override defaults.
      
      repeated .soulfire.v1.HeaderPair headers = 3;
    • hasProxy

      boolean hasProxy()
      Optional proxy configuration for the download request.
      If not provided, the request will be made directly from the server.
      Supports HTTP, SOCKS4, and SOCKS5 proxies with optional authentication.
      
      optional .soulfire.v1.ProxyProto proxy = 4;
      Returns:
      Whether the proxy field is set.
    • getProxy

      ProxyProto getProxy()
      Optional proxy configuration for the download request.
      If not provided, the request will be made directly from the server.
      Supports HTTP, SOCKS4, and SOCKS5 proxies with optional authentication.
      
      optional .soulfire.v1.ProxyProto proxy = 4;
      Returns:
      The proxy.
    • getProxyOrBuilder

      ProxyProtoOrBuilder getProxyOrBuilder()
      Optional proxy configuration for the download request.
      If not provided, the request will be made directly from the server.
      Supports HTTP, SOCKS4, and SOCKS5 proxies with optional authentication.
      
      optional .soulfire.v1.ProxyProto proxy = 4;