public static final class TransferRun.Builder extends GeneratedMessageV3.Builder<TransferRun.Builder> implements TransferRunOrBuilder
Represents a data transfer run.Protobuf type
google.cloud.bigquery.datatransfer.v1.TransferRun
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<TransferRun.Builder>
public TransferRun.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<TransferRun.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<TransferRun.Builder>
public TransferRun getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public TransferRun build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public TransferRun buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public TransferRun.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<TransferRun.Builder>
public TransferRun.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<TransferRun.Builder>
public TransferRun.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<TransferRun.Builder>
public TransferRun.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<TransferRun.Builder>
public TransferRun.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<TransferRun.Builder>
public TransferRun.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<TransferRun.Builder>
public TransferRun.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<TransferRun.Builder>
public TransferRun.Builder mergeFrom(TransferRun other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<TransferRun.Builder>
public TransferRun.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<TransferRun.Builder>
java.io.IOException
public java.lang.String getName()
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;
getName
in interface TransferRunOrBuilder
public ByteString getNameBytes()
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;
getNameBytes
in interface TransferRunOrBuilder
public TransferRun.Builder setName(java.lang.String value)
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;
public TransferRun.Builder clearName()
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;
public TransferRun.Builder setNameBytes(ByteString value)
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;
public boolean hasScheduleTime()
Minimum time after which a transfer run can be started.
.google.protobuf.Timestamp schedule_time = 3;
hasScheduleTime
in interface TransferRunOrBuilder
public Timestamp getScheduleTime()
Minimum time after which a transfer run can be started.
.google.protobuf.Timestamp schedule_time = 3;
getScheduleTime
in interface TransferRunOrBuilder
public TransferRun.Builder setScheduleTime(Timestamp value)
Minimum time after which a transfer run can be started.
.google.protobuf.Timestamp schedule_time = 3;
public TransferRun.Builder setScheduleTime(Timestamp.Builder builderForValue)
Minimum time after which a transfer run can be started.
.google.protobuf.Timestamp schedule_time = 3;
public TransferRun.Builder mergeScheduleTime(Timestamp value)
Minimum time after which a transfer run can be started.
.google.protobuf.Timestamp schedule_time = 3;
public TransferRun.Builder clearScheduleTime()
Minimum time after which a transfer run can be started.
.google.protobuf.Timestamp schedule_time = 3;
public Timestamp.Builder getScheduleTimeBuilder()
Minimum time after which a transfer run can be started.
.google.protobuf.Timestamp schedule_time = 3;
public TimestampOrBuilder getScheduleTimeOrBuilder()
Minimum time after which a transfer run can be started.
.google.protobuf.Timestamp schedule_time = 3;
getScheduleTimeOrBuilder
in interface TransferRunOrBuilder
public boolean hasRunTime()
For batch transfer runs, specifies the date and time that data should be ingested.
.google.protobuf.Timestamp run_time = 10;
hasRunTime
in interface TransferRunOrBuilder
public Timestamp getRunTime()
For batch transfer runs, specifies the date and time that data should be ingested.
.google.protobuf.Timestamp run_time = 10;
getRunTime
in interface TransferRunOrBuilder
public TransferRun.Builder setRunTime(Timestamp value)
For batch transfer runs, specifies the date and time that data should be ingested.
.google.protobuf.Timestamp run_time = 10;
public TransferRun.Builder setRunTime(Timestamp.Builder builderForValue)
For batch transfer runs, specifies the date and time that data should be ingested.
.google.protobuf.Timestamp run_time = 10;
public TransferRun.Builder mergeRunTime(Timestamp value)
For batch transfer runs, specifies the date and time that data should be ingested.
.google.protobuf.Timestamp run_time = 10;
public TransferRun.Builder clearRunTime()
For batch transfer runs, specifies the date and time that data should be ingested.
.google.protobuf.Timestamp run_time = 10;
public Timestamp.Builder getRunTimeBuilder()
For batch transfer runs, specifies the date and time that data should be ingested.
.google.protobuf.Timestamp run_time = 10;
public TimestampOrBuilder getRunTimeOrBuilder()
For batch transfer runs, specifies the date and time that data should be ingested.
.google.protobuf.Timestamp run_time = 10;
getRunTimeOrBuilder
in interface TransferRunOrBuilder
public boolean hasErrorStatus()
Status of the transfer run.
.google.rpc.Status error_status = 21;
hasErrorStatus
in interface TransferRunOrBuilder
public Status getErrorStatus()
Status of the transfer run.
.google.rpc.Status error_status = 21;
getErrorStatus
in interface TransferRunOrBuilder
public TransferRun.Builder setErrorStatus(Status value)
Status of the transfer run.
.google.rpc.Status error_status = 21;
public TransferRun.Builder setErrorStatus(Status.Builder builderForValue)
Status of the transfer run.
.google.rpc.Status error_status = 21;
public TransferRun.Builder mergeErrorStatus(Status value)
Status of the transfer run.
.google.rpc.Status error_status = 21;
public TransferRun.Builder clearErrorStatus()
Status of the transfer run.
.google.rpc.Status error_status = 21;
public Status.Builder getErrorStatusBuilder()
Status of the transfer run.
.google.rpc.Status error_status = 21;
public StatusOrBuilder getErrorStatusOrBuilder()
Status of the transfer run.
.google.rpc.Status error_status = 21;
getErrorStatusOrBuilder
in interface TransferRunOrBuilder
public boolean hasStartTime()
Output only. Time when transfer run was started. Parameter ignored by server for input requests.
.google.protobuf.Timestamp start_time = 4;
hasStartTime
in interface TransferRunOrBuilder
public Timestamp getStartTime()
Output only. Time when transfer run was started. Parameter ignored by server for input requests.
.google.protobuf.Timestamp start_time = 4;
getStartTime
in interface TransferRunOrBuilder
public TransferRun.Builder setStartTime(Timestamp value)
Output only. Time when transfer run was started. Parameter ignored by server for input requests.
.google.protobuf.Timestamp start_time = 4;
public TransferRun.Builder setStartTime(Timestamp.Builder builderForValue)
Output only. Time when transfer run was started. Parameter ignored by server for input requests.
.google.protobuf.Timestamp start_time = 4;
public TransferRun.Builder mergeStartTime(Timestamp value)
Output only. Time when transfer run was started. Parameter ignored by server for input requests.
.google.protobuf.Timestamp start_time = 4;
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;
public Timestamp.Builder getStartTimeBuilder()
Output only. Time when transfer run was started. Parameter ignored by server for input requests.
.google.protobuf.Timestamp start_time = 4;
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. Time when transfer run was started. Parameter ignored by server for input requests.
.google.protobuf.Timestamp start_time = 4;
getStartTimeOrBuilder
in interface TransferRunOrBuilder
public boolean hasEndTime()
Output only. Time when transfer run ended. Parameter ignored by server for input requests.
.google.protobuf.Timestamp end_time = 5;
hasEndTime
in interface TransferRunOrBuilder
public Timestamp getEndTime()
Output only. Time when transfer run ended. Parameter ignored by server for input requests.
.google.protobuf.Timestamp end_time = 5;
getEndTime
in interface TransferRunOrBuilder
public TransferRun.Builder setEndTime(Timestamp value)
Output only. Time when transfer run ended. Parameter ignored by server for input requests.
.google.protobuf.Timestamp end_time = 5;
public TransferRun.Builder setEndTime(Timestamp.Builder builderForValue)
Output only. Time when transfer run ended. Parameter ignored by server for input requests.
.google.protobuf.Timestamp end_time = 5;
public TransferRun.Builder mergeEndTime(Timestamp value)
Output only. Time when transfer run ended. Parameter ignored by server for input requests.
.google.protobuf.Timestamp end_time = 5;
public TransferRun.Builder clearEndTime()
Output only. Time when transfer run ended. Parameter ignored by server for input requests.
.google.protobuf.Timestamp end_time = 5;
public Timestamp.Builder getEndTimeBuilder()
Output only. Time when transfer run ended. Parameter ignored by server for input requests.
.google.protobuf.Timestamp end_time = 5;
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. Time when transfer run ended. Parameter ignored by server for input requests.
.google.protobuf.Timestamp end_time = 5;
getEndTimeOrBuilder
in interface TransferRunOrBuilder
public boolean hasUpdateTime()
Output only. Last time the data transfer run state was updated.
.google.protobuf.Timestamp update_time = 6;
hasUpdateTime
in interface TransferRunOrBuilder
public Timestamp getUpdateTime()
Output only. Last time the data transfer run state was updated.
.google.protobuf.Timestamp update_time = 6;
getUpdateTime
in interface TransferRunOrBuilder
public TransferRun.Builder setUpdateTime(Timestamp value)
Output only. Last time the data transfer run state was updated.
.google.protobuf.Timestamp update_time = 6;
public TransferRun.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Last time the data transfer run state was updated.
.google.protobuf.Timestamp update_time = 6;
public TransferRun.Builder mergeUpdateTime(Timestamp value)
Output only. Last time the data transfer run state was updated.
.google.protobuf.Timestamp update_time = 6;
public TransferRun.Builder clearUpdateTime()
Output only. Last time the data transfer run state was updated.
.google.protobuf.Timestamp update_time = 6;
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Last time the data transfer run state was updated.
.google.protobuf.Timestamp update_time = 6;
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Last time the data transfer run state was updated.
.google.protobuf.Timestamp update_time = 6;
getUpdateTimeOrBuilder
in interface TransferRunOrBuilder
public boolean hasParams()
Output only. Data transfer specific parameters.
.google.protobuf.Struct params = 9;
hasParams
in interface TransferRunOrBuilder
public Struct getParams()
Output only. Data transfer specific parameters.
.google.protobuf.Struct params = 9;
getParams
in interface TransferRunOrBuilder
public TransferRun.Builder setParams(Struct value)
Output only. Data transfer specific parameters.
.google.protobuf.Struct params = 9;
public TransferRun.Builder setParams(Struct.Builder builderForValue)
Output only. Data transfer specific parameters.
.google.protobuf.Struct params = 9;
public TransferRun.Builder mergeParams(Struct value)
Output only. Data transfer specific parameters.
.google.protobuf.Struct params = 9;
public TransferRun.Builder clearParams()
Output only. Data transfer specific parameters.
.google.protobuf.Struct params = 9;
public Struct.Builder getParamsBuilder()
Output only. Data transfer specific parameters.
.google.protobuf.Struct params = 9;
public StructOrBuilder getParamsOrBuilder()
Output only. Data transfer specific parameters.
.google.protobuf.Struct params = 9;
getParamsOrBuilder
in interface TransferRunOrBuilder
public java.lang.String getDestinationDatasetId()
Output only. The BigQuery target dataset id.
string destination_dataset_id = 2;
getDestinationDatasetId
in interface TransferRunOrBuilder
public ByteString getDestinationDatasetIdBytes()
Output only. The BigQuery target dataset id.
string destination_dataset_id = 2;
getDestinationDatasetIdBytes
in interface TransferRunOrBuilder
public TransferRun.Builder setDestinationDatasetId(java.lang.String value)
Output only. The BigQuery target dataset id.
string destination_dataset_id = 2;
public TransferRun.Builder clearDestinationDatasetId()
Output only. The BigQuery target dataset id.
string destination_dataset_id = 2;
public TransferRun.Builder setDestinationDatasetIdBytes(ByteString value)
Output only. The BigQuery target dataset id.
string destination_dataset_id = 2;
public java.lang.String getDataSourceId()
Output only. Data source id.
string data_source_id = 7;
getDataSourceId
in interface TransferRunOrBuilder
public ByteString getDataSourceIdBytes()
Output only. Data source id.
string data_source_id = 7;
getDataSourceIdBytes
in interface TransferRunOrBuilder
public TransferRun.Builder setDataSourceId(java.lang.String value)
Output only. Data source id.
string data_source_id = 7;
public TransferRun.Builder clearDataSourceId()
Output only. Data source id.
string data_source_id = 7;
public TransferRun.Builder setDataSourceIdBytes(ByteString value)
Output only. Data source id.
string data_source_id = 7;
public int getStateValue()
Data transfer run state. Ignored for input requests.
.google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
getStateValue
in interface TransferRunOrBuilder
public TransferRun.Builder setStateValue(int value)
Data transfer run state. Ignored for input requests.
.google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
public TransferState getState()
Data transfer run state. Ignored for input requests.
.google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
getState
in interface TransferRunOrBuilder
public TransferRun.Builder setState(TransferState value)
Data transfer run state. Ignored for input requests.
.google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
public TransferRun.Builder clearState()
Data transfer run state. Ignored for input requests.
.google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
public long getUserId()
Output only. Unique ID of the user on whose behalf transfer is done. Applicable only to data sources that do not support service accounts. When set to 0, the data source service account credentials are used. May be negative. Note, that this identifier is not stable. It may change over time even for the same user.
int64 user_id = 11;
getUserId
in interface TransferRunOrBuilder
public TransferRun.Builder setUserId(long value)
Output only. Unique ID of the user on whose behalf transfer is done. Applicable only to data sources that do not support service accounts. When set to 0, the data source service account credentials are used. May be negative. Note, that this identifier is not stable. It may change over time even for the same user.
int64 user_id = 11;
public TransferRun.Builder clearUserId()
Output only. Unique ID of the user on whose behalf transfer is done. Applicable only to data sources that do not support service accounts. When set to 0, the data source service account credentials are used. May be negative. Note, that this identifier is not stable. It may change over time even for the same user.
int64 user_id = 11;
public java.lang.String 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 matches this.
string schedule = 12;
getSchedule
in interface TransferRunOrBuilder
public 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 matches this.
string schedule = 12;
getScheduleBytes
in interface TransferRunOrBuilder
public TransferRun.Builder setSchedule(java.lang.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 matches this.
string schedule = 12;
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 matches this.
string schedule = 12;
public TransferRun.Builder setScheduleBytes(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 matches this.
string schedule = 12;
public final TransferRun.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<TransferRun.Builder>
public final TransferRun.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<TransferRun.Builder>