public class GcsPathValidator extends java.lang.Object implements PathValidator
PathValidator. Only GCS paths are allowed.| Modifier and Type | Method and Description | 
|---|---|
| static GcsPathValidator | fromOptions(PipelineOptions options) | 
| void | validateInputFilePatternSupported(java.lang.String filepattern)Validates the input GCS path is accessible and that the path is well formed. | 
| void | validateOutputFilePrefixSupported(java.lang.String filePrefix)Validates the output GCS path is accessible and that the path is well formed. | 
| void | validateOutputResourceSupported(ResourceId resourceId)Validates that an output path is conforming. | 
| java.lang.String | verifyPath(java.lang.String path)Validate that a path is a valid path and that the path is accessible. | 
public static GcsPathValidator fromOptions(PipelineOptions options)
public void validateInputFilePatternSupported(java.lang.String filepattern)
validateInputFilePatternSupported in interface PathValidatorfilepattern - The file pattern to verify.public void validateOutputFilePrefixSupported(java.lang.String filePrefix)
validateOutputFilePrefixSupported in interface PathValidatorfilePrefix - the file prefix to verify.public void validateOutputResourceSupported(ResourceId resourceId)
PathValidatorvalidateOutputResourceSupported in interface PathValidatorresourceId - the file prefix to verify.public java.lang.String verifyPath(java.lang.String path)
PathValidatorverifyPath in interface PathValidatorpath - The path to verify.