Class ParameterValidation (3.1.1)

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
TypeDescription
int

VALUES_FIELD_NUMBER

public static final int VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ParameterValidation getDefaultInstance()
Returns
TypeDescription
ParameterValidation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ParameterValidation.Builder newBuilder()
Returns
TypeDescription
ParameterValidation.Builder

newBuilder(ParameterValidation prototype)

public static ParameterValidation.Builder newBuilder(ParameterValidation prototype)
Parameter
NameDescription
prototypeParameterValidation
Returns
TypeDescription
ParameterValidation.Builder

parseDelimitedFrom(InputStream input)

public static ParameterValidation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ParameterValidation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ParameterValidation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ParameterValidation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ParameterValidation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ParameterValidation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ParameterValidation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ParameterValidation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ParameterValidation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ParameterValidation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ParameterValidation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ParameterValidation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ParameterValidation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ParameterValidation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ParameterValidation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ParameterValidation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ParameterValidation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ParameterValidation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ParameterValidation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ParameterValidation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ParameterValidation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ParameterValidation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ParameterValidation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ParameterValidation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ParameterValidation> parser()
Returns
TypeDescription
Parser<ParameterValidation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ParameterValidation getDefaultInstanceForType()
Returns
TypeDescription
ParameterValidation

getParserForType()

public Parser<ParameterValidation> getParserForType()
Returns
TypeDescription
Parser<ParameterValidation>
Overrides

getRegex()

public RegexValidation getRegex()

Validation based on regular expressions.

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

Returns
TypeDescription
RegexValidation

The regex.

getRegexOrBuilder()

public RegexValidationOrBuilder getRegexOrBuilder()

Validation based on regular expressions.

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

Returns
TypeDescription
RegexValidationOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValidationTypeCase()

public ParameterValidation.ValidationTypeCase getValidationTypeCase()
Returns
TypeDescription
ParameterValidation.ValidationTypeCase

getValues()

public ValueValidation getValues()

Validation based on a list of allowed values.

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

Returns
TypeDescription
ValueValidation

The values.

getValuesOrBuilder()

public ValueValidationOrBuilder getValuesOrBuilder()

Validation based on a list of allowed values.

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

Returns
TypeDescription
ValueValidationOrBuilder

hasRegex()

public boolean hasRegex()

Validation based on regular expressions.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the values field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ParameterValidation.Builder newBuilderForType()
Returns
TypeDescription
ParameterValidation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ParameterValidation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ParameterValidation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ParameterValidation.Builder toBuilder()
Returns
TypeDescription
ParameterValidation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException