public static final class TransferConfig.Builder extends GeneratedMessageV3.Builder<TransferConfig.Builder> implements TransferConfigOrBuilder
Represents a data transfer configuration. A transfer configuration contains all metadata needed to perform a data transfer. For example, `destination_dataset_id` specifies where data should be stored. When a new transfer configuration is created, the specified `destination_dataset_id` is created when needed and shared with the appropriate data source service account.Protobuf type
google.cloud.bigquery.datatransfer.v1.TransferConfiggetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<TransferConfig.Builder>public TransferConfig.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<TransferConfig.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<TransferConfig.Builder>public TransferConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic TransferConfig build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic TransferConfig buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic TransferConfig.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<TransferConfig.Builder>public TransferConfig.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<TransferConfig.Builder>public TransferConfig.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<TransferConfig.Builder>public TransferConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<TransferConfig.Builder>public TransferConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<TransferConfig.Builder>public TransferConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<TransferConfig.Builder>public TransferConfig.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<TransferConfig.Builder>public TransferConfig.Builder mergeFrom(TransferConfig other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<TransferConfig.Builder>public TransferConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<TransferConfig.Builder>java.io.IOExceptionpublic java.lang.String getName()
The resource name of the transfer config.
Transfer config names have the form
`projects/{project_id}/transferConfigs/{config_id}`.
Where `config_id` is usually a uuid, even though it is not
guaranteed or required. The name is ignored when creating a transfer
config.
string name = 1;getName in interface TransferConfigOrBuilderpublic ByteString getNameBytes()
The resource name of the transfer config.
Transfer config names have the form
`projects/{project_id}/transferConfigs/{config_id}`.
Where `config_id` is usually a uuid, even though it is not
guaranteed or required. The name is ignored when creating a transfer
config.
string name = 1;getNameBytes in interface TransferConfigOrBuilderpublic TransferConfig.Builder setName(java.lang.String value)
The resource name of the transfer config.
Transfer config names have the form
`projects/{project_id}/transferConfigs/{config_id}`.
Where `config_id` is usually a uuid, even though it is not
guaranteed or required. The name is ignored when creating a transfer
config.
string name = 1;public TransferConfig.Builder clearName()
The resource name of the transfer config.
Transfer config names have the form
`projects/{project_id}/transferConfigs/{config_id}`.
Where `config_id` is usually a uuid, even though it is not
guaranteed or required. The name is ignored when creating a transfer
config.
string name = 1;public TransferConfig.Builder setNameBytes(ByteString value)
The resource name of the transfer config.
Transfer config names have the form
`projects/{project_id}/transferConfigs/{config_id}`.
Where `config_id` is usually a uuid, even though it is not
guaranteed or required. The name is ignored when creating a transfer
config.
string name = 1;public java.lang.String getDestinationDatasetId()
The BigQuery target dataset id.
string destination_dataset_id = 2;getDestinationDatasetId in interface TransferConfigOrBuilderpublic ByteString getDestinationDatasetIdBytes()
The BigQuery target dataset id.
string destination_dataset_id = 2;getDestinationDatasetIdBytes in interface TransferConfigOrBuilderpublic TransferConfig.Builder setDestinationDatasetId(java.lang.String value)
The BigQuery target dataset id.
string destination_dataset_id = 2;public TransferConfig.Builder clearDestinationDatasetId()
The BigQuery target dataset id.
string destination_dataset_id = 2;public TransferConfig.Builder setDestinationDatasetIdBytes(ByteString value)
The BigQuery target dataset id.
string destination_dataset_id = 2;public java.lang.String getDisplayName()
User specified display name for the data transfer.
string display_name = 3;getDisplayName in interface TransferConfigOrBuilderpublic ByteString getDisplayNameBytes()
User specified display name for the data transfer.
string display_name = 3;getDisplayNameBytes in interface TransferConfigOrBuilderpublic TransferConfig.Builder setDisplayName(java.lang.String value)
User specified display name for the data transfer.
string display_name = 3;public TransferConfig.Builder clearDisplayName()
User specified display name for the data transfer.
string display_name = 3;public TransferConfig.Builder setDisplayNameBytes(ByteString value)
User specified display name for the data transfer.
string display_name = 3;public java.lang.String getDataSourceId()
Data source id. Cannot be changed once data transfer is created.
string data_source_id = 5;getDataSourceId in interface TransferConfigOrBuilderpublic ByteString getDataSourceIdBytes()
Data source id. Cannot be changed once data transfer is created.
string data_source_id = 5;getDataSourceIdBytes in interface TransferConfigOrBuilderpublic TransferConfig.Builder setDataSourceId(java.lang.String value)
Data source id. Cannot be changed once data transfer is created.
string data_source_id = 5;public TransferConfig.Builder clearDataSourceId()
Data source id. Cannot be changed once data transfer is created.
string data_source_id = 5;public TransferConfig.Builder setDataSourceIdBytes(ByteString value)
Data source id. Cannot be changed once data transfer is created.
string data_source_id = 5;public boolean hasParams()
Data transfer specific parameters.
.google.protobuf.Struct params = 9;hasParams in interface TransferConfigOrBuilderpublic Struct getParams()
Data transfer specific parameters.
.google.protobuf.Struct params = 9;getParams in interface TransferConfigOrBuilderpublic TransferConfig.Builder setParams(Struct value)
Data transfer specific parameters.
.google.protobuf.Struct params = 9;public TransferConfig.Builder setParams(Struct.Builder builderForValue)
Data transfer specific parameters.
.google.protobuf.Struct params = 9;public TransferConfig.Builder mergeParams(Struct value)
Data transfer specific parameters.
.google.protobuf.Struct params = 9;public TransferConfig.Builder clearParams()
Data transfer specific parameters.
.google.protobuf.Struct params = 9;public Struct.Builder getParamsBuilder()
Data transfer specific parameters.
.google.protobuf.Struct params = 9;public StructOrBuilder getParamsOrBuilder()
Data transfer specific parameters.
.google.protobuf.Struct params = 9;getParamsOrBuilder in interface TransferConfigOrBuilderpublic java.lang.String getSchedule()
Data transfer schedule. If the data source does not support a custom schedule, this should be empty. If it is empty, the default value for the data source will be used. The specified times are in UTC. Examples of valid format: `1st,3rd monday of month 15:30`, `every wed,fri of jan,jun 13:15`, and `first sunday of quarter 00:00`. See more explanation about the format here: https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format NOTE: the granularity should be at least 8 hours, or less frequent.
string schedule = 7;getSchedule in interface TransferConfigOrBuilderpublic ByteString getScheduleBytes()
Data transfer schedule. If the data source does not support a custom schedule, this should be empty. If it is empty, the default value for the data source will be used. The specified times are in UTC. Examples of valid format: `1st,3rd monday of month 15:30`, `every wed,fri of jan,jun 13:15`, and `first sunday of quarter 00:00`. See more explanation about the format here: https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format NOTE: the granularity should be at least 8 hours, or less frequent.
string schedule = 7;getScheduleBytes in interface TransferConfigOrBuilderpublic TransferConfig.Builder setSchedule(java.lang.String value)
Data transfer schedule. If the data source does not support a custom schedule, this should be empty. If it is empty, the default value for the data source will be used. The specified times are in UTC. Examples of valid format: `1st,3rd monday of month 15:30`, `every wed,fri of jan,jun 13:15`, and `first sunday of quarter 00:00`. See more explanation about the format here: https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format NOTE: the granularity should be at least 8 hours, or less frequent.
string schedule = 7;public TransferConfig.Builder clearSchedule()
Data transfer schedule. If the data source does not support a custom schedule, this should be empty. If it is empty, the default value for the data source will be used. The specified times are in UTC. Examples of valid format: `1st,3rd monday of month 15:30`, `every wed,fri of jan,jun 13:15`, and `first sunday of quarter 00:00`. See more explanation about the format here: https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format NOTE: the granularity should be at least 8 hours, or less frequent.
string schedule = 7;public TransferConfig.Builder setScheduleBytes(ByteString value)
Data transfer schedule. If the data source does not support a custom schedule, this should be empty. If it is empty, the default value for the data source will be used. The specified times are in UTC. Examples of valid format: `1st,3rd monday of month 15:30`, `every wed,fri of jan,jun 13:15`, and `first sunday of quarter 00:00`. See more explanation about the format here: https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format NOTE: the granularity should be at least 8 hours, or less frequent.
string schedule = 7;public int getDataRefreshWindowDays()
The number of days to look back to automatically refresh the data. For example, if `data_refresh_window_days = 10`, then every day BigQuery reingests data for [today-10, today-1], rather than ingesting data for just [today-1]. Only valid if the data source supports the feature. Set the value to 0 to use the default value.
int32 data_refresh_window_days = 12;getDataRefreshWindowDays in interface TransferConfigOrBuilderpublic TransferConfig.Builder setDataRefreshWindowDays(int value)
The number of days to look back to automatically refresh the data. For example, if `data_refresh_window_days = 10`, then every day BigQuery reingests data for [today-10, today-1], rather than ingesting data for just [today-1]. Only valid if the data source supports the feature. Set the value to 0 to use the default value.
int32 data_refresh_window_days = 12;public TransferConfig.Builder clearDataRefreshWindowDays()
The number of days to look back to automatically refresh the data. For example, if `data_refresh_window_days = 10`, then every day BigQuery reingests data for [today-10, today-1], rather than ingesting data for just [today-1]. Only valid if the data source supports the feature. Set the value to 0 to use the default value.
int32 data_refresh_window_days = 12;public boolean getDisabled()
Is this config disabled. When set to true, no runs are scheduled for a given transfer.
bool disabled = 13;getDisabled in interface TransferConfigOrBuilderpublic TransferConfig.Builder setDisabled(boolean value)
Is this config disabled. When set to true, no runs are scheduled for a given transfer.
bool disabled = 13;public TransferConfig.Builder clearDisabled()
Is this config disabled. When set to true, no runs are scheduled for a given transfer.
bool disabled = 13;public boolean hasUpdateTime()
Output only. Data transfer modification time. Ignored by server on input.
.google.protobuf.Timestamp update_time = 4;hasUpdateTime in interface TransferConfigOrBuilderpublic Timestamp getUpdateTime()
Output only. Data transfer modification time. Ignored by server on input.
.google.protobuf.Timestamp update_time = 4;getUpdateTime in interface TransferConfigOrBuilderpublic TransferConfig.Builder setUpdateTime(Timestamp value)
Output only. Data transfer modification time. Ignored by server on input.
.google.protobuf.Timestamp update_time = 4;public TransferConfig.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Data transfer modification time. Ignored by server on input.
.google.protobuf.Timestamp update_time = 4;public TransferConfig.Builder mergeUpdateTime(Timestamp value)
Output only. Data transfer modification time. Ignored by server on input.
.google.protobuf.Timestamp update_time = 4;public TransferConfig.Builder clearUpdateTime()
Output only. Data transfer modification time. Ignored by server on input.
.google.protobuf.Timestamp update_time = 4;public Timestamp.Builder getUpdateTimeBuilder()
Output only. Data transfer modification time. Ignored by server on input.
.google.protobuf.Timestamp update_time = 4;public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Data transfer modification time. Ignored by server on input.
.google.protobuf.Timestamp update_time = 4;getUpdateTimeOrBuilder in interface TransferConfigOrBuilderpublic boolean hasNextRunTime()
Output only. Next time when data transfer will run.
.google.protobuf.Timestamp next_run_time = 8;hasNextRunTime in interface TransferConfigOrBuilderpublic Timestamp getNextRunTime()
Output only. Next time when data transfer will run.
.google.protobuf.Timestamp next_run_time = 8;getNextRunTime in interface TransferConfigOrBuilderpublic TransferConfig.Builder setNextRunTime(Timestamp value)
Output only. Next time when data transfer will run.
.google.protobuf.Timestamp next_run_time = 8;public TransferConfig.Builder setNextRunTime(Timestamp.Builder builderForValue)
Output only. Next time when data transfer will run.
.google.protobuf.Timestamp next_run_time = 8;public TransferConfig.Builder mergeNextRunTime(Timestamp value)
Output only. Next time when data transfer will run.
.google.protobuf.Timestamp next_run_time = 8;public TransferConfig.Builder clearNextRunTime()
Output only. Next time when data transfer will run.
.google.protobuf.Timestamp next_run_time = 8;public Timestamp.Builder getNextRunTimeBuilder()
Output only. Next time when data transfer will run.
.google.protobuf.Timestamp next_run_time = 8;public TimestampOrBuilder getNextRunTimeOrBuilder()
Output only. Next time when data transfer will run.
.google.protobuf.Timestamp next_run_time = 8;getNextRunTimeOrBuilder in interface TransferConfigOrBuilderpublic int getStateValue()
Output only. State of the most recently updated transfer run.
.google.cloud.bigquery.datatransfer.v1.TransferState state = 10;getStateValue in interface TransferConfigOrBuilderpublic TransferConfig.Builder setStateValue(int value)
Output only. State of the most recently updated transfer run.
.google.cloud.bigquery.datatransfer.v1.TransferState state = 10;public TransferState getState()
Output only. State of the most recently updated transfer run.
.google.cloud.bigquery.datatransfer.v1.TransferState state = 10;getState in interface TransferConfigOrBuilderpublic TransferConfig.Builder setState(TransferState value)
Output only. State of the most recently updated transfer run.
.google.cloud.bigquery.datatransfer.v1.TransferState state = 10;public TransferConfig.Builder clearState()
Output only. State of the most recently updated transfer run.
.google.cloud.bigquery.datatransfer.v1.TransferState state = 10;public long getUserId()
Output only. Unique ID of the user on whose behalf transfer is done. Applicable only to data sources that do not support service accounts. When set to 0, the data source service account credentials are used. May be negative. Note, that this identifier is not stable. It may change over time even for the same user.
int64 user_id = 11;getUserId in interface TransferConfigOrBuilderpublic TransferConfig.Builder setUserId(long value)
Output only. Unique ID of the user on whose behalf transfer is done. Applicable only to data sources that do not support service accounts. When set to 0, the data source service account credentials are used. May be negative. Note, that this identifier is not stable. It may change over time even for the same user.
int64 user_id = 11;public TransferConfig.Builder clearUserId()
Output only. Unique ID of the user on whose behalf transfer is done. Applicable only to data sources that do not support service accounts. When set to 0, the data source service account credentials are used. May be negative. Note, that this identifier is not stable. It may change over time even for the same user.
int64 user_id = 11;public java.lang.String getDatasetRegion()
Output only. Region in which BigQuery dataset is located.
string dataset_region = 14;getDatasetRegion in interface TransferConfigOrBuilderpublic ByteString getDatasetRegionBytes()
Output only. Region in which BigQuery dataset is located.
string dataset_region = 14;getDatasetRegionBytes in interface TransferConfigOrBuilderpublic TransferConfig.Builder setDatasetRegion(java.lang.String value)
Output only. Region in which BigQuery dataset is located.
string dataset_region = 14;public TransferConfig.Builder clearDatasetRegion()
Output only. Region in which BigQuery dataset is located.
string dataset_region = 14;public TransferConfig.Builder setDatasetRegionBytes(ByteString value)
Output only. Region in which BigQuery dataset is located.
string dataset_region = 14;public final TransferConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<TransferConfig.Builder>public final TransferConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<TransferConfig.Builder>