Interface QueryAssetsResponseOrBuilder (3.7.1)

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 a output, the output_config field will be set. If done

true, exactly one of error, query_result or output_config will be set.

bool done = 2;

Returns
TypeDescription
boolean

The done.

getError()

public abstract Status getError()

Error status.

.google.rpc.Status error = 3;

Returns
TypeDescription
com.google.rpc.Status

The error.

getErrorOrBuilder()

public abstract StatusOrBuilder getErrorOrBuilder()

Error status.

.google.rpc.Status error = 3;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getJobReference()

public abstract String getJobReference()

Reference to a query job.

string job_reference = 1;

Returns
TypeDescription
String

The jobReference.

getJobReferenceBytes()

public abstract ByteString getJobReferenceBytes()

Reference to a query job.

string job_reference = 1;

Returns
TypeDescription
ByteString

The bytes for jobReference.

getOutputConfig()

public abstract QueryAssetsOutputConfig getOutputConfig()

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

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

Returns
TypeDescription
QueryAssetsOutputConfig

The outputConfig.

getOutputConfigOrBuilder()

public abstract QueryAssetsOutputConfigOrBuilder getOutputConfigOrBuilder()

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

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

Returns
TypeDescription
QueryAssetsOutputConfigOrBuilder

getQueryResult()

public abstract QueryResult getQueryResult()

Result of the query.

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

Returns
TypeDescription
QueryResult

The queryResult.

getQueryResultOrBuilder()

public abstract QueryResultOrBuilder getQueryResultOrBuilder()

Result of the query.

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

Returns
TypeDescription
QueryResultOrBuilder

getResponseCase()

public abstract QueryAssetsResponse.ResponseCase getResponseCase()
Returns
TypeDescription
QueryAssetsResponse.ResponseCase

hasError()

public abstract boolean hasError()

Error status.

.google.rpc.Status error = 3;

Returns
TypeDescription
boolean

Whether the error field is set.

hasOutputConfig()

public abstract boolean hasOutputConfig()

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

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the queryResult field is set.