Package com.google.cloud.bigquery
Class IndexUnusedReason.Builder
java.lang.Object
com.google.cloud.bigquery.IndexUnusedReason.Builder
- Enclosing class:
- IndexUnusedReason
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract IndexUnusedReasonbuild()Creates a @code IndexUnusedReason} object.abstract IndexUnusedReason.BuildersetBaseTableId(TableId baseTable) Specifies the base table involved in the reason that no search index was used.abstract IndexUnusedReason.BuilderSpecifies the high-level reason for the scenario when no search index was used.abstract IndexUnusedReason.BuildersetIndexName(String indexName) Specifies the name of the unused search index, if available.abstract IndexUnusedReason.BuildersetMessage(String message) Free form human-readable reason for the scenario when no search index was used.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setIndexName
Specifies the name of the unused search index, if available.- Parameters:
indexName- indexName ornullfor none
-
setCode
Specifies the high-level reason for the scenario when no search index was used.- Parameters:
code- code ornullfor none
-
setMessage
Free form human-readable reason for the scenario when no search index was used.- Parameters:
message- message ornullfor none
-
setBaseTableId
Specifies the base table involved in the reason that no search index was used.- Parameters:
baseTable- baseTable ornullfor none
-
build
Creates a @code IndexUnusedReason} object.
-