Class TransferRun.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TransferRun.Builder>
com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder
All Implemented Interfaces:
TransferRunOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TransferRun

public static final class TransferRun.Builder extends com.google.protobuf.GeneratedMessage.Builder<TransferRun.Builder> implements TransferRunOrBuilder
 Represents a data transfer run.
 
Protobuf type google.cloud.bigquery.datatransfer.v1.TransferRun
  • Method Details

    • getDescriptor

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

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

      public TransferRun.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.GeneratedMessage.Builder<TransferRun.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.GeneratedMessage.Builder<TransferRun.Builder>
    • getDefaultInstanceForType

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

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

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

      public TransferRun.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<TransferRun.Builder>
    • mergeFrom

      public TransferRun.Builder mergeFrom(TransferRun other)
    • isInitialized

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

      public TransferRun.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<TransferRun.Builder>
      Throws:
      IOException
    • getDestinationCase

      public TransferRun.DestinationCase getDestinationCase()
      Specified by:
      getDestinationCase in interface TransferRunOrBuilder
    • clearDestination

      public TransferRun.Builder clearDestination()
    • getName

      public String getName()
       Identifier. The resource name of the transfer run.
       Transfer run names have the form
       `projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}`.
       The name is ignored when creating a transfer run.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface TransferRunOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of the transfer run.
       Transfer run names have the form
       `projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}`.
       The name is ignored when creating a transfer run.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface TransferRunOrBuilder
      Returns:
      The bytes for name.
    • setName

      public TransferRun.Builder setName(String value)
       Identifier. The resource name of the transfer run.
       Transfer run names have the form
       `projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}`.
       The name is ignored when creating a transfer run.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public TransferRun.Builder clearName()
       Identifier. The resource name of the transfer run.
       Transfer run names have the form
       `projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}`.
       The name is ignored when creating a transfer run.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public TransferRun.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The resource name of the transfer run.
       Transfer run names have the form
       `projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}`.
       The name is ignored when creating a transfer run.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasScheduleTime

      public boolean hasScheduleTime()
       Minimum time after which a transfer run can be started.
       
      .google.protobuf.Timestamp schedule_time = 3;
      Specified by:
      hasScheduleTime in interface TransferRunOrBuilder
      Returns:
      Whether the scheduleTime field is set.
    • getScheduleTime

      public com.google.protobuf.Timestamp getScheduleTime()
       Minimum time after which a transfer run can be started.
       
      .google.protobuf.Timestamp schedule_time = 3;
      Specified by:
      getScheduleTime in interface TransferRunOrBuilder
      Returns:
      The scheduleTime.
    • setScheduleTime

      public TransferRun.Builder setScheduleTime(com.google.protobuf.Timestamp value)
       Minimum time after which a transfer run can be started.
       
      .google.protobuf.Timestamp schedule_time = 3;
    • setScheduleTime

      public TransferRun.Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Minimum time after which a transfer run can be started.
       
      .google.protobuf.Timestamp schedule_time = 3;
    • mergeScheduleTime

      public TransferRun.Builder mergeScheduleTime(com.google.protobuf.Timestamp value)
       Minimum time after which a transfer run can be started.
       
      .google.protobuf.Timestamp schedule_time = 3;
    • clearScheduleTime

      public TransferRun.Builder clearScheduleTime()
       Minimum time after which a transfer run can be started.
       
      .google.protobuf.Timestamp schedule_time = 3;
    • getScheduleTimeBuilder

      public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder()
       Minimum time after which a transfer run can be started.
       
      .google.protobuf.Timestamp schedule_time = 3;
    • getScheduleTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder()
       Minimum time after which a transfer run can be started.
       
      .google.protobuf.Timestamp schedule_time = 3;
      Specified by:
      getScheduleTimeOrBuilder in interface TransferRunOrBuilder
    • hasRunTime

      public boolean hasRunTime()
       For batch transfer runs, specifies the date and time of the data should be
       ingested.
       
      .google.protobuf.Timestamp run_time = 10;
      Specified by:
      hasRunTime in interface TransferRunOrBuilder
      Returns:
      Whether the runTime field is set.
    • getRunTime

      public com.google.protobuf.Timestamp getRunTime()
       For batch transfer runs, specifies the date and time of the data should be
       ingested.
       
      .google.protobuf.Timestamp run_time = 10;
      Specified by:
      getRunTime in interface TransferRunOrBuilder
      Returns:
      The runTime.
    • setRunTime

      public TransferRun.Builder setRunTime(com.google.protobuf.Timestamp value)
       For batch transfer runs, specifies the date and time of the data should be
       ingested.
       
      .google.protobuf.Timestamp run_time = 10;
    • setRunTime

      public TransferRun.Builder setRunTime(com.google.protobuf.Timestamp.Builder builderForValue)
       For batch transfer runs, specifies the date and time of the data should be
       ingested.
       
      .google.protobuf.Timestamp run_time = 10;
    • mergeRunTime

      public TransferRun.Builder mergeRunTime(com.google.protobuf.Timestamp value)
       For batch transfer runs, specifies the date and time of the data should be
       ingested.
       
      .google.protobuf.Timestamp run_time = 10;
    • clearRunTime

      public TransferRun.Builder clearRunTime()
       For batch transfer runs, specifies the date and time of the data should be
       ingested.
       
      .google.protobuf.Timestamp run_time = 10;
    • getRunTimeBuilder

      public com.google.protobuf.Timestamp.Builder getRunTimeBuilder()
       For batch transfer runs, specifies the date and time of the data should be
       ingested.
       
      .google.protobuf.Timestamp run_time = 10;
    • getRunTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder()
       For batch transfer runs, specifies the date and time of the data should be
       ingested.
       
      .google.protobuf.Timestamp run_time = 10;
      Specified by:
      getRunTimeOrBuilder in interface TransferRunOrBuilder
    • hasErrorStatus

      public boolean hasErrorStatus()
       Status of the transfer run.
       
      .google.rpc.Status error_status = 21;
      Specified by:
      hasErrorStatus in interface TransferRunOrBuilder
      Returns:
      Whether the errorStatus field is set.
    • getErrorStatus

      public Status getErrorStatus()
       Status of the transfer run.
       
      .google.rpc.Status error_status = 21;
      Specified by:
      getErrorStatus in interface TransferRunOrBuilder
      Returns:
      The errorStatus.
    • setErrorStatus

      public TransferRun.Builder setErrorStatus(Status value)
       Status of the transfer run.
       
      .google.rpc.Status error_status = 21;
    • setErrorStatus

      public TransferRun.Builder setErrorStatus(Status.Builder builderForValue)
       Status of the transfer run.
       
      .google.rpc.Status error_status = 21;
    • mergeErrorStatus

      public TransferRun.Builder mergeErrorStatus(Status value)
       Status of the transfer run.
       
      .google.rpc.Status error_status = 21;
    • clearErrorStatus

      public TransferRun.Builder clearErrorStatus()
       Status of the transfer run.
       
      .google.rpc.Status error_status = 21;
    • getErrorStatusBuilder

      public Status.Builder getErrorStatusBuilder()
       Status of the transfer run.
       
      .google.rpc.Status error_status = 21;
    • getErrorStatusOrBuilder

      public StatusOrBuilder getErrorStatusOrBuilder()
       Status of the transfer run.
       
      .google.rpc.Status error_status = 21;
      Specified by:
      getErrorStatusOrBuilder in interface TransferRunOrBuilder
    • hasStartTime

      public boolean hasStartTime()
       Output only. Time when transfer run was started.
       Parameter ignored by server for input requests.
       
      .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStartTime in interface TransferRunOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Output only. Time when transfer run was started.
       Parameter ignored by server for input requests.
       
      .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTime in interface TransferRunOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public TransferRun.Builder setStartTime(com.google.protobuf.Timestamp value)
       Output only. Time when transfer run was started.
       Parameter ignored by server for input requests.
       
      .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setStartTime

      public TransferRun.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when transfer run was started.
       Parameter ignored by server for input requests.
       
      .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeStartTime

      public TransferRun.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       Output only. Time when transfer run was started.
       Parameter ignored by server for input requests.
       
      .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearStartTime

      public TransferRun.Builder clearStartTime()
       Output only. Time when transfer run was started.
       Parameter ignored by server for input requests.
       
      .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
       Output only. Time when transfer run was started.
       Parameter ignored by server for input requests.
       
      .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Output only. Time when transfer run was started.
       Parameter ignored by server for input requests.
       
      .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTimeOrBuilder in interface TransferRunOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       Output only. Time when transfer run ended.
       Parameter ignored by server for input requests.
       
      .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEndTime in interface TransferRunOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       Output only. Time when transfer run ended.
       Parameter ignored by server for input requests.
       
      .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTime in interface TransferRunOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public TransferRun.Builder setEndTime(com.google.protobuf.Timestamp value)
       Output only. Time when transfer run ended.
       Parameter ignored by server for input requests.
       
      .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setEndTime

      public TransferRun.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when transfer run ended.
       Parameter ignored by server for input requests.
       
      .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeEndTime

      public TransferRun.Builder mergeEndTime(com.google.protobuf.Timestamp value)
       Output only. Time when transfer run ended.
       Parameter ignored by server for input requests.
       
      .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearEndTime

      public TransferRun.Builder clearEndTime()
       Output only. Time when transfer run ended.
       Parameter ignored by server for input requests.
       
      .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEndTimeBuilder

      public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
       Output only. Time when transfer run ended.
       Parameter ignored by server for input requests.
       
      .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       Output only. Time when transfer run ended.
       Parameter ignored by server for input requests.
       
      .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTimeOrBuilder in interface TransferRunOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Last time the data transfer run state was updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface TransferRunOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Last time the data transfer run state was updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface TransferRunOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public TransferRun.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Last time the data transfer run state was updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public TransferRun.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Last time the data transfer run state was updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public TransferRun.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Last time the data transfer run state was updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public TransferRun.Builder clearUpdateTime()
       Output only. Last time the data transfer run state was updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Last time the data transfer run state was updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Last time the data transfer run state was updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface TransferRunOrBuilder
    • hasParams

      public boolean hasParams()
       Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasParams in interface TransferRunOrBuilder
      Returns:
      Whether the params field is set.
    • getParams

      public com.google.protobuf.Struct getParams()
       Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getParams in interface TransferRunOrBuilder
      Returns:
      The params.
    • setParams

      public TransferRun.Builder setParams(com.google.protobuf.Struct value)
       Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setParams

      public TransferRun.Builder setParams(com.google.protobuf.Struct.Builder builderForValue)
       Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeParams

      public TransferRun.Builder mergeParams(com.google.protobuf.Struct value)
       Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearParams

      public TransferRun.Builder clearParams()
       Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getParamsBuilder

      public com.google.protobuf.Struct.Builder getParamsBuilder()
       Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getParamsOrBuilder

      public com.google.protobuf.StructOrBuilder getParamsOrBuilder()
       Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getParamsOrBuilder in interface TransferRunOrBuilder
    • hasDestinationDatasetId

      public boolean hasDestinationDatasetId()
       Output only. The BigQuery target dataset id.
       
      string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDestinationDatasetId in interface TransferRunOrBuilder
      Returns:
      Whether the destinationDatasetId field is set.
    • getDestinationDatasetId

      public String getDestinationDatasetId()
       Output only. The BigQuery target dataset id.
       
      string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDestinationDatasetId in interface TransferRunOrBuilder
      Returns:
      The destinationDatasetId.
    • getDestinationDatasetIdBytes

      public com.google.protobuf.ByteString getDestinationDatasetIdBytes()
       Output only. The BigQuery target dataset id.
       
      string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDestinationDatasetIdBytes in interface TransferRunOrBuilder
      Returns:
      The bytes for destinationDatasetId.
    • setDestinationDatasetId

      public TransferRun.Builder setDestinationDatasetId(String value)
       Output only. The BigQuery target dataset id.
       
      string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The destinationDatasetId to set.
      Returns:
      This builder for chaining.
    • clearDestinationDatasetId

      public TransferRun.Builder clearDestinationDatasetId()
       Output only. The BigQuery target dataset id.
       
      string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDestinationDatasetIdBytes

      public TransferRun.Builder setDestinationDatasetIdBytes(com.google.protobuf.ByteString value)
       Output only. The BigQuery target dataset id.
       
      string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for destinationDatasetId to set.
      Returns:
      This builder for chaining.
    • getDataSourceId

      public String getDataSourceId()
       Output only. Data source id.
       
      string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDataSourceId in interface TransferRunOrBuilder
      Returns:
      The dataSourceId.
    • getDataSourceIdBytes

      public com.google.protobuf.ByteString getDataSourceIdBytes()
       Output only. Data source id.
       
      string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDataSourceIdBytes in interface TransferRunOrBuilder
      Returns:
      The bytes for dataSourceId.
    • setDataSourceId

      public TransferRun.Builder setDataSourceId(String value)
       Output only. Data source id.
       
      string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The dataSourceId to set.
      Returns:
      This builder for chaining.
    • clearDataSourceId

      public TransferRun.Builder clearDataSourceId()
       Output only. Data source id.
       
      string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDataSourceIdBytes

      public TransferRun.Builder setDataSourceIdBytes(com.google.protobuf.ByteString value)
       Output only. Data source id.
       
      string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for dataSourceId to set.
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
       Data transfer run state. Ignored for input requests.
       
      .google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
      Specified by:
      getStateValue in interface TransferRunOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public TransferRun.Builder setStateValue(int value)
       Data transfer run state. Ignored for input requests.
       
      .google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public TransferState getState()
       Data transfer run state. Ignored for input requests.
       
      .google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
      Specified by:
      getState in interface TransferRunOrBuilder
      Returns:
      The state.
    • setState

      public TransferRun.Builder setState(TransferState value)
       Data transfer run state. Ignored for input requests.
       
      .google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public TransferRun.Builder clearState()
       Data transfer run state. Ignored for input requests.
       
      .google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
      Returns:
      This builder for chaining.
    • getUserId

      public long getUserId()
       Deprecated. Unique ID of the user on whose behalf transfer is done.
       
      int64 user_id = 11;
      Specified by:
      getUserId in interface TransferRunOrBuilder
      Returns:
      The userId.
    • setUserId

      public TransferRun.Builder setUserId(long value)
       Deprecated. Unique ID of the user on whose behalf transfer is done.
       
      int64 user_id = 11;
      Parameters:
      value - The userId to set.
      Returns:
      This builder for chaining.
    • clearUserId

      public TransferRun.Builder clearUserId()
       Deprecated. Unique ID of the user on whose behalf transfer is done.
       
      int64 user_id = 11;
      Returns:
      This builder for chaining.
    • getSchedule

      public String getSchedule()
       Output only. Describes the schedule of this transfer run if it was
       created as part of a regular schedule. For batch transfer runs that are
       scheduled manually, this is empty.
       NOTE: the system might choose to delay the schedule depending on the
       current load, so `schedule_time` doesn't always match this.
       
      string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSchedule in interface TransferRunOrBuilder
      Returns:
      The schedule.
    • getScheduleBytes

      public com.google.protobuf.ByteString getScheduleBytes()
       Output only. Describes the schedule of this transfer run if it was
       created as part of a regular schedule. For batch transfer runs that are
       scheduled manually, this is empty.
       NOTE: the system might choose to delay the schedule depending on the
       current load, so `schedule_time` doesn't always match this.
       
      string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getScheduleBytes in interface TransferRunOrBuilder
      Returns:
      The bytes for schedule.
    • setSchedule

      public TransferRun.Builder setSchedule(String value)
       Output only. Describes the schedule of this transfer run if it was
       created as part of a regular schedule. For batch transfer runs that are
       scheduled manually, this is empty.
       NOTE: the system might choose to delay the schedule depending on the
       current load, so `schedule_time` doesn't always match this.
       
      string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The schedule to set.
      Returns:
      This builder for chaining.
    • clearSchedule

      public TransferRun.Builder clearSchedule()
       Output only. Describes the schedule of this transfer run if it was
       created as part of a regular schedule. For batch transfer runs that are
       scheduled manually, this is empty.
       NOTE: the system might choose to delay the schedule depending on the
       current load, so `schedule_time` doesn't always match this.
       
      string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setScheduleBytes

      public TransferRun.Builder setScheduleBytes(com.google.protobuf.ByteString value)
       Output only. Describes the schedule of this transfer run if it was
       created as part of a regular schedule. For batch transfer runs that are
       scheduled manually, this is empty.
       NOTE: the system might choose to delay the schedule depending on the
       current load, so `schedule_time` doesn't always match this.
       
      string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for schedule to set.
      Returns:
      This builder for chaining.
    • getNotificationPubsubTopic

      public String getNotificationPubsubTopic()
       Output only. Pub/Sub topic where a notification will be sent after this
       transfer run finishes.
      
       The format for specifying a pubsub topic is:
       `projects/{project_id}/topics/{topic_id}`
       
      string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNotificationPubsubTopic in interface TransferRunOrBuilder
      Returns:
      The notificationPubsubTopic.
    • getNotificationPubsubTopicBytes

      public com.google.protobuf.ByteString getNotificationPubsubTopicBytes()
       Output only. Pub/Sub topic where a notification will be sent after this
       transfer run finishes.
      
       The format for specifying a pubsub topic is:
       `projects/{project_id}/topics/{topic_id}`
       
      string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNotificationPubsubTopicBytes in interface TransferRunOrBuilder
      Returns:
      The bytes for notificationPubsubTopic.
    • setNotificationPubsubTopic

      public TransferRun.Builder setNotificationPubsubTopic(String value)
       Output only. Pub/Sub topic where a notification will be sent after this
       transfer run finishes.
      
       The format for specifying a pubsub topic is:
       `projects/{project_id}/topics/{topic_id}`
       
      string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The notificationPubsubTopic to set.
      Returns:
      This builder for chaining.
    • clearNotificationPubsubTopic

      public TransferRun.Builder clearNotificationPubsubTopic()
       Output only. Pub/Sub topic where a notification will be sent after this
       transfer run finishes.
      
       The format for specifying a pubsub topic is:
       `projects/{project_id}/topics/{topic_id}`
       
      string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNotificationPubsubTopicBytes

      public TransferRun.Builder setNotificationPubsubTopicBytes(com.google.protobuf.ByteString value)
       Output only. Pub/Sub topic where a notification will be sent after this
       transfer run finishes.
      
       The format for specifying a pubsub topic is:
       `projects/{project_id}/topics/{topic_id}`
       
      string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for notificationPubsubTopic to set.
      Returns:
      This builder for chaining.
    • hasEmailPreferences

      public boolean hasEmailPreferences()
       Output only. Email notifications will be sent according to these
       preferences to the email address of the user who owns the transfer config
       this run was derived from.
       
      .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEmailPreferences in interface TransferRunOrBuilder
      Returns:
      Whether the emailPreferences field is set.
    • getEmailPreferences

      public EmailPreferences getEmailPreferences()
       Output only. Email notifications will be sent according to these
       preferences to the email address of the user who owns the transfer config
       this run was derived from.
       
      .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEmailPreferences in interface TransferRunOrBuilder
      Returns:
      The emailPreferences.
    • setEmailPreferences

      public TransferRun.Builder setEmailPreferences(EmailPreferences value)
       Output only. Email notifications will be sent according to these
       preferences to the email address of the user who owns the transfer config
       this run was derived from.
       
      .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setEmailPreferences

      public TransferRun.Builder setEmailPreferences(EmailPreferences.Builder builderForValue)
       Output only. Email notifications will be sent according to these
       preferences to the email address of the user who owns the transfer config
       this run was derived from.
       
      .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeEmailPreferences

      public TransferRun.Builder mergeEmailPreferences(EmailPreferences value)
       Output only. Email notifications will be sent according to these
       preferences to the email address of the user who owns the transfer config
       this run was derived from.
       
      .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearEmailPreferences

      public TransferRun.Builder clearEmailPreferences()
       Output only. Email notifications will be sent according to these
       preferences to the email address of the user who owns the transfer config
       this run was derived from.
       
      .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEmailPreferencesBuilder

      public EmailPreferences.Builder getEmailPreferencesBuilder()
       Output only. Email notifications will be sent according to these
       preferences to the email address of the user who owns the transfer config
       this run was derived from.
       
      .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEmailPreferencesOrBuilder

      public EmailPreferencesOrBuilder getEmailPreferencesOrBuilder()
       Output only. Email notifications will be sent according to these
       preferences to the email address of the user who owns the transfer config
       this run was derived from.
       
      .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEmailPreferencesOrBuilder in interface TransferRunOrBuilder