// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: build/bazel/remote/asset/v1/remote_asset.proto
// Protobuf Java Version: 3.25.3
package build.bazel.remote.asset.v1;
public interface FetchDirectoryRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:build.bazel.remote.asset.v1.FetchDirectoryRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* The instance of the execution system to operate against. A server may
* support multiple instances of the execution system (with their own workers,
* storage, caches, etc.). The server MAY require use of this field to select
* between them in an implementation-defined fashion, otherwise it can be
* omitted.
*
*
* string instance_name = 1;
* @return The instanceName.
*/
java.lang.String getInstanceName();
/**
*
* The instance of the execution system to operate against. A server may
* support multiple instances of the execution system (with their own workers,
* storage, caches, etc.). The server MAY require use of this field to select
* between them in an implementation-defined fashion, otherwise it can be
* omitted.
*
*
* string instance_name = 1;
* @return The bytes for instanceName.
*/
com.google.protobuf.ByteString
getInstanceNameBytes();
/**
*
* The timeout for the underlying fetch, if content needs to be retrieved from
* origin. This value is allowed to exceed the RPC deadline, in which case the
* server *SHOULD* keep the fetch going after the RPC completes, to be made
* available for future Fetch calls.
*
* If this timeout is exceeded on an attempt to retrieve content from origin
* the client will receive DEADLINE_EXCEEDED in [FetchDirectoryResponse.status].
*
*
* .google.protobuf.Duration timeout = 2;
* @return Whether the timeout field is set.
*/
boolean hasTimeout();
/**
*
* The timeout for the underlying fetch, if content needs to be retrieved from
* origin. This value is allowed to exceed the RPC deadline, in which case the
* server *SHOULD* keep the fetch going after the RPC completes, to be made
* available for future Fetch calls.
*
* If this timeout is exceeded on an attempt to retrieve content from origin
* the client will receive DEADLINE_EXCEEDED in [FetchDirectoryResponse.status].
*
*
* .google.protobuf.Duration timeout = 2;
* @return The timeout.
*/
com.google.protobuf.Duration getTimeout();
/**
*
* The timeout for the underlying fetch, if content needs to be retrieved from
* origin. This value is allowed to exceed the RPC deadline, in which case the
* server *SHOULD* keep the fetch going after the RPC completes, to be made
* available for future Fetch calls.
*
* If this timeout is exceeded on an attempt to retrieve content from origin
* the client will receive DEADLINE_EXCEEDED in [FetchDirectoryResponse.status].
*
*
* .google.protobuf.Duration timeout = 2;
*/
com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder();
/**
*
* The oldest content the client is willing to accept, as measured from the
* time it was Push'd or when the underlying retrieval from origin was
* started.
* Upon retries of Fetch requests that cannot be completed within a single
* RPC, clients *SHOULD* provide the same value for subsequent requests as the
* original, to simplify combining the request with the previous attempt.
*
* If unset, the client *SHOULD* accept content of any age.
*
*
* .google.protobuf.Timestamp oldest_content_accepted = 3;
* @return Whether the oldestContentAccepted field is set.
*/
boolean hasOldestContentAccepted();
/**
*
* The oldest content the client is willing to accept, as measured from the
* time it was Push'd or when the underlying retrieval from origin was
* started.
* Upon retries of Fetch requests that cannot be completed within a single
* RPC, clients *SHOULD* provide the same value for subsequent requests as the
* original, to simplify combining the request with the previous attempt.
*
* If unset, the client *SHOULD* accept content of any age.
*
*
* .google.protobuf.Timestamp oldest_content_accepted = 3;
* @return The oldestContentAccepted.
*/
com.google.protobuf.Timestamp getOldestContentAccepted();
/**
*
* The oldest content the client is willing to accept, as measured from the
* time it was Push'd or when the underlying retrieval from origin was
* started.
* Upon retries of Fetch requests that cannot be completed within a single
* RPC, clients *SHOULD* provide the same value for subsequent requests as the
* original, to simplify combining the request with the previous attempt.
*
* If unset, the client *SHOULD* accept content of any age.
*
*
* .google.protobuf.Timestamp oldest_content_accepted = 3;
*/
com.google.protobuf.TimestampOrBuilder getOldestContentAcceptedOrBuilder();
/**
*
* The URI(s) of the content to fetch. These may be resources that the server
* can directly fetch from origin, in which case multiple URIs *SHOULD*
* represent the same content available at different locations (such as an
* origin and secondary mirrors). These may also be URIs for content known to
* the server through other mechanisms, e.g. pushed via the [Push][build.bazel.remote.asset.v1.Push]
* service.
*
* Clients *MUST* supply at least one URI. Servers *MAY* match any one of the
* supplied URIs.
*
*
* repeated string uris = 4;
* @return A list containing the uris.
*/
java.util.List
getUrisList();
/**
*
* The URI(s) of the content to fetch. These may be resources that the server
* can directly fetch from origin, in which case multiple URIs *SHOULD*
* represent the same content available at different locations (such as an
* origin and secondary mirrors). These may also be URIs for content known to
* the server through other mechanisms, e.g. pushed via the [Push][build.bazel.remote.asset.v1.Push]
* service.
*
* Clients *MUST* supply at least one URI. Servers *MAY* match any one of the
* supplied URIs.
*
*
* repeated string uris = 4;
* @return The count of uris.
*/
int getUrisCount();
/**
*
* The URI(s) of the content to fetch. These may be resources that the server
* can directly fetch from origin, in which case multiple URIs *SHOULD*
* represent the same content available at different locations (such as an
* origin and secondary mirrors). These may also be URIs for content known to
* the server through other mechanisms, e.g. pushed via the [Push][build.bazel.remote.asset.v1.Push]
* service.
*
* Clients *MUST* supply at least one URI. Servers *MAY* match any one of the
* supplied URIs.
*
*
* repeated string uris = 4;
* @param index The index of the element to return.
* @return The uris at the given index.
*/
java.lang.String getUris(int index);
/**
*
* The URI(s) of the content to fetch. These may be resources that the server
* can directly fetch from origin, in which case multiple URIs *SHOULD*
* represent the same content available at different locations (such as an
* origin and secondary mirrors). These may also be URIs for content known to
* the server through other mechanisms, e.g. pushed via the [Push][build.bazel.remote.asset.v1.Push]
* service.
*
* Clients *MUST* supply at least one URI. Servers *MAY* match any one of the
* supplied URIs.
*
*
* repeated string uris = 4;
* @param index The index of the value to return.
* @return The bytes of the uris at the given index.
*/
com.google.protobuf.ByteString
getUrisBytes(int index);
/**
*
* Qualifiers sub-specifying the content to fetch - see comments on
* [Qualifier][build.bazel.remote.asset.v1.Qualifier].
* The same qualifiers apply to all URIs.
*
* Specified qualifier names *MUST* be unique.
*
*
* repeated .build.bazel.remote.asset.v1.Qualifier qualifiers = 5;
*/
java.util.List
getQualifiersList();
/**
*
* Qualifiers sub-specifying the content to fetch - see comments on
* [Qualifier][build.bazel.remote.asset.v1.Qualifier].
* The same qualifiers apply to all URIs.
*
* Specified qualifier names *MUST* be unique.
*
*
* repeated .build.bazel.remote.asset.v1.Qualifier qualifiers = 5;
*/
build.bazel.remote.asset.v1.Qualifier getQualifiers(int index);
/**
*
* Qualifiers sub-specifying the content to fetch - see comments on
* [Qualifier][build.bazel.remote.asset.v1.Qualifier].
* The same qualifiers apply to all URIs.
*
* Specified qualifier names *MUST* be unique.
*
*
* repeated .build.bazel.remote.asset.v1.Qualifier qualifiers = 5;
*/
int getQualifiersCount();
/**
*
* Qualifiers sub-specifying the content to fetch - see comments on
* [Qualifier][build.bazel.remote.asset.v1.Qualifier].
* The same qualifiers apply to all URIs.
*
* Specified qualifier names *MUST* be unique.
*
*
* repeated .build.bazel.remote.asset.v1.Qualifier qualifiers = 5;
*/
java.util.List extends build.bazel.remote.asset.v1.QualifierOrBuilder>
getQualifiersOrBuilderList();
/**
*
* Qualifiers sub-specifying the content to fetch - see comments on
* [Qualifier][build.bazel.remote.asset.v1.Qualifier].
* The same qualifiers apply to all URIs.
*
* Specified qualifier names *MUST* be unique.
*
*
* repeated .build.bazel.remote.asset.v1.Qualifier qualifiers = 5;
*/
build.bazel.remote.asset.v1.QualifierOrBuilder getQualifiersOrBuilder(
int index);
}