public final class TransferRun extends GeneratedMessageV3 implements TransferRunOrBuilder
Represents a data transfer run.Protobuf type
google.cloud.bigquery.datatransfer.v1.TransferRun
Modifier and Type | Class and Description |
---|---|
static class |
TransferRun.Builder
Represents a data transfer run.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
DATA_SOURCE_ID_FIELD_NUMBER |
static int |
DESTINATION_DATASET_ID_FIELD_NUMBER |
static int |
END_TIME_FIELD_NUMBER |
static int |
ERROR_STATUS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PARAMS_FIELD_NUMBER |
static int |
RUN_TIME_FIELD_NUMBER |
static int |
SCHEDULE_FIELD_NUMBER |
static int |
SCHEDULE_TIME_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
static int |
USER_ID_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDataSourceId()
Output only.
|
ByteString |
getDataSourceIdBytes()
Output only.
|
static TransferRun |
getDefaultInstance() |
TransferRun |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getDestinationDatasetId()
Output only.
|
ByteString |
getDestinationDatasetIdBytes()
Output only.
|
Timestamp |
getEndTime()
Output only.
|
TimestampOrBuilder |
getEndTimeOrBuilder()
Output only.
|
Status |
getErrorStatus()
Status of the transfer run.
|
StatusOrBuilder |
getErrorStatusOrBuilder()
Status of the transfer run.
|
java.lang.String |
getName()
The resource name of the transfer run.
|
ByteString |
getNameBytes()
The resource name of the transfer run.
|
Struct |
getParams()
Output only.
|
StructOrBuilder |
getParamsOrBuilder()
Output only.
|
Parser<TransferRun> |
getParserForType() |
Timestamp |
getRunTime()
For batch transfer runs, specifies the date and time that
data should be ingested.
|
TimestampOrBuilder |
getRunTimeOrBuilder()
For batch transfer runs, specifies the date and time that
data should be ingested.
|
java.lang.String |
getSchedule()
Output only.
|
ByteString |
getScheduleBytes()
Output only.
|
Timestamp |
getScheduleTime()
Minimum time after which a transfer run can be started.
|
TimestampOrBuilder |
getScheduleTimeOrBuilder()
Minimum time after which a transfer run can be started.
|
int |
getSerializedSize() |
Timestamp |
getStartTime()
Output only.
|
TimestampOrBuilder |
getStartTimeOrBuilder()
Output only.
|
TransferState |
getState()
Data transfer run state.
|
int |
getStateValue()
Data transfer run state.
|
UnknownFieldSet |
getUnknownFields() |
Timestamp |
getUpdateTime()
Output only.
|
TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
long |
getUserId()
Output only.
|
boolean |
hasEndTime()
Output only.
|
boolean |
hasErrorStatus()
Status of the transfer run.
|
int |
hashCode() |
boolean |
hasParams()
Output only.
|
boolean |
hasRunTime()
For batch transfer runs, specifies the date and time that
data should be ingested.
|
boolean |
hasScheduleTime()
Minimum time after which a transfer run can be started.
|
boolean |
hasStartTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TransferRun.Builder |
newBuilder() |
static TransferRun.Builder |
newBuilder(TransferRun prototype) |
TransferRun.Builder |
newBuilderForType() |
protected TransferRun.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static TransferRun |
parseDelimitedFrom(java.io.InputStream input) |
static TransferRun |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static TransferRun |
parseFrom(byte[] data) |
static TransferRun |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static TransferRun |
parseFrom(java.nio.ByteBuffer data) |
static TransferRun |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static TransferRun |
parseFrom(ByteString data) |
static TransferRun |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static TransferRun |
parseFrom(CodedInputStream input) |
static TransferRun |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static TransferRun |
parseFrom(java.io.InputStream input) |
static TransferRun |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<TransferRun> |
parser() |
TransferRun.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int NAME_FIELD_NUMBER
public static final int SCHEDULE_TIME_FIELD_NUMBER
public static final int RUN_TIME_FIELD_NUMBER
public static final int ERROR_STATUS_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER
public static final int DESTINATION_DATASET_ID_FIELD_NUMBER
public static final int DATA_SOURCE_ID_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int USER_ID_FIELD_NUMBER
public static final int SCHEDULE_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
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 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 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 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 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 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 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 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 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 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 int getStateValue()
Data transfer run state. Ignored for input requests.
.google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
getStateValue
in interface TransferRunOrBuilder
public TransferState getState()
Data transfer run state. Ignored for input requests.
.google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
getState
in interface TransferRunOrBuilder
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 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 final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static TransferRun parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TransferRun parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TransferRun parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TransferRun parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TransferRun parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TransferRun parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TransferRun parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TransferRun parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TransferRun parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TransferRun parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TransferRun parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static TransferRun parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public TransferRun.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static TransferRun.Builder newBuilder()
public static TransferRun.Builder newBuilder(TransferRun prototype)
public TransferRun.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected TransferRun.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static TransferRun getDefaultInstance()
public static Parser<TransferRun> parser()
public Parser<TransferRun> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public TransferRun getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder