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.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ParameterValidation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ParameterValidation build()
Returns
buildPartial()
public ParameterValidation buildPartial()
Returns
clear()
public ParameterValidation.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ParameterValidation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ParameterValidation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRegex()
public ParameterValidation.Builder clearRegex()
Validation based on regular expressions.
.google.cloud.dataproc.v1.RegexValidation regex = 1;
Returns
clearValidationType()
public ParameterValidation.Builder clearValidationType()
Returns
clearValues()
public ParameterValidation.Builder clearValues()
Validation based on a list of allowed values.
.google.cloud.dataproc.v1.ValueValidation values = 2;
Returns
clone()
public ParameterValidation.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ParameterValidation getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getRegex()
public RegexValidation getRegex()
Validation based on regular expressions.
.google.cloud.dataproc.v1.RegexValidation regex = 1;
Returns
getRegexBuilder()
public RegexValidation.Builder getRegexBuilder()
Validation based on regular expressions.
.google.cloud.dataproc.v1.RegexValidation regex = 1;
Returns
getRegexOrBuilder()
public RegexValidationOrBuilder getRegexOrBuilder()
Validation based on regular expressions.
.google.cloud.dataproc.v1.RegexValidation regex = 1;
Returns
getValidationTypeCase()
public ParameterValidation.ValidationTypeCase getValidationTypeCase()
Returns
getValues()
public ValueValidation getValues()
Validation based on a list of allowed values.
.google.cloud.dataproc.v1.ValueValidation values = 2;
Returns
getValuesBuilder()
public ValueValidation.Builder getValuesBuilder()
Validation based on a list of allowed values.
.google.cloud.dataproc.v1.ValueValidation values = 2;
Returns
getValuesOrBuilder()
public ValueValidationOrBuilder getValuesOrBuilder()
Validation based on a list of allowed values.
.google.cloud.dataproc.v1.ValueValidation values = 2;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ParameterValidation other)
public ParameterValidation.Builder mergeFrom(ParameterValidation other)
Parameter
Returns
public ParameterValidation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ParameterValidation.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeRegex(RegexValidation value)
public ParameterValidation.Builder mergeRegex(RegexValidation value)
Validation based on regular expressions.
.google.cloud.dataproc.v1.RegexValidation regex = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ParameterValidation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ParameterValidation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRegex(RegexValidation value)
public ParameterValidation.Builder setRegex(RegexValidation value)
Validation based on regular expressions.
.google.cloud.dataproc.v1.RegexValidation regex = 1;
Parameter
Returns
setRegex(RegexValidation.Builder builderForValue)
public ParameterValidation.Builder setRegex(RegexValidation.Builder builderForValue)
Validation based on regular expressions.
.google.cloud.dataproc.v1.RegexValidation regex = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ParameterValidation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ParameterValidation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
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;
Parameter
Returns