public final class DataSourceParameter extends com.google.protobuf.GeneratedMessageV3 implements DataSourceParameterOrBuilder
A parameter used to define custom fields in a data source definition.Protobuf type
google.cloud.bigquery.datatransfer.v1.DataSourceParameter| Modifier and Type | Class and Description |
|---|---|
static class |
DataSourceParameter.Builder
A parameter used to define custom fields in a data source definition.
|
static class |
DataSourceParameter.Type
Parameter type.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOWED_VALUES_FIELD_NUMBER |
static int |
DEPRECATED_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
FIELDS_FIELD_NUMBER |
static int |
IMMUTABLE_FIELD_NUMBER |
static int |
MAX_VALUE_FIELD_NUMBER |
static int |
MIN_VALUE_FIELD_NUMBER |
static int |
PARAM_ID_FIELD_NUMBER |
static int |
RECURSE_FIELD_NUMBER |
static int |
REPEATED_FIELD_NUMBER |
static int |
REQUIRED_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
VALIDATION_DESCRIPTION_FIELD_NUMBER |
static int |
VALIDATION_HELP_URL_FIELD_NUMBER |
static int |
VALIDATION_REGEX_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAllowedValues(int index)
All possible values for the parameter.
|
com.google.protobuf.ByteString |
getAllowedValuesBytes(int index)
All possible values for the parameter.
|
int |
getAllowedValuesCount()
All possible values for the parameter.
|
com.google.protobuf.ProtocolStringList |
getAllowedValuesList()
All possible values for the parameter.
|
static DataSourceParameter |
getDefaultInstance() |
DataSourceParameter |
getDefaultInstanceForType() |
boolean |
getDeprecated()
If true, it should not be used in new transfers, and it should not be
visible to users.
|
String |
getDescription()
Parameter description.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Parameter description.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
Parameter display name in the user interface.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Parameter display name in the user interface.
|
DataSourceParameter |
getFields(int index)
Deprecated.
|
int |
getFieldsCount()
Deprecated.
|
List<DataSourceParameter> |
getFieldsList()
Deprecated.
|
DataSourceParameterOrBuilder |
getFieldsOrBuilder(int index)
Deprecated.
|
List<? extends DataSourceParameterOrBuilder> |
getFieldsOrBuilderList()
Deprecated.
|
boolean |
getImmutable()
Cannot be changed after initial creation.
|
com.google.protobuf.DoubleValue |
getMaxValue()
For integer and double values specifies maximum allowed value.
|
com.google.protobuf.DoubleValueOrBuilder |
getMaxValueOrBuilder()
For integer and double values specifies maximum allowed value.
|
com.google.protobuf.DoubleValue |
getMinValue()
For integer and double values specifies minimum allowed value.
|
com.google.protobuf.DoubleValueOrBuilder |
getMinValueOrBuilder()
For integer and double values specifies minimum allowed value.
|
String |
getParamId()
Parameter identifier.
|
com.google.protobuf.ByteString |
getParamIdBytes()
Parameter identifier.
|
com.google.protobuf.Parser<DataSourceParameter> |
getParserForType() |
boolean |
getRecurse()
Deprecated.
|
boolean |
getRepeated()
Deprecated.
|
boolean |
getRequired()
Is parameter required.
|
int |
getSerializedSize() |
DataSourceParameter.Type |
getType()
Parameter type.
|
int |
getTypeValue()
Parameter type.
|
String |
getValidationDescription()
Description of the requirements for this field, in case the user input does
not fulfill the regex pattern or min/max values.
|
com.google.protobuf.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 |
getValidationHelpUrl()
URL to a help document to further explain the naming requirements.
|
com.google.protobuf.ByteString |
getValidationHelpUrlBytes()
URL to a help document to further explain the naming requirements.
|
String |
getValidationRegex()
Regular expression which can be used for parameter validation.
|
com.google.protobuf.ByteString |
getValidationRegexBytes()
Regular expression which can be used for parameter validation.
|
int |
hashCode() |
boolean |
hasMaxValue()
For integer and double values specifies maximum allowed value.
|
boolean |
hasMinValue()
For integer and double values specifies minimum allowed value.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DataSourceParameter.Builder |
newBuilder() |
static DataSourceParameter.Builder |
newBuilder(DataSourceParameter prototype) |
DataSourceParameter.Builder |
newBuilderForType() |
protected DataSourceParameter.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DataSourceParameter |
parseDelimitedFrom(InputStream input) |
static DataSourceParameter |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataSourceParameter |
parseFrom(byte[] data) |
static DataSourceParameter |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataSourceParameter |
parseFrom(ByteBuffer data) |
static DataSourceParameter |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataSourceParameter |
parseFrom(com.google.protobuf.ByteString data) |
static DataSourceParameter |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataSourceParameter |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DataSourceParameter |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataSourceParameter |
parseFrom(InputStream input) |
static DataSourceParameter |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DataSourceParameter> |
parser() |
DataSourceParameter.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PARAM_ID_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int REQUIRED_FIELD_NUMBER
public static final int REPEATED_FIELD_NUMBER
public static final int VALIDATION_REGEX_FIELD_NUMBER
public static final int ALLOWED_VALUES_FIELD_NUMBER
public static final int MIN_VALUE_FIELD_NUMBER
public static final int MAX_VALUE_FIELD_NUMBER
public static final int FIELDS_FIELD_NUMBER
public static final int VALIDATION_DESCRIPTION_FIELD_NUMBER
public static final int VALIDATION_HELP_URL_FIELD_NUMBER
public static final int IMMUTABLE_FIELD_NUMBER
public static final int RECURSE_FIELD_NUMBER
public static final int DEPRECATED_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getParamId()
Parameter identifier.
string param_id = 1;getParamId in interface DataSourceParameterOrBuilderpublic com.google.protobuf.ByteString getParamIdBytes()
Parameter identifier.
string param_id = 1;getParamIdBytes in interface DataSourceParameterOrBuilderpublic String getDisplayName()
Parameter display name in the user interface.
string display_name = 2;getDisplayName in interface DataSourceParameterOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Parameter display name in the user interface.
string display_name = 2;getDisplayNameBytes in interface DataSourceParameterOrBuilderpublic String getDescription()
Parameter description.
string description = 3;getDescription in interface DataSourceParameterOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Parameter description.
string description = 3;getDescriptionBytes in interface DataSourceParameterOrBuilderpublic int getTypeValue()
Parameter type.
.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4;getTypeValue in interface DataSourceParameterOrBuilderpublic DataSourceParameter.Type getType()
Parameter type.
.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4;getType in interface DataSourceParameterOrBuilderpublic boolean getRequired()
Is parameter required.
bool required = 5;getRequired in interface DataSourceParameterOrBuilderpublic boolean getRepeated()
Deprecated. This field has no effect.
bool repeated = 6;getRepeated in interface DataSourceParameterOrBuilderpublic String getValidationRegex()
Regular expression which can be used for parameter validation.
string validation_regex = 7;getValidationRegex in interface DataSourceParameterOrBuilderpublic com.google.protobuf.ByteString getValidationRegexBytes()
Regular expression which can be used for parameter validation.
string validation_regex = 7;getValidationRegexBytes in interface DataSourceParameterOrBuilderpublic com.google.protobuf.ProtocolStringList getAllowedValuesList()
All possible values for the parameter.
repeated string allowed_values = 8;getAllowedValuesList in interface DataSourceParameterOrBuilderpublic int getAllowedValuesCount()
All possible values for the parameter.
repeated string allowed_values = 8;getAllowedValuesCount in interface DataSourceParameterOrBuilderpublic String getAllowedValues(int index)
All possible values for the parameter.
repeated string allowed_values = 8;getAllowedValues in interface DataSourceParameterOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getAllowedValuesBytes(int index)
All possible values for the parameter.
repeated string allowed_values = 8;getAllowedValuesBytes in interface DataSourceParameterOrBuilderindex - The index of the value to return.public boolean hasMinValue()
For integer and double values specifies minimum allowed value.
.google.protobuf.DoubleValue min_value = 9;hasMinValue in interface DataSourceParameterOrBuilderpublic com.google.protobuf.DoubleValue getMinValue()
For integer and double values specifies minimum allowed value.
.google.protobuf.DoubleValue min_value = 9;getMinValue in interface DataSourceParameterOrBuilderpublic com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder()
For integer and double values specifies minimum allowed value.
.google.protobuf.DoubleValue min_value = 9;getMinValueOrBuilder in interface DataSourceParameterOrBuilderpublic boolean hasMaxValue()
For integer and double values specifies maximum allowed value.
.google.protobuf.DoubleValue max_value = 10;hasMaxValue in interface DataSourceParameterOrBuilderpublic com.google.protobuf.DoubleValue getMaxValue()
For integer and double values specifies maximum allowed value.
.google.protobuf.DoubleValue max_value = 10;getMaxValue in interface DataSourceParameterOrBuilderpublic com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder()
For integer and double values specifies maximum allowed value.
.google.protobuf.DoubleValue max_value = 10;getMaxValueOrBuilder in interface DataSourceParameterOrBuilderpublic List<DataSourceParameter> getFieldsList()
Deprecated. This field has no effect.
repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11;getFieldsList in interface DataSourceParameterOrBuilderpublic List<? extends DataSourceParameterOrBuilder> getFieldsOrBuilderList()
Deprecated. This field has no effect.
repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11;getFieldsOrBuilderList in interface DataSourceParameterOrBuilderpublic int getFieldsCount()
Deprecated. This field has no effect.
repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11;getFieldsCount in interface DataSourceParameterOrBuilderpublic DataSourceParameter getFields(int index)
Deprecated. This field has no effect.
repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11;getFields in interface DataSourceParameterOrBuilderpublic DataSourceParameterOrBuilder getFieldsOrBuilder(int index)
Deprecated. This field has no effect.
repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11;getFieldsOrBuilder in interface DataSourceParameterOrBuilderpublic 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;getValidationDescription in interface DataSourceParameterOrBuilderpublic com.google.protobuf.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;getValidationDescriptionBytes in interface DataSourceParameterOrBuilderpublic String getValidationHelpUrl()
URL to a help document to further explain the naming requirements.
string validation_help_url = 13;getValidationHelpUrl in interface DataSourceParameterOrBuilderpublic com.google.protobuf.ByteString getValidationHelpUrlBytes()
URL to a help document to further explain the naming requirements.
string validation_help_url = 13;getValidationHelpUrlBytes in interface DataSourceParameterOrBuilderpublic boolean getImmutable()
Cannot be changed after initial creation.
bool immutable = 14;getImmutable in interface DataSourceParameterOrBuilderpublic boolean getRecurse()
Deprecated. This field has no effect.
bool recurse = 15;getRecurse in interface DataSourceParameterOrBuilderpublic boolean getDeprecated()
If true, it should not be used in new transfers, and it should not be visible to users.
bool deprecated = 20;getDeprecated in interface DataSourceParameterOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DataSourceParameter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataSourceParameter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataSourceParameter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataSourceParameter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataSourceParameter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataSourceParameter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataSourceParameter parseFrom(InputStream input) throws IOException
IOExceptionpublic static DataSourceParameter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DataSourceParameter parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DataSourceParameter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DataSourceParameter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DataSourceParameter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DataSourceParameter.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DataSourceParameter.Builder newBuilder()
public static DataSourceParameter.Builder newBuilder(DataSourceParameter prototype)
public DataSourceParameter.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DataSourceParameter.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DataSourceParameter getDefaultInstance()
public static com.google.protobuf.Parser<DataSourceParameter> parser()
public com.google.protobuf.Parser<DataSourceParameter> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DataSourceParameter getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.