- 3.55.0 (latest)
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.2-SNAPSHOT
- 3.6.0
- 3.4.1
- 3.3.1
- 3.2.17
public static final class QueryAssetsResponse.Builder extends GeneratedMessageV3.Builder<QueryAssetsResponse.Builder> implements QueryAssetsResponseOrBuilder
QueryAssets response.
Protobuf type google.cloud.asset.v1.QueryAssetsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > QueryAssetsResponse.BuilderImplements
QueryAssetsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueryAssetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
QueryAssetsResponse.Builder |
build()
public QueryAssetsResponse build()
Type | Description |
QueryAssetsResponse |
buildPartial()
public QueryAssetsResponse buildPartial()
Type | Description |
QueryAssetsResponse |
clear()
public QueryAssetsResponse.Builder clear()
Type | Description |
QueryAssetsResponse.Builder |
clearDone()
public QueryAssetsResponse.Builder clearDone()
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;
Type | Description |
QueryAssetsResponse.Builder | This builder for chaining. |
clearError()
public QueryAssetsResponse.Builder clearError()
Error status.
.google.rpc.Status error = 3;
Type | Description |
QueryAssetsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public QueryAssetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
QueryAssetsResponse.Builder |
clearJobReference()
public QueryAssetsResponse.Builder clearJobReference()
Reference to a query job.
string job_reference = 1;
Type | Description |
QueryAssetsResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryAssetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
QueryAssetsResponse.Builder |
clearOutputConfig()
public QueryAssetsResponse.Builder clearOutputConfig()
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;
Type | Description |
QueryAssetsResponse.Builder |
clearQueryResult()
public QueryAssetsResponse.Builder clearQueryResult()
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
Type | Description |
QueryAssetsResponse.Builder |
clearResponse()
public QueryAssetsResponse.Builder clearResponse()
Type | Description |
QueryAssetsResponse.Builder |
clone()
public QueryAssetsResponse.Builder clone()
Type | Description |
QueryAssetsResponse.Builder |
getDefaultInstanceForType()
public QueryAssetsResponse getDefaultInstanceForType()
Type | Description |
QueryAssetsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDone()
public 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;
Type | Description |
boolean | The done. |
getError()
public Status getError()
Error status.
.google.rpc.Status error = 3;
Type | Description |
com.google.rpc.Status | The error. |
getErrorBuilder()
public Status.Builder getErrorBuilder()
Error status.
.google.rpc.Status error = 3;
Type | Description |
com.google.rpc.Status.Builder |
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()
Error status.
.google.rpc.Status error = 3;
Type | Description |
com.google.rpc.StatusOrBuilder |
getJobReference()
public String getJobReference()
Reference to a query job.
string job_reference = 1;
Type | Description |
String | The jobReference. |
getJobReferenceBytes()
public ByteString getJobReferenceBytes()
Reference to a query job.
string job_reference = 1;
Type | Description |
ByteString | The bytes for jobReference. |
getOutputConfig()
public 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;
Type | Description |
QueryAssetsOutputConfig | The outputConfig. |
getOutputConfigBuilder()
public QueryAssetsOutputConfig.Builder getOutputConfigBuilder()
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;
Type | Description |
QueryAssetsOutputConfig.Builder |
getOutputConfigOrBuilder()
public 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;
Type | Description |
QueryAssetsOutputConfigOrBuilder |
getQueryResult()
public QueryResult getQueryResult()
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
Type | Description |
QueryResult | The queryResult. |
getQueryResultBuilder()
public QueryResult.Builder getQueryResultBuilder()
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
Type | Description |
QueryResult.Builder |
getQueryResultOrBuilder()
public QueryResultOrBuilder getQueryResultOrBuilder()
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
Type | Description |
QueryResultOrBuilder |
getResponseCase()
public QueryAssetsResponse.ResponseCase getResponseCase()
Type | Description |
QueryAssetsResponse.ResponseCase |
hasError()
public boolean hasError()
Error status.
.google.rpc.Status error = 3;
Type | Description |
boolean | Whether the error field is set. |
hasOutputConfig()
public 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;
Type | Description |
boolean | Whether the outputConfig field is set. |
hasQueryResult()
public boolean hasQueryResult()
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
Type | Description |
boolean | Whether the queryResult field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeError(Status value)
public QueryAssetsResponse.Builder mergeError(Status value)
Error status.
.google.rpc.Status error = 3;
Name | Description |
value | com.google.rpc.Status |
Type | Description |
QueryAssetsResponse.Builder |
mergeFrom(QueryAssetsResponse other)
public QueryAssetsResponse.Builder mergeFrom(QueryAssetsResponse other)
Name | Description |
other | QueryAssetsResponse |
Type | Description |
QueryAssetsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QueryAssetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
QueryAssetsResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public QueryAssetsResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
QueryAssetsResponse.Builder |
mergeOutputConfig(QueryAssetsOutputConfig value)
public QueryAssetsResponse.Builder mergeOutputConfig(QueryAssetsOutputConfig value)
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;
Name | Description |
value | QueryAssetsOutputConfig |
Type | Description |
QueryAssetsResponse.Builder |
mergeQueryResult(QueryResult value)
public QueryAssetsResponse.Builder mergeQueryResult(QueryResult value)
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
Name | Description |
value | QueryResult |
Type | Description |
QueryAssetsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryAssetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
QueryAssetsResponse.Builder |
setDone(boolean value)
public QueryAssetsResponse.Builder setDone(boolean value)
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;
Name | Description |
value | boolean The done to set. |
Type | Description |
QueryAssetsResponse.Builder | This builder for chaining. |
setError(Status value)
public QueryAssetsResponse.Builder setError(Status value)
Error status.
.google.rpc.Status error = 3;
Name | Description |
value | com.google.rpc.Status |
Type | Description |
QueryAssetsResponse.Builder |
setError(Status.Builder builderForValue)
public QueryAssetsResponse.Builder setError(Status.Builder builderForValue)
Error status.
.google.rpc.Status error = 3;
Name | Description |
builderForValue | com.google.rpc.Status.Builder |
Type | Description |
QueryAssetsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public QueryAssetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
QueryAssetsResponse.Builder |
setJobReference(String value)
public QueryAssetsResponse.Builder setJobReference(String value)
Reference to a query job.
string job_reference = 1;
Name | Description |
value | String The jobReference to set. |
Type | Description |
QueryAssetsResponse.Builder | This builder for chaining. |
setJobReferenceBytes(ByteString value)
public QueryAssetsResponse.Builder setJobReferenceBytes(ByteString value)
Reference to a query job.
string job_reference = 1;
Name | Description |
value | ByteString The bytes for jobReference to set. |
Type | Description |
QueryAssetsResponse.Builder | This builder for chaining. |
setOutputConfig(QueryAssetsOutputConfig value)
public QueryAssetsResponse.Builder setOutputConfig(QueryAssetsOutputConfig value)
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;
Name | Description |
value | QueryAssetsOutputConfig |
Type | Description |
QueryAssetsResponse.Builder |
setOutputConfig(QueryAssetsOutputConfig.Builder builderForValue)
public QueryAssetsResponse.Builder setOutputConfig(QueryAssetsOutputConfig.Builder builderForValue)
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;
Name | Description |
builderForValue | QueryAssetsOutputConfig.Builder |
Type | Description |
QueryAssetsResponse.Builder |
setQueryResult(QueryResult value)
public QueryAssetsResponse.Builder setQueryResult(QueryResult value)
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
Name | Description |
value | QueryResult |
Type | Description |
QueryAssetsResponse.Builder |
setQueryResult(QueryResult.Builder builderForValue)
public QueryAssetsResponse.Builder setQueryResult(QueryResult.Builder builderForValue)
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
Name | Description |
builderForValue | QueryResult.Builder |
Type | Description |
QueryAssetsResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryAssetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
QueryAssetsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryAssetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
QueryAssetsResponse.Builder |