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/kms/v1/service.proto 18 19 package com.google.cloud.kms.v1; 20 21 public interface ListKeyRingsResponseOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.ListKeyRingsResponse) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The list of [KeyRings][google.cloud.kms.v1.KeyRing]. 31 * </pre> 32 * 33 * <code>repeated .google.cloud.kms.v1.KeyRing key_rings = 1;</code> 34 */ getKeyRingsList()35 java.util.List<com.google.cloud.kms.v1.KeyRing> getKeyRingsList(); 36 /** 37 * 38 * 39 * <pre> 40 * The list of [KeyRings][google.cloud.kms.v1.KeyRing]. 41 * </pre> 42 * 43 * <code>repeated .google.cloud.kms.v1.KeyRing key_rings = 1;</code> 44 */ getKeyRings(int index)45 com.google.cloud.kms.v1.KeyRing getKeyRings(int index); 46 /** 47 * 48 * 49 * <pre> 50 * The list of [KeyRings][google.cloud.kms.v1.KeyRing]. 51 * </pre> 52 * 53 * <code>repeated .google.cloud.kms.v1.KeyRing key_rings = 1;</code> 54 */ getKeyRingsCount()55 int getKeyRingsCount(); 56 /** 57 * 58 * 59 * <pre> 60 * The list of [KeyRings][google.cloud.kms.v1.KeyRing]. 61 * </pre> 62 * 63 * <code>repeated .google.cloud.kms.v1.KeyRing key_rings = 1;</code> 64 */ getKeyRingsOrBuilderList()65 java.util.List<? extends com.google.cloud.kms.v1.KeyRingOrBuilder> getKeyRingsOrBuilderList(); 66 /** 67 * 68 * 69 * <pre> 70 * The list of [KeyRings][google.cloud.kms.v1.KeyRing]. 71 * </pre> 72 * 73 * <code>repeated .google.cloud.kms.v1.KeyRing key_rings = 1;</code> 74 */ getKeyRingsOrBuilder(int index)75 com.google.cloud.kms.v1.KeyRingOrBuilder getKeyRingsOrBuilder(int index); 76 77 /** 78 * 79 * 80 * <pre> 81 * A token to retrieve next page of results. Pass this value in 82 * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] 83 * to retrieve the next page of results. 84 * </pre> 85 * 86 * <code>string next_page_token = 2;</code> 87 * 88 * @return The nextPageToken. 89 */ getNextPageToken()90 java.lang.String getNextPageToken(); 91 /** 92 * 93 * 94 * <pre> 95 * A token to retrieve next page of results. Pass this value in 96 * [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] 97 * to retrieve the next page of results. 98 * </pre> 99 * 100 * <code>string next_page_token = 2;</code> 101 * 102 * @return The bytes for nextPageToken. 103 */ getNextPageTokenBytes()104 com.google.protobuf.ByteString getNextPageTokenBytes(); 105 106 /** 107 * 108 * 109 * <pre> 110 * The total number of [KeyRings][google.cloud.kms.v1.KeyRing] that matched 111 * the query. 112 * </pre> 113 * 114 * <code>int32 total_size = 3;</code> 115 * 116 * @return The totalSize. 117 */ getTotalSize()118 int getTotalSize(); 119 } 120