1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/datacatalog/v1/data_source.proto 18 19 package com.google.cloud.datacatalog.v1; 20 21 public interface StoragePropertiesOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.StorageProperties) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Patterns to identify a set of files for this fileset. 31 * Examples of a valid `file_pattern`: 32 * * `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir` 33 * directory 34 * * `gs://bucket_name/dir/**`: matches all files in the `bucket_name/dir` 35 * and all subdirectories recursively 36 * * `gs://bucket_name/file*`: matches files prefixed by `file` in 37 * `bucket_name` 38 * * `gs://bucket_name/??.txt`: matches files with two characters followed by 39 * `.txt` in `bucket_name` 40 * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single 41 * vowel character followed by `.txt` in 42 * `bucket_name` 43 * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... 44 * or `m` followed by `.txt` in `bucket_name` 45 * * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match 46 * the `a/*/b` pattern, such as `a/c/b`, `a/d/b` 47 * * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` 48 * </pre> 49 * 50 * <code>repeated string file_pattern = 1;</code> 51 * 52 * @return A list containing the filePattern. 53 */ getFilePatternList()54 java.util.List<java.lang.String> getFilePatternList(); 55 /** 56 * 57 * 58 * <pre> 59 * Patterns to identify a set of files for this fileset. 60 * Examples of a valid `file_pattern`: 61 * * `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir` 62 * directory 63 * * `gs://bucket_name/dir/**`: matches all files in the `bucket_name/dir` 64 * and all subdirectories recursively 65 * * `gs://bucket_name/file*`: matches files prefixed by `file` in 66 * `bucket_name` 67 * * `gs://bucket_name/??.txt`: matches files with two characters followed by 68 * `.txt` in `bucket_name` 69 * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single 70 * vowel character followed by `.txt` in 71 * `bucket_name` 72 * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... 73 * or `m` followed by `.txt` in `bucket_name` 74 * * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match 75 * the `a/*/b` pattern, such as `a/c/b`, `a/d/b` 76 * * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` 77 * </pre> 78 * 79 * <code>repeated string file_pattern = 1;</code> 80 * 81 * @return The count of filePattern. 82 */ getFilePatternCount()83 int getFilePatternCount(); 84 /** 85 * 86 * 87 * <pre> 88 * Patterns to identify a set of files for this fileset. 89 * Examples of a valid `file_pattern`: 90 * * `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir` 91 * directory 92 * * `gs://bucket_name/dir/**`: matches all files in the `bucket_name/dir` 93 * and all subdirectories recursively 94 * * `gs://bucket_name/file*`: matches files prefixed by `file` in 95 * `bucket_name` 96 * * `gs://bucket_name/??.txt`: matches files with two characters followed by 97 * `.txt` in `bucket_name` 98 * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single 99 * vowel character followed by `.txt` in 100 * `bucket_name` 101 * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... 102 * or `m` followed by `.txt` in `bucket_name` 103 * * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match 104 * the `a/*/b` pattern, such as `a/c/b`, `a/d/b` 105 * * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` 106 * </pre> 107 * 108 * <code>repeated string file_pattern = 1;</code> 109 * 110 * @param index The index of the element to return. 111 * @return The filePattern at the given index. 112 */ getFilePattern(int index)113 java.lang.String getFilePattern(int index); 114 /** 115 * 116 * 117 * <pre> 118 * Patterns to identify a set of files for this fileset. 119 * Examples of a valid `file_pattern`: 120 * * `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir` 121 * directory 122 * * `gs://bucket_name/dir/**`: matches all files in the `bucket_name/dir` 123 * and all subdirectories recursively 124 * * `gs://bucket_name/file*`: matches files prefixed by `file` in 125 * `bucket_name` 126 * * `gs://bucket_name/??.txt`: matches files with two characters followed by 127 * `.txt` in `bucket_name` 128 * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single 129 * vowel character followed by `.txt` in 130 * `bucket_name` 131 * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... 132 * or `m` followed by `.txt` in `bucket_name` 133 * * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match 134 * the `a/*/b` pattern, such as `a/c/b`, `a/d/b` 135 * * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` 136 * </pre> 137 * 138 * <code>repeated string file_pattern = 1;</code> 139 * 140 * @param index The index of the value to return. 141 * @return The bytes of the filePattern at the given index. 142 */ getFilePatternBytes(int index)143 com.google.protobuf.ByteString getFilePatternBytes(int index); 144 145 /** 146 * 147 * 148 * <pre> 149 * File type in MIME format, for example, `text/plain`. 150 * </pre> 151 * 152 * <code>string file_type = 2;</code> 153 * 154 * @return The fileType. 155 */ getFileType()156 java.lang.String getFileType(); 157 /** 158 * 159 * 160 * <pre> 161 * File type in MIME format, for example, `text/plain`. 162 * </pre> 163 * 164 * <code>string file_type = 2;</code> 165 * 166 * @return The bytes for fileType. 167 */ getFileTypeBytes()168 com.google.protobuf.ByteString getFileTypeBytes(); 169 } 170