- 3.58.0 (latest)
- 3.57.0
- 3.56.0
- 3.55.0
- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueryAssetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |
build()
public QueryAssetsResponse build()
Returns | |
---|---|
Type | Description |
QueryAssetsResponse |
buildPartial()
public QueryAssetsResponse buildPartial()
Returns | |
---|---|
Type | Description |
QueryAssetsResponse |
clear()
public QueryAssetsResponse.Builder clear()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |
This builder for chaining. |
clearError()
public QueryAssetsResponse.Builder clearError()
Error status.
.google.rpc.Status error = 3;
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public QueryAssetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |
clearJobReference()
public QueryAssetsResponse.Builder clearJobReference()
Reference to a query job.
string job_reference = 1;
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryAssetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |
clearQueryResult()
public QueryAssetsResponse.Builder clearQueryResult()
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |
clearResponse()
public QueryAssetsResponse.Builder clearResponse()
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |
clone()
public QueryAssetsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |
getDefaultInstanceForType()
public QueryAssetsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
QueryAssetsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean |
The done. |
getError()
public Status getError()
Error status.
.google.rpc.Status error = 3;
Returns | |
---|---|
Type | Description |
com.google.rpc.Status |
The error. |
getErrorBuilder()
public Status.Builder getErrorBuilder()
Error status.
.google.rpc.Status error = 3;
Returns | |
---|---|
Type | Description |
com.google.rpc.Status.Builder |
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()
Error status.
.google.rpc.Status error = 3;
Returns | |
---|---|
Type | Description |
com.google.rpc.StatusOrBuilder |
getJobReference()
public String getJobReference()
Reference to a query job.
string job_reference = 1;
Returns | |
---|---|
Type | Description |
String |
The jobReference. |
getJobReferenceBytes()
public ByteString getJobReferenceBytes()
Reference to a query job.
string job_reference = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
QueryAssetsOutputConfigOrBuilder |
getQueryResult()
public QueryResult getQueryResult()
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
Returns | |
---|---|
Type | Description |
QueryResult |
The queryResult. |
getQueryResultBuilder()
public QueryResult.Builder getQueryResultBuilder()
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
Returns | |
---|---|
Type | Description |
QueryResult.Builder |
getQueryResultOrBuilder()
public QueryResultOrBuilder getQueryResultOrBuilder()
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
Returns | |
---|---|
Type | Description |
QueryResultOrBuilder |
getResponseCase()
public QueryAssetsResponse.ResponseCase getResponseCase()
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.ResponseCase |
hasError()
public boolean hasError()
Error status.
.google.rpc.Status error = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the queryResult field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeError(Status value)
public QueryAssetsResponse.Builder mergeError(Status value)
Error status.
.google.rpc.Status error = 3;
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |
mergeFrom(QueryAssetsResponse other)
public QueryAssetsResponse.Builder mergeFrom(QueryAssetsResponse other)
Parameter | |
---|---|
Name | Description |
other |
QueryAssetsResponse |
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QueryAssetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public QueryAssetsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
QueryAssetsOutputConfig |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
QueryResult |
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryAssetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
boolean The done to set. |
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |
This builder for chaining. |
setError(Status value)
public QueryAssetsResponse.Builder setError(Status value)
Error status.
.google.rpc.Status error = 3;
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |
setError(Status.Builder builderForValue)
public QueryAssetsResponse.Builder setError(Status.Builder builderForValue)
Error status.
.google.rpc.Status error = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public QueryAssetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |
setJobReference(String value)
public QueryAssetsResponse.Builder setJobReference(String value)
Reference to a query job.
string job_reference = 1;
Parameter | |
---|---|
Name | Description |
value |
String The jobReference to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for jobReference to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
QueryAssetsOutputConfig |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
QueryAssetsOutputConfig.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
QueryResult |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
QueryResult.Builder |
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryAssetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryAssetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
QueryAssetsResponse.Builder |