• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 GerritSourceContextOrBuilder
23     extends
24     // @@protoc_insertion_point(interface_extends:grafeas.v1.GerritSourceContext)
25     com.google.protobuf.MessageOrBuilder {
26 
27   /**
28    *
29    *
30    * <pre>
31    * The URI of a running Gerrit instance.
32    * </pre>
33    *
34    * <code>string host_uri = 1;</code>
35    *
36    * @return The hostUri.
37    */
getHostUri()38   java.lang.String getHostUri();
39   /**
40    *
41    *
42    * <pre>
43    * The URI of a running Gerrit instance.
44    * </pre>
45    *
46    * <code>string host_uri = 1;</code>
47    *
48    * @return The bytes for hostUri.
49    */
getHostUriBytes()50   com.google.protobuf.ByteString getHostUriBytes();
51 
52   /**
53    *
54    *
55    * <pre>
56    * The full project name within the host. Projects may be nested, so
57    * "project/subproject" is a valid project name. The "repo name" is the
58    * hostURI/project.
59    * </pre>
60    *
61    * <code>string gerrit_project = 2;</code>
62    *
63    * @return The gerritProject.
64    */
getGerritProject()65   java.lang.String getGerritProject();
66   /**
67    *
68    *
69    * <pre>
70    * The full project name within the host. Projects may be nested, so
71    * "project/subproject" is a valid project name. The "repo name" is the
72    * hostURI/project.
73    * </pre>
74    *
75    * <code>string gerrit_project = 2;</code>
76    *
77    * @return The bytes for gerritProject.
78    */
getGerritProjectBytes()79   com.google.protobuf.ByteString getGerritProjectBytes();
80 
81   /**
82    *
83    *
84    * <pre>
85    * A revision (commit) ID.
86    * </pre>
87    *
88    * <code>string revision_id = 3;</code>
89    *
90    * @return Whether the revisionId field is set.
91    */
hasRevisionId()92   boolean hasRevisionId();
93   /**
94    *
95    *
96    * <pre>
97    * A revision (commit) ID.
98    * </pre>
99    *
100    * <code>string revision_id = 3;</code>
101    *
102    * @return The revisionId.
103    */
getRevisionId()104   java.lang.String getRevisionId();
105   /**
106    *
107    *
108    * <pre>
109    * A revision (commit) ID.
110    * </pre>
111    *
112    * <code>string revision_id = 3;</code>
113    *
114    * @return The bytes for revisionId.
115    */
getRevisionIdBytes()116   com.google.protobuf.ByteString getRevisionIdBytes();
117 
118   /**
119    *
120    *
121    * <pre>
122    * An alias, which may be a branch or tag.
123    * </pre>
124    *
125    * <code>.grafeas.v1.AliasContext alias_context = 4;</code>
126    *
127    * @return Whether the aliasContext field is set.
128    */
hasAliasContext()129   boolean hasAliasContext();
130   /**
131    *
132    *
133    * <pre>
134    * An alias, which may be a branch or tag.
135    * </pre>
136    *
137    * <code>.grafeas.v1.AliasContext alias_context = 4;</code>
138    *
139    * @return The aliasContext.
140    */
getAliasContext()141   io.grafeas.v1.AliasContext getAliasContext();
142   /**
143    *
144    *
145    * <pre>
146    * An alias, which may be a branch or tag.
147    * </pre>
148    *
149    * <code>.grafeas.v1.AliasContext alias_context = 4;</code>
150    */
getAliasContextOrBuilder()151   io.grafeas.v1.AliasContextOrBuilder getAliasContextOrBuilder();
152 
getRevisionCase()153   public io.grafeas.v1.GerritSourceContext.RevisionCase getRevisionCase();
154 }
155