• 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/iam/v1/iam_policy.proto
18 
19 package com.google.iam.v1;
20 
21 public interface GetIamPolicyRequestOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.iam.v1.GetIamPolicyRequest)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * REQUIRED: The resource for which the policy is being requested.
31    * See the operation documentation for the appropriate value for this field.
32    * </pre>
33    *
34    * <code>
35    * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
36    * </code>
37    *
38    * @return The resource.
39    */
getResource()40   java.lang.String getResource();
41   /**
42    *
43    *
44    * <pre>
45    * REQUIRED: The resource for which the policy is being requested.
46    * See the operation documentation for the appropriate value for this field.
47    * </pre>
48    *
49    * <code>
50    * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
51    * </code>
52    *
53    * @return The bytes for resource.
54    */
getResourceBytes()55   com.google.protobuf.ByteString getResourceBytes();
56 
57   /**
58    *
59    *
60    * <pre>
61    * OPTIONAL: A `GetPolicyOptions` object for specifying options to
62    * `GetIamPolicy`.
63    * </pre>
64    *
65    * <code>.google.iam.v1.GetPolicyOptions options = 2;</code>
66    *
67    * @return Whether the options field is set.
68    */
hasOptions()69   boolean hasOptions();
70   /**
71    *
72    *
73    * <pre>
74    * OPTIONAL: A `GetPolicyOptions` object for specifying options to
75    * `GetIamPolicy`.
76    * </pre>
77    *
78    * <code>.google.iam.v1.GetPolicyOptions options = 2;</code>
79    *
80    * @return The options.
81    */
getOptions()82   com.google.iam.v1.GetPolicyOptions getOptions();
83   /**
84    *
85    *
86    * <pre>
87    * OPTIONAL: A `GetPolicyOptions` object for specifying options to
88    * `GetIamPolicy`.
89    * </pre>
90    *
91    * <code>.google.iam.v1.GetPolicyOptions options = 2;</code>
92    */
getOptionsOrBuilder()93   com.google.iam.v1.GetPolicyOptionsOrBuilder getOptionsOrBuilder();
94 }
95