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
public interface QueryAssetsResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getDone()
The query response, which can be either an `error` or a valid `response`.com.google.rpc.Status
getError()
Error status.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
Error status.String
getJobReference()
Reference to a query job.com.google.protobuf.ByteString
getJobReferenceBytes()
Reference to a query job.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.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.QueryResult
getQueryResult()
Result of the query.QueryResultOrBuilder
getQueryResultOrBuilder()
Result of the query.QueryAssetsResponse.ResponseCase
getResponseCase()
boolean
hasError()
Error status.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.boolean
hasQueryResult()
Result of the query.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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 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:
- The done.
-
hasError
boolean hasError()
Error status.
.google.rpc.Status error = 3;
- Returns:
- Whether the error field is set.
-
getError
com.google.rpc.Status getError()
Error status.
.google.rpc.Status error = 3;
- Returns:
- The error.
-
getErrorOrBuilder
com.google.rpc.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 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:
- Whether the outputConfig field is set.
-
getOutputConfig
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:
- The outputConfig.
-
getOutputConfigOrBuilder
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;
-
getResponseCase
QueryAssetsResponse.ResponseCase getResponseCase()
-
-