public final class QueryAssetsResponse extends GeneratedMessageV3 implements QueryAssetsResponseOrBuilder
QueryAssets response.Protobuf type
google.cloud.asset.v1.QueryAssetsResponse
Modifier and Type | Class and Description |
---|---|
static class |
QueryAssetsResponse.Builder
QueryAssets response.
|
static class |
QueryAssetsResponse.ResponseCase |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
DONE_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
JOB_REFERENCE_FIELD_NUMBER |
static int |
OUTPUT_CONFIG_FIELD_NUMBER |
static int |
QUERY_RESULT_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int JOB_REFERENCE_FIELD_NUMBER
public static final int DONE_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public static final int QUERY_RESULT_FIELD_NUMBER
public static final int OUTPUT_CONFIG_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public QueryAssetsResponse.ResponseCase getResponseCase()
getResponseCase
in interface QueryAssetsResponseOrBuilder
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 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 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 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 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 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 boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static QueryAssetsResponse parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static QueryAssetsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static QueryAssetsResponse parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static QueryAssetsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static QueryAssetsResponse parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static QueryAssetsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static QueryAssetsResponse parseFrom(InputStream input) throws IOException
IOException
public static QueryAssetsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QueryAssetsResponse parseDelimitedFrom(InputStream input) throws IOException
IOException
public static QueryAssetsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QueryAssetsResponse parseFrom(CodedInputStream input) throws IOException
IOException
public static QueryAssetsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public QueryAssetsResponse.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static QueryAssetsResponse.Builder newBuilder()
public static QueryAssetsResponse.Builder newBuilder(QueryAssetsResponse prototype)
public QueryAssetsResponse.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected QueryAssetsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static QueryAssetsResponse getDefaultInstance()
public static Parser<QueryAssetsResponse> parser()
public Parser<QueryAssetsResponse> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public QueryAssetsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.