• 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/deployment.proto
19 
20 package io.grafeas.v1;
21 
22 public interface DeploymentOccurrenceOrBuilder
23     extends
24     // @@protoc_insertion_point(interface_extends:grafeas.v1.DeploymentOccurrence)
25     com.google.protobuf.MessageOrBuilder {
26 
27   /**
28    *
29    *
30    * <pre>
31    * Identity of the user that triggered this deployment.
32    * </pre>
33    *
34    * <code>string user_email = 1;</code>
35    *
36    * @return The userEmail.
37    */
getUserEmail()38   java.lang.String getUserEmail();
39   /**
40    *
41    *
42    * <pre>
43    * Identity of the user that triggered this deployment.
44    * </pre>
45    *
46    * <code>string user_email = 1;</code>
47    *
48    * @return The bytes for userEmail.
49    */
getUserEmailBytes()50   com.google.protobuf.ByteString getUserEmailBytes();
51 
52   /**
53    *
54    *
55    * <pre>
56    * Required. Beginning of the lifetime of this deployment.
57    * </pre>
58    *
59    * <code>.google.protobuf.Timestamp deploy_time = 2;</code>
60    *
61    * @return Whether the deployTime field is set.
62    */
hasDeployTime()63   boolean hasDeployTime();
64   /**
65    *
66    *
67    * <pre>
68    * Required. Beginning of the lifetime of this deployment.
69    * </pre>
70    *
71    * <code>.google.protobuf.Timestamp deploy_time = 2;</code>
72    *
73    * @return The deployTime.
74    */
getDeployTime()75   com.google.protobuf.Timestamp getDeployTime();
76   /**
77    *
78    *
79    * <pre>
80    * Required. Beginning of the lifetime of this deployment.
81    * </pre>
82    *
83    * <code>.google.protobuf.Timestamp deploy_time = 2;</code>
84    */
getDeployTimeOrBuilder()85   com.google.protobuf.TimestampOrBuilder getDeployTimeOrBuilder();
86 
87   /**
88    *
89    *
90    * <pre>
91    * End of the lifetime of this deployment.
92    * </pre>
93    *
94    * <code>.google.protobuf.Timestamp undeploy_time = 3;</code>
95    *
96    * @return Whether the undeployTime field is set.
97    */
hasUndeployTime()98   boolean hasUndeployTime();
99   /**
100    *
101    *
102    * <pre>
103    * End of the lifetime of this deployment.
104    * </pre>
105    *
106    * <code>.google.protobuf.Timestamp undeploy_time = 3;</code>
107    *
108    * @return The undeployTime.
109    */
getUndeployTime()110   com.google.protobuf.Timestamp getUndeployTime();
111   /**
112    *
113    *
114    * <pre>
115    * End of the lifetime of this deployment.
116    * </pre>
117    *
118    * <code>.google.protobuf.Timestamp undeploy_time = 3;</code>
119    */
getUndeployTimeOrBuilder()120   com.google.protobuf.TimestampOrBuilder getUndeployTimeOrBuilder();
121 
122   /**
123    *
124    *
125    * <pre>
126    * Configuration used to create this deployment.
127    * </pre>
128    *
129    * <code>string config = 4;</code>
130    *
131    * @return The config.
132    */
getConfig()133   java.lang.String getConfig();
134   /**
135    *
136    *
137    * <pre>
138    * Configuration used to create this deployment.
139    * </pre>
140    *
141    * <code>string config = 4;</code>
142    *
143    * @return The bytes for config.
144    */
getConfigBytes()145   com.google.protobuf.ByteString getConfigBytes();
146 
147   /**
148    *
149    *
150    * <pre>
151    * Address of the runtime element hosting this deployment.
152    * </pre>
153    *
154    * <code>string address = 5;</code>
155    *
156    * @return The address.
157    */
getAddress()158   java.lang.String getAddress();
159   /**
160    *
161    *
162    * <pre>
163    * Address of the runtime element hosting this deployment.
164    * </pre>
165    *
166    * <code>string address = 5;</code>
167    *
168    * @return The bytes for address.
169    */
getAddressBytes()170   com.google.protobuf.ByteString getAddressBytes();
171 
172   /**
173    *
174    *
175    * <pre>
176    * Output only. Resource URI for the artifact being deployed taken from
177    * the deployable field with the same name.
178    * </pre>
179    *
180    * <code>repeated string resource_uri = 6;</code>
181    *
182    * @return A list containing the resourceUri.
183    */
getResourceUriList()184   java.util.List<java.lang.String> getResourceUriList();
185   /**
186    *
187    *
188    * <pre>
189    * Output only. Resource URI for the artifact being deployed taken from
190    * the deployable field with the same name.
191    * </pre>
192    *
193    * <code>repeated string resource_uri = 6;</code>
194    *
195    * @return The count of resourceUri.
196    */
getResourceUriCount()197   int getResourceUriCount();
198   /**
199    *
200    *
201    * <pre>
202    * Output only. Resource URI for the artifact being deployed taken from
203    * the deployable field with the same name.
204    * </pre>
205    *
206    * <code>repeated string resource_uri = 6;</code>
207    *
208    * @param index The index of the element to return.
209    * @return The resourceUri at the given index.
210    */
getResourceUri(int index)211   java.lang.String getResourceUri(int index);
212   /**
213    *
214    *
215    * <pre>
216    * Output only. Resource URI for the artifact being deployed taken from
217    * the deployable field with the same name.
218    * </pre>
219    *
220    * <code>repeated string resource_uri = 6;</code>
221    *
222    * @param index The index of the value to return.
223    * @return The bytes of the resourceUri at the given index.
224    */
getResourceUriBytes(int index)225   com.google.protobuf.ByteString getResourceUriBytes(int index);
226 
227   /**
228    *
229    *
230    * <pre>
231    * Platform hosting this deployment.
232    * </pre>
233    *
234    * <code>.grafeas.v1.DeploymentOccurrence.Platform platform = 7;</code>
235    *
236    * @return The enum numeric value on the wire for platform.
237    */
getPlatformValue()238   int getPlatformValue();
239   /**
240    *
241    *
242    * <pre>
243    * Platform hosting this deployment.
244    * </pre>
245    *
246    * <code>.grafeas.v1.DeploymentOccurrence.Platform platform = 7;</code>
247    *
248    * @return The platform.
249    */
getPlatform()250   io.grafeas.v1.DeploymentOccurrence.Platform getPlatform();
251 }
252