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/slsa_provenance_zero_two.proto 19 20 package io.grafeas.v1; 21 22 public interface SlsaProvenanceZeroTwoOrBuilder 23 extends 24 // @@protoc_insertion_point(interface_extends:grafeas.v1.SlsaProvenanceZeroTwo) 25 com.google.protobuf.MessageOrBuilder { 26 27 /** 28 * <code>.grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder builder = 1;</code> 29 * 30 * @return Whether the builder field is set. 31 */ hasBuilder()32 boolean hasBuilder(); 33 /** 34 * <code>.grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder builder = 1;</code> 35 * 36 * @return The builder. 37 */ getBuilder()38 io.grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder getBuilder(); 39 /** <code>.grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder builder = 1;</code> */ getBuilderOrBuilder()40 io.grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilderOrBuilder getBuilderOrBuilder(); 41 42 /** 43 * <code>string build_type = 2;</code> 44 * 45 * @return The buildType. 46 */ getBuildType()47 java.lang.String getBuildType(); 48 /** 49 * <code>string build_type = 2;</code> 50 * 51 * @return The bytes for buildType. 52 */ getBuildTypeBytes()53 com.google.protobuf.ByteString getBuildTypeBytes(); 54 55 /** 56 * <code>.grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation invocation = 3;</code> 57 * 58 * @return Whether the invocation field is set. 59 */ hasInvocation()60 boolean hasInvocation(); 61 /** 62 * <code>.grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation invocation = 3;</code> 63 * 64 * @return The invocation. 65 */ getInvocation()66 io.grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation getInvocation(); 67 /** <code>.grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation invocation = 3;</code> */ getInvocationOrBuilder()68 io.grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocationOrBuilder getInvocationOrBuilder(); 69 70 /** 71 * <code>.google.protobuf.Struct build_config = 4;</code> 72 * 73 * @return Whether the buildConfig field is set. 74 */ hasBuildConfig()75 boolean hasBuildConfig(); 76 /** 77 * <code>.google.protobuf.Struct build_config = 4;</code> 78 * 79 * @return The buildConfig. 80 */ getBuildConfig()81 com.google.protobuf.Struct getBuildConfig(); 82 /** <code>.google.protobuf.Struct build_config = 4;</code> */ getBuildConfigOrBuilder()83 com.google.protobuf.StructOrBuilder getBuildConfigOrBuilder(); 84 85 /** 86 * <code>.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata metadata = 5;</code> 87 * 88 * @return Whether the metadata field is set. 89 */ hasMetadata()90 boolean hasMetadata(); 91 /** 92 * <code>.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata metadata = 5;</code> 93 * 94 * @return The metadata. 95 */ getMetadata()96 io.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata getMetadata(); 97 /** <code>.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata metadata = 5;</code> */ getMetadataOrBuilder()98 io.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadataOrBuilder getMetadataOrBuilder(); 99 100 /** <code>repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;</code> */ getMaterialsList()101 java.util.List<io.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial> getMaterialsList(); 102 /** <code>repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;</code> */ getMaterials(int index)103 io.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial getMaterials(int index); 104 /** <code>repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;</code> */ getMaterialsCount()105 int getMaterialsCount(); 106 /** <code>repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;</code> */ 107 java.util.List<? extends io.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterialOrBuilder> getMaterialsOrBuilderList()108 getMaterialsOrBuilderList(); 109 /** <code>repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;</code> */ getMaterialsOrBuilder(int index)110 io.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterialOrBuilder getMaterialsOrBuilder(int index); 111 } 112