Class IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder (3.27.0)

public static final class IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder extends GeneratedMessageV3.Builder<IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder> implements IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder

A BigQuery destination.

Protobuf type google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder
Overrides

build()

public IamPolicyAnalysisOutputConfig.BigQueryDestination build()
Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination

buildPartial()

public IamPolicyAnalysisOutputConfig.BigQueryDestination buildPartial()
Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination

clear()

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder clear()
Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder
Overrides

clearDataset()

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder clearDataset()

Required. The BigQuery dataset in format "projects/projectId/datasets/datasetId", to which the analysis results should be exported. If this dataset does not exist, the export call will return an INVALID_ARGUMENT error.

string dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder
Overrides

clearPartitionKey()

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder clearPartitionKey()

The partition key for BigQuery partitioned table.

.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3;

Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

This builder for chaining.

clearTablePrefix()

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder clearTablePrefix()

Required. The prefix of the BigQuery tables to which the analysis results will be written. Tables will be created based on this table_prefix if not exist:

  • <table_prefix>_analysis table will contain export operation's metadata.
  • <table_prefix>_analysis_result will contain all the IamPolicyAnalysisResult. When [partition_key] is specified, both tables will be partitioned based on the [partition_key].

string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

This builder for chaining.

clearWriteDisposition()

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder clearWriteDisposition()

Optional. Specifies the action that occurs if the destination table or partition already exists. The following values are supported:

  • WRITE_TRUNCATE: If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data.
  • WRITE_APPEND: If the table or partition already exists, BigQuery appends the data to the table or the latest partition.
  • WRITE_EMPTY: If the table already exists and contains data, an error is returned.

    The default value is WRITE_APPEND. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Details are at https://cloud.google.com/bigquery/docs/loading-data-local#appending_to_or_overwriting_a_table_using_a_local_file.

string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

This builder for chaining.

clone()

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder clone()
Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder
Overrides

getDataset()

public String getDataset()

Required. The BigQuery dataset in format "projects/projectId/datasets/datasetId", to which the analysis results should be exported. If this dataset does not exist, the export call will return an INVALID_ARGUMENT error.

string dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

Required. The BigQuery dataset in format "projects/projectId/datasets/datasetId", to which the analysis results should be exported. If this dataset does not exist, the export call will return an INVALID_ARGUMENT error.

string dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public IamPolicyAnalysisOutputConfig.BigQueryDestination getDefaultInstanceForType()
Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPartitionKey()

public IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey getPartitionKey()

The partition key for BigQuery partitioned table.

.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3;

Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey

The partitionKey.

getPartitionKeyValue()

public int getPartitionKeyValue()

The partition key for BigQuery partitioned table.

.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3;

Returns
Type Description
int

The enum numeric value on the wire for partitionKey.

getTablePrefix()

public String getTablePrefix()

Required. The prefix of the BigQuery tables to which the analysis results will be written. Tables will be created based on this table_prefix if not exist:

  • <table_prefix>_analysis table will contain export operation's metadata.
  • <table_prefix>_analysis_result will contain all the IamPolicyAnalysisResult. When [partition_key] is specified, both tables will be partitioned based on the [partition_key].

string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The tablePrefix.

getTablePrefixBytes()

public ByteString getTablePrefixBytes()

Required. The prefix of the BigQuery tables to which the analysis results will be written. Tables will be created based on this table_prefix if not exist:

  • <table_prefix>_analysis table will contain export operation's metadata.
  • <table_prefix>_analysis_result will contain all the IamPolicyAnalysisResult. When [partition_key] is specified, both tables will be partitioned based on the [partition_key].

string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for tablePrefix.

getWriteDisposition()

public String getWriteDisposition()

Optional. Specifies the action that occurs if the destination table or partition already exists. The following values are supported:

  • WRITE_TRUNCATE: If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data.
  • WRITE_APPEND: If the table or partition already exists, BigQuery appends the data to the table or the latest partition.
  • WRITE_EMPTY: If the table already exists and contains data, an error is returned.

    The default value is WRITE_APPEND. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Details are at https://cloud.google.com/bigquery/docs/loading-data-local#appending_to_or_overwriting_a_table_using_a_local_file.

