• 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/identity/accesscontextmanager/v1/gcp_user_access_binding.proto
18 
19 package com.google.identity.accesscontextmanager.v1;
20 
21 public interface GcpUserAccessBindingOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.identity.accesscontextmanager.v1.GcpUserAccessBinding)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Immutable. Assigned by the server during creation. The last segment has an arbitrary
31    * length and has only URI unreserved characters (as defined by
32    * [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)).
33    * Should not be specified by the client during creation.
34    * Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
35    * </pre>
36    *
37    * <code>string name = 1 [(.google.api.field_behavior) = IMMUTABLE];</code>
38    *
39    * @return The name.
40    */
getName()41   java.lang.String getName();
42   /**
43    *
44    *
45    * <pre>
46    * Immutable. Assigned by the server during creation. The last segment has an arbitrary
47    * length and has only URI unreserved characters (as defined by
48    * [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)).
49    * Should not be specified by the client during creation.
50    * Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
51    * </pre>
52    *
53    * <code>string name = 1 [(.google.api.field_behavior) = IMMUTABLE];</code>
54    *
55    * @return The bytes for name.
56    */
getNameBytes()57   com.google.protobuf.ByteString getNameBytes();
58 
59   /**
60    *
61    *
62    * <pre>
63    * Required. Immutable. Google Group id whose members are subject to this binding's restrictions.
64    * See "id" in the [G Suite Directory API's Groups resource]
65    * (https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource).
66    * If a group's email address/alias is changed, this resource will continue
67    * to point at the changed group. This field does not accept group email
68    * addresses or aliases.
69    * Example: "01d520gv4vjcrht"
70    * </pre>
71    *
72    * <code>
73    * string group_key = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
74    * </code>
75    *
76    * @return The groupKey.
77    */
getGroupKey()78   java.lang.String getGroupKey();
79   /**
80    *
81    *
82    * <pre>
83    * Required. Immutable. Google Group id whose members are subject to this binding's restrictions.
84    * See "id" in the [G Suite Directory API's Groups resource]
85    * (https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource).
86    * If a group's email address/alias is changed, this resource will continue
87    * to point at the changed group. This field does not accept group email
88    * addresses or aliases.
89    * Example: "01d520gv4vjcrht"
90    * </pre>
91    *
92    * <code>
93    * string group_key = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
94    * </code>
95    *
96    * @return The bytes for groupKey.
97    */
getGroupKeyBytes()98   com.google.protobuf.ByteString getGroupKeyBytes();
99 
100   /**
101    *
102    *
103    * <pre>
104    * Required. Access level that a user must have to be granted access. Only one access
105    * level is supported, not multiple. This repeated field must have exactly
106    * one element.
107    * Example: "accessPolicies/9522/accessLevels/device_trusted"
108    * </pre>
109    *
110    * <code>
111    * repeated string access_levels = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
112    * </code>
113    *
114    * @return A list containing the accessLevels.
115    */
getAccessLevelsList()116   java.util.List<java.lang.String> getAccessLevelsList();
117   /**
118    *
119    *
120    * <pre>
121    * Required. Access level that a user must have to be granted access. Only one access
122    * level is supported, not multiple. This repeated field must have exactly
123    * one element.
124    * Example: "accessPolicies/9522/accessLevels/device_trusted"
125    * </pre>
126    *
127    * <code>
128    * repeated string access_levels = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
129    * </code>
130    *
131    * @return The count of accessLevels.
132    */
getAccessLevelsCount()133   int getAccessLevelsCount();
134   /**
135    *
136    *
137    * <pre>
138    * Required. Access level that a user must have to be granted access. Only one access
139    * level is supported, not multiple. This repeated field must have exactly
140    * one element.
141    * Example: "accessPolicies/9522/accessLevels/device_trusted"
142    * </pre>
143    *
144    * <code>
145    * repeated string access_levels = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
146    * </code>
147    *
148    * @param index The index of the element to return.
149    * @return The accessLevels at the given index.
150    */
getAccessLevels(int index)151   java.lang.String getAccessLevels(int index);
152   /**
153    *
154    *
155    * <pre>
156    * Required. Access level that a user must have to be granted access. Only one access
157    * level is supported, not multiple. This repeated field must have exactly
158    * one element.
159    * Example: "accessPolicies/9522/accessLevels/device_trusted"
160    * </pre>
161    *
162    * <code>
163    * repeated string access_levels = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
164    * </code>
165    *
166    * @param index The index of the value to return.
167    * @return The bytes of the accessLevels at the given index.
168    */
getAccessLevelsBytes(int index)169   com.google.protobuf.ByteString getAccessLevelsBytes(int index);
170 }
171