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/compute/v1/compute.proto 18 19 package com.google.cloud.compute.v1; 20 21 public interface BackendServiceIAPOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.BackendServiceIAP) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty. 31 * </pre> 32 * 33 * <code>optional bool enabled = 1018689;</code> 34 * 35 * @return Whether the enabled field is set. 36 */ hasEnabled()37 boolean hasEnabled(); 38 /** 39 * 40 * 41 * <pre> 42 * Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty. 43 * </pre> 44 * 45 * <code>optional bool enabled = 1018689;</code> 46 * 47 * @return The enabled. 48 */ getEnabled()49 boolean getEnabled(); 50 51 /** 52 * 53 * 54 * <pre> 55 * OAuth2 client ID to use for the authentication flow. 56 * </pre> 57 * 58 * <code>optional string oauth2_client_id = 314017611;</code> 59 * 60 * @return Whether the oauth2ClientId field is set. 61 */ hasOauth2ClientId()62 boolean hasOauth2ClientId(); 63 /** 64 * 65 * 66 * <pre> 67 * OAuth2 client ID to use for the authentication flow. 68 * </pre> 69 * 70 * <code>optional string oauth2_client_id = 314017611;</code> 71 * 72 * @return The oauth2ClientId. 73 */ getOauth2ClientId()74 java.lang.String getOauth2ClientId(); 75 /** 76 * 77 * 78 * <pre> 79 * OAuth2 client ID to use for the authentication flow. 80 * </pre> 81 * 82 * <code>optional string oauth2_client_id = 314017611;</code> 83 * 84 * @return The bytes for oauth2ClientId. 85 */ getOauth2ClientIdBytes()86 com.google.protobuf.ByteString getOauth2ClientIdBytes(); 87 88 /** 89 * 90 * 91 * <pre> 92 * OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly 93 * </pre> 94 * 95 * <code>optional string oauth2_client_secret = 50999520;</code> 96 * 97 * @return Whether the oauth2ClientSecret field is set. 98 */ hasOauth2ClientSecret()99 boolean hasOauth2ClientSecret(); 100 /** 101 * 102 * 103 * <pre> 104 * OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly 105 * </pre> 106 * 107 * <code>optional string oauth2_client_secret = 50999520;</code> 108 * 109 * @return The oauth2ClientSecret. 110 */ getOauth2ClientSecret()111 java.lang.String getOauth2ClientSecret(); 112 /** 113 * 114 * 115 * <pre> 116 * OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly 117 * </pre> 118 * 119 * <code>optional string oauth2_client_secret = 50999520;</code> 120 * 121 * @return The bytes for oauth2ClientSecret. 122 */ getOauth2ClientSecretBytes()123 com.google.protobuf.ByteString getOauth2ClientSecretBytes(); 124 125 /** 126 * 127 * 128 * <pre> 129 * [Output Only] SHA256 hash value for the field oauth2_client_secret above. 130 * </pre> 131 * 132 * <code>optional string oauth2_client_secret_sha256 = 112903782;</code> 133 * 134 * @return Whether the oauth2ClientSecretSha256 field is set. 135 */ hasOauth2ClientSecretSha256()136 boolean hasOauth2ClientSecretSha256(); 137 /** 138 * 139 * 140 * <pre> 141 * [Output Only] SHA256 hash value for the field oauth2_client_secret above. 142 * </pre> 143 * 144 * <code>optional string oauth2_client_secret_sha256 = 112903782;</code> 145 * 146 * @return The oauth2ClientSecretSha256. 147 */ getOauth2ClientSecretSha256()148 java.lang.String getOauth2ClientSecretSha256(); 149 /** 150 * 151 * 152 * <pre> 153 * [Output Only] SHA256 hash value for the field oauth2_client_secret above. 154 * </pre> 155 * 156 * <code>optional string oauth2_client_secret_sha256 = 112903782;</code> 157 * 158 * @return The bytes for oauth2ClientSecretSha256. 159 */ getOauth2ClientSecretSha256Bytes()160 com.google.protobuf.ByteString getOauth2ClientSecretSha256Bytes(); 161 } 162