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/compute/v1/compute.proto 18 19 package com.google.cloud.compute.v1; 20 21 public interface MetadataFilterOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.MetadataFilter) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries. 31 * </pre> 32 * 33 * <code>repeated .google.cloud.compute.v1.MetadataFilterLabelMatch filter_labels = 307903142; 34 * </code> 35 */ getFilterLabelsList()36 java.util.List<com.google.cloud.compute.v1.MetadataFilterLabelMatch> getFilterLabelsList(); 37 /** 38 * 39 * 40 * <pre> 41 * The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries. 42 * </pre> 43 * 44 * <code>repeated .google.cloud.compute.v1.MetadataFilterLabelMatch filter_labels = 307903142; 45 * </code> 46 */ getFilterLabels(int index)47 com.google.cloud.compute.v1.MetadataFilterLabelMatch getFilterLabels(int index); 48 /** 49 * 50 * 51 * <pre> 52 * The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries. 53 * </pre> 54 * 55 * <code>repeated .google.cloud.compute.v1.MetadataFilterLabelMatch filter_labels = 307903142; 56 * </code> 57 */ getFilterLabelsCount()58 int getFilterLabelsCount(); 59 /** 60 * 61 * 62 * <pre> 63 * The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries. 64 * </pre> 65 * 66 * <code>repeated .google.cloud.compute.v1.MetadataFilterLabelMatch filter_labels = 307903142; 67 * </code> 68 */ 69 java.util.List<? extends com.google.cloud.compute.v1.MetadataFilterLabelMatchOrBuilder> getFilterLabelsOrBuilderList()70 getFilterLabelsOrBuilderList(); 71 /** 72 * 73 * 74 * <pre> 75 * The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries. 76 * </pre> 77 * 78 * <code>repeated .google.cloud.compute.v1.MetadataFilterLabelMatch filter_labels = 307903142; 79 * </code> 80 */ getFilterLabelsOrBuilder(int index)81 com.google.cloud.compute.v1.MetadataFilterLabelMatchOrBuilder getFilterLabelsOrBuilder(int index); 82 83 /** 84 * 85 * 86 * <pre> 87 * Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata. 88 * Check the FilterMatchCriteria enum for the list of possible values. 89 * </pre> 90 * 91 * <code>optional string filter_match_criteria = 239970368;</code> 92 * 93 * @return Whether the filterMatchCriteria field is set. 94 */ hasFilterMatchCriteria()95 boolean hasFilterMatchCriteria(); 96 /** 97 * 98 * 99 * <pre> 100 * Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata. 101 * Check the FilterMatchCriteria enum for the list of possible values. 102 * </pre> 103 * 104 * <code>optional string filter_match_criteria = 239970368;</code> 105 * 106 * @return The filterMatchCriteria. 107 */ getFilterMatchCriteria()108 java.lang.String getFilterMatchCriteria(); 109 /** 110 * 111 * 112 * <pre> 113 * Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata. 114 * Check the FilterMatchCriteria enum for the list of possible values. 115 * </pre> 116 * 117 * <code>optional string filter_match_criteria = 239970368;</code> 118 * 119 * @return The bytes for filterMatchCriteria. 120 */ getFilterMatchCriteriaBytes()121 com.google.protobuf.ByteString getFilterMatchCriteriaBytes(); 122 } 123