Interface QueryAssetsResponseOrBuilder (3.59.0)

public interface QueryAssetsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDone()

public abstract boolean getDone()

The query response, which can be either an error or a valid response.

If done == false and the query result is being saved in an output, the output_config field will be set. If done == true, exactly one of error, query_result or output_config will be set. [done] is unset unless the [QueryAssetsResponse] contains a [QueryAssetsResponse.job_reference].

bool done = 2;

Returns
Type Description
boolean

The done.

getError()

public abstract Status getError()

Error status.

.google.rpc.Status error = 3;

Returns
Type Description
com.google.rpc.Status

The error.

getErrorOrBuilder()

public abstract StatusOrBuilder getErrorOrBuilder()

Error status.

.google.rpc.Status error = 3;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getJobReference()

public abstract String getJobReference()

Reference to a query job.

string job_reference = 1;

Returns
Type Description
String

The jobReference.

getJobReferenceBytes()

public abstract ByteString getJobReferenceBytes()

Reference to a query job.

string job_reference = 1;

Returns
Type Description
ByteString

The bytes for jobReference.

getOutputConfig()

public abstract QueryAssetsOutputConfig getOutputConfig()

Output configuration, which indicates that instead of being returned in an API response on the fly, the query result will be saved in a specific output.

.google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5;

Returns
Type Description
QueryAssetsOutputConfig

The outputConfig.

getOutputConfigOrBuilder()

public abstract QueryAssetsOutputConfigOrBuilder getOutputConfigOrBuilder()

Output configuration, which indicates that instead of being returned in an API response on the fly, the query result will be saved in a specific output.

.google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5;

Returns
Type Description
QueryAssetsOutputConfigOrBuilder

getQueryResult()

public abstract QueryResult getQueryResult()

Result of the query.

.google.cloud.asset.v1.QueryResult query_result = 4;

Returns
Type Description
QueryResult

The queryResult.

getQueryResultOrBuilder()

public abstract QueryResultOrBuilder getQueryResultOrBuilder()

Result of the query.

.google.cloud.asset.v1.QueryResult query_result = 4;

Returns
Type Description
QueryResultOrBuilder

getResponseCase()

public abstract QueryAssetsResponse.ResponseCase getResponseCase()
Returns
Type Description
QueryAssetsResponse.ResponseCase

hasError()

public abstract boolean hasError()

Error status.

.google.rpc.Status error = 3;

Returns
Type Description
boolean

Whether the error field is set.

hasOutputConfig()

public abstract boolean hasOutputConfig()

Output configuration, which indicates that instead of being returned in an API response on the fly, the query result will be saved in a specific output.

.google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5;

Returns
Type Description
boolean

Whether the outputConfig field is set.

hasQueryResult()

public abstract boolean hasQueryResult()

Result of the query.

.google.cloud.asset.v1.QueryResult query_result = 4;

Returns
Type Description
boolean

Whether the queryResult field is set.