public static final class IamPolicyAnalysisOutputConfig.BigQueryDestination extends GeneratedMessageV3 implements IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder
A BigQuery destination.Protobuf type
google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination
Modifier and Type | Class and Description |
---|---|
static class |
IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder
A BigQuery destination.
|
static class |
IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey
This enum determines the partition key column for the bigquery tables.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
DATASET_FIELD_NUMBER |
static int |
PARTITION_KEY_FIELD_NUMBER |
static int |
TABLE_PREFIX_FIELD_NUMBER |
static int |
WRITE_DISPOSITION_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int DATASET_FIELD_NUMBER
public static final int TABLE_PREFIX_FIELD_NUMBER
public static final int PARTITION_KEY_FIELD_NUMBER
public static final int WRITE_DISPOSITION_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
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];
getDataset
in interface IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder
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];
getDatasetBytes
in interface IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder
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][google.cloud.asset.v1.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];
getTablePrefix
in interface IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder
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][google.cloud.asset.v1.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];
getTablePrefixBytes
in interface IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder
public int getPartitionKeyValue()
The partition key for BigQuery partitioned table.
.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3;
getPartitionKeyValue
in interface IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder
public IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey getPartitionKey()
The partition key for BigQuery partitioned table.
.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3;
getPartitionKey
in interface IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder
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];
getWriteDisposition
in interface IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder
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];
getWriteDispositionBytes
in interface IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom(InputStream input) throws IOException
IOException
public static IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static IamPolicyAnalysisOutputConfig.BigQueryDestination parseDelimitedFrom(InputStream input) throws IOException
IOException
public static IamPolicyAnalysisOutputConfig.BigQueryDestination parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom(CodedInputStream input) throws IOException
IOException
public static IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder newBuilder()
public static IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder newBuilder(IamPolicyAnalysisOutputConfig.BigQueryDestination prototype)
public IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static IamPolicyAnalysisOutputConfig.BigQueryDestination getDefaultInstance()
public static Parser<IamPolicyAnalysisOutputConfig.BigQueryDestination> parser()
public Parser<IamPolicyAnalysisOutputConfig.BigQueryDestination> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public IamPolicyAnalysisOutputConfig.BigQueryDestination getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.