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/dataproc/v1/workflow_templates.proto 18 19 package com.google.cloud.dataproc.v1; 20 21 public interface ValueValidationOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.ValueValidation) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. List of allowed values for the parameter. 31 * </pre> 32 * 33 * <code>repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];</code> 34 * 35 * @return A list containing the values. 36 */ getValuesList()37 java.util.List<java.lang.String> getValuesList(); 38 /** 39 * 40 * 41 * <pre> 42 * Required. List of allowed values for the parameter. 43 * </pre> 44 * 45 * <code>repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];</code> 46 * 47 * @return The count of values. 48 */ getValuesCount()49 int getValuesCount(); 50 /** 51 * 52 * 53 * <pre> 54 * Required. List of allowed values for the parameter. 55 * </pre> 56 * 57 * <code>repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];</code> 58 * 59 * @param index The index of the element to return. 60 * @return The values at the given index. 61 */ getValues(int index)62 java.lang.String getValues(int index); 63 /** 64 * 65 * 66 * <pre> 67 * Required. List of allowed values for the parameter. 68 * </pre> 69 * 70 * <code>repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];</code> 71 * 72 * @param index The index of the value to return. 73 * @return The bytes of the values at the given index. 74 */ getValuesBytes(int index)75 com.google.protobuf.ByteString getValuesBytes(int index); 76 } 77