# Interface DataSourceParameterOrBuilder (2.91.0)

2.91.0 (latest) 2.88.0 2.87.0 2.85.0 2.83.0 2.82.0 2.81.0 2.80.0 2.78.0 2.76.0 2.75.0 2.74.0 2.73.0 2.72.0 2.70.0 2.68.0 2.67.0 2.64.0 2.63.0 2.62.0 2.60.0 2.59.0 2.58.0 2.57.0 2.56.0 2.55.0 2.54.0 2.53.0 2.52.0 2.51.0 2.49.0 2.48.0 2.47.0 2.46.0 2.45.0 2.44.0 2.43.0 2.42.0 2.41.0 2.40.0 2.39.0 2.37.0 2.36.0 2.35.0 2.34.0 2.33.0 2.32.0 2.31.0 2.30.0 2.29.0 2.28.0 2.27.0 2.24.0 2.23.0 2.22.0 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.17 2.2.6 2.1.23 2.0.27

    public interface DataSourceParameterOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getAllowedValues(int index)

    public abstract String getAllowedValues(int index)

All possible values for the parameter.

`repeated string allowed_values = 8;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The allowedValues at the given index. |

### getAllowedValuesBytes(int index)

    public abstract ByteString getAllowedValuesBytes(int index)

All possible values for the parameter.

`repeated string allowed_values = 8;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the allowedValues at the given index. |

### getAllowedValuesCount()

    public abstract int getAllowedValuesCount()

All possible values for the parameter.

`repeated string allowed_values = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of allowedValues. |

### getAllowedValuesList()

    public abstract List<String> getAllowedValuesList()

All possible values for the parameter.

`repeated string allowed_values = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the allowedValues. |

### getDeprecated()

    public abstract boolean getDeprecated()

If true, it should not be used in new transfers, and it should not be
visible to users.

`bool deprecated = 20;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The deprecated. |

### getDescription()

    public abstract String getDescription()

Parameter description.

`string description = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The description. |

### getDescriptionBytes()

    public abstract ByteString getDescriptionBytes()

Parameter description.

`string description = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for description. |

### getDisplayName()

    public abstract String getDisplayName()

Parameter display name in the user interface.

`string display_name = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The displayName. |

### getDisplayNameBytes()

    public abstract ByteString getDisplayNameBytes()

Parameter display name in the user interface.

`string display_name = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for displayName. |

### getFields(int index)

    public abstract DataSourceParameter getFields(int index)

Deprecated. This field has no effect.

`repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-bigquerydatatransfer/latest/com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter` |   |

### getFieldsCount()

    public abstract int getFieldsCount()

Deprecated. This field has no effect.

`repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getFieldsList()

    public abstract List<DataSourceParameter> getFieldsList()

Deprecated. This field has no effect.

`repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-bigquerydatatransfer/latest/com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter>` |   |

### getFieldsOrBuilder(int index)

    public abstract DataSourceParameterOrBuilder getFieldsOrBuilder(int index)

Deprecated. This field has no effect.

`repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-bigquerydatatransfer/latest/com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder` |   |

### getFieldsOrBuilderList()

    public abstract List<? extends DataSourceParameterOrBuilder> getFieldsOrBuilderList()

Deprecated. This field has no effect.

`repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>` |   |

### getImmutable()

    public abstract boolean getImmutable()

Cannot be changed after initial creation.

`bool immutable = 14;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The immutable. |

### getMaxValue()

    public abstract DoubleValue getMaxValue()

For integer and double values specifies maximum allowed value.

`.google.protobuf.DoubleValue max_value = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.DoubleValue.html` | The maxValue. |

### getMaxValueOrBuilder()

    public abstract DoubleValueOrBuilder getMaxValueOrBuilder()

For integer and double values specifies maximum allowed value.

`.google.protobuf.DoubleValue max_value = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.DoubleValueOrBuilder.html` |   |

### getMinValue()

    public abstract DoubleValue getMinValue()

For integer and double values specifies minimum allowed value.

`.google.protobuf.DoubleValue min_value = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.DoubleValue.html` | The minValue. |

### getMinValueOrBuilder()

    public abstract DoubleValueOrBuilder getMinValueOrBuilder()

For integer and double values specifies minimum allowed value.

`.google.protobuf.DoubleValue min_value = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.DoubleValueOrBuilder.html` |   |

### getParamId()

    public abstract String getParamId()

Parameter identifier.

`string param_id = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The paramId. |

### getParamIdBytes()

    public abstract ByteString getParamIdBytes()

Parameter identifier.

`string param_id = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for paramId. |

### getRecurse()

    public abstract boolean getRecurse()

Deprecated. This field has no effect.

`bool recurse = 15;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The recurse. |

### getRepeated()

    public abstract boolean getRepeated()

Deprecated. This field has no effect.

`bool repeated = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The repeated. |

### getRequired()

    public abstract boolean getRequired()

Is parameter required.

`bool required = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The required. |

### getType()

    public abstract DataSourceParameter.Type getType()

Parameter type.

`.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-bigquerydatatransfer/latest/com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type` | The type. |

### getTypeValue()

    public abstract int getTypeValue()

Parameter type.

`.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for type. |

### getValidationDescription()

    public abstract String getValidationDescription()

Description of the requirements for this field, in case the user input does
not fulfill the regex pattern or min/max values.

`string validation_description = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The validationDescription. |

### getValidationDescriptionBytes()

    public abstract ByteString getValidationDescriptionBytes()

Description of the requirements for this field, in case the user input does
not fulfill the regex pattern or min/max values.

`string validation_description = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for validationDescription. |

### getValidationHelpUrl()

    public abstract String getValidationHelpUrl()

URL to a help document to further explain the naming requirements.

`string validation_help_url = 13;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The validationHelpUrl. |

### getValidationHelpUrlBytes()

    public abstract ByteString getValidationHelpUrlBytes()

URL to a help document to further explain the naming requirements.

`string validation_help_url = 13;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for validationHelpUrl. |

### getValidationRegex()

    public abstract String getValidationRegex()

Regular expression which can be used for parameter validation.

`string validation_regex = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The validationRegex. |

### getValidationRegexBytes()

    public abstract ByteString getValidationRegexBytes()

Regular expression which can be used for parameter validation.

`string validation_regex = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for validationRegex. |

### hasMaxValue()

    public abstract boolean hasMaxValue()

For integer and double values specifies maximum allowed value.

`.google.protobuf.DoubleValue max_value = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the maxValue field is set. |

### hasMinValue()

    public abstract boolean hasMinValue()

For integer and double values specifies minimum allowed value.

`.google.protobuf.DoubleValue min_value = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the minValue field is set. |