Class DataSourceParameter.Builder (2.47.0)

public static final class DataSourceParameter.Builder extends GeneratedMessageV3.Builder<DataSourceParameter.Builder> implements DataSourceParameterOrBuilder

A parameter used to define custom fields in a data source definition.

Protobuf type google.cloud.bigquery.datatransfer.v1.DataSourceParameter

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllAllowedValues(Iterable<String> values)

public DataSourceParameter.Builder addAllAllowedValues(Iterable<String> values)

All possible values for the parameter.

repeated string allowed_values = 8;

Parameter
Name Description
values Iterable<String>

The allowedValues to add.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

addAllFields(Iterable<? extends DataSourceParameter> values)

public DataSourceParameter.Builder addAllFields(Iterable<? extends DataSourceParameter> values)

Deprecated. This field has no effect.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter>
Returns
Type Description
DataSourceParameter.Builder

addAllowedValues(String value)

public DataSourceParameter.Builder addAllowedValues(String value)

All possible values for the parameter.

repeated string allowed_values = 8;

Parameter
Name Description
value String

The allowedValues to add.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

addAllowedValuesBytes(ByteString value)

public DataSourceParameter.Builder addAllowedValuesBytes(ByteString value)

All possible values for the parameter.

repeated string allowed_values = 8;

Parameter
Name Description
value ByteString

The bytes of the allowedValues to add.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

addFields(DataSourceParameter value)

public DataSourceParameter.Builder addFields(DataSourceParameter value)

Deprecated. This field has no effect.

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

Parameter
Name Description
value DataSourceParameter
Returns
Type Description
DataSourceParameter.Builder

addFields(DataSourceParameter.Builder builderForValue)

public DataSourceParameter.Builder addFields(DataSourceParameter.Builder builderForValue)

Deprecated. This field has no effect.

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

Parameter
Name Description
builderForValue DataSourceParameter.Builder
Returns
Type Description
DataSourceParameter.Builder

addFields(int index, DataSourceParameter value)

public DataSourceParameter.Builder addFields(int index, DataSourceParameter value)

Deprecated. This field has no effect.

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

Parameters
Name Description
index int
value DataSourceParameter
Returns
Type Description
DataSourceParameter.Builder

addFields(int index, DataSourceParameter.Builder builderForValue)

public DataSourceParameter.Builder addFields(int index, DataSourceParameter.Builder builderForValue)

Deprecated. This field has no effect.

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

Parameters
Name Description
index int
builderForValue DataSourceParameter.Builder
Returns
Type Description
DataSourceParameter.Builder

addFieldsBuilder()

public DataSourceParameter.Builder addFieldsBuilder()

Deprecated. This field has no effect.

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

Returns
Type Description
DataSourceParameter.Builder

addFieldsBuilder(int index)

public DataSourceParameter.Builder addFieldsBuilder(int index)

Deprecated. This field has no effect.

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

Parameter
Name Description
index int
Returns
Type Description
DataSourceParameter.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataSourceParameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataSourceParameter.Builder
Overrides

build()

public DataSourceParameter build()
Returns
Type Description
DataSourceParameter

buildPartial()

public DataSourceParameter buildPartial()
Returns
Type Description
DataSourceParameter

clear()

public DataSourceParameter.Builder clear()
Returns
Type Description
DataSourceParameter.Builder
Overrides

clearAllowedValues()

public DataSourceParameter.Builder clearAllowedValues()

All possible values for the parameter.

repeated string allowed_values = 8;

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

clearDeprecated()

public DataSourceParameter.Builder clearDeprecated()

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

bool deprecated = 20;

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

clearDescription()

public DataSourceParameter.Builder clearDescription()

Parameter description.

string description = 3;

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

clearDisplayName()

public DataSourceParameter.Builder clearDisplayName()

Parameter display name in the user interface.

string display_name = 2;

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DataSourceParameter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataSourceParameter.Builder
Overrides

clearFields()

public DataSourceParameter.Builder clearFields()

Deprecated. This field has no effect.

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

Returns
Type Description
DataSourceParameter.Builder

clearImmutable()

public DataSourceParameter.Builder clearImmutable()

Cannot be changed after initial creation.

bool immutable = 14;

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

clearMaxValue()

public DataSourceParameter.Builder clearMaxValue()

For integer and double values specifies maximum allowed value.

.google.protobuf.DoubleValue max_value = 10;

Returns
Type Description
DataSourceParameter.Builder

clearMinValue()

public DataSourceParameter.Builder clearMinValue()

For integer and double values specifies minimum allowed value.

.google.protobuf.DoubleValue min_value = 9;

Returns
Type Description
DataSourceParameter.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DataSourceParameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataSourceParameter.Builder
Overrides

clearParamId()

