Class DataSourceDefinition.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>
-
- com.google.cloud.bigquery.datatransfer.v1.DataSourceDefinition.Builder
-
- All Implemented Interfaces:
DataSourceDefinitionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataSourceDefinition
public static final class DataSourceDefinition.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder> implements DataSourceDefinitionOrBuilder
Represents the data source definition.
Protobuf typegoogle.cloud.bigquery.datatransfer.v1.DataSourceDefinition
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataSourceDefinition.BuilderaddAllSupportedLocationIds(Iterable<String> values)Supported location_ids used for deciding in which locations Pub/Sub topics need to be created.DataSourceDefinition.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DataSourceDefinition.BuilderaddSupportedLocationIds(String value)Supported location_ids used for deciding in which locations Pub/Sub topics need to be created.DataSourceDefinition.BuilderaddSupportedLocationIdsBytes(com.google.protobuf.ByteString value)Supported location_ids used for deciding in which locations Pub/Sub topics need to be created.DataSourceDefinitionbuild()DataSourceDefinitionbuildPartial()DataSourceDefinition.Builderclear()DataSourceDefinition.BuilderclearDataSource()Data source metadata.DataSourceDefinition.BuilderclearDisabled()Is data source disabled? If true, data_source is not visible.DataSourceDefinition.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DataSourceDefinition.BuilderclearName()The resource name of the data source definition.DataSourceDefinition.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DataSourceDefinition.BuilderclearRunTimeOffset()Duration which should be added to schedule_time to calculate run_time when job is scheduled.DataSourceDefinition.BuilderclearServiceAccount()When service account is specified, BigQuery will share created dataset with the given service account.DataSourceDefinition.BuilderclearSupportedLocationIds()Supported location_ids used for deciding in which locations Pub/Sub topics need to be created.DataSourceDefinition.BuilderclearSupportEmail()Support e-mail address of the OAuth client's Brand, which contains the consent screen data.DataSourceDefinition.BuilderclearTransferConfigPubsubTopic()The Pub/Sub topic to use for broadcasting a message for transfer config.DataSourceDefinition.BuilderclearTransferRunPubsubTopic()The Pub/Sub topic to be used for broadcasting a message when a transfer run is created.DataSourceDefinition.Builderclone()DataSourcegetDataSource()Data source metadata.DataSource.BuildergetDataSourceBuilder()Data source metadata.DataSourceOrBuildergetDataSourceOrBuilder()Data source metadata.DataSourceDefinitiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetDisabled()Is data source disabled? If true, data_source is not visible.StringgetName()The resource name of the data source definition.com.google.protobuf.ByteStringgetNameBytes()The resource name of the data source definition.com.google.protobuf.DurationgetRunTimeOffset()Duration which should be added to schedule_time to calculate run_time when job is scheduled.com.google.protobuf.Duration.BuildergetRunTimeOffsetBuilder()Duration which should be added to schedule_time to calculate run_time when job is scheduled.com.google.protobuf.DurationOrBuildergetRunTimeOffsetOrBuilder()Duration which should be added to schedule_time to calculate run_time when job is scheduled.StringgetServiceAccount()When service account is specified, BigQuery will share created dataset with the given service account.com.google.protobuf.ByteStringgetServiceAccountBytes()When service account is specified, BigQuery will share created dataset with the given service account.StringgetSupportedLocationIds(int index)Supported location_ids used for deciding in which locations Pub/Sub topics need to be created.com.google.protobuf.ByteStringgetSupportedLocationIdsBytes(int index)Supported location_ids used for deciding in which locations Pub/Sub topics need to be created.intgetSupportedLocationIdsCount()Supported location_ids used for deciding in which locations Pub/Sub topics need to be created.com.google.protobuf.ProtocolStringListgetSupportedLocationIdsList()Supported location_ids used for deciding in which locations Pub/Sub topics need to be created.StringgetSupportEmail()Support e-mail address of the OAuth client's Brand, which contains the consent screen data.com.google.protobuf.ByteStringgetSupportEmailBytes()Support e-mail address of the OAuth client's Brand, which contains the consent screen data.StringgetTransferConfigPubsubTopic()The Pub/Sub topic to use for broadcasting a message for transfer config.com.google.protobuf.ByteStringgetTransferConfigPubsubTopicBytes()The Pub/Sub topic to use for broadcasting a message for transfer config.StringgetTransferRunPubsubTopic()The Pub/Sub topic to be used for broadcasting a message when a transfer run is created.com.google.protobuf.ByteStringgetTransferRunPubsubTopicBytes()The Pub/Sub topic to be used for broadcasting a message when a transfer run is created.booleanhasDataSource()Data source metadata.booleanhasRunTimeOffset()Duration which should be added to schedule_time to calculate run_time when job is scheduled.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DataSourceDefinition.BuildermergeDataSource(DataSource value)Data source metadata.DataSourceDefinition.BuildermergeFrom(DataSourceDefinition other)DataSourceDefinition.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DataSourceDefinition.BuildermergeFrom(com.google.protobuf.Message other)DataSourceDefinition.BuildermergeRunTimeOffset(com.google.protobuf.Duration value)Duration which should be added to schedule_time to calculate run_time when job is scheduled.DataSourceDefinition.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DataSourceDefinition.BuildersetDataSource(DataSource value)Data source metadata.DataSourceDefinition.BuildersetDataSource(DataSource.Builder builderForValue)Data source metadata.DataSourceDefinition.BuildersetDisabled(boolean value)Is data source disabled? If true, data_source is not visible.DataSourceDefinition.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DataSourceDefinition.BuildersetName(String value)The resource name of the data source definition.DataSourceDefinition.BuildersetNameBytes(com.google.protobuf.ByteString value)The resource name of the data source definition.DataSourceDefinition.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DataSourceDefinition.BuildersetRunTimeOffset(com.google.protobuf.Duration value)Duration which should be added to schedule_time to calculate run_time when job is scheduled.DataSourceDefinition.BuildersetRunTimeOffset(com.google.protobuf.Duration.Builder builderForValue)Duration which should be added to schedule_time to calculate run_time when job is scheduled.DataSourceDefinition.BuildersetServiceAccount(String value)When service account is specified, BigQuery will share created dataset with the given service account.DataSourceDefinition.BuildersetServiceAccountBytes(com.google.protobuf.ByteString value)When service account is specified, BigQuery will share created dataset with the given service account.DataSourceDefinition.BuildersetSupportedLocationIds(int index, String value)Supported location_ids used for deciding in which locations Pub/Sub topics need to be created.DataSourceDefinition.BuildersetSupportEmail(String value)Support e-mail address of the OAuth client's Brand, which contains the consent screen data.DataSourceDefinition.BuildersetSupportEmailBytes(com.google.protobuf.ByteString value)Support e-mail address of the OAuth client's Brand, which contains the consent screen data.DataSourceDefinition.BuildersetTransferConfigPubsubTopic(String value)The Pub/Sub topic to use for broadcasting a message for transfer config.DataSourceDefinition.BuildersetTransferConfigPubsubTopicBytes(com.google.protobuf.ByteString value)The Pub/Sub topic to use for broadcasting a message for transfer config.DataSourceDefinition.BuildersetTransferRunPubsubTopic(String value)The Pub/Sub topic to be used for broadcasting a message when a transfer run is created.DataSourceDefinition.BuildersetTransferRunPubsubTopicBytes(com.google.protobuf.ByteString value)The Pub/Sub topic to be used for broadcasting a message when a transfer run is created.DataSourceDefinition.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>
-
clear
public DataSourceDefinition.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>
-
getDefaultInstanceForType
public DataSourceDefinition getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataSourceDefinition build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataSourceDefinition buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataSourceDefinition.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>
-
setField
public DataSourceDefinition.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>
-
clearField
public DataSourceDefinition.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>
-
clearOneof
public DataSourceDefinition.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>
-
setRepeatedField
public DataSourceDefinition.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>
-
addRepeatedField
public DataSourceDefinition.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>
-
mergeFrom
public DataSourceDefinition.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataSourceDefinition.Builder>
-
mergeFrom
public DataSourceDefinition.Builder mergeFrom(DataSourceDefinition other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>
-
mergeFrom
public DataSourceDefinition.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataSourceDefinition.Builder>- Throws:
IOException
-
getName
public 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;- Specified by:
getNamein interfaceDataSourceDefinitionOrBuilder
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceDataSourceDefinitionOrBuilder
-
setName
public 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;
-
clearName
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;
-
setNameBytes
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;
-
hasDataSource
public boolean hasDataSource()
Data source metadata.
.google.cloud.bigquery.datatransfer.v1.DataSource data_source = 1;- Specified by:
hasDataSourcein interfaceDataSourceDefinitionOrBuilder
-
getDataSource
public DataSource getDataSource()
Data source metadata.
.google.cloud.bigquery.datatransfer.v1.DataSource data_source = 1;- Specified by:
getDataSourcein interfaceDataSourceDefinitionOrBuilder
-
setDataSource
public DataSourceDefinition.Builder setDataSource(DataSource value)
Data source metadata.
.google.cloud.bigquery.datatransfer.v1.DataSource data_source = 1;
-
setDataSource
public DataSourceDefinition.Builder setDataSource(DataSource.Builder builderForValue)
Data source metadata.
.google.cloud.bigquery.datatransfer.v1.DataSource data_source = 1;
-
mergeDataSource
public DataSourceDefinition.Builder mergeDataSource(DataSource value)
Data source metadata.
.google.cloud.bigquery.datatransfer.v1.DataSource data_source = 1;
-
clearDataSource
public DataSourceDefinition.Builder clearDataSource()
Data source metadata.
.google.cloud.bigquery.datatransfer.v1.DataSource data_source = 1;
-
getDataSourceBuilder
public DataSource.Builder getDataSourceBuilder()
Data source metadata.
.google.cloud.bigquery.datatransfer.v1.DataSource data_source = 1;
-
getDataSourceOrBuilder
public DataSourceOrBuilder getDataSourceOrBuilder()
Data source metadata.
.google.cloud.bigquery.datatransfer.v1.DataSource data_source = 1;- Specified by:
getDataSourceOrBuilderin interfaceDataSourceDefinitionOrBuilder
-
getTransferRunPubsubTopic
public 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;- Specified by:
getTransferRunPubsubTopicin interfaceDataSourceDefinitionOrBuilder
-
getTransferRunPubsubTopicBytes
public 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;- Specified by:
getTransferRunPubsubTopicBytesin interfaceDataSourceDefinitionOrBuilder
-
setTransferRunPubsubTopic
public 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;
-
clearTransferRunPubsubTopic
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;
-
setTransferRunPubsubTopicBytes
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;
-
hasRunTimeOffset
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;- Specified by:
hasRunTimeOffsetin interfaceDataSourceDefinitionOrBuilder
-
getRunTimeOffset
public 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;- Specified by:
getRunTimeOffsetin interfaceDataSourceDefinitionOrBuilder
-
setRunTimeOffset
public 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;
-
setRunTimeOffset
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;
-
mergeRunTimeOffset
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;
-
clearRunTimeOffset
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;
-
getRunTimeOffsetBuilder
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;
-
getRunTimeOffsetOrBuilder
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;- Specified by:
getRunTimeOffsetOrBuilderin interfaceDataSourceDefinitionOrBuilder
-
getSupportEmail
public String getSupportEmail()
Support e-mail address of the OAuth client's Brand, which contains the consent screen data.
string support_email = 22;- Specified by:
getSupportEmailin interfaceDataSourceDefinitionOrBuilder
-
getSupportEmailBytes
public 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;- Specified by:
getSupportEmailBytesin interfaceDataSourceDefinitionOrBuilder
-
setSupportEmail
public 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;
-
clearSupportEmail
public DataSourceDefinition.Builder clearSupportEmail()
Support e-mail address of the OAuth client's Brand, which contains the consent screen data.
string support_email = 22;
-
setSupportEmailBytes
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;
-
getServiceAccount
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;- Specified by:
getServiceAccountin interfaceDataSourceDefinitionOrBuilder
-
getServiceAccountBytes
public 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;- Specified by:
getServiceAccountBytesin interfaceDataSourceDefinitionOrBuilder
-
setServiceAccount
public 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;
-
clearServiceAccount
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;
-
setServiceAccountBytes
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;
-
getDisabled
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;- Specified by:
getDisabledin interfaceDataSourceDefinitionOrBuilder
-
setDisabled
public 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;
-
clearDisabled
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;
-
getTransferConfigPubsubTopic
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;- Specified by:
getTransferConfigPubsubTopicin interfaceDataSourceDefinitionOrBuilder
-
getTransferConfigPubsubTopicBytes
public 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;- Specified by:
getTransferConfigPubsubTopicBytesin interfaceDataSourceDefinitionOrBuilder
-
setTransferConfigPubsubTopic
public 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;
-
clearTransferConfigPubsubTopic
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;
-
setTransferConfigPubsubTopicBytes
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;
-
getSupportedLocationIdsList
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;- Specified by:
getSupportedLocationIdsListin interfaceDataSourceDefinitionOrBuilder
-
getSupportedLocationIdsCount
public 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;- Specified by:
getSupportedLocationIdsCountin interfaceDataSourceDefinitionOrBuilder
-
getSupportedLocationIds
public 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;- Specified by:
getSupportedLocationIdsin interfaceDataSourceDefinitionOrBuilder
-
getSupportedLocationIdsBytes
public 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;- Specified by:
getSupportedLocationIdsBytesin interfaceDataSourceDefinitionOrBuilder
-
setSupportedLocationIds
public 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;
-
addSupportedLocationIds
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;
-
addAllSupportedLocationIds
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;
-
clearSupportedLocationIds
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;
-
addSupportedLocationIdsBytes
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;
-
setUnknownFields
public final DataSourceDefinition.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>
-
mergeUnknownFields
public final DataSourceDefinition.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DataSourceDefinition.Builder>
-
-