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/physical_schema.proto 18 19 package com.google.cloud.datacatalog.v1; 20 21 public interface PhysicalSchemaOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.PhysicalSchema) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Schema in Avro JSON format. 31 * </pre> 32 * 33 * <code>.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1;</code> 34 * 35 * @return Whether the avro field is set. 36 */ hasAvro()37 boolean hasAvro(); 38 /** 39 * 40 * 41 * <pre> 42 * Schema in Avro JSON format. 43 * </pre> 44 * 45 * <code>.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1;</code> 46 * 47 * @return The avro. 48 */ getAvro()49 com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema getAvro(); 50 /** 51 * 52 * 53 * <pre> 54 * Schema in Avro JSON format. 55 * </pre> 56 * 57 * <code>.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema avro = 1;</code> 58 */ getAvroOrBuilder()59 com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder getAvroOrBuilder(); 60 61 /** 62 * 63 * 64 * <pre> 65 * Schema in Thrift format. 66 * </pre> 67 * 68 * <code>.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2;</code> 69 * 70 * @return Whether the thrift field is set. 71 */ hasThrift()72 boolean hasThrift(); 73 /** 74 * 75 * 76 * <pre> 77 * Schema in Thrift format. 78 * </pre> 79 * 80 * <code>.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2;</code> 81 * 82 * @return The thrift. 83 */ getThrift()84 com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema getThrift(); 85 /** 86 * 87 * 88 * <pre> 89 * Schema in Thrift format. 90 * </pre> 91 * 92 * <code>.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2;</code> 93 */ getThriftOrBuilder()94 com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder getThriftOrBuilder(); 95 96 /** 97 * 98 * 99 * <pre> 100 * Schema in protocol buffer format. 101 * </pre> 102 * 103 * <code>.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3;</code> 104 * 105 * @return Whether the protobuf field is set. 106 */ hasProtobuf()107 boolean hasProtobuf(); 108 /** 109 * 110 * 111 * <pre> 112 * Schema in protocol buffer format. 113 * </pre> 114 * 115 * <code>.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3;</code> 116 * 117 * @return The protobuf. 118 */ getProtobuf()119 com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema getProtobuf(); 120 /** 121 * 122 * 123 * <pre> 124 * Schema in protocol buffer format. 125 * </pre> 126 * 127 * <code>.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema protobuf = 3;</code> 128 */ getProtobufOrBuilder()129 com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder getProtobufOrBuilder(); 130 131 /** 132 * 133 * 134 * <pre> 135 * Marks a Parquet-encoded data source. 136 * </pre> 137 * 138 * <code>.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4;</code> 139 * 140 * @return Whether the parquet field is set. 141 */ hasParquet()142 boolean hasParquet(); 143 /** 144 * 145 * 146 * <pre> 147 * Marks a Parquet-encoded data source. 148 * </pre> 149 * 150 * <code>.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4;</code> 151 * 152 * @return The parquet. 153 */ getParquet()154 com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema getParquet(); 155 /** 156 * 157 * 158 * <pre> 159 * Marks a Parquet-encoded data source. 160 * </pre> 161 * 162 * <code>.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema parquet = 4;</code> 163 */ getParquetOrBuilder()164 com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder getParquetOrBuilder(); 165 166 /** 167 * 168 * 169 * <pre> 170 * Marks an ORC-encoded data source. 171 * </pre> 172 * 173 * <code>.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5;</code> 174 * 175 * @return Whether the orc field is set. 176 */ hasOrc()177 boolean hasOrc(); 178 /** 179 * 180 * 181 * <pre> 182 * Marks an ORC-encoded data source. 183 * </pre> 184 * 185 * <code>.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5;</code> 186 * 187 * @return The orc. 188 */ getOrc()189 com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema getOrc(); 190 /** 191 * 192 * 193 * <pre> 194 * Marks an ORC-encoded data source. 195 * </pre> 196 * 197 * <code>.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema orc = 5;</code> 198 */ getOrcOrBuilder()199 com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder getOrcOrBuilder(); 200 201 /** 202 * 203 * 204 * <pre> 205 * Marks a CSV-encoded data source. 206 * </pre> 207 * 208 * <code>.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6;</code> 209 * 210 * @return Whether the csv field is set. 211 */ hasCsv()212 boolean hasCsv(); 213 /** 214 * 215 * 216 * <pre> 217 * Marks a CSV-encoded data source. 218 * </pre> 219 * 220 * <code>.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6;</code> 221 * 222 * @return The csv. 223 */ getCsv()224 com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema getCsv(); 225 /** 226 * 227 * 228 * <pre> 229 * Marks a CSV-encoded data source. 230 * </pre> 231 * 232 * <code>.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema csv = 6;</code> 233 */ getCsvOrBuilder()234 com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder getCsvOrBuilder(); 235 getSchemaCase()236 public com.google.cloud.datacatalog.v1.PhysicalSchema.SchemaCase getSchemaCase(); 237 } 238