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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
clear
public QueryAssetsRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
getDefaultInstanceForType
public QueryAssetsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public QueryAssetsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public QueryAssetsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public QueryAssetsRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
setField
public QueryAssetsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
clearField
public QueryAssetsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
clearOneof
public QueryAssetsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
setRepeatedField
public QueryAssetsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
addRepeatedField
public QueryAssetsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
mergeFrom
public QueryAssetsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<QueryAssetsRequest.Builder>
-
mergeFrom
public QueryAssetsRequest.Builder mergeFrom(QueryAssetsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<QueryAssetsRequest.Builder>
- Throws:
IOException
-
getQueryCase
public QueryAssetsRequest.QueryCase getQueryCase()
- Specified by:
getQueryCase
in interfaceQueryAssetsRequestOrBuilder
-
clearQuery
public QueryAssetsRequest.Builder clearQuery()
-
getTimeCase
public QueryAssetsRequest.TimeCase getTimeCase()
- Specified by:
getTimeCase
in 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:
getParent
in 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:
getParentBytes
in 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:
hasStatement
in 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:
getStatement
in 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:
getStatementBytes
in 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:
hasJobReference
in 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:
getJobReference
in 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:
getJobReferenceBytes
in 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:
getPageSize
in 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:
getPageToken
in 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:
getPageTokenBytes
in 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:
hasTimeout
in 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:
getTimeout
in 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:
getTimeoutOrBuilder
in 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:
hasReadTimeWindow
in 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:
getReadTimeWindow
in 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:
getReadTimeWindowOrBuilder
in 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:
hasReadTime
in 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:
getReadTime
in 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:
getReadTimeOrBuilder
in 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:
hasOutputConfig
in 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:
getOutputConfig
in 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:
getOutputConfigOrBuilder
in interfaceQueryAssetsRequestOrBuilder
-
setUnknownFields
public final QueryAssetsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
mergeUnknownFields
public final QueryAssetsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<QueryAssetsRequest.Builder>
-
-