// 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 FetchDirectoryResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:build.bazel.remote.asset.v1.FetchDirectoryResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* If the status has a code other than `OK`, it indicates that the operation
* was unable to be completed for reasons outside the servers' control.
* The possible fetch errors include:
* * `DEADLINE_EXCEEDED`: The operation could not be completed within the
* specified timeout.
* * `NOT_FOUND`: The requested asset was not found at the specified location.
* * `PERMISSION_DENIED`: The request was rejected by a remote server, or
* requested an asset from a disallowed origin.
* * `ABORTED`: The operation could not be completed, typically due to a
* failed consistency check.
*
*
* .google.rpc.Status status = 1;
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
*
* If the status has a code other than `OK`, it indicates that the operation
* was unable to be completed for reasons outside the servers' control.
* The possible fetch errors include:
* * `DEADLINE_EXCEEDED`: The operation could not be completed within the
* specified timeout.
* * `NOT_FOUND`: The requested asset was not found at the specified location.
* * `PERMISSION_DENIED`: The request was rejected by a remote server, or
* requested an asset from a disallowed origin.
* * `ABORTED`: The operation could not be completed, typically due to a
* failed consistency check.
*
*
* .google.rpc.Status status = 1;
* @return The status.
*/
com.google.rpc.Status getStatus();
/**
*
* If the status has a code other than `OK`, it indicates that the operation
* was unable to be completed for reasons outside the servers' control.
* The possible fetch errors include:
* * `DEADLINE_EXCEEDED`: The operation could not be completed within the
* specified timeout.
* * `NOT_FOUND`: The requested asset was not found at the specified location.
* * `PERMISSION_DENIED`: The request was rejected by a remote server, or
* requested an asset from a disallowed origin.
* * `ABORTED`: The operation could not be completed, typically due to a
* failed consistency check.
*
*
* .google.rpc.Status status = 1;
*/
com.google.rpc.StatusOrBuilder getStatusOrBuilder();
/**
*
* The uri from the request that resulted in a successful retrieval, or from
* which the error indicated in `status` was obtained.
*
*
* string uri = 2;
* @return The uri.
*/
java.lang.String getUri();
/**
*
* The uri from the request that resulted in a successful retrieval, or from
* which the error indicated in `status` was obtained.
*
*
* string uri = 2;
* @return The bytes for uri.
*/
com.google.protobuf.ByteString
getUriBytes();
/**
*
* Any qualifiers known to the server and of interest to clients.
*
*
* repeated .build.bazel.remote.asset.v1.Qualifier qualifiers = 3;
*/
java.util.List
getQualifiersList();
/**
*
* Any qualifiers known to the server and of interest to clients.
*
*
* repeated .build.bazel.remote.asset.v1.Qualifier qualifiers = 3;
*/
build.bazel.remote.asset.v1.Qualifier getQualifiers(int index);
/**
*
* Any qualifiers known to the server and of interest to clients.
*
*
* repeated .build.bazel.remote.asset.v1.Qualifier qualifiers = 3;
*/
int getQualifiersCount();
/**
*
* Any qualifiers known to the server and of interest to clients.
*
*
* repeated .build.bazel.remote.asset.v1.Qualifier qualifiers = 3;
*/
java.util.List extends build.bazel.remote.asset.v1.QualifierOrBuilder>
getQualifiersOrBuilderList();
/**
*
* Any qualifiers known to the server and of interest to clients.
*
*
* repeated .build.bazel.remote.asset.v1.Qualifier qualifiers = 3;
*/
build.bazel.remote.asset.v1.QualifierOrBuilder getQualifiersOrBuilder(
int index);
/**
*
* A minimum timestamp the content is expected to be available through.
* Servers *MAY* omit this field, if not known with confidence.
*
*
* .google.protobuf.Timestamp expires_at = 4;
* @return Whether the expiresAt field is set.
*/
boolean hasExpiresAt();
/**
*
* A minimum timestamp the content is expected to be available through.
* Servers *MAY* omit this field, if not known with confidence.
*
*
* .google.protobuf.Timestamp expires_at = 4;
* @return The expiresAt.
*/
com.google.protobuf.Timestamp getExpiresAt();
/**
*
* A minimum timestamp the content is expected to be available through.
* Servers *MAY* omit this field, if not known with confidence.
*
*
* .google.protobuf.Timestamp expires_at = 4;
*/
com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder();
/**
*
* The result of the fetch, if the status had code `OK`.
* the root digest of a directory tree, suitable for fetching via
* [ContentAddressableStorage.GetTree].
*
*
* .build.bazel.remote.execution.v2.Digest root_directory_digest = 5;
* @return Whether the rootDirectoryDigest field is set.
*/
boolean hasRootDirectoryDigest();
/**
*
* The result of the fetch, if the status had code `OK`.
* the root digest of a directory tree, suitable for fetching via
* [ContentAddressableStorage.GetTree].
*
*
* .build.bazel.remote.execution.v2.Digest root_directory_digest = 5;
* @return The rootDirectoryDigest.
*/
build.bazel.remote.execution.v2.Digest getRootDirectoryDigest();
/**
*
* The result of the fetch, if the status had code `OK`.
* the root digest of a directory tree, suitable for fetching via
* [ContentAddressableStorage.GetTree].
*
*
* .build.bazel.remote.execution.v2.Digest root_directory_digest = 5;
*/
build.bazel.remote.execution.v2.DigestOrBuilder getRootDirectoryDigestOrBuilder();
}