• 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/scheduler/v1/target.proto
18 
19 package com.google.cloud.scheduler.v1;
20 
21 public interface OidcTokenOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.OidcToken)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
31    * to be used for generating OIDC token.
32    * The service account must be within the same project as the job. The caller
33    * must have iam.serviceAccounts.actAs permission for the service account.
34    * </pre>
35    *
36    * <code>string service_account_email = 1;</code>
37    *
38    * @return The serviceAccountEmail.
39    */
getServiceAccountEmail()40   java.lang.String getServiceAccountEmail();
41   /**
42    *
43    *
44    * <pre>
45    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
46    * to be used for generating OIDC token.
47    * The service account must be within the same project as the job. The caller
48    * must have iam.serviceAccounts.actAs permission for the service account.
49    * </pre>
50    *
51    * <code>string service_account_email = 1;</code>
52    *
53    * @return The bytes for serviceAccountEmail.
54    */
getServiceAccountEmailBytes()55   com.google.protobuf.ByteString getServiceAccountEmailBytes();
56 
57   /**
58    *
59    *
60    * <pre>
61    * Audience to be used when generating OIDC token. If not specified, the URI
62    * specified in target will be used.
63    * </pre>
64    *
65    * <code>string audience = 2;</code>
66    *
67    * @return The audience.
68    */
getAudience()69   java.lang.String getAudience();
70   /**
71    *
72    *
73    * <pre>
74    * Audience to be used when generating OIDC token. If not specified, the URI
75    * specified in target will be used.
76    * </pre>
77    *
78    * <code>string audience = 2;</code>
79    *
80    * @return The bytes for audience.
81    */
getAudienceBytes()82   com.google.protobuf.ByteString getAudienceBytes();
83 }
84