Class QueryAssetsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<QueryAssetsRequest.Builder> implements QueryAssetsRequestOrBuilder
 QueryAssets request.
 
Protobuf type google.cloud.asset.v1.QueryAssetsRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<QueryAssetsRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<QueryAssetsRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<QueryAssetsRequest.Builder>
    • getDefaultInstanceForType

      public QueryAssetsRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public QueryAssetsRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public QueryAssetsRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public QueryAssetsRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<QueryAssetsRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<QueryAssetsRequest.Builder>
    • mergeFrom

      public QueryAssetsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<QueryAssetsRequest.Builder>
      Throws:
      IOException
    • getQueryCase

      public QueryAssetsRequest.QueryCase getQueryCase()
      Specified by:
      getQueryCase in interface QueryAssetsRequestOrBuilder
    • clearQuery

      public QueryAssetsRequest.Builder clearQuery()
    • getTimeCase

      public QueryAssetsRequest.TimeCase getTimeCase()
      Specified by:
      getTimeCase in interface QueryAssetsRequestOrBuilder
    • 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 interface QueryAssetsRequestOrBuilder
      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 interface QueryAssetsRequestOrBuilder
      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
       SQL](https://cloud.google.com/bigquery/docs/introduction-sql).
       
      string statement = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasStatement in interface QueryAssetsRequestOrBuilder
      Returns:
      Whether the statement field is set.
    • getStatement

      public String getStatement()
       Optional. A SQL statement that's compatible with [BigQuery
       SQL](https://cloud.google.com/bigquery/docs/introduction-sql).
       
      string statement = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStatement in interface QueryAssetsRequestOrBuilder
      Returns:
      The statement.
    • getStatementBytes

      public com.google.protobuf.ByteString getStatementBytes()
       Optional. A SQL statement that's compatible with [BigQuery
       SQL](https://cloud.google.com/bigquery/docs/introduction-sql).
       
      string statement = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStatementBytes in interface QueryAssetsRequestOrBuilder
      Returns:
      The bytes for statement.
    • setStatement

      public QueryAssetsRequest.Builder setStatement(String value)
       Optional. A SQL statement that's compatible with [BigQuery
       SQL](https://cloud.google.com/bigquery/docs/introduction-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
       SQL](https://cloud.google.com/bigquery/docs/introduction-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
       SQL](https://cloud.google.com/bigquery/docs/introduction-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 interface QueryAssetsRequestOrBuilder
      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 interface QueryAssetsRequestOrBuilder
      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 interface QueryAssetsRequestOrBuilder
      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 interface QueryAssetsRequestOrBuilder
      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 interface QueryAssetsRequestOrBuilder
      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 interface QueryAssetsRequestOrBuilder
      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 interface QueryAssetsRequestOrBuilder
      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 interface QueryAssetsRequestOrBuilder
      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 interface QueryAssetsRequestOrBuilder
    • 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 interface QueryAssetsRequestOrBuilder
      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 interface QueryAssetsRequestOrBuilder
      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 interface QueryAssetsRequestOrBuilder
    • 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 interface QueryAssetsRequestOrBuilder
      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 interface QueryAssetsRequestOrBuilder
      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 interface QueryAssetsRequestOrBuilder
    • 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 interface QueryAssetsRequestOrBuilder
      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 interface QueryAssetsRequestOrBuilder
      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 interface QueryAssetsRequestOrBuilder