Class ParameterValidation (4.40.0)

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
Type Description
int

VALUES_FIELD_NUMBER

public static final int VALUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ParameterValidation getDefaultInstance()
Returns
Type Description
ParameterValidation

getDescriptor()

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

newBuilder()

public static ParameterValidation.Builder newBuilder()
Returns
Type Description
ParameterValidation.Builder

newBuilder(ParameterValidation prototype)

public static ParameterValidation.Builder newBuilder(ParameterValidation prototype)
Parameter
Name Description
prototype ParameterValidation
Returns
Type Description
ParameterValidation.Builder

parseDelimitedFrom(InputStream input)

public static ParameterValidation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ParameterValidation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ParameterValidation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ParameterValidation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ParameterValidation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ParameterValidation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ParameterValidation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ParameterValidation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ParameterValidation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ParameterValidation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ParameterValidation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ParameterValidation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ParameterValidation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ParameterValidation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ParameterValidation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ParameterValidation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ParameterValidation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ParameterValidation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ParameterValidation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ParameterValidation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ParameterValidation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ParameterValidation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ParameterValidation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ParameterValidation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ParameterValidation> parser()
Returns
Type Description
Parser<ParameterValidation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ParameterValidation getDefaultInstanceForType()
Returns
Type Description
ParameterValidation

getParserForType()

public Parser<ParameterValidation> getParserForType()
Returns
Type Description
Parser<ParameterValidation>
Overrides

getRegex()

public RegexValidation getRegex()

Validation based on regular expressions.

.google.cloud.dataproc.v1.RegexValidation regex = 1;

Returns
Type Description
RegexValidation

The regex.

getRegexOrBuilder()

public RegexValidationOrBuilder getRegexOrBuilder()

Validation based on regular expressions.

.google.cloud.dataproc.v1.RegexValidation regex = 1;

Returns
Type Description
RegexValidationOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValidationTypeCase()

public ParameterValidation.ValidationTypeCase getValidationTypeCase()
Returns
Type Description
ParameterValidation.ValidationTypeCase

getValues()

public ValueValidation getValues()

Validation based on a list of allowed values.

.google.cloud.dataproc.v1.ValueValidation values = 2;

Returns
Type Description
ValueValidation

The values.

getValuesOrBuilder()

public ValueValidationOrBuilder getValuesOrBuilder()

Validation based on a list of allowed values.

.google.cloud.dataproc.v1.ValueValidation values = 2;

Returns
Type Description
ValueValidationOrBuilder

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ParameterValidation.Builder newBuilderForType()
Returns
Type Description
ParameterValidation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ParameterValidation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ParameterValidation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ParameterValidation.Builder toBuilder()
Returns
Type Description
ParameterValidation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException