public static final class ParameterValidation.Builder extends GeneratedMessageV3.Builder<ParameterValidation.Builder> implements ParameterValidationOrBuilder
Configuration for parameter validation.
Protobuf type google.cloud.dataproc.v1.ParameterValidation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ParameterValidation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ParameterValidation build()
buildPartial()
public ParameterValidation buildPartial()
clear()
public ParameterValidation.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ParameterValidation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ParameterValidation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRegex()
public ParameterValidation.Builder clearRegex()
Validation based on regular expressions.
.google.cloud.dataproc.v1.RegexValidation regex = 1;
clearValidationType()
public ParameterValidation.Builder clearValidationType()
clearValues()
public ParameterValidation.Builder clearValues()
Validation based on a list of allowed values.
.google.cloud.dataproc.v1.ValueValidation values = 2;
clone()
public ParameterValidation.Builder clone()
Overrides
getDefaultInstanceForType()
public ParameterValidation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRegex()
public RegexValidation getRegex()
Validation based on regular expressions.
.google.cloud.dataproc.v1.RegexValidation regex = 1;
getRegexBuilder()
public RegexValidation.Builder getRegexBuilder()
Validation based on regular expressions.
.google.cloud.dataproc.v1.RegexValidation regex = 1;
getRegexOrBuilder()
public RegexValidationOrBuilder getRegexOrBuilder()
Validation based on regular expressions.
.google.cloud.dataproc.v1.RegexValidation regex = 1;
getValidationTypeCase()
public ParameterValidation.ValidationTypeCase getValidationTypeCase()
getValues()
public ValueValidation getValues()
Validation based on a list of allowed values.
.google.cloud.dataproc.v1.ValueValidation values = 2;
getValuesBuilder()
public ValueValidation.Builder getValuesBuilder()
Validation based on a list of allowed values.
.google.cloud.dataproc.v1.ValueValidation values = 2;
getValuesOrBuilder()
public ValueValidationOrBuilder getValuesOrBuilder()
Validation based on a list of allowed values.
.google.cloud.dataproc.v1.ValueValidation values = 2;
hasRegex()
public boolean hasRegex()
Validation based on regular expressions.
.google.cloud.dataproc.v1.RegexValidation regex = 1;
Returns |
Type |
Description |
boolean |
Whether the regex field is set.
|
hasValues()
public boolean hasValues()
Validation based on a list of allowed values.
.google.cloud.dataproc.v1.ValueValidation values = 2;
Returns |
Type |
Description |
boolean |
Whether the values field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ParameterValidation other)
public ParameterValidation.Builder mergeFrom(ParameterValidation other)
public ParameterValidation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ParameterValidation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeRegex(RegexValidation value)
public ParameterValidation.Builder mergeRegex(RegexValidation value)
Validation based on regular expressions.
.google.cloud.dataproc.v1.RegexValidation regex = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ParameterValidation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeValues(ValueValidation value)
public ParameterValidation.Builder mergeValues(ValueValidation value)
Validation based on a list of allowed values.
.google.cloud.dataproc.v1.ValueValidation values = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public ParameterValidation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRegex(RegexValidation value)
public ParameterValidation.Builder setRegex(RegexValidation value)
Validation based on regular expressions.
.google.cloud.dataproc.v1.RegexValidation regex = 1;
setRegex(RegexValidation.Builder builderForValue)
public ParameterValidation.Builder setRegex(RegexValidation.Builder builderForValue)
Validation based on regular expressions.
.google.cloud.dataproc.v1.RegexValidation regex = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ParameterValidation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ParameterValidation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setValues(ValueValidation value)
public ParameterValidation.Builder setValues(ValueValidation value)
Validation based on a list of allowed values.
.google.cloud.dataproc.v1.ValueValidation values = 2;
setValues(ValueValidation.Builder builderForValue)
public ParameterValidation.Builder setValues(ValueValidation.Builder builderForValue)
Validation based on a list of allowed values.
.google.cloud.dataproc.v1.ValueValidation values = 2;