public final class DataSourceDefinition extends GeneratedMessageV3 implements DataSourceDefinitionOrBuilder
Represents the data source definition.
Protobuf type google.cloud.bigquery.datatransfer.v1.DataSourceDefinition
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
DATA_SOURCE_FIELD_NUMBER
public static final int DATA_SOURCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DISABLED_FIELD_NUMBER
public static final int DISABLED_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RUN_TIME_OFFSET_FIELD_NUMBER
public static final int RUN_TIME_OFFSET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUPPORTED_LOCATION_IDS_FIELD_NUMBER
public static final int SUPPORTED_LOCATION_IDS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUPPORT_EMAIL_FIELD_NUMBER
public static final int SUPPORT_EMAIL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TRANSFER_CONFIG_PUBSUB_TOPIC_FIELD_NUMBER
public static final int TRANSFER_CONFIG_PUBSUB_TOPIC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TRANSFER_RUN_PUBSUB_TOPIC_FIELD_NUMBER
public static final int TRANSFER_RUN_PUBSUB_TOPIC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static DataSourceDefinition getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataSourceDefinition.Builder newBuilder()
newBuilder(DataSourceDefinition prototype)
public static DataSourceDefinition.Builder newBuilder(DataSourceDefinition prototype)
public static DataSourceDefinition parseDelimitedFrom(InputStream input)
public static DataSourceDefinition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataSourceDefinition parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataSourceDefinition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataSourceDefinition parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataSourceDefinition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataSourceDefinition parseFrom(CodedInputStream input)
public static DataSourceDefinition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataSourceDefinition parseFrom(InputStream input)
public static DataSourceDefinition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataSourceDefinition parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataSourceDefinition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataSourceDefinition> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDataSource()
public DataSource getDataSource()
Data source metadata.
.google.cloud.bigquery.datatransfer.v1.DataSource data_source = 1;
getDataSourceOrBuilder()
public DataSourceOrBuilder getDataSourceOrBuilder()
Data source metadata.
.google.cloud.bigquery.datatransfer.v1.DataSource data_source = 1;
getDefaultInstanceForType()
public DataSourceDefinition getDefaultInstanceForType()
getDisabled()
public boolean getDisabled()
Is data source disabled? If true, data_source is not visible.
API will also stop returning any data transfer configs and/or runs
associated with the data source. This setting has higher priority
than whitelisted_project_ids.
bool disabled = 5;
getName()
The resource name of the data source definition.
Data source definition names have the form
projects/{project_id}/locations/{location}/dataSourceDefinitions/{data_source_id}
.
string name = 21;
getNameBytes()
public ByteString getNameBytes()
The resource name of the data source definition.
Data source definition names have the form
projects/{project_id}/locations/{location}/dataSourceDefinitions/{data_source_id}
.
string name = 21;
getParserForType()
public Parser<DataSourceDefinition> getParserForType()
Overrides
getRunTimeOffset()
public Duration getRunTimeOffset()
Duration which should be added to schedule_time to calculate
run_time when job is scheduled. Only applicable for automatically
scheduled transfer runs. Used to start a run early on a data source that
supports continuous data refresh to compensate for unknown timezone
offsets. Use a negative number to start a run late for data sources not
supporting continuous data refresh.
.google.protobuf.Duration run_time_offset = 16;
getRunTimeOffsetOrBuilder()
public DurationOrBuilder getRunTimeOffsetOrBuilder()
Duration which should be added to schedule_time to calculate
run_time when job is scheduled. Only applicable for automatically
scheduled transfer runs. Used to start a run early on a data source that
supports continuous data refresh to compensate for unknown timezone
offsets. Use a negative number to start a run late for data sources not
supporting continuous data refresh.
.google.protobuf.Duration run_time_offset = 16;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getServiceAccount()
public String getServiceAccount()
When service account is specified, BigQuery will share created dataset
with the given service account. Also, this service account will be
eligible to perform status updates and message logging for data transfer
runs for the corresponding data_source_id.
string service_account = 2;