string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The writeDisposition.

getWriteDispositionBytes()

public ByteString getWriteDispositionBytes()

Optional. Specifies the action that occurs if the destination table or partition already exists. The following values are supported:

  • WRITE_TRUNCATE: If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data.
  • WRITE_APPEND: If the table or partition already exists, BigQuery appends the data to the table or the latest partition.
  • WRITE_EMPTY: If the table already exists and contains data, an error is returned.

    The default value is WRITE_APPEND. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Details are at https://cloud.google.com/bigquery/docs/loading-data-local#appending_to_or_overwriting_a_table_using_a_local_file.

string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for writeDisposition.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IamPolicyAnalysisOutputConfig.BigQueryDestination other)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder mergeFrom(IamPolicyAnalysisOutputConfig.BigQueryDestination other)
Parameter
Name Description
other IamPolicyAnalysisOutputConfig.BigQueryDestination
Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder
Overrides

setDataset(String value)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder setDataset(String value)

Required. The BigQuery dataset in format "projects/projectId/datasets/datasetId", to which the analysis results should be exported. If this dataset does not exist, the export call will return an INVALID_ARGUMENT error.

string dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The dataset to set.

Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

This builder for chaining.

setDatasetBytes(ByteString value)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder setDatasetBytes(ByteString value)

Required. The BigQuery dataset in format "projects/projectId/datasets/datasetId", to which the analysis results should be exported. If this dataset does not exist, the export call will return an INVALID_ARGUMENT error.

string dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for dataset to set.

Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder
Overrides

setPartitionKey(IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey value)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder setPartitionKey(IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey value)

The partition key for BigQuery partitioned table.

.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3;

Parameter
Name Description
value IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey

The partitionKey to set.

Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

This builder for chaining.

setPartitionKeyValue(int value)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder setPartitionKeyValue(int value)

The partition key for BigQuery partitioned table.

.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for partitionKey to set.

Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder
Overrides

setTablePrefix(String value)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder setTablePrefix(String value)

Required. The prefix of the BigQuery tables to which the analysis results will be written. Tables will be created based on this table_prefix if not exist:

  • <table_prefix>_analysis table will contain export operation's metadata.
  • <table_prefix>_analysis_result will contain all the IamPolicyAnalysisResult. When [partition_key] is specified, both tables will be partitioned based on the [partition_key].

string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The tablePrefix to set.

Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

This builder for chaining.

setTablePrefixBytes(ByteString value)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder setTablePrefixBytes(ByteString value)

Required. The prefix of the BigQuery tables to which the analysis results will be written. Tables will be created based on this table_prefix if not exist:

  • <table_prefix>_analysis table will contain export operation's metadata.
  • <table_prefix>_analysis_result will contain all the IamPolicyAnalysisResult. When [partition_key] is specified, both tables will be partitioned based on the [partition_key].

string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for tablePrefix to set.

Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder
Overrides

setWriteDisposition(String value)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder setWriteDisposition(String value)

Optional. Specifies the action that occurs if the destination table or partition already exists. The following values are supported:

  • WRITE_TRUNCATE: If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data.
  • WRITE_APPEND: If the table or partition already exists, BigQuery appends the data to the table or the latest partition.
  • WRITE_EMPTY: If the table already exists and contains data, an error is returned.

    The default value is WRITE_APPEND. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Details are at https://cloud.google.com/bigquery/docs/loading-data-local#appending_to_or_overwriting_a_table_using_a_local_file.

string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The writeDisposition to set.

Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

This builder for chaining.

setWriteDispositionBytes(ByteString value)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder setWriteDispositionBytes(ByteString value)

Optional. Specifies the action that occurs if the destination table or partition already exists. The following values are supported:

  • WRITE_TRUNCATE: If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data.
  • WRITE_APPEND: If the table or partition already exists, BigQuery appends the data to the table or the latest partition.
  • WRITE_EMPTY: If the table already exists and contains data, an error is returned.

    The default value is WRITE_APPEND. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Details are at https://cloud.google.com/bigquery/docs/loading-data-local#appending_to_or_overwriting_a_table_using_a_local_file.

string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for writeDisposition to set.

Returns
Type Description
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

This builder for chaining.