Class DataSource.Builder

  • All Implemented Interfaces:
    DataSourceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    DataSource

    public static final class DataSource.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<DataSource.Builder>
    implements DataSourceOrBuilder
     Defines the properties and custom parameters for a data source.
     
    Protobuf type google.cloud.bigquery.datatransfer.v1.DataSource
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DataSource.Builder>
      • clear

        public DataSource.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<DataSource.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DataSource.Builder>
      • getDefaultInstanceForType

        public DataSource getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public DataSource build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public DataSource buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public DataSource.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<DataSource.Builder>
      • setField

        public DataSource.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                           Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<DataSource.Builder>
      • clearField

        public DataSource.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DataSource.Builder>
      • clearOneof

        public DataSource.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DataSource.Builder>
      • setRepeatedField

        public DataSource.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   int index,
                                                   Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataSource.Builder>
      • addRepeatedField

        public DataSource.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataSource.Builder>
      • mergeFrom

        public DataSource.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataSource.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DataSource.Builder>
      • mergeFrom

        public DataSource.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataSource.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Output only. Data source resource name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface DataSourceOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. Data source resource name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface DataSourceOrBuilder
        Returns:
        The bytes for name.
      • setName

        public DataSource.Builder setName​(String value)
         Output only. Data source resource name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public DataSource.Builder clearName()
         Output only. Data source resource name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNameBytes

        public DataSource.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. Data source resource name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getDataSourceIdBytes

        public com.google.protobuf.ByteString getDataSourceIdBytes()
         Data source id.
         
        string data_source_id = 2;
        Specified by:
        getDataSourceIdBytes in interface DataSourceOrBuilder
        Returns:
        The bytes for dataSourceId.
      • setDataSourceId

        public DataSource.Builder setDataSourceId​(String value)
         Data source id.
         
        string data_source_id = 2;
        Parameters:
        value - The dataSourceId to set.
        Returns:
        This builder for chaining.
      • clearDataSourceId

        public DataSource.Builder clearDataSourceId()
         Data source id.
         
        string data_source_id = 2;
        Returns:
        This builder for chaining.
      • setDataSourceIdBytes

        public DataSource.Builder setDataSourceIdBytes​(com.google.protobuf.ByteString value)
         Data source id.
         
        string data_source_id = 2;
        Parameters:
        value - The bytes for dataSourceId to set.
        Returns:
        This builder for chaining.
      • getDisplayName

        public String getDisplayName()
         User friendly data source name.
         
        string display_name = 3;
        Specified by:
        getDisplayName in interface DataSourceOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         User friendly data source name.
         
        string display_name = 3;
        Specified by:
        getDisplayNameBytes in interface DataSourceOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

        public DataSource.Builder setDisplayName​(String value)
         User friendly data source name.
         
        string display_name = 3;
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public DataSource.Builder clearDisplayName()
         User friendly data source name.
         
        string display_name = 3;
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public DataSource.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         User friendly data source name.
         
        string display_name = 3;
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • getDescription

        public String getDescription()
         User friendly data source description string.
         
        string description = 4;
        Specified by:
        getDescription in interface DataSourceOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         User friendly data source description string.
         
        string description = 4;
        Specified by:
        getDescriptionBytes in interface DataSourceOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public DataSource.Builder setDescription​(String value)
         User friendly data source description string.
         
        string description = 4;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public DataSource.Builder clearDescription()
         User friendly data source description string.
         
        string description = 4;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public DataSource.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         User friendly data source description string.
         
        string description = 4;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • getClientId

        public String getClientId()
         Data source client id which should be used to receive refresh token.
         
        string client_id = 5;
        Specified by:
        getClientId in interface DataSourceOrBuilder
        Returns:
        The clientId.
      • getClientIdBytes

        public com.google.protobuf.ByteString getClientIdBytes()
         Data source client id which should be used to receive refresh token.
         
        string client_id = 5;
        Specified by:
        getClientIdBytes in interface DataSourceOrBuilder
        Returns:
        The bytes for clientId.
      • setClientId

        public DataSource.Builder setClientId​(String value)
         Data source client id which should be used to receive refresh token.
         
        string client_id = 5;
        Parameters:
        value - The clientId to set.
        Returns:
        This builder for chaining.
      • clearClientId

        public DataSource.Builder clearClientId()
         Data source client id which should be used to receive refresh token.
         
        string client_id = 5;
        Returns:
        This builder for chaining.
      • setClientIdBytes

        public DataSource.Builder setClientIdBytes​(com.google.protobuf.ByteString value)
         Data source client id which should be used to receive refresh token.
         
        string client_id = 5;
        Parameters:
        value - The bytes for clientId to set.
        Returns:
        This builder for chaining.
      • getScopesList

        public com.google.protobuf.ProtocolStringList getScopesList()
         Api auth scopes for which refresh token needs to be obtained. These are
         scopes needed by a data source to prepare data and ingest them into
         BigQuery, e.g., https://www.googleapis.com/auth/bigquery
         
        repeated string scopes = 6;
        Specified by:
        getScopesList in interface DataSourceOrBuilder
        Returns:
        A list containing the scopes.
      • getScopesCount

        public int getScopesCount()
         Api auth scopes for which refresh token needs to be obtained. These are
         scopes needed by a data source to prepare data and ingest them into
         BigQuery, e.g., https://www.googleapis.com/auth/bigquery
         
        repeated string scopes = 6;
        Specified by:
        getScopesCount in interface DataSourceOrBuilder
        Returns:
        The count of scopes.
      • getScopes

        public String getScopes​(int index)
         Api auth scopes for which refresh token needs to be obtained. These are
         scopes needed by a data source to prepare data and ingest them into
         BigQuery, e.g., https://www.googleapis.com/auth/bigquery
         
        repeated string scopes = 6;
        Specified by:
        getScopes in interface DataSourceOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The scopes at the given index.
      • getScopesBytes

        public com.google.protobuf.ByteString getScopesBytes​(int index)
         Api auth scopes for which refresh token needs to be obtained. These are
         scopes needed by a data source to prepare data and ingest them into
         BigQuery, e.g., https://www.googleapis.com/auth/bigquery
         
        repeated string scopes = 6;
        Specified by:
        getScopesBytes in interface DataSourceOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the scopes at the given index.
      • setScopes

        public DataSource.Builder setScopes​(int index,
                                            String value)
         Api auth scopes for which refresh token needs to be obtained. These are
         scopes needed by a data source to prepare data and ingest them into
         BigQuery, e.g., https://www.googleapis.com/auth/bigquery
         
        repeated string scopes = 6;
        Parameters:
        index - The index to set the value at.
        value - The scopes to set.
        Returns:
        This builder for chaining.
      • addScopes

        public DataSource.Builder addScopes​(String value)
         Api auth scopes for which refresh token needs to be obtained. These are
         scopes needed by a data source to prepare data and ingest them into
         BigQuery, e.g., https://www.googleapis.com/auth/bigquery
         
        repeated string scopes = 6;
        Parameters:
        value - The scopes to add.
        Returns:
        This builder for chaining.
      • addAllScopes

        public DataSource.Builder addAllScopes​(Iterable<String> values)
         Api auth scopes for which refresh token needs to be obtained. These are
         scopes needed by a data source to prepare data and ingest them into
         BigQuery, e.g., https://www.googleapis.com/auth/bigquery
         
        repeated string scopes = 6;
        Parameters:
        values - The scopes to add.
        Returns:
        This builder for chaining.
      • clearScopes

        public DataSource.Builder clearScopes()
         Api auth scopes for which refresh token needs to be obtained. These are
         scopes needed by a data source to prepare data and ingest them into
         BigQuery, e.g., https://www.googleapis.com/auth/bigquery
         
        repeated string scopes = 6;
        Returns:
        This builder for chaining.
      • addScopesBytes

        public DataSource.Builder addScopesBytes​(com.google.protobuf.ByteString value)
         Api auth scopes for which refresh token needs to be obtained. These are
         scopes needed by a data source to prepare data and ingest them into
         BigQuery, e.g., https://www.googleapis.com/auth/bigquery
         
        repeated string scopes = 6;
        Parameters:
        value - The bytes of the scopes to add.
        Returns:
        This builder for chaining.
      • getTransferTypeValue

        @Deprecated
        public int getTransferTypeValue()
        Deprecated.
        google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=383
         Deprecated. This field has no effect.
         
        .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true];
        Specified by:
        getTransferTypeValue in interface DataSourceOrBuilder
        Returns:
        The enum numeric value on the wire for transferType.
      • setTransferTypeValue

        @Deprecated
        public DataSource.Builder setTransferTypeValue​(int value)
        Deprecated.
        google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=383
         Deprecated. This field has no effect.
         
        .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true];
        Parameters:
        value - The enum numeric value on the wire for transferType to set.
        Returns:
        This builder for chaining.
      • getTransferType

        @Deprecated
        public TransferType getTransferType()
        Deprecated.
        google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=383
         Deprecated. This field has no effect.
         
        .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true];
        Specified by:
        getTransferType in interface DataSourceOrBuilder
        Returns:
        The transferType.
      • setTransferType

        @Deprecated
        public DataSource.Builder setTransferType​(TransferType value)
        Deprecated.
        google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=383
         Deprecated. This field has no effect.
         
        .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true];
        Parameters:
        value - The transferType to set.
        Returns:
        This builder for chaining.
      • clearTransferType

        @Deprecated
        public DataSource.Builder clearTransferType()
        Deprecated.
        google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=383
         Deprecated. This field has no effect.
         
        .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true];
        Returns:
        This builder for chaining.
      • getSupportsMultipleTransfers

        @Deprecated
        public boolean getSupportsMultipleTransfers()
        Deprecated.
        google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=386
         Deprecated. This field has no effect.
         
        bool supports_multiple_transfers = 8 [deprecated = true];
        Specified by:
        getSupportsMultipleTransfers in interface DataSourceOrBuilder
        Returns:
        The supportsMultipleTransfers.
      • setSupportsMultipleTransfers

        @Deprecated
        public DataSource.Builder setSupportsMultipleTransfers​(boolean value)
        Deprecated.
        google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=386
         Deprecated. This field has no effect.
         
        bool supports_multiple_transfers = 8 [deprecated = true];
        Parameters:
        value - The supportsMultipleTransfers to set.
        Returns:
        This builder for chaining.
      • clearSupportsMultipleTransfers

        @Deprecated
        public DataSource.Builder clearSupportsMultipleTransfers()
        Deprecated.
        google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=386
         Deprecated. This field has no effect.
         
        bool supports_multiple_transfers = 8 [deprecated = true];
        Returns:
        This builder for chaining.
      • getUpdateDeadlineSeconds

        public int getUpdateDeadlineSeconds()
         The number of seconds to wait for an update from the data source
         before the Data Transfer Service marks the transfer as FAILED.
         
        int32 update_deadline_seconds = 9;
        Specified by:
        getUpdateDeadlineSeconds in interface DataSourceOrBuilder
        Returns:
        The updateDeadlineSeconds.
      • setUpdateDeadlineSeconds

        public DataSource.Builder setUpdateDeadlineSeconds​(int value)
         The number of seconds to wait for an update from the data source
         before the Data Transfer Service marks the transfer as FAILED.
         
        int32 update_deadline_seconds = 9;
        Parameters:
        value - The updateDeadlineSeconds to set.
        Returns:
        This builder for chaining.
      • clearUpdateDeadlineSeconds

        public DataSource.Builder clearUpdateDeadlineSeconds()
         The number of seconds to wait for an update from the data source
         before the Data Transfer Service marks the transfer as FAILED.
         
        int32 update_deadline_seconds = 9;
        Returns:
        This builder for chaining.
      • getDefaultSchedule

        public String getDefaultSchedule()
         Default data transfer schedule.
         Examples of valid schedules include:
         `1st,3rd monday of month 15:30`,
         `every wed,fri of jan,jun 13:15`, and
         `first sunday of quarter 00:00`.
         
        string default_schedule = 10;
        Specified by:
        getDefaultSchedule in interface DataSourceOrBuilder
        Returns:
        The defaultSchedule.
      • getDefaultScheduleBytes

        public com.google.protobuf.ByteString getDefaultScheduleBytes()
         Default data transfer schedule.
         Examples of valid schedules include:
         `1st,3rd monday of month 15:30`,
         `every wed,fri of jan,jun 13:15`, and
         `first sunday of quarter 00:00`.
         
        string default_schedule = 10;
        Specified by:
        getDefaultScheduleBytes in interface DataSourceOrBuilder
        Returns:
        The bytes for defaultSchedule.
      • setDefaultSchedule

        public DataSource.Builder setDefaultSchedule​(String value)
         Default data transfer schedule.
         Examples of valid schedules include:
         `1st,3rd monday of month 15:30`,
         `every wed,fri of jan,jun 13:15`, and
         `first sunday of quarter 00:00`.
         
        string default_schedule = 10;
        Parameters:
        value - The defaultSchedule to set.
        Returns:
        This builder for chaining.
      • clearDefaultSchedule

        public DataSource.Builder clearDefaultSchedule()
         Default data transfer schedule.
         Examples of valid schedules include:
         `1st,3rd monday of month 15:30`,
         `every wed,fri of jan,jun 13:15`, and
         `first sunday of quarter 00:00`.
         
        string default_schedule = 10;
        Returns:
        This builder for chaining.
      • setDefaultScheduleBytes

        public DataSource.Builder setDefaultScheduleBytes​(com.google.protobuf.ByteString value)
         Default data transfer schedule.
         Examples of valid schedules include:
         `1st,3rd monday of month 15:30`,
         `every wed,fri of jan,jun 13:15`, and
         `first sunday of quarter 00:00`.
         
        string default_schedule = 10;
        Parameters:
        value - The bytes for defaultSchedule to set.
        Returns:
        This builder for chaining.
      • getSupportsCustomSchedule

        public boolean getSupportsCustomSchedule()
         Specifies whether the data source supports a user defined schedule, or
         operates on the default schedule.
         When set to `true`, user can override default schedule.
         
        bool supports_custom_schedule = 11;
        Specified by:
        getSupportsCustomSchedule in interface DataSourceOrBuilder
        Returns:
        The supportsCustomSchedule.
      • setSupportsCustomSchedule

        public DataSource.Builder setSupportsCustomSchedule​(boolean value)
         Specifies whether the data source supports a user defined schedule, or
         operates on the default schedule.
         When set to `true`, user can override default schedule.
         
        bool supports_custom_schedule = 11;
        Parameters:
        value - The supportsCustomSchedule to set.
        Returns:
        This builder for chaining.
      • clearSupportsCustomSchedule

        public DataSource.Builder clearSupportsCustomSchedule()
         Specifies whether the data source supports a user defined schedule, or
         operates on the default schedule.
         When set to `true`, user can override default schedule.
         
        bool supports_custom_schedule = 11;
        Returns:
        This builder for chaining.
      • getParametersCount

        public int getParametersCount()
         Data source parameters.
         
        repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12;
        Specified by:
        getParametersCount in interface DataSourceOrBuilder
      • setParameters

        public DataSource.Builder setParameters​(int index,
                                                DataSourceParameter value)
         Data source parameters.
         
        repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12;
      • setParameters

        public DataSource.Builder setParameters​(int index,
                                                DataSourceParameter.Builder builderForValue)
         Data source parameters.
         
        repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12;
      • addParameters

        public DataSource.Builder addParameters​(DataSourceParameter value)
         Data source parameters.
         
        repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12;
      • addParameters

        public DataSource.Builder addParameters​(int index,
                                                DataSourceParameter value)
         Data source parameters.
         
        repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12;
      • addParameters

        public DataSource.Builder addParameters​(int index,
                                                DataSourceParameter.Builder builderForValue)
         Data source parameters.
         
        repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12;
      • clearParameters

        public DataSource.Builder clearParameters()
         Data source parameters.
         
        repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12;
      • removeParameters

        public DataSource.Builder removeParameters​(int index)
         Data source parameters.
         
        repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12;
      • getParametersBuilder

        public DataSourceParameter.Builder getParametersBuilder​(int index)
         Data source parameters.
         
        repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12;
      • addParametersBuilder

        public DataSourceParameter.Builder addParametersBuilder()
         Data source parameters.
         
        repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12;
      • addParametersBuilder

        public DataSourceParameter.Builder addParametersBuilder​(int index)
         Data source parameters.
         
        repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12;
      • getParametersBuilderList

        public List<DataSourceParameter.Builder> getParametersBuilderList()
         Data source parameters.
         
        repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12;
      • getHelpUrl

        public String getHelpUrl()
         Url for the help document for this data source.
         
        string help_url = 13;
        Specified by:
        getHelpUrl in interface DataSourceOrBuilder
        Returns:
        The helpUrl.
      • getHelpUrlBytes

        public com.google.protobuf.ByteString getHelpUrlBytes()
         Url for the help document for this data source.
         
        string help_url = 13;
        Specified by:
        getHelpUrlBytes in interface DataSourceOrBuilder
        Returns:
        The bytes for helpUrl.
      • setHelpUrl

        public DataSource.Builder setHelpUrl​(String value)
         Url for the help document for this data source.
         
        string help_url = 13;
        Parameters:
        value - The helpUrl to set.
        Returns:
        This builder for chaining.
      • clearHelpUrl

        public DataSource.Builder clearHelpUrl()
         Url for the help document for this data source.
         
        string help_url = 13;
        Returns:
        This builder for chaining.
      • setHelpUrlBytes

        public DataSource.Builder setHelpUrlBytes​(com.google.protobuf.ByteString value)
         Url for the help document for this data source.
         
        string help_url = 13;
        Parameters:
        value - The bytes for helpUrl to set.
        Returns:
        This builder for chaining.
      • getAuthorizationTypeValue

        public int getAuthorizationTypeValue()
         Indicates the type of authorization.
         
        .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14;
        Specified by:
        getAuthorizationTypeValue in interface DataSourceOrBuilder
        Returns:
        The enum numeric value on the wire for authorizationType.
      • setAuthorizationTypeValue

        public DataSource.Builder setAuthorizationTypeValue​(int value)
         Indicates the type of authorization.
         
        .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14;
        Parameters:
        value - The enum numeric value on the wire for authorizationType to set.
        Returns:
        This builder for chaining.
      • setAuthorizationType

        public DataSource.Builder setAuthorizationType​(DataSource.AuthorizationType value)
         Indicates the type of authorization.
         
        .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14;
        Parameters:
        value - The authorizationType to set.
        Returns:
        This builder for chaining.
      • clearAuthorizationType

        public DataSource.Builder clearAuthorizationType()
         Indicates the type of authorization.
         
        .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14;
        Returns:
        This builder for chaining.
      • getDataRefreshTypeValue

        public int getDataRefreshTypeValue()
         Specifies whether the data source supports automatic data refresh for the
         past few days, and how it's supported.
         For some data sources, data might not be complete until a few days later,
         so it's useful to refresh data automatically.
         
        .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15;
        Specified by:
        getDataRefreshTypeValue in interface DataSourceOrBuilder
        Returns:
        The enum numeric value on the wire for dataRefreshType.
      • setDataRefreshTypeValue

        public DataSource.Builder setDataRefreshTypeValue​(int value)
         Specifies whether the data source supports automatic data refresh for the
         past few days, and how it's supported.
         For some data sources, data might not be complete until a few days later,
         so it's useful to refresh data automatically.
         
        .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15;
        Parameters:
        value - The enum numeric value on the wire for dataRefreshType to set.
        Returns:
        This builder for chaining.
      • getDataRefreshType

        public DataSource.DataRefreshType getDataRefreshType()
         Specifies whether the data source supports automatic data refresh for the
         past few days, and how it's supported.
         For some data sources, data might not be complete until a few days later,
         so it's useful to refresh data automatically.
         
        .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15;
        Specified by:
        getDataRefreshType in interface DataSourceOrBuilder
        Returns:
        The dataRefreshType.
      • setDataRefreshType

        public DataSource.Builder setDataRefreshType​(DataSource.DataRefreshType value)
         Specifies whether the data source supports automatic data refresh for the
         past few days, and how it's supported.
         For some data sources, data might not be complete until a few days later,
         so it's useful to refresh data automatically.
         
        .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15;
        Parameters:
        value - The dataRefreshType to set.
        Returns:
        This builder for chaining.
      • clearDataRefreshType

        public DataSource.Builder clearDataRefreshType()
         Specifies whether the data source supports automatic data refresh for the
         past few days, and how it's supported.
         For some data sources, data might not be complete until a few days later,
         so it's useful to refresh data automatically.
         
        .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15;
        Returns:
        This builder for chaining.
      • getDefaultDataRefreshWindowDays

        public int getDefaultDataRefreshWindowDays()
         Default data refresh window on days.
         Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
         
        int32 default_data_refresh_window_days = 16;
        Specified by:
        getDefaultDataRefreshWindowDays in interface DataSourceOrBuilder
        Returns:
        The defaultDataRefreshWindowDays.
      • setDefaultDataRefreshWindowDays

        public DataSource.Builder setDefaultDataRefreshWindowDays​(int value)
         Default data refresh window on days.
         Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
         
        int32 default_data_refresh_window_days = 16;
        Parameters:
        value - The defaultDataRefreshWindowDays to set.
        Returns:
        This builder for chaining.
      • clearDefaultDataRefreshWindowDays

        public DataSource.Builder clearDefaultDataRefreshWindowDays()
         Default data refresh window on days.
         Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
         
        int32 default_data_refresh_window_days = 16;
        Returns:
        This builder for chaining.
      • getManualRunsDisabled

        public boolean getManualRunsDisabled()
         Disables backfilling and manual run scheduling
         for the data source.
         
        bool manual_runs_disabled = 17;
        Specified by:
        getManualRunsDisabled in interface DataSourceOrBuilder
        Returns:
        The manualRunsDisabled.
      • setManualRunsDisabled

        public DataSource.Builder setManualRunsDisabled​(boolean value)
         Disables backfilling and manual run scheduling
         for the data source.
         
        bool manual_runs_disabled = 17;
        Parameters:
        value - The manualRunsDisabled to set.
        Returns:
        This builder for chaining.
      • clearManualRunsDisabled

        public DataSource.Builder clearManualRunsDisabled()
         Disables backfilling and manual run scheduling
         for the data source.
         
        bool manual_runs_disabled = 17;
        Returns:
        This builder for chaining.
      • hasMinimumScheduleInterval

        public boolean hasMinimumScheduleInterval()
         The minimum interval for scheduler to schedule runs.
         
        .google.protobuf.Duration minimum_schedule_interval = 18;
        Specified by:
        hasMinimumScheduleInterval in interface DataSourceOrBuilder
        Returns:
        Whether the minimumScheduleInterval field is set.
      • getMinimumScheduleInterval

        public com.google.protobuf.Duration getMinimumScheduleInterval()
         The minimum interval for scheduler to schedule runs.
         
        .google.protobuf.Duration minimum_schedule_interval = 18;
        Specified by:
        getMinimumScheduleInterval in interface DataSourceOrBuilder
        Returns:
        The minimumScheduleInterval.
      • setMinimumScheduleInterval

        public DataSource.Builder setMinimumScheduleInterval​(com.google.protobuf.Duration value)
         The minimum interval for scheduler to schedule runs.
         
        .google.protobuf.Duration minimum_schedule_interval = 18;
      • setMinimumScheduleInterval

        public DataSource.Builder setMinimumScheduleInterval​(com.google.protobuf.Duration.Builder builderForValue)
         The minimum interval for scheduler to schedule runs.
         
        .google.protobuf.Duration minimum_schedule_interval = 18;
      • mergeMinimumScheduleInterval

        public DataSource.Builder mergeMinimumScheduleInterval​(com.google.protobuf.Duration value)
         The minimum interval for scheduler to schedule runs.
         
        .google.protobuf.Duration minimum_schedule_interval = 18;
      • clearMinimumScheduleInterval

        public DataSource.Builder clearMinimumScheduleInterval()
         The minimum interval for scheduler to schedule runs.
         
        .google.protobuf.Duration minimum_schedule_interval = 18;
      • getMinimumScheduleIntervalBuilder

        public com.google.protobuf.Duration.Builder getMinimumScheduleIntervalBuilder()
         The minimum interval for scheduler to schedule runs.
         
        .google.protobuf.Duration minimum_schedule_interval = 18;
      • getMinimumScheduleIntervalOrBuilder

        public com.google.protobuf.DurationOrBuilder getMinimumScheduleIntervalOrBuilder()
         The minimum interval for scheduler to schedule runs.
         
        .google.protobuf.Duration minimum_schedule_interval = 18;
        Specified by:
        getMinimumScheduleIntervalOrBuilder in interface DataSourceOrBuilder
      • setUnknownFields

        public final DataSource.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataSource.Builder>
      • mergeUnknownFields

        public final DataSource.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataSource.Builder>