Class Application.IdentityAwareProxy.Builder (2.21.0)

publicstaticfinalclass Application.IdentityAwareProxy.BuilderextendsGeneratedMessageV3.Builder<Application.IdentityAwareProxy.Builder>implementsApplication.IdentityAwareProxyOrBuilder

Identity-Aware Proxy

Protobuf type google.appengine.v1.Application.IdentityAwareProxy

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicApplication.IdentityAwareProxy.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides

build()

publicApplication.IdentityAwareProxybuild()
Returns
Type Description
Application.IdentityAwareProxy

buildPartial()

publicApplication.IdentityAwareProxybuildPartial()
Returns
Type Description
Application.IdentityAwareProxy

clear()

publicApplication.IdentityAwareProxy.Builderclear()
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides

clearEnabled()

publicApplication.IdentityAwareProxy.BuilderclearEnabled()

Whether the serving infrastructure will authenticate and authorize all incoming requests.

If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty.

bool enabled = 1;

Returns
Type Description
Application.IdentityAwareProxy.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicApplication.IdentityAwareProxy.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides

clearOauth2ClientId()

publicApplication.IdentityAwareProxy.BuilderclearOauth2ClientId()

OAuth2 client ID to use for the authentication flow.

string oauth2_client_id = 2;

Returns
Type Description
Application.IdentityAwareProxy.Builder

This builder for chaining.

clearOauth2ClientSecret()

publicApplication.IdentityAwareProxy.BuilderclearOauth2ClientSecret()

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 oauth2_client_secret_sha256 field.

@InputOnly

string oauth2_client_secret = 3;

Returns
Type Description
Application.IdentityAwareProxy.Builder

This builder for chaining.

clearOauth2ClientSecretSha256()

publicApplication.IdentityAwareProxy.BuilderclearOauth2ClientSecretSha256()

Hex-encoded SHA-256 hash of the client secret.

@OutputOnly

string oauth2_client_secret_sha256 = 4;

Returns
Type Description
Application.IdentityAwareProxy.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicApplication.IdentityAwareProxy.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides

clone()

publicApplication.IdentityAwareProxy.Builderclone()
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides

getDefaultInstanceForType()

publicApplication.IdentityAwareProxygetDefaultInstanceForType()
Returns
Type Description
Application.IdentityAwareProxy

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnabled()

publicbooleangetEnabled()

Whether the serving infrastructure will authenticate and authorize all incoming requests.

If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

getOauth2ClientId()

publicStringgetOauth2ClientId()

OAuth2 client ID to use for the authentication flow.

string oauth2_client_id = 2;

Returns
Type Description
String

The oauth2ClientId.

getOauth2ClientIdBytes()

publicByteStringgetOauth2ClientIdBytes()

OAuth2 client ID to use for the authentication flow.

string oauth2_client_id = 2;

Returns
Type Description
ByteString

The bytes for oauth2ClientId.

getOauth2ClientSecret()

publicStringgetOauth2ClientSecret()

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 oauth2_client_secret_sha256 field.

@InputOnly

string oauth2_client_secret = 3;

Returns
Type Description
String

The oauth2ClientSecret.

getOauth2ClientSecretBytes()

publicByteStringgetOauth2ClientSecretBytes()

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 oauth2_client_secret_sha256 field.

@InputOnly

string oauth2_client_secret = 3;

Returns
Type Description
ByteString

The bytes for oauth2ClientSecret.

getOauth2ClientSecretSha256()

publicStringgetOauth2ClientSecretSha256()

Hex-encoded SHA-256 hash of the client secret.

@OutputOnly

string oauth2_client_secret_sha256 = 4;

Returns
Type Description
String

The oauth2ClientSecretSha256.

getOauth2ClientSecretSha256Bytes()

publicByteStringgetOauth2ClientSecretSha256Bytes()

Hex-encoded SHA-256 hash of the client secret.

@OutputOnly

string oauth2_client_secret_sha256 = 4;

Returns
Type Description
ByteString

The bytes for oauth2ClientSecretSha256.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Application.IdentityAwareProxy other)

publicApplication.IdentityAwareProxy.BuildermergeFrom(Application.IdentityAwareProxyother)
Parameter
Name Description
other Application.IdentityAwareProxy
Returns
Type Description
Application.IdentityAwareProxy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicApplication.IdentityAwareProxy.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicApplication.IdentityAwareProxy.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalApplication.IdentityAwareProxy.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides

setEnabled(boolean value)

publicApplication.IdentityAwareProxy.BuildersetEnabled(booleanvalue)

Whether the serving infrastructure will authenticate and authorize all incoming requests.

If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
Application.IdentityAwareProxy.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

publicApplication.IdentityAwareProxy.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides

setOauth2ClientId(String value)

publicApplication.IdentityAwareProxy.BuildersetOauth2ClientId(Stringvalue)

OAuth2 client ID to use for the authentication flow.

string oauth2_client_id = 2;

Parameter
Name Description
value String

The oauth2ClientId to set.

Returns
Type Description
Application.IdentityAwareProxy.Builder

This builder for chaining.

setOauth2ClientIdBytes(ByteString value)

publicApplication.IdentityAwareProxy.BuildersetOauth2ClientIdBytes(ByteStringvalue)

OAuth2 client ID to use for the authentication flow.

string oauth2_client_id = 2;

Parameter
Name Description
value ByteString

The bytes for oauth2ClientId to set.

Returns
Type Description
Application.IdentityAwareProxy.Builder

This builder for chaining.

setOauth2ClientSecret(String value)

publicApplication.IdentityAwareProxy.BuildersetOauth2ClientSecret(Stringvalue)

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 oauth2_client_secret_sha256 field.

@InputOnly

string oauth2_client_secret = 3;

Parameter
Name Description
value String

The oauth2ClientSecret to set.

Returns
Type Description
Application.IdentityAwareProxy.Builder

This builder for chaining.

setOauth2ClientSecretBytes(ByteString value)

publicApplication.IdentityAwareProxy.BuildersetOauth2ClientSecretBytes(ByteStringvalue)

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 oauth2_client_secret_sha256 field.

@InputOnly

string oauth2_client_secret = 3;

Parameter
Name Description
value ByteString

The bytes for oauth2ClientSecret to set.

Returns
Type Description
Application.IdentityAwareProxy.Builder

This builder for chaining.

setOauth2ClientSecretSha256(String value)

publicApplication.IdentityAwareProxy.BuildersetOauth2ClientSecretSha256(Stringvalue)

Hex-encoded SHA-256 hash of the client secret.

@OutputOnly

string oauth2_client_secret_sha256 = 4;

Parameter
Name Description
value String

The oauth2ClientSecretSha256 to set.

Returns
Type Description
Application.IdentityAwareProxy.Builder

This builder for chaining.

setOauth2ClientSecretSha256Bytes(ByteString value)

publicApplication.IdentityAwareProxy.BuildersetOauth2ClientSecretSha256Bytes(ByteStringvalue)

Hex-encoded SHA-256 hash of the client secret.

@OutputOnly

string oauth2_client_secret_sha256 = 4;

Parameter
Name Description
value ByteString

The bytes for oauth2ClientSecretSha256 to set.

Returns
Type Description
Application.IdentityAwareProxy.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicApplication.IdentityAwareProxy.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalApplication.IdentityAwareProxy.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.