Package com.google.cloud.asset.v1
Class QueryAssetsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
- com.google.cloud.asset.v1.QueryAssetsRequest.Builder
-
- All Implemented Interfaces:
QueryAssetsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- QueryAssetsRequest
public static final class QueryAssetsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder> implements QueryAssetsRequestOrBuilder
QueryAssets request.
Protobuf typegoogle.cloud.asset.v1.QueryAssetsRequest
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
clear
public QueryAssetsRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
getDefaultInstanceForType
public QueryAssetsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public QueryAssetsRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public QueryAssetsRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public QueryAssetsRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
setField
public QueryAssetsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
clearField
public QueryAssetsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
clearOneof
public QueryAssetsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
setRepeatedField
public QueryAssetsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
addRepeatedField
public QueryAssetsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
mergeFrom
public QueryAssetsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QueryAssetsRequest.Builder>
-
mergeFrom
public QueryAssetsRequest.Builder mergeFrom(QueryAssetsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
mergeFrom
public QueryAssetsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QueryAssetsRequest.Builder>- Throws:
IOException
-
getQueryCase
public QueryAssetsRequest.QueryCase getQueryCase()
- Specified by:
getQueryCasein interfaceQueryAssetsRequestOrBuilder
-
clearQuery
public QueryAssetsRequest.Builder clearQuery()
-
getTimeCase
public QueryAssetsRequest.TimeCase getTimeCase()
- Specified by:
getTimeCasein interfaceQueryAssetsRequestOrBuilder
-
clearTime
public QueryAssetsRequest.Builder clearTime()
-
getParent
public String getParent()
Required. The relative name of the root asset. This can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"), or a folder number (such as "folders/123"). Only assets belonging to the `parent` will be returned.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceQueryAssetsRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()
Required. The relative name of the root asset. This can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"), or a folder number (such as "folders/123"). Only assets belonging to the `parent` will be returned.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceQueryAssetsRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
public QueryAssetsRequest.Builder setParent(String value)
Required. The relative name of the root asset. This can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"), or a folder number (such as "folders/123"). Only assets belonging to the `parent` will be returned.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
public QueryAssetsRequest.Builder clearParent()
Required. The relative name of the root asset. This can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"), or a folder number (such as "folders/123"). Only assets belonging to the `parent` will be returned.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
public QueryAssetsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The relative name of the root asset. This can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"), or a folder number (such as "folders/123"). Only assets belonging to the `parent` will be returned.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
hasStatement
public boolean hasStatement()
Optional. A SQL statement that's compatible with [BigQuery Standard SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
string statement = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasStatementin interfaceQueryAssetsRequestOrBuilder- Returns:
- Whether the statement field is set.
-
getStatement
public String getStatement()
Optional. A SQL statement that's compatible with [BigQuery Standard SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
string statement = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStatementin interfaceQueryAssetsRequestOrBuilder- Returns:
- The statement.
-
getStatementBytes
public com.google.protobuf.ByteString getStatementBytes()
Optional. A SQL statement that's compatible with [BigQuery Standard SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
string statement = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStatementBytesin interfaceQueryAssetsRequestOrBuilder- Returns:
- The bytes for statement.
-
setStatement
public QueryAssetsRequest.Builder setStatement(String value)
Optional. A SQL statement that's compatible with [BigQuery Standard SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
string statement = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The statement to set.- Returns:
- This builder for chaining.
-
clearStatement
public QueryAssetsRequest.Builder clearStatement()
Optional. A SQL statement that's compatible with [BigQuery Standard SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
string statement = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setStatementBytes
public QueryAssetsRequest.Builder setStatementBytes(com.google.protobuf.ByteString value)
Optional. A SQL statement that's compatible with [BigQuery Standard SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
string statement = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for statement to set.- Returns:
- This builder for chaining.
-
hasJobReference
public boolean hasJobReference()
Optional. Reference to the query job, which is from the `QueryAssetsResponse` of previous `QueryAssets` call.
string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasJobReferencein interfaceQueryAssetsRequestOrBuilder- Returns:
- Whether the jobReference field is set.
-
getJobReference
public String getJobReference()
Optional. Reference to the query job, which is from the `QueryAssetsResponse` of previous `QueryAssets` call.
string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getJobReferencein interfaceQueryAssetsRequestOrBuilder- Returns:
- The jobReference.
-
getJobReferenceBytes
public com.google.protobuf.ByteString getJobReferenceBytes()
Optional. Reference to the query job, which is from the `QueryAssetsResponse` of previous `QueryAssets` call.
string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getJobReferenceBytesin interfaceQueryAssetsRequestOrBuilder- Returns:
- The bytes for jobReference.
-
setJobReference
public QueryAssetsRequest.Builder setJobReference(String value)
Optional. Reference to the query job, which is from the `QueryAssetsResponse` of previous `QueryAssets` call.
string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The jobReference to set.- Returns:
- This builder for chaining.
-
clearJobReference
public QueryAssetsRequest.Builder clearJobReference()
Optional. Reference to the query job, which is from the `QueryAssetsResponse` of previous `QueryAssets` call.
string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setJobReferenceBytes
public QueryAssetsRequest.Builder setJobReferenceBytes(com.google.protobuf.ByteString value)
Optional. Reference to the query job, which is from the `QueryAssetsResponse` of previous `QueryAssets` call.
string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for jobReference to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()
Optional. The maximum number of rows to return in the results. Responses are limited to 10 MB and 1000 rows. By default, the maximum row count is 1000. When the byte or row count limit is reached, the rest of the query results will be paginated. The field will be ignored when [output_config] is specified.
int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPageSizein interfaceQueryAssetsRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
public QueryAssetsRequest.Builder setPageSize(int value)
Optional. The maximum number of rows to return in the results. Responses are limited to 10 MB and 1000 rows. By default, the maximum row count is 1000. When the byte or row count limit is reached, the rest of the query results will be paginated. The field will be ignored when [output_config] is specified.
int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
public QueryAssetsRequest.Builder clearPageSize()
Optional. The maximum number of rows to return in the results. Responses are limited to 10 MB and 1000 rows. By default, the maximum row count is 1000. When the byte or row count limit is reached, the rest of the query results will be paginated. The field will be ignored when [output_config] is specified.
int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getPageToken
public String getPageToken()
Optional. A page token received from previous `QueryAssets`. The field will be ignored when [output_config] is specified.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPageTokenin interfaceQueryAssetsRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()
Optional. A page token received from previous `QueryAssets`. The field will be ignored when [output_config] is specified.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPageTokenBytesin interfaceQueryAssetsRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
public QueryAssetsRequest.Builder setPageToken(String value)
Optional. A page token received from previous `QueryAssets`. The field will be ignored when [output_config] is specified.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
public QueryAssetsRequest.Builder clearPageToken()
Optional. A page token received from previous `QueryAssets`. The field will be ignored when [output_config] is specified.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setPageTokenBytes
public QueryAssetsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
Optional. A page token received from previous `QueryAssets`. The field will be ignored when [output_config] is specified.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
hasTimeout
public boolean hasTimeout()
Optional. Specifies the maximum amount of time that the client is willing to wait for the query to complete. By default, this limit is 5 min for the first query, and 1 minute for the following queries. If the query is complete, the `done` field in the `QueryAssetsResponse` is true, otherwise false. Like BigQuery [jobs.query API](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#queryrequest) The call is not guaranteed to wait for the specified timeout; it typically returns after around 200 seconds (200,000 milliseconds), even if the query is not complete. The field will be ignored when [output_config] is specified.
.google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasTimeoutin interfaceQueryAssetsRequestOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
public com.google.protobuf.Duration getTimeout()
Optional. Specifies the maximum amount of time that the client is willing to wait for the query to complete. By default, this limit is 5 min for the first query, and 1 minute for the following queries. If the query is complete, the `done` field in the `QueryAssetsResponse` is true, otherwise false. Like BigQuery [jobs.query API](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#queryrequest) The call is not guaranteed to wait for the specified timeout; it typically returns after around 200 seconds (200,000 milliseconds), even if the query is not complete. The field will be ignored when [output_config] is specified.
.google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTimeoutin interfaceQueryAssetsRequestOrBuilder- Returns:
- The timeout.
-
setTimeout
public QueryAssetsRequest.Builder setTimeout(com.google.protobuf.Duration value)
Optional. Specifies the maximum amount of time that the client is willing to wait for the query to complete. By default, this limit is 5 min for the first query, and 1 minute for the following queries. If the query is complete, the `done` field in the `QueryAssetsResponse` is true, otherwise false. Like BigQuery [jobs.query API](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#queryrequest) The call is not guaranteed to wait for the specified timeout; it typically returns after around 200 seconds (200,000 milliseconds), even if the query is not complete. The field will be ignored when [output_config] is specified.
.google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL];
-
setTimeout
public QueryAssetsRequest.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
Optional. Specifies the maximum amount of time that the client is willing to wait for the query to complete. By default, this limit is 5 min for the first query, and 1 minute for the following queries. If the query is complete, the `done` field in the `QueryAssetsResponse` is true, otherwise false. Like BigQuery [jobs.query API](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#queryrequest) The call is not guaranteed to wait for the specified timeout; it typically returns after around 200 seconds (200,000 milliseconds), even if the query is not complete. The field will be ignored when [output_config] is specified.
.google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL];
-
mergeTimeout
public QueryAssetsRequest.Builder mergeTimeout(com.google.protobuf.Duration value)
Optional. Specifies the maximum amount of time that the client is willing to wait for the query to complete. By default, this limit is 5 min for the first query, and 1 minute for the following queries. If the query is complete, the `done` field in the `QueryAssetsResponse` is true, otherwise false. Like BigQuery [jobs.query API](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#queryrequest) The call is not guaranteed to wait for the specified timeout; it typically returns after around 200 seconds (200,000 milliseconds), even if the query is not complete. The field will be ignored when [output_config] is specified.
.google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL];
-
clearTimeout
public QueryAssetsRequest.Builder clearTimeout()
Optional. Specifies the maximum amount of time that the client is willing to wait for the query to complete. By default, this limit is 5 min for the first query, and 1 minute for the following queries. If the query is complete, the `done` field in the `QueryAssetsResponse` is true, otherwise false. Like BigQuery [jobs.query API](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#queryrequest) The call is not guaranteed to wait for the specified timeout; it typically returns after around 200 seconds (200,000 milliseconds), even if the query is not complete. The field will be ignored when [output_config] is specified.
.google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getTimeoutBuilder
public com.google.protobuf.Duration.Builder getTimeoutBuilder()
Optional. Specifies the maximum amount of time that the client is willing to wait for the query to complete. By default, this limit is 5 min for the first query, and 1 minute for the following queries. If the query is complete, the `done` field in the `QueryAssetsResponse` is true, otherwise false. Like BigQuery [jobs.query API](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#queryrequest) The call is not guaranteed to wait for the specified timeout; it typically returns after around 200 seconds (200,000 milliseconds), even if the query is not complete. The field will be ignored when [output_config] is specified.
.google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
Optional. Specifies the maximum amount of time that the client is willing to wait for the query to complete. By default, this limit is 5 min for the first query, and 1 minute for the following queries. If the query is complete, the `done` field in the `QueryAssetsResponse` is true, otherwise false. Like BigQuery [jobs.query API](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#queryrequest) The call is not guaranteed to wait for the specified timeout; it typically returns after around 200 seconds (200,000 milliseconds), even if the query is not complete. The field will be ignored when [output_config] is specified.
.google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTimeoutOrBuilderin interfaceQueryAssetsRequestOrBuilder
-
hasReadTimeWindow
public boolean hasReadTimeWindow()
Optional. [start_time] is required. [start_time] must be less than [end_time] Defaults [end_time] to now if [start_time] is set and [end_time] isn't. Maximum permitted time range is 7 days.
.google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasReadTimeWindowin interfaceQueryAssetsRequestOrBuilder- Returns:
- Whether the readTimeWindow field is set.
-
getReadTimeWindow
public TimeWindow getReadTimeWindow()
Optional. [start_time] is required. [start_time] must be less than [end_time] Defaults [end_time] to now if [start_time] is set and [end_time] isn't. Maximum permitted time range is 7 days.
.google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReadTimeWindowin interfaceQueryAssetsRequestOrBuilder- Returns:
- The readTimeWindow.
-
setReadTimeWindow
public QueryAssetsRequest.Builder setReadTimeWindow(TimeWindow value)
Optional. [start_time] is required. [start_time] must be less than [end_time] Defaults [end_time] to now if [start_time] is set and [end_time] isn't. Maximum permitted time range is 7 days.
.google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL];
-
setReadTimeWindow
public QueryAssetsRequest.Builder setReadTimeWindow(TimeWindow.Builder builderForValue)
Optional. [start_time] is required. [start_time] must be less than [end_time] Defaults [end_time] to now if [start_time] is set and [end_time] isn't. Maximum permitted time range is 7 days.
.google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL];
-
mergeReadTimeWindow
public QueryAssetsRequest.Builder mergeReadTimeWindow(TimeWindow value)
Optional. [start_time] is required. [start_time] must be less than [end_time] Defaults [end_time] to now if [start_time] is set and [end_time] isn't. Maximum permitted time range is 7 days.
.google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL];
-
clearReadTimeWindow
public QueryAssetsRequest.Builder clearReadTimeWindow()
Optional. [start_time] is required. [start_time] must be less than [end_time] Defaults [end_time] to now if [start_time] is set and [end_time] isn't. Maximum permitted time range is 7 days.
.google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getReadTimeWindowBuilder
public TimeWindow.Builder getReadTimeWindowBuilder()
Optional. [start_time] is required. [start_time] must be less than [end_time] Defaults [end_time] to now if [start_time] is set and [end_time] isn't. Maximum permitted time range is 7 days.
.google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getReadTimeWindowOrBuilder
public TimeWindowOrBuilder getReadTimeWindowOrBuilder()
Optional. [start_time] is required. [start_time] must be less than [end_time] Defaults [end_time] to now if [start_time] is set and [end_time] isn't. Maximum permitted time range is 7 days.
.google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReadTimeWindowOrBuilderin interfaceQueryAssetsRequestOrBuilder
-
hasReadTime
public boolean hasReadTime()
Optional. Queries cloud assets as they appeared at the specified point in time.
.google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasReadTimein interfaceQueryAssetsRequestOrBuilder- Returns:
- Whether the readTime field is set.
-
getReadTime
public com.google.protobuf.Timestamp getReadTime()
Optional. Queries cloud assets as they appeared at the specified point in time.
.google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReadTimein interfaceQueryAssetsRequestOrBuilder- Returns:
- The readTime.
-
setReadTime
public QueryAssetsRequest.Builder setReadTime(com.google.protobuf.Timestamp value)
Optional. Queries cloud assets as they appeared at the specified point in time.
.google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL];
-
setReadTime
public QueryAssetsRequest.Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
Optional. Queries cloud assets as they appeared at the specified point in time.
.google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL];
-
mergeReadTime
public QueryAssetsRequest.Builder mergeReadTime(com.google.protobuf.Timestamp value)
Optional. Queries cloud assets as they appeared at the specified point in time.
.google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL];
-
clearReadTime
public QueryAssetsRequest.Builder clearReadTime()
Optional. Queries cloud assets as they appeared at the specified point in time.
.google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL];
-
getReadTimeBuilder
public com.google.protobuf.Timestamp.Builder getReadTimeBuilder()
Optional. Queries cloud assets as they appeared at the specified point in time.
.google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL];
-
getReadTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
Optional. Queries cloud assets as they appeared at the specified point in time.
.google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReadTimeOrBuilderin interfaceQueryAssetsRequestOrBuilder
-
hasOutputConfig
public boolean hasOutputConfig()
Optional. Destination where the query results will be saved. When this field is specified, the query results won't be saved in the [QueryAssetsResponse.query_result]. Instead [QueryAssetsResponse.output_config] will be set. Meanwhile, [QueryAssetsResponse.job_reference] will be set and can be used to check the status of the query job when passed to a following [QueryAssets] API call.
.google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasOutputConfigin interfaceQueryAssetsRequestOrBuilder- Returns:
- Whether the outputConfig field is set.
-
getOutputConfig
public QueryAssetsOutputConfig getOutputConfig()
Optional. Destination where the query results will be saved. When this field is specified, the query results won't be saved in the [QueryAssetsResponse.query_result]. Instead [QueryAssetsResponse.output_config] will be set. Meanwhile, [QueryAssetsResponse.job_reference] will be set and can be used to check the status of the query job when passed to a following [QueryAssets] API call.
.google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOutputConfigin interfaceQueryAssetsRequestOrBuilder- Returns:
- The outputConfig.
-
setOutputConfig
public QueryAssetsRequest.Builder setOutputConfig(QueryAssetsOutputConfig value)
Optional. Destination where the query results will be saved. When this field is specified, the query results won't be saved in the [QueryAssetsResponse.query_result]. Instead [QueryAssetsResponse.output_config] will be set. Meanwhile, [QueryAssetsResponse.job_reference] will be set and can be used to check the status of the query job when passed to a following [QueryAssets] API call.
.google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL];
-
setOutputConfig
public QueryAssetsRequest.Builder setOutputConfig(QueryAssetsOutputConfig.Builder builderForValue)
Optional. Destination where the query results will be saved. When this field is specified, the query results won't be saved in the [QueryAssetsResponse.query_result]. Instead [QueryAssetsResponse.output_config] will be set. Meanwhile, [QueryAssetsResponse.job_reference] will be set and can be used to check the status of the query job when passed to a following [QueryAssets] API call.
.google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL];
-
mergeOutputConfig
public QueryAssetsRequest.Builder mergeOutputConfig(QueryAssetsOutputConfig value)
Optional. Destination where the query results will be saved. When this field is specified, the query results won't be saved in the [QueryAssetsResponse.query_result]. Instead [QueryAssetsResponse.output_config] will be set. Meanwhile, [QueryAssetsResponse.job_reference] will be set and can be used to check the status of the query job when passed to a following [QueryAssets] API call.
.google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL];
-
clearOutputConfig
public QueryAssetsRequest.Builder clearOutputConfig()
Optional. Destination where the query results will be saved. When this field is specified, the query results won't be saved in the [QueryAssetsResponse.query_result]. Instead [QueryAssetsResponse.output_config] will be set. Meanwhile, [QueryAssetsResponse.job_reference] will be set and can be used to check the status of the query job when passed to a following [QueryAssets] API call.
.google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL];
-
getOutputConfigBuilder
public QueryAssetsOutputConfig.Builder getOutputConfigBuilder()
Optional. Destination where the query results will be saved. When this field is specified, the query results won't be saved in the [QueryAssetsResponse.query_result]. Instead [QueryAssetsResponse.output_config] will be set. Meanwhile, [QueryAssetsResponse.job_reference] will be set and can be used to check the status of the query job when passed to a following [QueryAssets] API call.
.google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL];
-
getOutputConfigOrBuilder
public QueryAssetsOutputConfigOrBuilder getOutputConfigOrBuilder()
Optional. Destination where the query results will be saved. When this field is specified, the query results won't be saved in the [QueryAssetsResponse.query_result]. Instead [QueryAssetsResponse.output_config] will be set. Meanwhile, [QueryAssetsResponse.job_reference] will be set and can be used to check the status of the query job when passed to a following [QueryAssets] API call.
.google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOutputConfigOrBuilderin interfaceQueryAssetsRequestOrBuilder
-
setUnknownFields
public final QueryAssetsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
mergeUnknownFields
public final QueryAssetsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
-