public final class ParameterValidation extends GeneratedMessageV3 implements ParameterValidationOrBuilder
Configuration for parameter validation.
Protobuf type google.cloud.dataproc.v1.ParameterValidation
Static Fields
REGEX_FIELD_NUMBER
public static final int REGEX_FIELD_NUMBER
Field Value
VALUES_FIELD_NUMBER
public static final int VALUES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ParameterValidation getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ParameterValidation.Builder newBuilder()
Returns
newBuilder(ParameterValidation prototype)
public static ParameterValidation.Builder newBuilder(ParameterValidation prototype)
Parameter
Returns
public static ParameterValidation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ParameterValidation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ParameterValidation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ParameterValidation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ParameterValidation parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ParameterValidation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ParameterValidation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ParameterValidation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ParameterValidation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ParameterValidation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ParameterValidation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ParameterValidation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ParameterValidation> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ParameterValidation getDefaultInstanceForType()
Returns
getParserForType()
public Parser<ParameterValidation> getParserForType()
Returns
Overrides
getRegex()
public RegexValidation getRegex()
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ParameterValidation.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ParameterValidation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ParameterValidation.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions