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/provenance.proto 19 20 package io.grafeas.v1; 21 22 public interface CloudRepoSourceContextOrBuilder 23 extends 24 // @@protoc_insertion_point(interface_extends:grafeas.v1.CloudRepoSourceContext) 25 com.google.protobuf.MessageOrBuilder { 26 27 /** 28 * 29 * 30 * <pre> 31 * The ID of the repo. 32 * </pre> 33 * 34 * <code>.grafeas.v1.RepoId repo_id = 1;</code> 35 * 36 * @return Whether the repoId field is set. 37 */ hasRepoId()38 boolean hasRepoId(); 39 /** 40 * 41 * 42 * <pre> 43 * The ID of the repo. 44 * </pre> 45 * 46 * <code>.grafeas.v1.RepoId repo_id = 1;</code> 47 * 48 * @return The repoId. 49 */ getRepoId()50 io.grafeas.v1.RepoId getRepoId(); 51 /** 52 * 53 * 54 * <pre> 55 * The ID of the repo. 56 * </pre> 57 * 58 * <code>.grafeas.v1.RepoId repo_id = 1;</code> 59 */ getRepoIdOrBuilder()60 io.grafeas.v1.RepoIdOrBuilder getRepoIdOrBuilder(); 61 62 /** 63 * 64 * 65 * <pre> 66 * A revision ID. 67 * </pre> 68 * 69 * <code>string revision_id = 2;</code> 70 * 71 * @return Whether the revisionId field is set. 72 */ hasRevisionId()73 boolean hasRevisionId(); 74 /** 75 * 76 * 77 * <pre> 78 * A revision ID. 79 * </pre> 80 * 81 * <code>string revision_id = 2;</code> 82 * 83 * @return The revisionId. 84 */ getRevisionId()85 java.lang.String getRevisionId(); 86 /** 87 * 88 * 89 * <pre> 90 * A revision ID. 91 * </pre> 92 * 93 * <code>string revision_id = 2;</code> 94 * 95 * @return The bytes for revisionId. 96 */ getRevisionIdBytes()97 com.google.protobuf.ByteString getRevisionIdBytes(); 98 99 /** 100 * 101 * 102 * <pre> 103 * An alias, which may be a branch or tag. 104 * </pre> 105 * 106 * <code>.grafeas.v1.AliasContext alias_context = 3;</code> 107 * 108 * @return Whether the aliasContext field is set. 109 */ hasAliasContext()110 boolean hasAliasContext(); 111 /** 112 * 113 * 114 * <pre> 115 * An alias, which may be a branch or tag. 116 * </pre> 117 * 118 * <code>.grafeas.v1.AliasContext alias_context = 3;</code> 119 * 120 * @return The aliasContext. 121 */ getAliasContext()122 io.grafeas.v1.AliasContext getAliasContext(); 123 /** 124 * 125 * 126 * <pre> 127 * An alias, which may be a branch or tag. 128 * </pre> 129 * 130 * <code>.grafeas.v1.AliasContext alias_context = 3;</code> 131 */ getAliasContextOrBuilder()132 io.grafeas.v1.AliasContextOrBuilder getAliasContextOrBuilder(); 133 getRevisionCase()134 public io.grafeas.v1.CloudRepoSourceContext.RevisionCase getRevisionCase(); 135 } 136