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 RepoIdOrBuilder 23 extends 24 // @@protoc_insertion_point(interface_extends:grafeas.v1.RepoId) 25 com.google.protobuf.MessageOrBuilder { 26 27 /** 28 * 29 * 30 * <pre> 31 * A combination of a project ID and a repo name. 32 * </pre> 33 * 34 * <code>.grafeas.v1.ProjectRepoId project_repo_id = 1;</code> 35 * 36 * @return Whether the projectRepoId field is set. 37 */ hasProjectRepoId()38 boolean hasProjectRepoId(); 39 /** 40 * 41 * 42 * <pre> 43 * A combination of a project ID and a repo name. 44 * </pre> 45 * 46 * <code>.grafeas.v1.ProjectRepoId project_repo_id = 1;</code> 47 * 48 * @return The projectRepoId. 49 */ getProjectRepoId()50 io.grafeas.v1.ProjectRepoId getProjectRepoId(); 51 /** 52 * 53 * 54 * <pre> 55 * A combination of a project ID and a repo name. 56 * </pre> 57 * 58 * <code>.grafeas.v1.ProjectRepoId project_repo_id = 1;</code> 59 */ getProjectRepoIdOrBuilder()60 io.grafeas.v1.ProjectRepoIdOrBuilder getProjectRepoIdOrBuilder(); 61 62 /** 63 * 64 * 65 * <pre> 66 * A server-assigned, globally unique identifier. 67 * </pre> 68 * 69 * <code>string uid = 2;</code> 70 * 71 * @return Whether the uid field is set. 72 */ hasUid()73 boolean hasUid(); 74 /** 75 * 76 * 77 * <pre> 78 * A server-assigned, globally unique identifier. 79 * </pre> 80 * 81 * <code>string uid = 2;</code> 82 * 83 * @return The uid. 84 */ getUid()85 java.lang.String getUid(); 86 /** 87 * 88 * 89 * <pre> 90 * A server-assigned, globally unique identifier. 91 * </pre> 92 * 93 * <code>string uid = 2;</code> 94 * 95 * @return The bytes for uid. 96 */ getUidBytes()97 com.google.protobuf.ByteString getUidBytes(); 98 getIdCase()99 public io.grafeas.v1.RepoId.IdCase getIdCase(); 100 } 101