public static final class QueryAssetsResponse.Builder extends GeneratedMessageV3.Builder<QueryAssetsResponse.Builder> implements QueryAssetsResponseOrBuilder
QueryAssets response.Protobuf type
google.cloud.asset.v1.QueryAssetsResponse
Modifier and Type | Method and Description |
---|---|
QueryAssetsResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
QueryAssetsResponse |
build() |
QueryAssetsResponse |
buildPartial() |
QueryAssetsResponse.Builder |
clear() |
QueryAssetsResponse.Builder |
clearDone()
The query response, which can be either an `error` or a valid `response`.
|
QueryAssetsResponse.Builder |
clearError()
Error status.
|
QueryAssetsResponse.Builder |
clearField(Descriptors.FieldDescriptor field) |
QueryAssetsResponse.Builder |
clearJobReference()
Reference to a query job.
|
QueryAssetsResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
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.
|
QueryAssetsResponse.Builder |
clearQueryResult()
Result of the query.
|
QueryAssetsResponse.Builder |
clearResponse() |
QueryAssetsResponse.Builder |
clone() |
QueryAssetsResponse |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
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.Status.Builder |
getErrorBuilder()
Error status.
|
com.google.rpc.StatusOrBuilder |
getErrorOrBuilder()
Error status.
|
String |
getJobReference()
Reference to a query job.
|
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.
|
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.
|
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.
|
QueryResult.Builder |
getQueryResultBuilder()
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.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
QueryAssetsResponse.Builder |
mergeError(com.google.rpc.Status value)
Error status.
|
QueryAssetsResponse.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
QueryAssetsResponse.Builder |
mergeFrom(Message other) |
QueryAssetsResponse.Builder |
mergeFrom(QueryAssetsResponse other) |
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.
|
QueryAssetsResponse.Builder |
mergeQueryResult(QueryResult value)
Result of the query.
|
QueryAssetsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
QueryAssetsResponse.Builder |
setDone(boolean value)
The query response, which can be either an `error` or a valid `response`.
|
QueryAssetsResponse.Builder |
setError(com.google.rpc.Status.Builder builderForValue)
Error status.
|
QueryAssetsResponse.Builder |
setError(com.google.rpc.Status value)
Error status.
|
QueryAssetsResponse.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
QueryAssetsResponse.Builder |
setJobReference(String value)
Reference to a query job.
|
QueryAssetsResponse.Builder |
setJobReferenceBytes(ByteString value)
Reference to a query job.
|
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.
|
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.
|
QueryAssetsResponse.Builder |
setQueryResult(QueryResult.Builder builderForValue)
Result of the query.
|
QueryAssetsResponse.Builder |
setQueryResult(QueryResult value)
Result of the query.
|
QueryAssetsResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
QueryAssetsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<QueryAssetsResponse.Builder>
public QueryAssetsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<QueryAssetsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<QueryAssetsResponse.Builder>
public QueryAssetsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public QueryAssetsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public QueryAssetsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public QueryAssetsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<QueryAssetsResponse.Builder>
public QueryAssetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<QueryAssetsResponse.Builder>
public QueryAssetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<QueryAssetsResponse.Builder>
public QueryAssetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<QueryAssetsResponse.Builder>
public QueryAssetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<QueryAssetsResponse.Builder>
public QueryAssetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<QueryAssetsResponse.Builder>
public QueryAssetsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<QueryAssetsResponse.Builder>
public QueryAssetsResponse.Builder mergeFrom(QueryAssetsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<QueryAssetsResponse.Builder>
public QueryAssetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<QueryAssetsResponse.Builder>
IOException
public QueryAssetsResponse.ResponseCase getResponseCase()
getResponseCase
in interface QueryAssetsResponseOrBuilder
public QueryAssetsResponse.Builder clearResponse()
public String getJobReference()
Reference to a query job.
string job_reference = 1;
getJobReference
in interface QueryAssetsResponseOrBuilder
public ByteString getJobReferenceBytes()
Reference to a query job.
string job_reference = 1;
getJobReferenceBytes
in interface QueryAssetsResponseOrBuilder
public QueryAssetsResponse.Builder setJobReference(String value)
Reference to a query job.
string job_reference = 1;
value
- The jobReference to set.public QueryAssetsResponse.Builder clearJobReference()
Reference to a query job.
string job_reference = 1;
public QueryAssetsResponse.Builder setJobReferenceBytes(ByteString value)
Reference to a query job.
string job_reference = 1;
value
- The bytes for jobReference to set.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;
getDone
in interface QueryAssetsResponseOrBuilder
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;
value
- The done to set.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;
public boolean hasError()
Error status.
.google.rpc.Status error = 3;
hasError
in interface QueryAssetsResponseOrBuilder
public com.google.rpc.Status getError()
Error status.
.google.rpc.Status error = 3;
getError
in interface QueryAssetsResponseOrBuilder
public QueryAssetsResponse.Builder setError(com.google.rpc.Status value)
Error status.
.google.rpc.Status error = 3;
public QueryAssetsResponse.Builder setError(com.google.rpc.Status.Builder builderForValue)
Error status.
.google.rpc.Status error = 3;
public QueryAssetsResponse.Builder mergeError(com.google.rpc.Status value)
Error status.
.google.rpc.Status error = 3;
public QueryAssetsResponse.Builder clearError()
Error status.
.google.rpc.Status error = 3;
public com.google.rpc.Status.Builder getErrorBuilder()
Error status.
.google.rpc.Status error = 3;
public com.google.rpc.StatusOrBuilder getErrorOrBuilder()
Error status.
.google.rpc.Status error = 3;
getErrorOrBuilder
in interface QueryAssetsResponseOrBuilder
public boolean hasQueryResult()
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
hasQueryResult
in interface QueryAssetsResponseOrBuilder
public QueryResult getQueryResult()
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
getQueryResult
in interface QueryAssetsResponseOrBuilder
public QueryAssetsResponse.Builder setQueryResult(QueryResult value)
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
public QueryAssetsResponse.Builder setQueryResult(QueryResult.Builder builderForValue)
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
public QueryAssetsResponse.Builder mergeQueryResult(QueryResult value)
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
public QueryAssetsResponse.Builder clearQueryResult()
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
public QueryResult.Builder getQueryResultBuilder()
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
public QueryResultOrBuilder getQueryResultOrBuilder()
Result of the query.
.google.cloud.asset.v1.QueryResult query_result = 4;
getQueryResultOrBuilder
in interface QueryAssetsResponseOrBuilder
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;
hasOutputConfig
in interface QueryAssetsResponseOrBuilder
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;
getOutputConfig
in interface QueryAssetsResponseOrBuilder
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;
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;
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;
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;
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;
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;
getOutputConfigOrBuilder
in interface QueryAssetsResponseOrBuilder
public final QueryAssetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<QueryAssetsResponse.Builder>
public final QueryAssetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<QueryAssetsResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.