Package com.google.cloud.dataproc.v1
Interface RegexValidationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RegexValidation
,RegexValidation.Builder
public interface RegexValidationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getRegexes(int index)
Required.com.google.protobuf.ByteString
getRegexesBytes(int index)
Required.int
getRegexesCount()
Required.List<String>
getRegexesList()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRegexesList
List<String> getRegexesList()
Required. RE2 regular expressions used to validate the parameter's value. The value must match the regex in its entirety (substring matches are not sufficient).
repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- A list containing the regexes.
-
getRegexesCount
int getRegexesCount()
Required. RE2 regular expressions used to validate the parameter's value. The value must match the regex in its entirety (substring matches are not sufficient).
repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The count of regexes.
-
getRegexes
String getRegexes(int index)
Required. RE2 regular expressions used to validate the parameter's value. The value must match the regex in its entirety (substring matches are not sufficient).
repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
index
- The index of the element to return.- Returns:
- The regexes at the given index.
-
getRegexesBytes
com.google.protobuf.ByteString getRegexesBytes(int index)
Required. RE2 regular expressions used to validate the parameter's value. The value must match the regex in its entirety (substring matches are not sufficient).
repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the regexes at the given index.
-
-