• 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/managedidentities/v1/resource.proto
18 
19 package com.google.cloud.managedidentities.v1;
20 
21 public interface TrustOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.managedidentities.v1.Trust)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Required. The fully qualified target domain name which will be in trust with the
31    * current domain.
32    * </pre>
33    *
34    * <code>string target_domain_name = 1 [(.google.api.field_behavior) = REQUIRED];</code>
35    *
36    * @return The targetDomainName.
37    */
getTargetDomainName()38   java.lang.String getTargetDomainName();
39   /**
40    *
41    *
42    * <pre>
43    * Required. The fully qualified target domain name which will be in trust with the
44    * current domain.
45    * </pre>
46    *
47    * <code>string target_domain_name = 1 [(.google.api.field_behavior) = REQUIRED];</code>
48    *
49    * @return The bytes for targetDomainName.
50    */
getTargetDomainNameBytes()51   com.google.protobuf.ByteString getTargetDomainNameBytes();
52 
53   /**
54    *
55    *
56    * <pre>
57    * Required. The type of trust represented by the trust resource.
58    * </pre>
59    *
60    * <code>
61    * .google.cloud.managedidentities.v1.Trust.TrustType trust_type = 2 [(.google.api.field_behavior) = REQUIRED];
62    * </code>
63    *
64    * @return The enum numeric value on the wire for trustType.
65    */
getTrustTypeValue()66   int getTrustTypeValue();
67   /**
68    *
69    *
70    * <pre>
71    * Required. The type of trust represented by the trust resource.
72    * </pre>
73    *
74    * <code>
75    * .google.cloud.managedidentities.v1.Trust.TrustType trust_type = 2 [(.google.api.field_behavior) = REQUIRED];
76    * </code>
77    *
78    * @return The trustType.
79    */
getTrustType()80   com.google.cloud.managedidentities.v1.Trust.TrustType getTrustType();
81 
82   /**
83    *
84    *
85    * <pre>
86    * Required. The trust direction, which decides if the current domain is trusted,
87    * trusting, or both.
88    * </pre>
89    *
90    * <code>
91    * .google.cloud.managedidentities.v1.Trust.TrustDirection trust_direction = 3 [(.google.api.field_behavior) = REQUIRED];
92    * </code>
93    *
94    * @return The enum numeric value on the wire for trustDirection.
95    */
getTrustDirectionValue()96   int getTrustDirectionValue();
97   /**
98    *
99    *
100    * <pre>
101    * Required. The trust direction, which decides if the current domain is trusted,
102    * trusting, or both.
103    * </pre>
104    *
105    * <code>
106    * .google.cloud.managedidentities.v1.Trust.TrustDirection trust_direction = 3 [(.google.api.field_behavior) = REQUIRED];
107    * </code>
108    *
109    * @return The trustDirection.
110    */
getTrustDirection()111   com.google.cloud.managedidentities.v1.Trust.TrustDirection getTrustDirection();
112 
113   /**
114    *
115    *
116    * <pre>
117    * Optional. The trust authentication type, which decides whether the trusted side has
118    * forest/domain wide access or selective access to an approved set of
119    * resources.
120    * </pre>
121    *
122    * <code>bool selective_authentication = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
123    *
124    * @return The selectiveAuthentication.
125    */
getSelectiveAuthentication()126   boolean getSelectiveAuthentication();
127 
128   /**
129    *
130    *
131    * <pre>
132    * Required. The target DNS server IP addresses which can resolve the remote domain
133    * involved in the trust.
134    * </pre>
135    *
136    * <code>repeated string target_dns_ip_addresses = 5 [(.google.api.field_behavior) = REQUIRED];
137    * </code>
138    *
139    * @return A list containing the targetDnsIpAddresses.
140    */
getTargetDnsIpAddressesList()141   java.util.List<java.lang.String> getTargetDnsIpAddressesList();
142   /**
143    *
144    *
145    * <pre>
146    * Required. The target DNS server IP addresses which can resolve the remote domain
147    * involved in the trust.
148    * </pre>
149    *
150    * <code>repeated string target_dns_ip_addresses = 5 [(.google.api.field_behavior) = REQUIRED];
151    * </code>
152    *
153    * @return The count of targetDnsIpAddresses.
154    */
getTargetDnsIpAddressesCount()155   int getTargetDnsIpAddressesCount();
156   /**
157    *
158    *
159    * <pre>
160    * Required. The target DNS server IP addresses which can resolve the remote domain
161    * involved in the trust.
162    * </pre>
163    *
164    * <code>repeated string target_dns_ip_addresses = 5 [(.google.api.field_behavior) = REQUIRED];
165    * </code>
166    *
167    * @param index The index of the element to return.
168    * @return The targetDnsIpAddresses at the given index.
169    */
getTargetDnsIpAddresses(int index)170   java.lang.String getTargetDnsIpAddresses(int index);
171   /**
172    *
173    *
174    * <pre>
175    * Required. The target DNS server IP addresses which can resolve the remote domain
176    * involved in the trust.
177    * </pre>
178    *
179    * <code>repeated string target_dns_ip_addresses = 5 [(.google.api.field_behavior) = REQUIRED];
180    * </code>
181    *
182    * @param index The index of the value to return.
183    * @return The bytes of the targetDnsIpAddresses at the given index.
184    */
getTargetDnsIpAddressesBytes(int index)185   com.google.protobuf.ByteString getTargetDnsIpAddressesBytes(int index);
186 
187   /**
188    *
189    *
190    * <pre>
191    * Required. The trust secret used for the handshake with the target domain. This will
192    * not be stored.
193    * </pre>
194    *
195    * <code>string trust_handshake_secret = 6 [(.google.api.field_behavior) = REQUIRED];</code>
196    *
197    * @return The trustHandshakeSecret.
198    */
getTrustHandshakeSecret()199   java.lang.String getTrustHandshakeSecret();
200   /**
201    *
202    *
203    * <pre>
204    * Required. The trust secret used for the handshake with the target domain. This will
205    * not be stored.
206    * </pre>
207    *
208    * <code>string trust_handshake_secret = 6 [(.google.api.field_behavior) = REQUIRED];</code>
209    *
210    * @return The bytes for trustHandshakeSecret.
211    */
getTrustHandshakeSecretBytes()212   com.google.protobuf.ByteString getTrustHandshakeSecretBytes();
213 
214   /**
215    *
216    *
217    * <pre>
218    * Output only. The time the instance was created.
219    * </pre>
220    *
221    * <code>.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
222    * </code>
223    *
224    * @return Whether the createTime field is set.
225    */
hasCreateTime()226   boolean hasCreateTime();
227   /**
228    *
229    *
230    * <pre>
231    * Output only. The time the instance was created.
232    * </pre>
233    *
234    * <code>.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
235    * </code>
236    *
237    * @return The createTime.
238    */
getCreateTime()239   com.google.protobuf.Timestamp getCreateTime();
240   /**
241    *
242    *
243    * <pre>
244    * Output only. The time the instance was created.
245    * </pre>
246    *
247    * <code>.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
248    * </code>
249    */
getCreateTimeOrBuilder()250   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
251 
252   /**
253    *
254    *
255    * <pre>
256    * Output only. The last update time.
257    * </pre>
258    *
259    * <code>.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
260    * </code>
261    *
262    * @return Whether the updateTime field is set.
263    */
hasUpdateTime()264   boolean hasUpdateTime();
265   /**
266    *
267    *
268    * <pre>
269    * Output only. The last update time.
270    * </pre>
271    *
272    * <code>.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
273    * </code>
274    *
275    * @return The updateTime.
276    */
getUpdateTime()277   com.google.protobuf.Timestamp getUpdateTime();
278   /**
279    *
280    *
281    * <pre>
282    * Output only. The last update time.
283    * </pre>
284    *
285    * <code>.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
286    * </code>
287    */
getUpdateTimeOrBuilder()288   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
289 
290   /**
291    *
292    *
293    * <pre>
294    * Output only. The current state of the trust.
295    * </pre>
296    *
297    * <code>
298    * .google.cloud.managedidentities.v1.Trust.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
299    * </code>
300    *
301    * @return The enum numeric value on the wire for state.
302    */
getStateValue()303   int getStateValue();
304   /**
305    *
306    *
307    * <pre>
308    * Output only. The current state of the trust.
309    * </pre>
310    *
311    * <code>
312    * .google.cloud.managedidentities.v1.Trust.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
313    * </code>
314    *
315    * @return The state.
316    */
getState()317   com.google.cloud.managedidentities.v1.Trust.State getState();
318 
319   /**
320    *
321    *
322    * <pre>
323    * Output only. Additional information about the current state of the trust, if available.
324    * </pre>
325    *
326    * <code>string state_description = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
327    *
328    * @return The stateDescription.
329    */
getStateDescription()330   java.lang.String getStateDescription();
331   /**
332    *
333    *
334    * <pre>
335    * Output only. Additional information about the current state of the trust, if available.
336    * </pre>
337    *
338    * <code>string state_description = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
339    *
340    * @return The bytes for stateDescription.
341    */
getStateDescriptionBytes()342   com.google.protobuf.ByteString getStateDescriptionBytes();
343 
344   /**
345    *
346    *
347    * <pre>
348    * Output only. The last heartbeat time when the trust was known to be connected.
349    * </pre>
350    *
351    * <code>
352    * .google.protobuf.Timestamp last_trust_heartbeat_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
353    * </code>
354    *
355    * @return Whether the lastTrustHeartbeatTime field is set.
356    */
hasLastTrustHeartbeatTime()357   boolean hasLastTrustHeartbeatTime();
358   /**
359    *
360    *
361    * <pre>
362    * Output only. The last heartbeat time when the trust was known to be connected.
363    * </pre>
364    *
365    * <code>
366    * .google.protobuf.Timestamp last_trust_heartbeat_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
367    * </code>
368    *
369    * @return The lastTrustHeartbeatTime.
370    */
getLastTrustHeartbeatTime()371   com.google.protobuf.Timestamp getLastTrustHeartbeatTime();
372   /**
373    *
374    *
375    * <pre>
376    * Output only. The last heartbeat time when the trust was known to be connected.
377    * </pre>
378    *
379    * <code>
380    * .google.protobuf.Timestamp last_trust_heartbeat_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
381    * </code>
382    */
getLastTrustHeartbeatTimeOrBuilder()383   com.google.protobuf.TimestampOrBuilder getLastTrustHeartbeatTimeOrBuilder();
384 }
385