Class TransferConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.bigquery.datatransfer.v1.TransferConfig
-
- All Implemented Interfaces:
TransferConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class TransferConfig extends com.google.protobuf.GeneratedMessageV3 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 typegoogle.cloud.bigquery.datatransfer.v1.TransferConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransferConfig.BuilderRepresents a data transfer configuration.static classTransferConfig.DestinationCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDATA_REFRESH_WINDOW_DAYS_FIELD_NUMBERstatic intDATA_SOURCE_ID_FIELD_NUMBERstatic intDATASET_REGION_FIELD_NUMBERstatic intDESTINATION_DATASET_ID_FIELD_NUMBERstatic intDISABLED_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intEMAIL_PREFERENCES_FIELD_NUMBERstatic intENCRYPTION_CONFIGURATION_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNEXT_RUN_TIME_FIELD_NUMBERstatic intNOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBERstatic intOWNER_INFO_FIELD_NUMBERstatic intPARAMS_FIELD_NUMBERstatic intSCHEDULE_FIELD_NUMBERstatic intSCHEDULE_OPTIONS_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBERstatic intUSER_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetDataRefreshWindowDays()The number of days to look back to automatically refresh the data.StringgetDatasetRegion()Output only.com.google.protobuf.ByteStringgetDatasetRegionBytes()Output only.StringgetDataSourceId()Data source ID.com.google.protobuf.ByteStringgetDataSourceIdBytes()Data source ID.static TransferConfiggetDefaultInstance()TransferConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()TransferConfig.DestinationCasegetDestinationCase()StringgetDestinationDatasetId()The BigQuery target dataset id.com.google.protobuf.ByteStringgetDestinationDatasetIdBytes()The BigQuery target dataset id.booleangetDisabled()Is this config disabled.StringgetDisplayName()User specified display name for the data transfer.com.google.protobuf.ByteStringgetDisplayNameBytes()User specified display name for the data transfer.EmailPreferencesgetEmailPreferences()Email notifications will be sent according to these preferences to the email address of the user who owns this transfer config.EmailPreferencesOrBuildergetEmailPreferencesOrBuilder()Email notifications will be sent according to these preferences to the email address of the user who owns this transfer config.EncryptionConfigurationgetEncryptionConfiguration()The encryption configuration part.EncryptionConfigurationOrBuildergetEncryptionConfigurationOrBuilder()The encryption configuration part.StringgetName()The resource name of the transfer config.com.google.protobuf.ByteStringgetNameBytes()The resource name of the transfer config.com.google.protobuf.TimestampgetNextRunTime()Output only.com.google.protobuf.TimestampOrBuildergetNextRunTimeOrBuilder()Output only.StringgetNotificationPubsubTopic()Pub/Sub topic where notifications will be sent after transfer runs associated with this transfer config finish.com.google.protobuf.ByteStringgetNotificationPubsubTopicBytes()Pub/Sub topic where notifications will be sent after transfer runs associated with this transfer config finish.UserInfogetOwnerInfo()Output only.UserInfoOrBuildergetOwnerInfoOrBuilder()Output only.com.google.protobuf.StructgetParams()Parameters specific to each data source.com.google.protobuf.StructOrBuildergetParamsOrBuilder()Parameters specific to each data source.com.google.protobuf.Parser<TransferConfig>getParserForType()StringgetSchedule()Data transfer schedule.com.google.protobuf.ByteStringgetScheduleBytes()Data transfer schedule.ScheduleOptionsgetScheduleOptions()Options customizing the data transfer schedule.ScheduleOptionsOrBuildergetScheduleOptionsOrBuilder()Options customizing the data transfer schedule.intgetSerializedSize()TransferStategetState()Output only.intgetStateValue()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.longgetUserId()Deprecated.booleanhasDestinationDatasetId()The BigQuery target dataset id.booleanhasEmailPreferences()Email notifications will be sent according to these preferences to the email address of the user who owns this transfer config.booleanhasEncryptionConfiguration()The encryption configuration part.inthashCode()booleanhasNextRunTime()Output only.booleanhasOwnerInfo()Output only.booleanhasParams()Parameters specific to each data source.booleanhasScheduleOptions()Options customizing the data transfer schedule.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static TransferConfig.BuildernewBuilder()static TransferConfig.BuildernewBuilder(TransferConfig prototype)TransferConfig.BuildernewBuilderForType()protected TransferConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static TransferConfigparseDelimitedFrom(InputStream input)static TransferConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransferConfigparseFrom(byte[] data)static TransferConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransferConfigparseFrom(com.google.protobuf.ByteString data)static TransferConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransferConfigparseFrom(com.google.protobuf.CodedInputStream input)static TransferConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransferConfigparseFrom(InputStream input)static TransferConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransferConfigparseFrom(ByteBuffer data)static TransferConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<TransferConfig>parser()TransferConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESTINATION_DATASET_ID_FIELD_NUMBER
public static final int DESTINATION_DATASET_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_SOURCE_ID_FIELD_NUMBER
public static final int DATA_SOURCE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARAMS_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEDULE_FIELD_NUMBER
public static final int SCHEDULE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEDULE_OPTIONS_FIELD_NUMBER
public static final int SCHEDULE_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER
public static final int DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISABLED_FIELD_NUMBER
public static final int DISABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NEXT_RUN_TIME_FIELD_NUMBER
public static final int NEXT_RUN_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_ID_FIELD_NUMBER
public static final int USER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATASET_REGION_FIELD_NUMBER
public static final int DATASET_REGION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER
public static final int NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EMAIL_PREFERENCES_FIELD_NUMBER
public static final int EMAIL_PREFERENCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OWNER_INFO_FIELD_NUMBER
public static final int OWNER_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCRYPTION_CONFIGURATION_FIELD_NUMBER
public static final int ENCRYPTION_CONFIGURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getDestinationCase
public TransferConfig.DestinationCase getDestinationCase()
- Specified by:
getDestinationCasein interfaceTransferConfigOrBuilder
-
getName
public String getName()
The resource name of the transfer config. Transfer config names have the form `projects/{project_id}/locations/{region}/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;- Specified by:
getNamein interfaceTransferConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The resource name of the transfer config. Transfer config names have the form `projects/{project_id}/locations/{region}/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;- Specified by:
getNameBytesin interfaceTransferConfigOrBuilder- Returns:
- The bytes for name.
-
hasDestinationDatasetId
public boolean hasDestinationDatasetId()
The BigQuery target dataset id.
string destination_dataset_id = 2;- Specified by:
hasDestinationDatasetIdin interfaceTransferConfigOrBuilder- Returns:
- Whether the destinationDatasetId field is set.
-
getDestinationDatasetId
public String getDestinationDatasetId()
The BigQuery target dataset id.
string destination_dataset_id = 2;- Specified by:
getDestinationDatasetIdin interfaceTransferConfigOrBuilder- Returns:
- The destinationDatasetId.
-
getDestinationDatasetIdBytes
public com.google.protobuf.ByteString getDestinationDatasetIdBytes()
The BigQuery target dataset id.
string destination_dataset_id = 2;- Specified by:
getDestinationDatasetIdBytesin interfaceTransferConfigOrBuilder- Returns:
- The bytes for destinationDatasetId.
-
getDisplayName
public String getDisplayName()
User specified display name for the data transfer.
string display_name = 3;- Specified by:
getDisplayNamein interfaceTransferConfigOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
User specified display name for the data transfer.
string display_name = 3;- Specified by:
getDisplayNameBytesin interfaceTransferConfigOrBuilder- Returns:
- The bytes for displayName.
-
getDataSourceId
public String getDataSourceId()
Data source ID. This cannot be changed once data transfer is created. The full list of available data source IDs can be returned through an API call: https://cloud.google.com/bigquery-transfer/docs/reference/datatransfer/rest/v1/projects.locations.dataSources/list
string data_source_id = 5;- Specified by:
getDataSourceIdin interfaceTransferConfigOrBuilder- Returns:
- The dataSourceId.
-
getDataSourceIdBytes
public com.google.protobuf.ByteString getDataSourceIdBytes()
Data source ID. This cannot be changed once data transfer is created. The full list of available data source IDs can be returned through an API call: https://cloud.google.com/bigquery-transfer/docs/reference/datatransfer/rest/v1/projects.locations.dataSources/list
string data_source_id = 5;- Specified by:
getDataSourceIdBytesin interfaceTransferConfigOrBuilder- Returns:
- The bytes for dataSourceId.
-
hasParams
public boolean hasParams()
Parameters specific to each data source. For more information see the bq tab in the 'Setting up a data transfer' section for each data source. For example the parameters for Cloud Storage transfers are listed here: https://cloud.google.com/bigquery-transfer/docs/cloud-storage-transfer#bq
.google.protobuf.Struct params = 9;- Specified by:
hasParamsin interfaceTransferConfigOrBuilder- Returns:
- Whether the params field is set.
-
getParams
public com.google.protobuf.Struct getParams()
Parameters specific to each data source. For more information see the bq tab in the 'Setting up a data transfer' section for each data source. For example the parameters for Cloud Storage transfers are listed here: https://cloud.google.com/bigquery-transfer/docs/cloud-storage-transfer#bq
.google.protobuf.Struct params = 9;- Specified by:
getParamsin interfaceTransferConfigOrBuilder- Returns:
- The params.
-
getParamsOrBuilder
public com.google.protobuf.StructOrBuilder getParamsOrBuilder()
Parameters specific to each data source. For more information see the bq tab in the 'Setting up a data transfer' section for each data source. For example the parameters for Cloud Storage transfers are listed here: https://cloud.google.com/bigquery-transfer/docs/cloud-storage-transfer#bq
.google.protobuf.Struct params = 9;- Specified by:
getParamsOrBuilderin interfaceTransferConfigOrBuilder
-
getSchedule
public 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 minimum interval time between recurring transfers depends on the data source; refer to the documentation for your data source.
string schedule = 7;- Specified by:
getSchedulein interfaceTransferConfigOrBuilder- Returns:
- The schedule.
-
getScheduleBytes
public com.google.protobuf.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 minimum interval time between recurring transfers depends on the data source; refer to the documentation for your data source.
string schedule = 7;- Specified by:
getScheduleBytesin interfaceTransferConfigOrBuilder- Returns:
- The bytes for schedule.
-
hasScheduleOptions
public boolean hasScheduleOptions()
Options customizing the data transfer schedule.
.google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24;- Specified by:
hasScheduleOptionsin interfaceTransferConfigOrBuilder- Returns:
- Whether the scheduleOptions field is set.
-
getScheduleOptions
public ScheduleOptions getScheduleOptions()
Options customizing the data transfer schedule.
.google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24;- Specified by:
getScheduleOptionsin interfaceTransferConfigOrBuilder- Returns:
- The scheduleOptions.
-
getScheduleOptionsOrBuilder
public ScheduleOptionsOrBuilder getScheduleOptionsOrBuilder()
Options customizing the data transfer schedule.
.google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24;- Specified by:
getScheduleOptionsOrBuilderin interfaceTransferConfigOrBuilder
-
getDataRefreshWindowDays
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;- Specified by:
getDataRefreshWindowDaysin interfaceTransferConfigOrBuilder- Returns:
- The dataRefreshWindowDays.
-
getDisabled
public boolean getDisabled()
Is this config disabled. When set to true, no runs are scheduled for a given transfer.
bool disabled = 13;- Specified by:
getDisabledin interfaceTransferConfigOrBuilder- Returns:
- The disabled.
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Data transfer modification time. Ignored by server on input.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceTransferConfigOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Data transfer modification time. Ignored by server on input.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceTransferConfigOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Data transfer modification time. Ignored by server on input.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceTransferConfigOrBuilder
-
hasNextRunTime
public boolean hasNextRunTime()
Output only. Next time when data transfer will run.
.google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasNextRunTimein interfaceTransferConfigOrBuilder- Returns:
- Whether the nextRunTime field is set.
-
getNextRunTime
public com.google.protobuf.Timestamp getNextRunTime()
Output only. Next time when data transfer will run.
.google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNextRunTimein interfaceTransferConfigOrBuilder- Returns:
- The nextRunTime.
-
getNextRunTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder()
Output only. Next time when data transfer will run.
.google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNextRunTimeOrBuilderin interfaceTransferConfigOrBuilder
-
getStateValue
public int getStateValue()
Output only. State of the most recently updated transfer run.
.google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceTransferConfigOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public TransferState getState()
Output only. State of the most recently updated transfer run.
.google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceTransferConfigOrBuilder- Returns:
- The state.
-
getUserId
public long getUserId()
Deprecated. Unique ID of the user on whose behalf transfer is done.
int64 user_id = 11;- Specified by:
getUserIdin interfaceTransferConfigOrBuilder- Returns:
- The userId.
-
getDatasetRegion
public String getDatasetRegion()
Output only. Region in which BigQuery dataset is located.
string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDatasetRegionin interfaceTransferConfigOrBuilder- Returns:
- The datasetRegion.
-
getDatasetRegionBytes
public com.google.protobuf.ByteString getDatasetRegionBytes()
Output only. Region in which BigQuery dataset is located.
string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDatasetRegionBytesin interfaceTransferConfigOrBuilder- Returns:
- The bytes for datasetRegion.
-
getNotificationPubsubTopic
public String getNotificationPubsubTopic()
Pub/Sub topic where notifications will be sent after transfer runs associated with this transfer config finish. The format for specifying a pubsub topic is: `projects/{project}/topics/{topic}`string notification_pubsub_topic = 15;- Specified by:
getNotificationPubsubTopicin interfaceTransferConfigOrBuilder- Returns:
- The notificationPubsubTopic.
-
getNotificationPubsubTopicBytes
public com.google.protobuf.ByteString getNotificationPubsubTopicBytes()
Pub/Sub topic where notifications will be sent after transfer runs associated with this transfer config finish. The format for specifying a pubsub topic is: `projects/{project}/topics/{topic}`string notification_pubsub_topic = 15;- Specified by:
getNotificationPubsubTopicBytesin interfaceTransferConfigOrBuilder- Returns:
- The bytes for notificationPubsubTopic.
-
hasEmailPreferences
public boolean hasEmailPreferences()
Email notifications will be sent according to these preferences to the email address of the user who owns this transfer config.
.google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;- Specified by:
hasEmailPreferencesin interfaceTransferConfigOrBuilder- Returns:
- Whether the emailPreferences field is set.
-
getEmailPreferences
public EmailPreferences getEmailPreferences()
Email notifications will be sent according to these preferences to the email address of the user who owns this transfer config.
.google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;- Specified by:
getEmailPreferencesin interfaceTransferConfigOrBuilder- Returns:
- The emailPreferences.
-
getEmailPreferencesOrBuilder
public EmailPreferencesOrBuilder getEmailPreferencesOrBuilder()
Email notifications will be sent according to these preferences to the email address of the user who owns this transfer config.
.google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;- Specified by:
getEmailPreferencesOrBuilderin interfaceTransferConfigOrBuilder
-
hasOwnerInfo
public boolean hasOwnerInfo()
Output only. Information about the user whose credentials are used to transfer data. Populated only for `transferConfigs.get` requests. In case the user information is not available, this field will not be populated.
optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasOwnerInfoin interfaceTransferConfigOrBuilder- Returns:
- Whether the ownerInfo field is set.
-
getOwnerInfo
public UserInfo getOwnerInfo()
Output only. Information about the user whose credentials are used to transfer data. Populated only for `transferConfigs.get` requests. In case the user information is not available, this field will not be populated.
optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOwnerInfoin interfaceTransferConfigOrBuilder- Returns:
- The ownerInfo.
-
getOwnerInfoOrBuilder
public UserInfoOrBuilder getOwnerInfoOrBuilder()
Output only. Information about the user whose credentials are used to transfer data. Populated only for `transferConfigs.get` requests. In case the user information is not available, this field will not be populated.
optional .google.cloud.bigquery.datatransfer.v1.UserInfo owner_info = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOwnerInfoOrBuilderin interfaceTransferConfigOrBuilder
-
hasEncryptionConfiguration
public boolean hasEncryptionConfiguration()
The encryption configuration part. Currently, it is only used for the optional KMS key name. The BigQuery service account of your project must be granted permissions to use the key. Read methods will return the key name applied in effect. Write methods will apply the key if it is present, or otherwise try to apply project default keys if it is absent.
.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28;- Specified by:
hasEncryptionConfigurationin interfaceTransferConfigOrBuilder- Returns:
- Whether the encryptionConfiguration field is set.
-
getEncryptionConfiguration
public EncryptionConfiguration getEncryptionConfiguration()
The encryption configuration part. Currently, it is only used for the optional KMS key name. The BigQuery service account of your project must be granted permissions to use the key. Read methods will return the key name applied in effect. Write methods will apply the key if it is present, or otherwise try to apply project default keys if it is absent.
.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28;- Specified by:
getEncryptionConfigurationin interfaceTransferConfigOrBuilder- Returns:
- The encryptionConfiguration.
-
getEncryptionConfigurationOrBuilder
public EncryptionConfigurationOrBuilder getEncryptionConfigurationOrBuilder()
The encryption configuration part. Currently, it is only used for the optional KMS key name. The BigQuery service account of your project must be granted permissions to use the key. Read methods will return the key name applied in effect. Write methods will apply the key if it is present, or otherwise try to apply project default keys if it is absent.
.google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration encryption_configuration = 28;- Specified by:
getEncryptionConfigurationOrBuilderin interfaceTransferConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TransferConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TransferConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TransferConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TransferConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TransferConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TransferConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public TransferConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TransferConfig.Builder newBuilder()
-
newBuilder
public static TransferConfig.Builder newBuilder(TransferConfig prototype)
-
toBuilder
public TransferConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TransferConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TransferConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TransferConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<TransferConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TransferConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-