public final class ParameterValidation extends GeneratedMessageV3 implements ParameterValidationOrBuilder
Configuration for parameter validation.
Protobuf type google.cloud.dataproc.v1.ParameterValidation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ParameterValidation.Builder newBuilder()
newBuilder(ParameterValidation prototype)
public static ParameterValidation.Builder newBuilder(ParameterValidation prototype)
public static ParameterValidation parseDelimitedFrom(InputStream input)
public static ParameterValidation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ParameterValidation parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ParameterValidation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ParameterValidation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ParameterValidation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ParameterValidation parseFrom(CodedInputStream input)
public static ParameterValidation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ParameterValidation parseFrom(InputStream input)
public static ParameterValidation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ParameterValidation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ParameterValidation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ParameterValidation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ParameterValidation getDefaultInstanceForType()
getParserForType()
public Parser<ParameterValidation> getParserForType()
Overrides
getRegex()
public RegexValidation getRegex()
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;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getValidationTypeCase()
public ParameterValidation.ValidationTypeCase getValidationTypeCase()
getValues()
public ValueValidation getValues()
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ParameterValidation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ParameterValidation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ParameterValidation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides