Package com.google.cloud.asset.v1
Interface QueryAssetsResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QueryAssetsResponse,QueryAssetsResponse.Builder
@Generated
public interface QueryAssetsResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetDone()The query response, which can be either an `error` or a valid `response`.getError()Error status.Error status.Reference to a query job.com.google.protobuf.ByteStringReference to a query job.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.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.Result of the query.Result of the query.booleanhasError()Error status.booleanOutput 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.booleanResult of the query.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getJobReference
String getJobReference()Reference to a query job.
string job_reference = 1;- Returns:
- The jobReference.
-
getJobReferenceBytes
com.google.protobuf.ByteString getJobReferenceBytes()Reference to a query job.
string job_reference = 1;- Returns:
- The bytes for jobReference.
-
getDone
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:
- The done.
-
hasError
boolean hasError()Error status.
.google.rpc.Status error = 3;- Returns:
- Whether the error field is set.
-
getError
Status getError()Error status.
.google.rpc.Status error = 3;- Returns:
- The error.
-
getErrorOrBuilder
StatusOrBuilder getErrorOrBuilder()Error status.
.google.rpc.Status error = 3; -
hasQueryResult
boolean hasQueryResult()Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;- Returns:
- Whether the queryResult field is set.
-
getQueryResult
QueryResult getQueryResult()Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;- Returns:
- The queryResult.
-
getQueryResultOrBuilder
QueryResultOrBuilder getQueryResultOrBuilder()Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4; -
hasOutputConfig
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:
- Whether the outputConfig field is set.
-
getOutputConfig
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:
- The outputConfig.
-
getOutputConfigOrBuilder
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; -
getResponseCase
QueryAssetsResponse.ResponseCase getResponseCase()
-