• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
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 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/securitycenter/v1/external_system.proto
18 
19 package com.google.cloud.securitycenter.v1;
20 
21 public interface ExternalSystemOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.ExternalSystem)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Full resource name of the external system, for example:
31    * "organizations/1234/sources/5678/findings/123456/externalSystems/jira",
32    * "folders/1234/sources/5678/findings/123456/externalSystems/jira",
33    * "projects/1234/sources/5678/findings/123456/externalSystems/jira"
34    * </pre>
35    *
36    * <code>string name = 1;</code>
37    *
38    * @return The name.
39    */
getName()40   java.lang.String getName();
41   /**
42    *
43    *
44    * <pre>
45    * Full resource name of the external system, for example:
46    * "organizations/1234/sources/5678/findings/123456/externalSystems/jira",
47    * "folders/1234/sources/5678/findings/123456/externalSystems/jira",
48    * "projects/1234/sources/5678/findings/123456/externalSystems/jira"
49    * </pre>
50    *
51    * <code>string name = 1;</code>
52    *
53    * @return The bytes for name.
54    */
getNameBytes()55   com.google.protobuf.ByteString getNameBytes();
56 
57   /**
58    *
59    *
60    * <pre>
61    * References primary/secondary etc assignees in the external system.
62    * </pre>
63    *
64    * <code>repeated string assignees = 2;</code>
65    *
66    * @return A list containing the assignees.
67    */
getAssigneesList()68   java.util.List<java.lang.String> getAssigneesList();
69   /**
70    *
71    *
72    * <pre>
73    * References primary/secondary etc assignees in the external system.
74    * </pre>
75    *
76    * <code>repeated string assignees = 2;</code>
77    *
78    * @return The count of assignees.
79    */
getAssigneesCount()80   int getAssigneesCount();
81   /**
82    *
83    *
84    * <pre>
85    * References primary/secondary etc assignees in the external system.
86    * </pre>
87    *
88    * <code>repeated string assignees = 2;</code>
89    *
90    * @param index The index of the element to return.
91    * @return The assignees at the given index.
92    */
getAssignees(int index)93   java.lang.String getAssignees(int index);
94   /**
95    *
96    *
97    * <pre>
98    * References primary/secondary etc assignees in the external system.
99    * </pre>
100    *
101    * <code>repeated string assignees = 2;</code>
102    *
103    * @param index The index of the value to return.
104    * @return The bytes of the assignees at the given index.
105    */
getAssigneesBytes(int index)106   com.google.protobuf.ByteString getAssigneesBytes(int index);
107 
108   /**
109    *
110    *
111    * <pre>
112    * Identifier that's used to track the given finding in the external system.
113    * </pre>
114    *
115    * <code>string external_uid = 3;</code>
116    *
117    * @return The externalUid.
118    */
getExternalUid()119   java.lang.String getExternalUid();
120   /**
121    *
122    *
123    * <pre>
124    * Identifier that's used to track the given finding in the external system.
125    * </pre>
126    *
127    * <code>string external_uid = 3;</code>
128    *
129    * @return The bytes for externalUid.
130    */
getExternalUidBytes()131   com.google.protobuf.ByteString getExternalUidBytes();
132 
133   /**
134    *
135    *
136    * <pre>
137    * Most recent status of the corresponding finding's ticket/tracker in the
138    * external system.
139    * </pre>
140    *
141    * <code>string status = 4;</code>
142    *
143    * @return The status.
144    */
getStatus()145   java.lang.String getStatus();
146   /**
147    *
148    *
149    * <pre>
150    * Most recent status of the corresponding finding's ticket/tracker in the
151    * external system.
152    * </pre>
153    *
154    * <code>string status = 4;</code>
155    *
156    * @return The bytes for status.
157    */
getStatusBytes()158   com.google.protobuf.ByteString getStatusBytes();
159 
160   /**
161    *
162    *
163    * <pre>
164    * The most recent time when the corresponding finding's ticket/tracker was
165    * updated in the external system.
166    * </pre>
167    *
168    * <code>.google.protobuf.Timestamp external_system_update_time = 5;</code>
169    *
170    * @return Whether the externalSystemUpdateTime field is set.
171    */
hasExternalSystemUpdateTime()172   boolean hasExternalSystemUpdateTime();
173   /**
174    *
175    *
176    * <pre>
177    * The most recent time when the corresponding finding's ticket/tracker was
178    * updated in the external system.
179    * </pre>
180    *
181    * <code>.google.protobuf.Timestamp external_system_update_time = 5;</code>
182    *
183    * @return The externalSystemUpdateTime.
184    */
getExternalSystemUpdateTime()185   com.google.protobuf.Timestamp getExternalSystemUpdateTime();
186   /**
187    *
188    *
189    * <pre>
190    * The most recent time when the corresponding finding's ticket/tracker was
191    * updated in the external system.
192    * </pre>
193    *
194    * <code>.google.protobuf.Timestamp external_system_update_time = 5;</code>
195    */
getExternalSystemUpdateTimeOrBuilder()196   com.google.protobuf.TimestampOrBuilder getExternalSystemUpdateTimeOrBuilder();
197 }
198