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/datacatalog.proto 18 19 package com.google.cloud.datacatalog.v1; 20 21 public interface RoutineSpecOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.RoutineSpec) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The type of the routine. 31 * </pre> 32 * 33 * <code>.google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1;</code> 34 * 35 * @return The enum numeric value on the wire for routineType. 36 */ getRoutineTypeValue()37 int getRoutineTypeValue(); 38 /** 39 * 40 * 41 * <pre> 42 * The type of the routine. 43 * </pre> 44 * 45 * <code>.google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1;</code> 46 * 47 * @return The routineType. 48 */ getRoutineType()49 com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType getRoutineType(); 50 51 /** 52 * 53 * 54 * <pre> 55 * The language the routine is written in. The exact value depends on the 56 * source system. For BigQuery routines, possible values are: 57 * * `SQL` 58 * * `JAVASCRIPT` 59 * </pre> 60 * 61 * <code>string language = 2;</code> 62 * 63 * @return The language. 64 */ getLanguage()65 java.lang.String getLanguage(); 66 /** 67 * 68 * 69 * <pre> 70 * The language the routine is written in. The exact value depends on the 71 * source system. For BigQuery routines, possible values are: 72 * * `SQL` 73 * * `JAVASCRIPT` 74 * </pre> 75 * 76 * <code>string language = 2;</code> 77 * 78 * @return The bytes for language. 79 */ getLanguageBytes()80 com.google.protobuf.ByteString getLanguageBytes(); 81 82 /** 83 * 84 * 85 * <pre> 86 * Arguments of the routine. 87 * </pre> 88 * 89 * <code>repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;</code> 90 */ getRoutineArgumentsList()91 java.util.List<com.google.cloud.datacatalog.v1.RoutineSpec.Argument> getRoutineArgumentsList(); 92 /** 93 * 94 * 95 * <pre> 96 * Arguments of the routine. 97 * </pre> 98 * 99 * <code>repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;</code> 100 */ getRoutineArguments(int index)101 com.google.cloud.datacatalog.v1.RoutineSpec.Argument getRoutineArguments(int index); 102 /** 103 * 104 * 105 * <pre> 106 * Arguments of the routine. 107 * </pre> 108 * 109 * <code>repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;</code> 110 */ getRoutineArgumentsCount()111 int getRoutineArgumentsCount(); 112 /** 113 * 114 * 115 * <pre> 116 * Arguments of the routine. 117 * </pre> 118 * 119 * <code>repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;</code> 120 */ 121 java.util.List<? extends com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder> getRoutineArgumentsOrBuilderList()122 getRoutineArgumentsOrBuilderList(); 123 /** 124 * 125 * 126 * <pre> 127 * Arguments of the routine. 128 * </pre> 129 * 130 * <code>repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;</code> 131 */ getRoutineArgumentsOrBuilder( int index)132 com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder getRoutineArgumentsOrBuilder( 133 int index); 134 135 /** 136 * 137 * 138 * <pre> 139 * Return type of the argument. The exact value depends on the source system 140 * and the language. 141 * </pre> 142 * 143 * <code>string return_type = 4;</code> 144 * 145 * @return The returnType. 146 */ getReturnType()147 java.lang.String getReturnType(); 148 /** 149 * 150 * 151 * <pre> 152 * Return type of the argument. The exact value depends on the source system 153 * and the language. 154 * </pre> 155 * 156 * <code>string return_type = 4;</code> 157 * 158 * @return The bytes for returnType. 159 */ getReturnTypeBytes()160 com.google.protobuf.ByteString getReturnTypeBytes(); 161 162 /** 163 * 164 * 165 * <pre> 166 * The body of the routine. 167 * </pre> 168 * 169 * <code>string definition_body = 5;</code> 170 * 171 * @return The definitionBody. 172 */ getDefinitionBody()173 java.lang.String getDefinitionBody(); 174 /** 175 * 176 * 177 * <pre> 178 * The body of the routine. 179 * </pre> 180 * 181 * <code>string definition_body = 5;</code> 182 * 183 * @return The bytes for definitionBody. 184 */ getDefinitionBodyBytes()185 com.google.protobuf.ByteString getDefinitionBodyBytes(); 186 187 /** 188 * 189 * 190 * <pre> 191 * Fields specific for BigQuery routines. 192 * </pre> 193 * 194 * <code>.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;</code> 195 * 196 * @return Whether the bigqueryRoutineSpec field is set. 197 */ hasBigqueryRoutineSpec()198 boolean hasBigqueryRoutineSpec(); 199 /** 200 * 201 * 202 * <pre> 203 * Fields specific for BigQuery routines. 204 * </pre> 205 * 206 * <code>.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;</code> 207 * 208 * @return The bigqueryRoutineSpec. 209 */ getBigqueryRoutineSpec()210 com.google.cloud.datacatalog.v1.BigQueryRoutineSpec getBigqueryRoutineSpec(); 211 /** 212 * 213 * 214 * <pre> 215 * Fields specific for BigQuery routines. 216 * </pre> 217 * 218 * <code>.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;</code> 219 */ getBigqueryRoutineSpecOrBuilder()220 com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder getBigqueryRoutineSpecOrBuilder(); 221 getSystemSpecCase()222 public com.google.cloud.datacatalog.v1.RoutineSpec.SystemSpecCase getSystemSpecCase(); 223 } 224