public DataSourceParameter.Builder clearParamId()

Parameter identifier.

string param_id = 1;

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

clearRecurse()

public DataSourceParameter.Builder clearRecurse()

Deprecated. This field has no effect.

bool recurse = 15;

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

clearRepeated()

public DataSourceParameter.Builder clearRepeated()

Deprecated. This field has no effect.

bool repeated = 6;

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

clearRequired()

public DataSourceParameter.Builder clearRequired()

Is parameter required.

bool required = 5;

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

clearType()

public DataSourceParameter.Builder clearType()

Parameter type.

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

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

clearValidationDescription()

public DataSourceParameter.Builder clearValidationDescription()

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
DataSourceParameter.Builder

This builder for chaining.

clearValidationHelpUrl()

public DataSourceParameter.Builder clearValidationHelpUrl()

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

string validation_help_url = 13;

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

clearValidationRegex()

public DataSourceParameter.Builder clearValidationRegex()

Regular expression which can be used for parameter validation.

string validation_regex = 7;

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

clone()

public DataSourceParameter.Builder clone()
Returns
Type Description
DataSourceParameter.Builder
Overrides

getAllowedValues(int index)

public String getAllowedValues(int index)

All possible values for the parameter.

repeated string allowed_values = 8;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowedValues at the given index.

getAllowedValuesBytes(int index)

public ByteString getAllowedValuesBytes(int index)

All possible values for the parameter.

repeated string allowed_values = 8;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowedValues at the given index.

getAllowedValuesCount()

public int getAllowedValuesCount()

All possible values for the parameter.

repeated string allowed_values = 8;

Returns
Type Description
int

The count of allowedValues.

getAllowedValuesList()

public ProtocolStringList getAllowedValuesList()

All possible values for the parameter.

repeated string allowed_values = 8;

Returns
Type Description
ProtocolStringList

A list containing the allowedValues.

getDefaultInstanceForType()

public DataSourceParameter getDefaultInstanceForType()
Returns
Type Description
DataSourceParameter

getDeprecated()

public 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
boolean

The deprecated.

getDescription()

public String getDescription()

Parameter description.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Parameter description.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Parameter display name in the user interface.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Parameter display name in the user interface.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getFields(int index)

public DataSourceParameter getFields(int index)

Deprecated. This field has no effect.

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

Parameter
Name Description
index int
Returns
Type Description
DataSourceParameter

getFieldsBuilder(int index)

public DataSourceParameter.Builder getFieldsBuilder(int index)

Deprecated. This field has no effect.

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

Parameter
Name Description
index int
Returns
Type Description
DataSourceParameter.Builder

getFieldsBuilderList()

public List<DataSourceParameter.Builder> getFieldsBuilderList()

Deprecated. This field has no effect.

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

Returns
Type Description
List<Builder>

getFieldsCount()

public int getFieldsCount()

Deprecated. This field has no effect.

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

Returns
Type Description
int

getFieldsList()

public List<DataSourceParameter> getFieldsList()

Deprecated. This field has no effect.

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

Returns
Type Description
List<DataSourceParameter>

getFieldsOrBuilder(int index)

public DataSourceParameterOrBuilder getFieldsOrBuilder(int index)

Deprecated. This field has no effect.

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

Parameter
Name Description
index int
Returns
Type Description
DataSourceParameterOrBuilder

getFieldsOrBuilderList()

public List<? extends DataSourceParameterOrBuilder> getFieldsOrBuilderList()

Deprecated. This field has no effect.

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

Returns
Type Description
List<? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>

getImmutable()

public boolean getImmutable()

Cannot be changed after initial creation.

bool immutable = 14;

Returns
Type Description
boolean

The immutable.

getMaxValue()

public DoubleValue getMaxValue()

For integer and double values specifies maximum allowed value.

.google.protobuf.DoubleValue max_value = 10;

Returns
Type Description
DoubleValue

The maxValue.

getMaxValueBuilder()

public DoubleValue.Builder getMaxValueBuilder()

For integer and double values specifies maximum allowed value.

.google.protobuf.DoubleValue max_value = 10;

Returns
Type Description
Builder

getMaxValueOrBuilder()

public DoubleValueOrBuilder getMaxValueOrBuilder()

For integer and double values specifies maximum allowed value.

.google.protobuf.DoubleValue max_value = 10;

Returns
Type Description
DoubleValueOrBuilder

getMinValue()

public DoubleValue getMinValue()

For integer and double values specifies minimum allowed value.

.google.protobuf.DoubleValue min_value = 9;

Returns
Type Description
DoubleValue

The minValue.

getMinValueBuilder()

public DoubleValue.Builder getMinValueBuilder()

For integer and double values specifies minimum allowed value.

.google.protobuf.DoubleValue min_value = 9;

Returns
Type Description
Builder

