• 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/oslogin/v1/oslogin.proto
18 
19 package com.google.cloud.oslogin.v1;
20 
21 public interface LoginProfileOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.oslogin.v1.LoginProfile)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Required. A unique user ID.
31    * </pre>
32    *
33    * <code>string name = 1 [(.google.api.field_behavior) = REQUIRED];</code>
34    *
35    * @return The name.
36    */
getName()37   java.lang.String getName();
38   /**
39    *
40    *
41    * <pre>
42    * Required. A unique user ID.
43    * </pre>
44    *
45    * <code>string name = 1 [(.google.api.field_behavior) = REQUIRED];</code>
46    *
47    * @return The bytes for name.
48    */
getNameBytes()49   com.google.protobuf.ByteString getNameBytes();
50 
51   /**
52    *
53    *
54    * <pre>
55    * The list of POSIX accounts associated with the user.
56    * </pre>
57    *
58    * <code>repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;</code>
59    */
getPosixAccountsList()60   java.util.List<com.google.cloud.oslogin.common.OsLoginProto.PosixAccount> getPosixAccountsList();
61   /**
62    *
63    *
64    * <pre>
65    * The list of POSIX accounts associated with the user.
66    * </pre>
67    *
68    * <code>repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;</code>
69    */
getPosixAccounts(int index)70   com.google.cloud.oslogin.common.OsLoginProto.PosixAccount getPosixAccounts(int index);
71   /**
72    *
73    *
74    * <pre>
75    * The list of POSIX accounts associated with the user.
76    * </pre>
77    *
78    * <code>repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;</code>
79    */
getPosixAccountsCount()80   int getPosixAccountsCount();
81   /**
82    *
83    *
84    * <pre>
85    * The list of POSIX accounts associated with the user.
86    * </pre>
87    *
88    * <code>repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;</code>
89    */
90   java.util.List<? extends com.google.cloud.oslogin.common.OsLoginProto.PosixAccountOrBuilder>
getPosixAccountsOrBuilderList()91       getPosixAccountsOrBuilderList();
92   /**
93    *
94    *
95    * <pre>
96    * The list of POSIX accounts associated with the user.
97    * </pre>
98    *
99    * <code>repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;</code>
100    */
getPosixAccountsOrBuilder( int index)101   com.google.cloud.oslogin.common.OsLoginProto.PosixAccountOrBuilder getPosixAccountsOrBuilder(
102       int index);
103 
104   /**
105    *
106    *
107    * <pre>
108    * A map from SSH public key fingerprint to the associated key object.
109    * </pre>
110    *
111    * <code>map&lt;string, .google.cloud.oslogin.common.SshPublicKey&gt; ssh_public_keys = 3;</code>
112    */
getSshPublicKeysCount()113   int getSshPublicKeysCount();
114   /**
115    *
116    *
117    * <pre>
118    * A map from SSH public key fingerprint to the associated key object.
119    * </pre>
120    *
121    * <code>map&lt;string, .google.cloud.oslogin.common.SshPublicKey&gt; ssh_public_keys = 3;</code>
122    */
containsSshPublicKeys(java.lang.String key)123   boolean containsSshPublicKeys(java.lang.String key);
124   /** Use {@link #getSshPublicKeysMap()} instead. */
125   @java.lang.Deprecated
126   java.util.Map<java.lang.String, com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey>
getSshPublicKeys()127       getSshPublicKeys();
128   /**
129    *
130    *
131    * <pre>
132    * A map from SSH public key fingerprint to the associated key object.
133    * </pre>
134    *
135    * <code>map&lt;string, .google.cloud.oslogin.common.SshPublicKey&gt; ssh_public_keys = 3;</code>
136    */
137   java.util.Map<java.lang.String, com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey>
getSshPublicKeysMap()138       getSshPublicKeysMap();
139   /**
140    *
141    *
142    * <pre>
143    * A map from SSH public key fingerprint to the associated key object.
144    * </pre>
145    *
146    * <code>map&lt;string, .google.cloud.oslogin.common.SshPublicKey&gt; ssh_public_keys = 3;</code>
147    */
148   /* nullable */
getSshPublicKeysOrDefault( java.lang.String key, com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey defaultValue)149   com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey getSshPublicKeysOrDefault(
150       java.lang.String key,
151       /* nullable */
152       com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey defaultValue);
153   /**
154    *
155    *
156    * <pre>
157    * A map from SSH public key fingerprint to the associated key object.
158    * </pre>
159    *
160    * <code>map&lt;string, .google.cloud.oslogin.common.SshPublicKey&gt; ssh_public_keys = 3;</code>
161    */
getSshPublicKeysOrThrow( java.lang.String key)162   com.google.cloud.oslogin.common.OsLoginProto.SshPublicKey getSshPublicKeysOrThrow(
163       java.lang.String key);
164 }
165