public static final class DataSourceDefinition.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder> implements DataSourceDefinitionOrBuilder
Represents the data source definition.Protobuf type
google.cloud.bigquery.datatransfer.v1.DataSourceDefinition| Modifier and Type | Method and Description |
|---|---|
DataSourceDefinition.Builder |
addAllSupportedLocationIds(Iterable<String> values)
Supported location_ids used for deciding in which locations Pub/Sub topics
need to be created.
|
DataSourceDefinition.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DataSourceDefinition.Builder |
addSupportedLocationIds(String value)
Supported location_ids used for deciding in which locations Pub/Sub topics
need to be created.
|
DataSourceDefinition.Builder |
addSupportedLocationIdsBytes(com.google.protobuf.ByteString value)
Supported location_ids used for deciding in which locations Pub/Sub topics
need to be created.
|
DataSourceDefinition |
build() |
DataSourceDefinition |
buildPartial() |
DataSourceDefinition.Builder |
clear() |
DataSourceDefinition.Builder |
clearDataSource()
Data source metadata.
|
DataSourceDefinition.Builder |
clearDisabled()
Is data source disabled? If true, data_source is not visible.
|
DataSourceDefinition.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DataSourceDefinition.Builder |
clearName()
The resource name of the data source definition.
|
DataSourceDefinition.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DataSourceDefinition.Builder |
clearRunTimeOffset()
Duration which should be added to schedule_time to calculate
run_time when job is scheduled.
|
DataSourceDefinition.Builder |
clearServiceAccount()
When service account is specified, BigQuery will share created dataset
with the given service account.
|
DataSourceDefinition.Builder |
clearSupportedLocationIds()
Supported location_ids used for deciding in which locations Pub/Sub topics
need to be created.
|
DataSourceDefinition.Builder |
clearSupportEmail()
Support e-mail address of the OAuth client's Brand, which contains the
consent screen data.
|
DataSourceDefinition.Builder |
clearTransferConfigPubsubTopic()
The Pub/Sub topic to use for broadcasting a message for transfer config.
|
DataSourceDefinition.Builder |
clearTransferRunPubsubTopic()
The Pub/Sub topic to be used for broadcasting a message when a transfer run
is created.
|
DataSourceDefinition.Builder |
clone() |
DataSource |
getDataSource()
Data source metadata.
|
DataSource.Builder |
getDataSourceBuilder()
Data source metadata.
|
DataSourceOrBuilder |
getDataSourceOrBuilder()
Data source metadata.
|
DataSourceDefinition |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getDisabled()
Is data source disabled? If true, data_source is not visible.
|
String |
getName()
The resource name of the data source definition.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the data source definition.
|
com.google.protobuf.Duration |
getRunTimeOffset()
Duration which should be added to schedule_time to calculate
run_time when job is scheduled.
|
com.google.protobuf.Duration.Builder |
getRunTimeOffsetBuilder()
Duration which should be added to schedule_time to calculate
run_time when job is scheduled.
|
com.google.protobuf.DurationOrBuilder |
getRunTimeOffsetOrBuilder()
Duration which should be added to schedule_time to calculate
run_time when job is scheduled.
|
String |
getServiceAccount()
When service account is specified, BigQuery will share created dataset
with the given service account.
|
com.google.protobuf.ByteString |
getServiceAccountBytes()
When service account is specified, BigQuery will share created dataset
with the given service account.
|
String |
getSupportedLocationIds(int index)
Supported location_ids used for deciding in which locations Pub/Sub topics
need to be created.
|
com.google.protobuf.ByteString |
getSupportedLocationIdsBytes(int index)
Supported location_ids used for deciding in which locations Pub/Sub topics
need to be created.
|
int |
getSupportedLocationIdsCount()
Supported location_ids used for deciding in which locations Pub/Sub topics
need to be created.
|
com.google.protobuf.ProtocolStringList |
getSupportedLocationIdsList()
Supported location_ids used for deciding in which locations Pub/Sub topics
need to be created.
|
String |
getSupportEmail()
Support e-mail address of the OAuth client's Brand, which contains the
consent screen data.
|
com.google.protobuf.ByteString |
getSupportEmailBytes()
Support e-mail address of the OAuth client's Brand, which contains the
consent screen data.
|
String |
getTransferConfigPubsubTopic()
The Pub/Sub topic to use for broadcasting a message for transfer config.
|
com.google.protobuf.ByteString |
getTransferConfigPubsubTopicBytes()
The Pub/Sub topic to use for broadcasting a message for transfer config.
|
String |
getTransferRunPubsubTopic()
The Pub/Sub topic to be used for broadcasting a message when a transfer run
is created.
|
com.google.protobuf.ByteString |
getTransferRunPubsubTopicBytes()
The Pub/Sub topic to be used for broadcasting a message when a transfer run
is created.
|
boolean |
hasDataSource()
Data source metadata.
|
boolean |
hasRunTimeOffset()
Duration which should be added to schedule_time to calculate
run_time when job is scheduled.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DataSourceDefinition.Builder |
mergeDataSource(DataSource value)
Data source metadata.
|
DataSourceDefinition.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DataSourceDefinition.Builder |
mergeFrom(DataSourceDefinition other) |
DataSourceDefinition.Builder |
mergeFrom(com.google.protobuf.Message other) |
DataSourceDefinition.Builder |
mergeRunTimeOffset(com.google.protobuf.Duration value)
Duration which should be added to schedule_time to calculate
run_time when job is scheduled.
|
DataSourceDefinition.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DataSourceDefinition.Builder |
setDataSource(DataSource.Builder builderForValue)
Data source metadata.
|
DataSourceDefinition.Builder |
setDataSource(DataSource value)
Data source metadata.
|
DataSourceDefinition.Builder |
setDisabled(boolean value)
Is data source disabled? If true, data_source is not visible.
|
DataSourceDefinition.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DataSourceDefinition.Builder |
setName(String value)
The resource name of the data source definition.
|
DataSourceDefinition.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the data source definition.
|
DataSourceDefinition.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DataSourceDefinition.Builder |
setRunTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
Duration which should be added to schedule_time to calculate
run_time when job is scheduled.
|
DataSourceDefinition.Builder |
setRunTimeOffset(com.google.protobuf.Duration value)
Duration which should be added to schedule_time to calculate
run_time when job is scheduled.
|
DataSourceDefinition.Builder |
setServiceAccount(String value)
When service account is specified, BigQuery will share created dataset
with the given service account.
|
DataSourceDefinition.Builder |
setServiceAccountBytes(com.google.protobuf.ByteString value)
When service account is specified, BigQuery will share created dataset
with the given service account.
|
DataSourceDefinition.Builder |
setSupportedLocationIds(int index,
String value)
Supported location_ids used for deciding in which locations Pub/Sub topics
need to be created.
|
DataSourceDefinition.Builder |
setSupportEmail(String value)
Support e-mail address of the OAuth client's Brand, which contains the
consent screen data.
|
DataSourceDefinition.Builder |
setSupportEmailBytes(com.google.protobuf.ByteString value)
Support e-mail address of the OAuth client's Brand, which contains the
consent screen data.
|
DataSourceDefinition.Builder |
setTransferConfigPubsubTopic(String value)
The Pub/Sub topic to use for broadcasting a message for transfer config.
|
DataSourceDefinition.Builder |
setTransferConfigPubsubTopicBytes(com.google.protobuf.ByteString value)
The Pub/Sub topic to use for broadcasting a message for transfer config.
|
DataSourceDefinition.Builder |
setTransferRunPubsubTopic(String value)
The Pub/Sub topic to be used for broadcasting a message when a transfer run
is created.
|
DataSourceDefinition.Builder |
setTransferRunPubsubTopicBytes(com.google.protobuf.ByteString value)
The Pub/Sub topic to be used for broadcasting a message when a transfer run
is created.
|
DataSourceDefinition.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>public DataSourceDefinition.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>public DataSourceDefinition getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DataSourceDefinition build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DataSourceDefinition buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DataSourceDefinition.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>public DataSourceDefinition.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>public DataSourceDefinition.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>public DataSourceDefinition.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>public DataSourceDefinition.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>public DataSourceDefinition.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>public DataSourceDefinition.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataSourceDefinition.Builder>public DataSourceDefinition.Builder mergeFrom(DataSourceDefinition other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>public DataSourceDefinition.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataSourceDefinition.Builder>IOExceptionpublic String getName()
The resource name of the data source definition.
Data source definition names have the form
`projects/{project_id}/locations/{location}/dataSourceDefinitions/{data_source_id}`.
string name = 21;getName in interface DataSourceDefinitionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name of the data source definition.
Data source definition names have the form
`projects/{project_id}/locations/{location}/dataSourceDefinitions/{data_source_id}`.
string name = 21;getNameBytes in interface DataSourceDefinitionOrBuilderpublic DataSourceDefinition.Builder setName(String value)
The resource name of the data source definition.
Data source definition names have the form
`projects/{project_id}/locations/{location}/dataSourceDefinitions/{data_source_id}`.
string name = 21;public DataSourceDefinition.Builder clearName()
The resource name of the data source definition.
Data source definition names have the form
`projects/{project_id}/locations/{location}/dataSourceDefinitions/{data_source_id}`.
string name = 21;public DataSourceDefinition.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name of the data source definition.
Data source definition names have the form
`projects/{project_id}/locations/{location}/dataSourceDefinitions/{data_source_id}`.
string name = 21;public boolean hasDataSource()
Data source metadata.
.google.cloud.bigquery.datatransfer.v1.DataSource data_source = 1;hasDataSource in interface DataSourceDefinitionOrBuilderpublic DataSource getDataSource()
Data source metadata.
.google.cloud.bigquery.datatransfer.v1.DataSource data_source = 1;getDataSource in interface DataSourceDefinitionOrBuilderpublic DataSourceDefinition.Builder setDataSource(DataSource value)
Data source metadata.
.google.cloud.bigquery.datatransfer.v1.DataSource data_source = 1;public DataSourceDefinition.Builder setDataSource(DataSource.Builder builderForValue)
Data source metadata.
.google.cloud.bigquery.datatransfer.v1.DataSource data_source = 1;public DataSourceDefinition.Builder mergeDataSource(DataSource value)
Data source metadata.
.google.cloud.bigquery.datatransfer.v1.DataSource data_source = 1;public DataSourceDefinition.Builder clearDataSource()
Data source metadata.
.google.cloud.bigquery.datatransfer.v1.DataSource data_source = 1;public DataSource.Builder getDataSourceBuilder()
Data source metadata.
.google.cloud.bigquery.datatransfer.v1.DataSource data_source = 1;public DataSourceOrBuilder getDataSourceOrBuilder()
Data source metadata.
.google.cloud.bigquery.datatransfer.v1.DataSource data_source = 1;getDataSourceOrBuilder in interface DataSourceDefinitionOrBuilderpublic String getTransferRunPubsubTopic()
The Pub/Sub topic to be used for broadcasting a message when a transfer run
is created. Both this topic and transfer_config_pubsub_topic can be
set to a custom topic. By default, both topics are auto-generated if none
of them is provided when creating the definition. However, if one topic is
manually set, the other topic has to be manually set as well. The only
difference is that transfer_run_pubsub_topic must be a non-empty Pub/Sub
topic, but transfer_config_pubsub_topic can be set to empty. The comments
about "{location}" for transfer_config_pubsub_topic apply here too.
string transfer_run_pubsub_topic = 13;getTransferRunPubsubTopic in interface DataSourceDefinitionOrBuilderpublic com.google.protobuf.ByteString getTransferRunPubsubTopicBytes()
The Pub/Sub topic to be used for broadcasting a message when a transfer run
is created. Both this topic and transfer_config_pubsub_topic can be
set to a custom topic. By default, both topics are auto-generated if none
of them is provided when creating the definition. However, if one topic is
manually set, the other topic has to be manually set as well. The only
difference is that transfer_run_pubsub_topic must be a non-empty Pub/Sub
topic, but transfer_config_pubsub_topic can be set to empty. The comments
about "{location}" for transfer_config_pubsub_topic apply here too.
string transfer_run_pubsub_topic = 13;getTransferRunPubsubTopicBytes in interface DataSourceDefinitionOrBuilderpublic DataSourceDefinition.Builder setTransferRunPubsubTopic(String value)
The Pub/Sub topic to be used for broadcasting a message when a transfer run
is created. Both this topic and transfer_config_pubsub_topic can be
set to a custom topic. By default, both topics are auto-generated if none
of them is provided when creating the definition. However, if one topic is
manually set, the other topic has to be manually set as well. The only
difference is that transfer_run_pubsub_topic must be a non-empty Pub/Sub
topic, but transfer_config_pubsub_topic can be set to empty. The comments
about "{location}" for transfer_config_pubsub_topic apply here too.
string transfer_run_pubsub_topic = 13;public DataSourceDefinition.Builder clearTransferRunPubsubTopic()
The Pub/Sub topic to be used for broadcasting a message when a transfer run
is created. Both this topic and transfer_config_pubsub_topic can be
set to a custom topic. By default, both topics are auto-generated if none
of them is provided when creating the definition. However, if one topic is
manually set, the other topic has to be manually set as well. The only
difference is that transfer_run_pubsub_topic must be a non-empty Pub/Sub
topic, but transfer_config_pubsub_topic can be set to empty. The comments
about "{location}" for transfer_config_pubsub_topic apply here too.
string transfer_run_pubsub_topic = 13;public DataSourceDefinition.Builder setTransferRunPubsubTopicBytes(com.google.protobuf.ByteString value)
The Pub/Sub topic to be used for broadcasting a message when a transfer run
is created. Both this topic and transfer_config_pubsub_topic can be
set to a custom topic. By default, both topics are auto-generated if none
of them is provided when creating the definition. However, if one topic is
manually set, the other topic has to be manually set as well. The only
difference is that transfer_run_pubsub_topic must be a non-empty Pub/Sub
topic, but transfer_config_pubsub_topic can be set to empty. The comments
about "{location}" for transfer_config_pubsub_topic apply here too.
string transfer_run_pubsub_topic = 13;public boolean hasRunTimeOffset()
Duration which should be added to schedule_time to calculate run_time when job is scheduled. Only applicable for automatically scheduled transfer runs. Used to start a run early on a data source that supports continuous data refresh to compensate for unknown timezone offsets. Use a negative number to start a run late for data sources not supporting continuous data refresh.
.google.protobuf.Duration run_time_offset = 16;hasRunTimeOffset in interface DataSourceDefinitionOrBuilderpublic com.google.protobuf.Duration getRunTimeOffset()
Duration which should be added to schedule_time to calculate run_time when job is scheduled. Only applicable for automatically scheduled transfer runs. Used to start a run early on a data source that supports continuous data refresh to compensate for unknown timezone offsets. Use a negative number to start a run late for data sources not supporting continuous data refresh.
.google.protobuf.Duration run_time_offset = 16;getRunTimeOffset in interface DataSourceDefinitionOrBuilderpublic DataSourceDefinition.Builder setRunTimeOffset(com.google.protobuf.Duration value)
Duration which should be added to schedule_time to calculate run_time when job is scheduled. Only applicable for automatically scheduled transfer runs. Used to start a run early on a data source that supports continuous data refresh to compensate for unknown timezone offsets. Use a negative number to start a run late for data sources not supporting continuous data refresh.
.google.protobuf.Duration run_time_offset = 16;public DataSourceDefinition.Builder setRunTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
Duration which should be added to schedule_time to calculate run_time when job is scheduled. Only applicable for automatically scheduled transfer runs. Used to start a run early on a data source that supports continuous data refresh to compensate for unknown timezone offsets. Use a negative number to start a run late for data sources not supporting continuous data refresh.
.google.protobuf.Duration run_time_offset = 16;public DataSourceDefinition.Builder mergeRunTimeOffset(com.google.protobuf.Duration value)
Duration which should be added to schedule_time to calculate run_time when job is scheduled. Only applicable for automatically scheduled transfer runs. Used to start a run early on a data source that supports continuous data refresh to compensate for unknown timezone offsets. Use a negative number to start a run late for data sources not supporting continuous data refresh.
.google.protobuf.Duration run_time_offset = 16;public DataSourceDefinition.Builder clearRunTimeOffset()
Duration which should be added to schedule_time to calculate run_time when job is scheduled. Only applicable for automatically scheduled transfer runs. Used to start a run early on a data source that supports continuous data refresh to compensate for unknown timezone offsets. Use a negative number to start a run late for data sources not supporting continuous data refresh.
.google.protobuf.Duration run_time_offset = 16;public com.google.protobuf.Duration.Builder getRunTimeOffsetBuilder()
Duration which should be added to schedule_time to calculate run_time when job is scheduled. Only applicable for automatically scheduled transfer runs. Used to start a run early on a data source that supports continuous data refresh to compensate for unknown timezone offsets. Use a negative number to start a run late for data sources not supporting continuous data refresh.
.google.protobuf.Duration run_time_offset = 16;public com.google.protobuf.DurationOrBuilder getRunTimeOffsetOrBuilder()
Duration which should be added to schedule_time to calculate run_time when job is scheduled. Only applicable for automatically scheduled transfer runs. Used to start a run early on a data source that supports continuous data refresh to compensate for unknown timezone offsets. Use a negative number to start a run late for data sources not supporting continuous data refresh.
.google.protobuf.Duration run_time_offset = 16;getRunTimeOffsetOrBuilder in interface DataSourceDefinitionOrBuilderpublic String getSupportEmail()
Support e-mail address of the OAuth client's Brand, which contains the consent screen data.
string support_email = 22;getSupportEmail in interface DataSourceDefinitionOrBuilderpublic com.google.protobuf.ByteString getSupportEmailBytes()
Support e-mail address of the OAuth client's Brand, which contains the consent screen data.
string support_email = 22;getSupportEmailBytes in interface DataSourceDefinitionOrBuilderpublic DataSourceDefinition.Builder setSupportEmail(String value)
Support e-mail address of the OAuth client's Brand, which contains the consent screen data.
string support_email = 22;public DataSourceDefinition.Builder clearSupportEmail()
Support e-mail address of the OAuth client's Brand, which contains the consent screen data.
string support_email = 22;public DataSourceDefinition.Builder setSupportEmailBytes(com.google.protobuf.ByteString value)
Support e-mail address of the OAuth client's Brand, which contains the consent screen data.
string support_email = 22;public String getServiceAccount()
When service account is specified, BigQuery will share created dataset with the given service account. Also, this service account will be eligible to perform status updates and message logging for data transfer runs for the corresponding data_source_id.
string service_account = 2;getServiceAccount in interface DataSourceDefinitionOrBuilderpublic com.google.protobuf.ByteString getServiceAccountBytes()
When service account is specified, BigQuery will share created dataset with the given service account. Also, this service account will be eligible to perform status updates and message logging for data transfer runs for the corresponding data_source_id.
string service_account = 2;getServiceAccountBytes in interface DataSourceDefinitionOrBuilderpublic DataSourceDefinition.Builder setServiceAccount(String value)
When service account is specified, BigQuery will share created dataset with the given service account. Also, this service account will be eligible to perform status updates and message logging for data transfer runs for the corresponding data_source_id.
string service_account = 2;public DataSourceDefinition.Builder clearServiceAccount()
When service account is specified, BigQuery will share created dataset with the given service account. Also, this service account will be eligible to perform status updates and message logging for data transfer runs for the corresponding data_source_id.
string service_account = 2;public DataSourceDefinition.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
When service account is specified, BigQuery will share created dataset with the given service account. Also, this service account will be eligible to perform status updates and message logging for data transfer runs for the corresponding data_source_id.
string service_account = 2;public boolean getDisabled()
Is data source disabled? If true, data_source is not visible. API will also stop returning any data transfer configs and/or runs associated with the data source. This setting has higher priority than whitelisted_project_ids.
bool disabled = 5;getDisabled in interface DataSourceDefinitionOrBuilderpublic DataSourceDefinition.Builder setDisabled(boolean value)
Is data source disabled? If true, data_source is not visible. API will also stop returning any data transfer configs and/or runs associated with the data source. This setting has higher priority than whitelisted_project_ids.
bool disabled = 5;public DataSourceDefinition.Builder clearDisabled()
Is data source disabled? If true, data_source is not visible. API will also stop returning any data transfer configs and/or runs associated with the data source. This setting has higher priority than whitelisted_project_ids.
bool disabled = 5;public String getTransferConfigPubsubTopic()
The Pub/Sub topic to use for broadcasting a message for transfer config. If
empty, a message will not be broadcasted. Both this topic and
transfer_run_pubsub_topic are auto-generated if none of them is provided
when creating the definition. It is recommended to provide
transfer_config_pubsub_topic if a user-owned transfer_run_pubsub_topic is
provided. Otherwise, it will be set to empty. If "{location}" is found in
the value, then that means, data source wants to handle message separately
for datasets in different regions. We will replace {location} with the
actual dataset location, as the actual topic name. For example,
projects/connector/topics/scheduler-{location} could become
projects/connector/topics/scheduler-us. If "{location}" is not found, then
we will use the input value as topic name.
string transfer_config_pubsub_topic = 12;getTransferConfigPubsubTopic in interface DataSourceDefinitionOrBuilderpublic com.google.protobuf.ByteString getTransferConfigPubsubTopicBytes()
The Pub/Sub topic to use for broadcasting a message for transfer config. If
empty, a message will not be broadcasted. Both this topic and
transfer_run_pubsub_topic are auto-generated if none of them is provided
when creating the definition. It is recommended to provide
transfer_config_pubsub_topic if a user-owned transfer_run_pubsub_topic is
provided. Otherwise, it will be set to empty. If "{location}" is found in
the value, then that means, data source wants to handle message separately
for datasets in different regions. We will replace {location} with the
actual dataset location, as the actual topic name. For example,
projects/connector/topics/scheduler-{location} could become
projects/connector/topics/scheduler-us. If "{location}" is not found, then
we will use the input value as topic name.
string transfer_config_pubsub_topic = 12;getTransferConfigPubsubTopicBytes in interface DataSourceDefinitionOrBuilderpublic DataSourceDefinition.Builder setTransferConfigPubsubTopic(String value)
The Pub/Sub topic to use for broadcasting a message for transfer config. If
empty, a message will not be broadcasted. Both this topic and
transfer_run_pubsub_topic are auto-generated if none of them is provided
when creating the definition. It is recommended to provide
transfer_config_pubsub_topic if a user-owned transfer_run_pubsub_topic is
provided. Otherwise, it will be set to empty. If "{location}" is found in
the value, then that means, data source wants to handle message separately
for datasets in different regions. We will replace {location} with the
actual dataset location, as the actual topic name. For example,
projects/connector/topics/scheduler-{location} could become
projects/connector/topics/scheduler-us. If "{location}" is not found, then
we will use the input value as topic name.
string transfer_config_pubsub_topic = 12;public DataSourceDefinition.Builder clearTransferConfigPubsubTopic()
The Pub/Sub topic to use for broadcasting a message for transfer config. If
empty, a message will not be broadcasted. Both this topic and
transfer_run_pubsub_topic are auto-generated if none of them is provided
when creating the definition. It is recommended to provide
transfer_config_pubsub_topic if a user-owned transfer_run_pubsub_topic is
provided. Otherwise, it will be set to empty. If "{location}" is found in
the value, then that means, data source wants to handle message separately
for datasets in different regions. We will replace {location} with the
actual dataset location, as the actual topic name. For example,
projects/connector/topics/scheduler-{location} could become
projects/connector/topics/scheduler-us. If "{location}" is not found, then
we will use the input value as topic name.
string transfer_config_pubsub_topic = 12;public DataSourceDefinition.Builder setTransferConfigPubsubTopicBytes(com.google.protobuf.ByteString value)
The Pub/Sub topic to use for broadcasting a message for transfer config. If
empty, a message will not be broadcasted. Both this topic and
transfer_run_pubsub_topic are auto-generated if none of them is provided
when creating the definition. It is recommended to provide
transfer_config_pubsub_topic if a user-owned transfer_run_pubsub_topic is
provided. Otherwise, it will be set to empty. If "{location}" is found in
the value, then that means, data source wants to handle message separately
for datasets in different regions. We will replace {location} with the
actual dataset location, as the actual topic name. For example,
projects/connector/topics/scheduler-{location} could become
projects/connector/topics/scheduler-us. If "{location}" is not found, then
we will use the input value as topic name.
string transfer_config_pubsub_topic = 12;public com.google.protobuf.ProtocolStringList getSupportedLocationIdsList()
Supported location_ids used for deciding in which locations Pub/Sub topics
need to be created. If custom Pub/Sub topics are used and they contains
'{location}', the location_ids will be used for validating the topics by
replacing the '{location}' with the individual location in the list. The
valid values are the "location_id" field of the response of `GET
https://bigquerydatatransfer.googleapis.com/v1/{name=projects/*}/locations`
In addition, if the data source needs to support all available regions,
supported_location_ids can be set to "global" (a single string element).
When "global" is specified:
1) the data source implementation is supposed to stage the data in proper
region of the destination dataset;
2) Data source developer should be aware of the implications (e.g., network
traffic latency, potential charge associated with cross-region traffic,
etc.) of supporting the "global" region;
repeated string supported_location_ids = 23;getSupportedLocationIdsList in interface DataSourceDefinitionOrBuilderpublic int getSupportedLocationIdsCount()
Supported location_ids used for deciding in which locations Pub/Sub topics
need to be created. If custom Pub/Sub topics are used and they contains
'{location}', the location_ids will be used for validating the topics by
replacing the '{location}' with the individual location in the list. The
valid values are the "location_id" field of the response of `GET
https://bigquerydatatransfer.googleapis.com/v1/{name=projects/*}/locations`
In addition, if the data source needs to support all available regions,
supported_location_ids can be set to "global" (a single string element).
When "global" is specified:
1) the data source implementation is supposed to stage the data in proper
region of the destination dataset;
2) Data source developer should be aware of the implications (e.g., network
traffic latency, potential charge associated with cross-region traffic,
etc.) of supporting the "global" region;
repeated string supported_location_ids = 23;getSupportedLocationIdsCount in interface DataSourceDefinitionOrBuilderpublic String getSupportedLocationIds(int index)
Supported location_ids used for deciding in which locations Pub/Sub topics
need to be created. If custom Pub/Sub topics are used and they contains
'{location}', the location_ids will be used for validating the topics by
replacing the '{location}' with the individual location in the list. The
valid values are the "location_id" field of the response of `GET
https://bigquerydatatransfer.googleapis.com/v1/{name=projects/*}/locations`
In addition, if the data source needs to support all available regions,
supported_location_ids can be set to "global" (a single string element).
When "global" is specified:
1) the data source implementation is supposed to stage the data in proper
region of the destination dataset;
2) Data source developer should be aware of the implications (e.g., network
traffic latency, potential charge associated with cross-region traffic,
etc.) of supporting the "global" region;
repeated string supported_location_ids = 23;getSupportedLocationIds in interface DataSourceDefinitionOrBuilderpublic com.google.protobuf.ByteString getSupportedLocationIdsBytes(int index)
Supported location_ids used for deciding in which locations Pub/Sub topics
need to be created. If custom Pub/Sub topics are used and they contains
'{location}', the location_ids will be used for validating the topics by
replacing the '{location}' with the individual location in the list. The
valid values are the "location_id" field of the response of `GET
https://bigquerydatatransfer.googleapis.com/v1/{name=projects/*}/locations`
In addition, if the data source needs to support all available regions,
supported_location_ids can be set to "global" (a single string element).
When "global" is specified:
1) the data source implementation is supposed to stage the data in proper
region of the destination dataset;
2) Data source developer should be aware of the implications (e.g., network
traffic latency, potential charge associated with cross-region traffic,
etc.) of supporting the "global" region;
repeated string supported_location_ids = 23;getSupportedLocationIdsBytes in interface DataSourceDefinitionOrBuilderpublic DataSourceDefinition.Builder setSupportedLocationIds(int index, String value)
Supported location_ids used for deciding in which locations Pub/Sub topics
need to be created. If custom Pub/Sub topics are used and they contains
'{location}', the location_ids will be used for validating the topics by
replacing the '{location}' with the individual location in the list. The
valid values are the "location_id" field of the response of `GET
https://bigquerydatatransfer.googleapis.com/v1/{name=projects/*}/locations`
In addition, if the data source needs to support all available regions,
supported_location_ids can be set to "global" (a single string element).
When "global" is specified:
1) the data source implementation is supposed to stage the data in proper
region of the destination dataset;
2) Data source developer should be aware of the implications (e.g., network
traffic latency, potential charge associated with cross-region traffic,
etc.) of supporting the "global" region;
repeated string supported_location_ids = 23;public DataSourceDefinition.Builder addSupportedLocationIds(String value)
Supported location_ids used for deciding in which locations Pub/Sub topics
need to be created. If custom Pub/Sub topics are used and they contains
'{location}', the location_ids will be used for validating the topics by
replacing the '{location}' with the individual location in the list. The
valid values are the "location_id" field of the response of `GET
https://bigquerydatatransfer.googleapis.com/v1/{name=projects/*}/locations`
In addition, if the data source needs to support all available regions,
supported_location_ids can be set to "global" (a single string element).
When "global" is specified:
1) the data source implementation is supposed to stage the data in proper
region of the destination dataset;
2) Data source developer should be aware of the implications (e.g., network
traffic latency, potential charge associated with cross-region traffic,
etc.) of supporting the "global" region;
repeated string supported_location_ids = 23;public DataSourceDefinition.Builder addAllSupportedLocationIds(Iterable<String> values)
Supported location_ids used for deciding in which locations Pub/Sub topics
need to be created. If custom Pub/Sub topics are used and they contains
'{location}', the location_ids will be used for validating the topics by
replacing the '{location}' with the individual location in the list. The
valid values are the "location_id" field of the response of `GET
https://bigquerydatatransfer.googleapis.com/v1/{name=projects/*}/locations`
In addition, if the data source needs to support all available regions,
supported_location_ids can be set to "global" (a single string element).
When "global" is specified:
1) the data source implementation is supposed to stage the data in proper
region of the destination dataset;
2) Data source developer should be aware of the implications (e.g., network
traffic latency, potential charge associated with cross-region traffic,
etc.) of supporting the "global" region;
repeated string supported_location_ids = 23;public DataSourceDefinition.Builder clearSupportedLocationIds()
Supported location_ids used for deciding in which locations Pub/Sub topics
need to be created. If custom Pub/Sub topics are used and they contains
'{location}', the location_ids will be used for validating the topics by
replacing the '{location}' with the individual location in the list. The
valid values are the "location_id" field of the response of `GET
https://bigquerydatatransfer.googleapis.com/v1/{name=projects/*}/locations`
In addition, if the data source needs to support all available regions,
supported_location_ids can be set to "global" (a single string element).
When "global" is specified:
1) the data source implementation is supposed to stage the data in proper
region of the destination dataset;
2) Data source developer should be aware of the implications (e.g., network
traffic latency, potential charge associated with cross-region traffic,
etc.) of supporting the "global" region;
repeated string supported_location_ids = 23;public DataSourceDefinition.Builder addSupportedLocationIdsBytes(com.google.protobuf.ByteString value)
Supported location_ids used for deciding in which locations Pub/Sub topics
need to be created. If custom Pub/Sub topics are used and they contains
'{location}', the location_ids will be used for validating the topics by
replacing the '{location}' with the individual location in the list. The
valid values are the "location_id" field of the response of `GET
https://bigquerydatatransfer.googleapis.com/v1/{name=projects/*}/locations`
In addition, if the data source needs to support all available regions,
supported_location_ids can be set to "global" (a single string element).
When "global" is specified:
1) the data source implementation is supposed to stage the data in proper
region of the destination dataset;
2) Data source developer should be aware of the implications (e.g., network
traffic latency, potential charge associated with cross-region traffic,
etc.) of supporting the "global" region;
repeated string supported_location_ids = 23;public final DataSourceDefinition.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>public final DataSourceDefinition.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>Copyright © 2023 Google LLC. All rights reserved.