Package com.google.cloud.compute.v1
Class BackendServiceIAP.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BackendServiceIAP.Builder>
com.google.cloud.compute.v1.BackendServiceIAP.Builder
- All Implemented Interfaces:
BackendServiceIAPOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BackendServiceIAP
public static final class BackendServiceIAP.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BackendServiceIAP.Builder>
implements BackendServiceIAPOrBuilder
Identity-Aware ProxyProtobuf type
google.cloud.compute.v1.BackendServiceIAP-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Whether the serving infrastructure will authenticate and authorize all incoming requests.OAuth2 client ID to use for the authentication flow.OAuth2 client secret to use for the authentication flow.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanWhether the serving infrastructure will authenticate and authorize all incoming requests.OAuth2 client ID to use for the authentication flow.com.google.protobuf.ByteStringOAuth2 client ID to use for the authentication flow.OAuth2 client secret to use for the authentication flow.com.google.protobuf.ByteStringOAuth2 client secret to use for the authentication flow.Output only.com.google.protobuf.ByteStringOutput only.booleanWhether the serving infrastructure will authenticate and authorize all incoming requests.booleanOAuth2 client ID to use for the authentication flow.booleanOAuth2 client secret to use for the authentication flow.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(BackendServiceIAP other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setEnabled(boolean value) Whether the serving infrastructure will authenticate and authorize all incoming requests.setOauth2ClientId(String value) OAuth2 client ID to use for the authentication flow.setOauth2ClientIdBytes(com.google.protobuf.ByteString value) OAuth2 client ID to use for the authentication flow.setOauth2ClientSecret(String value) OAuth2 client secret to use for the authentication flow.setOauth2ClientSecretBytes(com.google.protobuf.ByteString value) OAuth2 client secret to use for the authentication flow.Output only.setOauth2ClientSecretSha256Bytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BackendServiceIAP.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BackendServiceIAP.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BackendServiceIAP.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BackendServiceIAP.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BackendServiceIAP.Builder>
-
mergeFrom
public BackendServiceIAP.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BackendServiceIAP.Builder>- Throws:
IOException
-
hasEnabled
public boolean hasEnabled()Whether the serving infrastructure will authenticate and authorize all incoming requests.
optional bool enabled = 1018689;- Specified by:
hasEnabledin interfaceBackendServiceIAPOrBuilder- Returns:
- Whether the enabled field is set.
-
getEnabled
public boolean getEnabled()Whether the serving infrastructure will authenticate and authorize all incoming requests.
optional bool enabled = 1018689;- Specified by:
getEnabledin interfaceBackendServiceIAPOrBuilder- Returns:
- The enabled.
-
setEnabled
Whether the serving infrastructure will authenticate and authorize all incoming requests.
optional bool enabled = 1018689;- Parameters:
value- The enabled to set.- Returns:
- This builder for chaining.
-
clearEnabled
Whether the serving infrastructure will authenticate and authorize all incoming requests.
optional bool enabled = 1018689;- Returns:
- This builder for chaining.
-
hasOauth2ClientId
public boolean hasOauth2ClientId()OAuth2 client ID to use for the authentication flow.
optional string oauth2_client_id = 314017611;- Specified by:
hasOauth2ClientIdin interfaceBackendServiceIAPOrBuilder- Returns:
- Whether the oauth2ClientId field is set.
-
getOauth2ClientId
OAuth2 client ID to use for the authentication flow.
optional string oauth2_client_id = 314017611;- Specified by:
getOauth2ClientIdin interfaceBackendServiceIAPOrBuilder- Returns:
- The oauth2ClientId.
-
getOauth2ClientIdBytes
public com.google.protobuf.ByteString getOauth2ClientIdBytes()OAuth2 client ID to use for the authentication flow.
optional string oauth2_client_id = 314017611;- Specified by:
getOauth2ClientIdBytesin interfaceBackendServiceIAPOrBuilder- Returns:
- The bytes for oauth2ClientId.
-
setOauth2ClientId
OAuth2 client ID to use for the authentication flow.
optional string oauth2_client_id = 314017611;- Parameters:
value- The oauth2ClientId to set.- Returns:
- This builder for chaining.
-
clearOauth2ClientId
OAuth2 client ID to use for the authentication flow.
optional string oauth2_client_id = 314017611;- Returns:
- This builder for chaining.
-
setOauth2ClientIdBytes
OAuth2 client ID to use for the authentication flow.
optional string oauth2_client_id = 314017611;- Parameters:
value- The bytes for oauth2ClientId to set.- Returns:
- This builder for chaining.
-
hasOauth2ClientSecret
public boolean hasOauth2ClientSecret()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
optional string oauth2_client_secret = 50999520;- Specified by:
hasOauth2ClientSecretin interfaceBackendServiceIAPOrBuilder- Returns:
- Whether the oauth2ClientSecret field is set.
-
getOauth2ClientSecret
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
optional string oauth2_client_secret = 50999520;- Specified by:
getOauth2ClientSecretin interfaceBackendServiceIAPOrBuilder- Returns:
- The oauth2ClientSecret.
-
getOauth2ClientSecretBytes
public com.google.protobuf.ByteString getOauth2ClientSecretBytes()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
optional string oauth2_client_secret = 50999520;- Specified by:
getOauth2ClientSecretBytesin interfaceBackendServiceIAPOrBuilder- Returns:
- The bytes for oauth2ClientSecret.
-
setOauth2ClientSecret
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
optional string oauth2_client_secret = 50999520;- Parameters:
value- The oauth2ClientSecret to set.- Returns:
- This builder for chaining.
-
clearOauth2ClientSecret
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
optional string oauth2_client_secret = 50999520;- Returns:
- This builder for chaining.
-
setOauth2ClientSecretBytes
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
optional string oauth2_client_secret = 50999520;- Parameters:
value- The bytes for oauth2ClientSecret to set.- Returns:
- This builder for chaining.
-
hasOauth2ClientSecretSha256
public boolean hasOauth2ClientSecretSha256()Output only. [Output Only] SHA256 hash value for the field oauth2_client_secret above.
optional string oauth2_client_secret_sha256 = 112903782;- Specified by:
hasOauth2ClientSecretSha256in interfaceBackendServiceIAPOrBuilder- Returns:
- Whether the oauth2ClientSecretSha256 field is set.
-
getOauth2ClientSecretSha256
Output only. [Output Only] SHA256 hash value for the field oauth2_client_secret above.
optional string oauth2_client_secret_sha256 = 112903782;- Specified by:
getOauth2ClientSecretSha256in interfaceBackendServiceIAPOrBuilder- Returns:
- The oauth2ClientSecretSha256.
-
getOauth2ClientSecretSha256Bytes
public com.google.protobuf.ByteString getOauth2ClientSecretSha256Bytes()Output only. [Output Only] SHA256 hash value for the field oauth2_client_secret above.
optional string oauth2_client_secret_sha256 = 112903782;- Specified by:
getOauth2ClientSecretSha256Bytesin interfaceBackendServiceIAPOrBuilder- Returns:
- The bytes for oauth2ClientSecretSha256.
-
setOauth2ClientSecretSha256
Output only. [Output Only] SHA256 hash value for the field oauth2_client_secret above.
optional string oauth2_client_secret_sha256 = 112903782;- Parameters:
value- The oauth2ClientSecretSha256 to set.- Returns:
- This builder for chaining.
-
clearOauth2ClientSecretSha256
Output only. [Output Only] SHA256 hash value for the field oauth2_client_secret above.
optional string oauth2_client_secret_sha256 = 112903782;- Returns:
- This builder for chaining.
-
setOauth2ClientSecretSha256Bytes
public BackendServiceIAP.Builder setOauth2ClientSecretSha256Bytes(com.google.protobuf.ByteString value) Output only. [Output Only] SHA256 hash value for the field oauth2_client_secret above.
optional string oauth2_client_secret_sha256 = 112903782;- Parameters:
value- The bytes for oauth2ClientSecretSha256 to set.- Returns:
- This builder for chaining.
-