Class IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder (3.3.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder
Overrides

build()

public IamPolicyAnalysisOutputConfig.BigQueryDestination build()
Returns
TypeDescription
IamPolicyAnalysisOutputConfig.BigQueryDestination

buildPartial()

public IamPolicyAnalysisOutputConfig.BigQueryDestination buildPartial()
Returns
TypeDescription
IamPolicyAnalysisOutputConfig.BigQueryDestination

clear()

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder clear()
Returns
TypeDescription
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
TypeDescription
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

This builder for chaining.

clone()

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public IamPolicyAnalysisOutputConfig.BigQueryDestination getDefaultInstanceForType()
Returns
TypeDescription
IamPolicyAnalysisOutputConfig.BigQueryDestination

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for writeDisposition.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(IamPolicyAnalysisOutputConfig.BigQueryDestination other)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder mergeFrom(IamPolicyAnalysisOutputConfig.BigQueryDestination other)
Parameter
NameDescription
otherIamPolicyAnalysisOutputConfig.BigQueryDestination
Returns
TypeDescription
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The dataset to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for dataset to set.

Returns
TypeDescription
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueIamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey

The partitionKey to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The tablePrefix to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for tablePrefix to set.

Returns
TypeDescription
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The writeDisposition to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for writeDisposition to set.

Returns
TypeDescription
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder

This builder for chaining.