getMinValueOrBuilder()

public DoubleValueOrBuilder getMinValueOrBuilder()

For integer and double values specifies minimum allowed value.

.google.protobuf.DoubleValue min_value = 9;

Returns
Type Description
DoubleValueOrBuilder

getParamId()

public String getParamId()

Parameter identifier.

string param_id = 1;

Returns
Type Description
String

The paramId.

getParamIdBytes()

public ByteString getParamIdBytes()

Parameter identifier.

string param_id = 1;

Returns
Type Description
ByteString

The bytes for paramId.

getRecurse()

public boolean getRecurse()

Deprecated. This field has no effect.

bool recurse = 15;

Returns
Type Description
boolean

The recurse.

getRepeated()

public boolean getRepeated()

Deprecated. This field has no effect.

bool repeated = 6;

Returns
Type Description
boolean

The repeated.

getRequired()

public boolean getRequired()

Is parameter required.

bool required = 5;

Returns
Type Description
boolean

The required.

getType()

public DataSourceParameter.Type getType()

Parameter type.

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

Returns
Type Description
DataSourceParameter.Type

The type.

getTypeValue()

public int getTypeValue()

Parameter type.

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

Returns
Type Description
int

The enum numeric value on the wire for type.

getValidationDescription()

public 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
String

The validationDescription.

getValidationDescriptionBytes()

public 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
ByteString

The bytes for validationDescription.

getValidationHelpUrl()

public String getValidationHelpUrl()

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

string validation_help_url = 13;

Returns
Type Description
String

The validationHelpUrl.

getValidationHelpUrlBytes()

public ByteString getValidationHelpUrlBytes()

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

string validation_help_url = 13;

Returns
Type Description
ByteString

The bytes for validationHelpUrl.

getValidationRegex()

public String getValidationRegex()

Regular expression which can be used for parameter validation.

string validation_regex = 7;

Returns
Type Description
String

The validationRegex.

getValidationRegexBytes()

public ByteString getValidationRegexBytes()

Regular expression which can be used for parameter validation.

string validation_regex = 7;

Returns
Type Description
ByteString

The bytes for validationRegex.

hasMaxValue()

public boolean hasMaxValue()

For integer and double values specifies maximum allowed value.

.google.protobuf.DoubleValue max_value = 10;

Returns
Type Description
boolean

Whether the maxValue field is set.

hasMinValue()

public boolean hasMinValue()

For integer and double values specifies minimum allowed value.

.google.protobuf.DoubleValue min_value = 9;

Returns
Type Description
boolean

Whether the minValue field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataSourceParameter other)

public DataSourceParameter.Builder mergeFrom(DataSourceParameter other)
Parameter
Name Description
other DataSourceParameter
Returns
Type Description
DataSourceParameter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataSourceParameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSourceParameter.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataSourceParameter.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataSourceParameter.Builder
Overrides

mergeMaxValue(DoubleValue value)

public DataSourceParameter.Builder mergeMaxValue(DoubleValue value)

For integer and double values specifies maximum allowed value.

.google.protobuf.DoubleValue max_value = 10;

Parameter
Name Description
value DoubleValue
Returns
Type Description
DataSourceParameter.Builder

mergeMinValue(DoubleValue value)

public DataSourceParameter.Builder mergeMinValue(DoubleValue value)

For integer and double values specifies minimum allowed value.

.google.protobuf.DoubleValue min_value = 9;

Parameter
Name Description
value DoubleValue
Returns
Type Description
DataSourceParameter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataSourceParameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataSourceParameter.Builder
Overrides

removeFields(int index)

public DataSourceParameter.Builder removeFields(int index)

Deprecated. This field has no effect.

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

Parameter
Name Description
index int
Returns
Type Description
DataSourceParameter.Builder

setAllowedValues(int index, String value)

public DataSourceParameter.Builder setAllowedValues(int index, String value)

All possible values for the parameter.

repeated string allowed_values = 8;

Parameters
Name Description
index int

The index to set the value at.

value String

The allowedValues to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

setDeprecated(boolean value)

public DataSourceParameter.Builder setDeprecated(boolean value)

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

bool deprecated = 20;

Parameter
Name Description
value boolean

The deprecated to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

setDescription(String value)

public DataSourceParameter.Builder setDescription(String value)

Parameter description.

string description = 3;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public DataSourceParameter.Builder setDescriptionBytes(ByteString value)

Parameter description.

string description = 3;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

setDisplayName(String value)

public DataSourceParameter.Builder setDisplayName(String value)

Parameter display name in the user interface.

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public DataSourceParameter.Builder setDisplayNameBytes(ByteString value)

Parameter display name in the user interface.

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DataSourceParameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataSourceParameter.Builder
Overrides

