Class TransferConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class TransferConfig
extends com.google.protobuf.GeneratedMessage
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.TransferConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents a data transfer configuration.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanintThe number of days to look back to automatically refresh the data.Output only.com.google.protobuf.ByteStringOutput only.Data source ID.com.google.protobuf.ByteStringData source ID.static TransferConfigstatic final com.google.protobuf.Descriptors.DescriptorThe BigQuery target dataset id.com.google.protobuf.ByteStringThe BigQuery target dataset id.booleanIs this config disabled.User specified display name for the data transfer.com.google.protobuf.ByteStringUser specified display name for the data transfer.Email notifications will be sent according to these preferences to the email address of the user who owns this transfer config.Email notifications will be sent according to these preferences to the email address of the user who owns this transfer config.The encryption configuration part.The encryption configuration part.getError()Output only.Output only.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Pub/Sub topic where notifications will be sent after transfer runs associated with this transfer config finish.com.google.protobuf.ByteStringPub/Sub topic where notifications will be sent after transfer runs associated with this transfer config finish.Output only.Output only.com.google.protobuf.StructParameters specific to each data source.com.google.protobuf.StructOrBuilderParameters specific to each data source.com.google.protobuf.Parser<TransferConfig>Data transfer schedule.com.google.protobuf.ByteStringData transfer schedule.Options customizing the data transfer schedule.Options customizing the data transfer schedule.Options customizing different types of data transfer schedule.Options customizing different types of data transfer schedule.intgetState()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.longDeprecated.booleanThe BigQuery target dataset id.booleanEmail notifications will be sent according to these preferences to the email address of the user who owns this transfer config.booleanThe encryption configuration part.booleanhasError()Output only.inthashCode()booleanOutput only.booleanOutput only.booleanParameters specific to each data source.booleanOptions customizing the data transfer schedule.booleanOptions customizing different types of data transfer schedule.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic TransferConfig.Builderstatic TransferConfig.BuildernewBuilder(TransferConfig prototype) protected TransferConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DESTINATION_DATASET_ID_FIELD_NUMBER
public static final int DESTINATION_DATASET_ID_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
DATA_SOURCE_ID_FIELD_NUMBER
public static final int DATA_SOURCE_ID_FIELD_NUMBER- See Also:
-
PARAMS_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER- See Also:
-
SCHEDULE_FIELD_NUMBER
public static final int SCHEDULE_FIELD_NUMBER- See Also:
-
SCHEDULE_OPTIONS_FIELD_NUMBER
public static final int SCHEDULE_OPTIONS_FIELD_NUMBER- See Also:
-
SCHEDULE_OPTIONS_V2_FIELD_NUMBER
public static final int SCHEDULE_OPTIONS_V2_FIELD_NUMBER- See Also:
-
DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER
public static final int DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER- See Also:
-
DISABLED_FIELD_NUMBER
public static final int DISABLED_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
NEXT_RUN_TIME_FIELD_NUMBER
public static final int NEXT_RUN_TIME_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
USER_ID_FIELD_NUMBER
public static final int USER_ID_FIELD_NUMBER- See Also:
-
DATASET_REGION_FIELD_NUMBER
public static final int DATASET_REGION_FIELD_NUMBER- See Also:
-
NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER
public static final int NOTIFICATION_PUBSUB_TOPIC_FIELD_NUMBER- See Also:
-
EMAIL_PREFERENCES_FIELD_NUMBER
public static final int EMAIL_PREFERENCES_FIELD_NUMBER- See Also:
-
OWNER_INFO_FIELD_NUMBER
public static final int OWNER_INFO_FIELD_NUMBER- See Also:
-
ENCRYPTION_CONFIGURATION_FIELD_NUMBER
public static final int ENCRYPTION_CONFIGURATION_FIELD_NUMBER- See Also:
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getDestinationCase
- Specified by:
getDestinationCasein interfaceTransferConfigOrBuilder
-
getName
Identifier. The resource name of the transfer config. Transfer config names have the form either `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or `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 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceTransferConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. The resource name of the transfer config. Transfer config names have the form either `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or `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 [(.google.api.field_behavior) = IDENTIFIER];- 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
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
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
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
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
Options customizing the data transfer schedule.
.google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24;- Specified by:
getScheduleOptionsin interfaceTransferConfigOrBuilder- Returns:
- The scheduleOptions.
-
getScheduleOptionsOrBuilder
Options customizing the data transfer schedule.
.google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24;- Specified by:
getScheduleOptionsOrBuilderin interfaceTransferConfigOrBuilder
-
hasScheduleOptionsV2
public boolean hasScheduleOptionsV2()Options customizing different types of data transfer schedule. This field replaces "schedule" and "schedule_options" fields. ScheduleOptionsV2 cannot be used together with ScheduleOptions/Schedule.
.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsV2 schedule_options_v2 = 31;- Specified by:
hasScheduleOptionsV2in interfaceTransferConfigOrBuilder- Returns:
- Whether the scheduleOptionsV2 field is set.
-
getScheduleOptionsV2
Options customizing different types of data transfer schedule. This field replaces "schedule" and "schedule_options" fields. ScheduleOptionsV2 cannot be used together with ScheduleOptions/Schedule.
.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsV2 schedule_options_v2 = 31;- Specified by:
getScheduleOptionsV2in interfaceTransferConfigOrBuilder- Returns:
- The scheduleOptionsV2.
-
getScheduleOptionsV2OrBuilder
Options customizing different types of data transfer schedule. This field replaces "schedule" and "schedule_options" fields. ScheduleOptionsV2 cannot be used together with ScheduleOptions/Schedule.
.google.cloud.bigquery.datatransfer.v1.ScheduleOptionsV2 schedule_options_v2 = 31;- Specified by:
getScheduleOptionsV2OrBuilderin 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 will be scheduled for this transfer config.
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
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
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
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_id}/topics/{topic_id}`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_id}/topics/{topic_id}`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
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
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
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
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
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
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
-
hasError
public boolean hasError()Output only. Error code with detailed information about reason of the latest config failure.
.google.rpc.Status error = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasErrorin interfaceTransferConfigOrBuilder- Returns:
- Whether the error field is set.
-
getError
Output only. Error code with detailed information about reason of the latest config failure.
.google.rpc.Status error = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorin interfaceTransferConfigOrBuilder- Returns:
- The error.
-
getErrorOrBuilder
Output only. Error code with detailed information about reason of the latest config failure.
.google.rpc.Status error = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorOrBuilderin interfaceTransferConfigOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static TransferConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TransferConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-