public static enum DataSource.DataRefreshType extends Enum<DataSource.DataRefreshType> implements com.google.protobuf.ProtocolMessageEnum
Represents how the data source supports data auto refresh.Protobuf enum
google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType| Enum Constant and Description |
|---|
CUSTOM_SLIDING_WINDOW
The data source supports data auto refresh, and runs will be scheduled
for the past few days.
|
DATA_REFRESH_TYPE_UNSPECIFIED
The data source won't support data auto refresh, which is default value.
|
SLIDING_WINDOW
The data source supports data auto refresh, and runs will be scheduled
for the past few days.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CUSTOM_SLIDING_WINDOW_VALUE
The data source supports data auto refresh, and runs will be scheduled
for the past few days.
|
static int |
DATA_REFRESH_TYPE_UNSPECIFIED_VALUE
The data source won't support data auto refresh, which is default value.
|
static int |
SLIDING_WINDOW_VALUE
The data source supports data auto refresh, and runs will be scheduled
for the past few days.
|
| Modifier and Type | Method and Description |
|---|---|
static DataSource.DataRefreshType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<DataSource.DataRefreshType> |
internalGetValueMap() |
static DataSource.DataRefreshType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DataSource.DataRefreshType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DataSource.DataRefreshType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataSource.DataRefreshType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataSource.DataRefreshType DATA_REFRESH_TYPE_UNSPECIFIED
The data source won't support data auto refresh, which is default value.
DATA_REFRESH_TYPE_UNSPECIFIED = 0;public static final DataSource.DataRefreshType SLIDING_WINDOW
The data source supports data auto refresh, and runs will be scheduled for the past few days. Does not allow custom values to be set for each transfer config.
SLIDING_WINDOW = 1;public static final DataSource.DataRefreshType CUSTOM_SLIDING_WINDOW
The data source supports data auto refresh, and runs will be scheduled for the past few days. Allows custom values to be set for each transfer config.
CUSTOM_SLIDING_WINDOW = 2;public static final DataSource.DataRefreshType UNRECOGNIZED
public static final int DATA_REFRESH_TYPE_UNSPECIFIED_VALUE
The data source won't support data auto refresh, which is default value.
DATA_REFRESH_TYPE_UNSPECIFIED = 0;public static final int SLIDING_WINDOW_VALUE
The data source supports data auto refresh, and runs will be scheduled for the past few days. Does not allow custom values to be set for each transfer config.
SLIDING_WINDOW = 1;public static final int CUSTOM_SLIDING_WINDOW_VALUE
The data source supports data auto refresh, and runs will be scheduled for the past few days. Allows custom values to be set for each transfer config.
CUSTOM_SLIDING_WINDOW = 2;public static DataSource.DataRefreshType[] values()
for (DataSource.DataRefreshType c : DataSource.DataRefreshType.values()) System.out.println(c);
public static DataSource.DataRefreshType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static DataSource.DataRefreshType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DataSource.DataRefreshType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DataSource.DataRefreshType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static DataSource.DataRefreshType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.