setFields(int index, DataSourceParameter value)

public DataSourceParameter.Builder setFields(int index, DataSourceParameter value)

Deprecated. This field has no effect.

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

Parameters
Name Description
index int
value DataSourceParameter
Returns
Type Description
DataSourceParameter.Builder

setFields(int index, DataSourceParameter.Builder builderForValue)

public DataSourceParameter.Builder setFields(int index, DataSourceParameter.Builder builderForValue)

Deprecated. This field has no effect.

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

Parameters
Name Description
index int
builderForValue DataSourceParameter.Builder
Returns
Type Description
DataSourceParameter.Builder

setImmutable(boolean value)

public DataSourceParameter.Builder setImmutable(boolean value)

Cannot be changed after initial creation.

bool immutable = 14;

Parameter
Name Description
value boolean

The immutable to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

setMaxValue(DoubleValue value)

public DataSourceParameter.Builder setMaxValue(DoubleValue value)

For integer and double values specifies maximum allowed value.

.google.protobuf.DoubleValue max_value = 10;

Parameter
Name Description
value DoubleValue
Returns
Type Description
DataSourceParameter.Builder

setMaxValue(DoubleValue.Builder builderForValue)

public DataSourceParameter.Builder setMaxValue(DoubleValue.Builder builderForValue)

For integer and double values specifies maximum allowed value.

.google.protobuf.DoubleValue max_value = 10;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DataSourceParameter.Builder

setMinValue(DoubleValue value)

public DataSourceParameter.Builder setMinValue(DoubleValue value)

For integer and double values specifies minimum allowed value.

.google.protobuf.DoubleValue min_value = 9;

Parameter
Name Description
value DoubleValue
Returns
Type Description
DataSourceParameter.Builder

setMinValue(DoubleValue.Builder builderForValue)

public DataSourceParameter.Builder setMinValue(DoubleValue.Builder builderForValue)

For integer and double values specifies minimum allowed value.

.google.protobuf.DoubleValue min_value = 9;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DataSourceParameter.Builder

setParamId(String value)

public DataSourceParameter.Builder setParamId(String value)

Parameter identifier.

string param_id = 1;

Parameter
Name Description
value String

The paramId to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

setParamIdBytes(ByteString value)

public DataSourceParameter.Builder setParamIdBytes(ByteString value)

Parameter identifier.

string param_id = 1;

Parameter
Name Description
value ByteString

The bytes for paramId to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

setRecurse(boolean value)

public DataSourceParameter.Builder setRecurse(boolean value)

Deprecated. This field has no effect.

bool recurse = 15;

Parameter
Name Description
value boolean

The recurse to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

setRepeated(boolean value)

public DataSourceParameter.Builder setRepeated(boolean value)

Deprecated. This field has no effect.

bool repeated = 6;

Parameter
Name Description
value boolean

The repeated to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DataSourceParameter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataSourceParameter.Builder
Overrides

setRequired(boolean value)

public DataSourceParameter.Builder setRequired(boolean value)

Is parameter required.

bool required = 5;

Parameter
Name Description
value boolean

The required to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

setType(DataSourceParameter.Type value)

public DataSourceParameter.Builder setType(DataSourceParameter.Type value)

Parameter type.

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

Parameter
Name Description
value DataSourceParameter.Type

The type to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

setTypeValue(int value)

public DataSourceParameter.Builder setTypeValue(int value)

Parameter type.

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

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DataSourceParameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataSourceParameter.Builder
Overrides

setValidationDescription(String value)

public DataSourceParameter.Builder setValidationDescription(String value)

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;

Parameter
Name Description
value String

The validationDescription to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

setValidationDescriptionBytes(ByteString value)

public DataSourceParameter.Builder setValidationDescriptionBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for validationDescription to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

setValidationHelpUrl(String value)

public DataSourceParameter.Builder setValidationHelpUrl(String value)

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

string validation_help_url = 13;

Parameter
Name Description
value String

The validationHelpUrl to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

setValidationHelpUrlBytes(ByteString value)

public DataSourceParameter.Builder setValidationHelpUrlBytes(ByteString value)

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

string validation_help_url = 13;

Parameter
Name Description
value ByteString

The bytes for validationHelpUrl to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

setValidationRegex(String value)

public DataSourceParameter.Builder setValidationRegex(String value)

Regular expression which can be used for parameter validation.

string validation_regex = 7;

Parameter
Name Description
value String

The validationRegex to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.

setValidationRegexBytes(ByteString value)

public DataSourceParameter.Builder setValidationRegexBytes(ByteString value)

Regular expression which can be used for parameter validation.

string validation_regex = 7;

Parameter
Name Description
value ByteString

The bytes for validationRegex to set.

Returns
Type Description
DataSourceParameter.Builder

This builder for chaining.