1 /* 2 * Copyright 2019 The Grafeas Authors. All rights reserved. 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 17 // Generated by the protocol buffer compiler. DO NOT EDIT! 18 // source: grafeas/v1/compliance.proto 19 20 package io.grafeas.v1; 21 22 public interface ComplianceNoteOrBuilder 23 extends 24 // @@protoc_insertion_point(interface_extends:grafeas.v1.ComplianceNote) 25 com.google.protobuf.MessageOrBuilder { 26 27 /** 28 * 29 * 30 * <pre> 31 * The title that identifies this compliance check. 32 * </pre> 33 * 34 * <code>string title = 1;</code> 35 * 36 * @return The title. 37 */ getTitle()38 java.lang.String getTitle(); 39 /** 40 * 41 * 42 * <pre> 43 * The title that identifies this compliance check. 44 * </pre> 45 * 46 * <code>string title = 1;</code> 47 * 48 * @return The bytes for title. 49 */ getTitleBytes()50 com.google.protobuf.ByteString getTitleBytes(); 51 52 /** 53 * 54 * 55 * <pre> 56 * A description about this compliance check. 57 * </pre> 58 * 59 * <code>string description = 2;</code> 60 * 61 * @return The description. 62 */ getDescription()63 java.lang.String getDescription(); 64 /** 65 * 66 * 67 * <pre> 68 * A description about this compliance check. 69 * </pre> 70 * 71 * <code>string description = 2;</code> 72 * 73 * @return The bytes for description. 74 */ getDescriptionBytes()75 com.google.protobuf.ByteString getDescriptionBytes(); 76 77 /** 78 * 79 * 80 * <pre> 81 * The OS and config versions the benchmark applies to. 82 * </pre> 83 * 84 * <code>repeated .grafeas.v1.ComplianceVersion version = 3;</code> 85 */ getVersionList()86 java.util.List<io.grafeas.v1.ComplianceVersion> getVersionList(); 87 /** 88 * 89 * 90 * <pre> 91 * The OS and config versions the benchmark applies to. 92 * </pre> 93 * 94 * <code>repeated .grafeas.v1.ComplianceVersion version = 3;</code> 95 */ getVersion(int index)96 io.grafeas.v1.ComplianceVersion getVersion(int index); 97 /** 98 * 99 * 100 * <pre> 101 * The OS and config versions the benchmark applies to. 102 * </pre> 103 * 104 * <code>repeated .grafeas.v1.ComplianceVersion version = 3;</code> 105 */ getVersionCount()106 int getVersionCount(); 107 /** 108 * 109 * 110 * <pre> 111 * The OS and config versions the benchmark applies to. 112 * </pre> 113 * 114 * <code>repeated .grafeas.v1.ComplianceVersion version = 3;</code> 115 */ getVersionOrBuilderList()116 java.util.List<? extends io.grafeas.v1.ComplianceVersionOrBuilder> getVersionOrBuilderList(); 117 /** 118 * 119 * 120 * <pre> 121 * The OS and config versions the benchmark applies to. 122 * </pre> 123 * 124 * <code>repeated .grafeas.v1.ComplianceVersion version = 3;</code> 125 */ getVersionOrBuilder(int index)126 io.grafeas.v1.ComplianceVersionOrBuilder getVersionOrBuilder(int index); 127 128 /** 129 * 130 * 131 * <pre> 132 * A rationale for the existence of this compliance check. 133 * </pre> 134 * 135 * <code>string rationale = 4;</code> 136 * 137 * @return The rationale. 138 */ getRationale()139 java.lang.String getRationale(); 140 /** 141 * 142 * 143 * <pre> 144 * A rationale for the existence of this compliance check. 145 * </pre> 146 * 147 * <code>string rationale = 4;</code> 148 * 149 * @return The bytes for rationale. 150 */ getRationaleBytes()151 com.google.protobuf.ByteString getRationaleBytes(); 152 153 /** 154 * 155 * 156 * <pre> 157 * A description of remediation steps if the compliance check fails. 158 * </pre> 159 * 160 * <code>string remediation = 5;</code> 161 * 162 * @return The remediation. 163 */ getRemediation()164 java.lang.String getRemediation(); 165 /** 166 * 167 * 168 * <pre> 169 * A description of remediation steps if the compliance check fails. 170 * </pre> 171 * 172 * <code>string remediation = 5;</code> 173 * 174 * @return The bytes for remediation. 175 */ getRemediationBytes()176 com.google.protobuf.ByteString getRemediationBytes(); 177 178 /** 179 * <code>.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;</code> 180 * 181 * @return Whether the cisBenchmark field is set. 182 */ hasCisBenchmark()183 boolean hasCisBenchmark(); 184 /** 185 * <code>.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;</code> 186 * 187 * @return The cisBenchmark. 188 */ getCisBenchmark()189 io.grafeas.v1.ComplianceNote.CisBenchmark getCisBenchmark(); 190 /** <code>.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;</code> */ getCisBenchmarkOrBuilder()191 io.grafeas.v1.ComplianceNote.CisBenchmarkOrBuilder getCisBenchmarkOrBuilder(); 192 193 /** 194 * 195 * 196 * <pre> 197 * Serialized scan instructions with a predefined format. 198 * </pre> 199 * 200 * <code>bytes scan_instructions = 7;</code> 201 * 202 * @return The scanInstructions. 203 */ getScanInstructions()204 com.google.protobuf.ByteString getScanInstructions(); 205 getComplianceTypeCase()206 public io.grafeas.v1.ComplianceNote.ComplianceTypeCase getComplianceTypeCase(); 207 } 208