Class Application.IdentityAwareProxy.Builder (2.47.0)

public static final class Application.IdentityAwareProxy.Builder extends GeneratedMessageV3.Builder<Application.IdentityAwareProxy.Builder> implements Application.IdentityAwareProxyOrBuilder

Identity-Aware Proxy

Protobuf type google.appengine.v1.Application.IdentityAwareProxy

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Application.IdentityAwareProxy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides

build()

public Application.IdentityAwareProxy build()
Returns
Type Description
Application.IdentityAwareProxy

buildPartial()

public Application.IdentityAwareProxy buildPartial()
Returns
Type Description
Application.IdentityAwareProxy

clear()

public Application.IdentityAwareProxy.Builder clear()
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides

clearEnabled()

public Application.IdentityAwareProxy.Builder clearEnabled()

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)

public Application.IdentityAwareProxy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides

clearOauth2ClientId()

public Application.IdentityAwareProxy.Builder clearOauth2ClientId()

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()

public Application.IdentityAwareProxy.Builder 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 oauth2_client_secret_sha256 field.

@InputOnly

string oauth2_client_secret = 3;

Returns
Type Description
Application.IdentityAwareProxy.Builder

This builder for chaining.

clearOauth2ClientSecretSha256()

public Application.IdentityAwareProxy.Builder clearOauth2ClientSecretSha256()

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)

public Application.IdentityAwareProxy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides

clone()

public Application.IdentityAwareProxy.Builder clone()
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides

getDefaultInstanceForType()

public Application.IdentityAwareProxy getDefaultInstanceForType()
Returns
Type Description
Application.IdentityAwareProxy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

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()

public String getOauth2ClientId()

OAuth2 client ID to use for the authentication flow.

string oauth2_client_id = 2;

Returns
Type Description
String

The oauth2ClientId.

getOauth2ClientIdBytes()

public ByteString getOauth2ClientIdBytes()

OAuth2 client ID to use for the authentication flow.

string oauth2_client_id = 2;

Returns
Type Description
ByteString

The bytes for oauth2ClientId.

getOauth2ClientSecret()

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

@InputOnly

string oauth2_client_secret = 3;

Returns
Type Description
String

The oauth2ClientSecret.

getOauth2ClientSecretBytes()

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

@InputOnly

string oauth2_client_secret = 3;

Returns
Type Description
ByteString

The bytes for oauth2ClientSecret.

getOauth2ClientSecretSha256()

public String getOauth2ClientSecretSha256()

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

@OutputOnly

string oauth2_client_secret_sha256 = 4;

Returns
Type Description
String

The oauth2ClientSecretSha256.

getOauth2ClientSecretSha256Bytes()

public ByteString getOauth2ClientSecretSha256Bytes()

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()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Application.IdentityAwareProxy other)

public Application.IdentityAwareProxy.Builder mergeFrom(Application.IdentityAwareProxy other)
Parameter
Name Description
other Application.IdentityAwareProxy
Returns
Type Description
Application.IdentityAwareProxy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Application.IdentityAwareProxy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Application.IdentityAwareProxy.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Application.IdentityAwareProxy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides

setEnabled(boolean value)

public Application.IdentityAwareProxy.Builder setEnabled(boolean value)

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)

public Application.IdentityAwareProxy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides

setOauth2ClientId(String value)

public Application.IdentityAwareProxy.Builder setOauth2ClientId(String value)

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)

public Application.IdentityAwareProxy.Builder setOauth2ClientIdBytes(ByteString value)

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)

public Application.IdentityAwareProxy.Builder setOauth2ClientSecret(String value)

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)

public Application.IdentityAwareProxy.Builder setOauth2ClientSecretBytes(ByteString value)

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)

public Application.IdentityAwareProxy.Builder setOauth2ClientSecretSha256(String value)

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)

public Application.IdentityAwareProxy.Builder setOauth2ClientSecretSha256Bytes(ByteString value)

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)

public Application.IdentityAwareProxy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Application.IdentityAwareProxy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Application.IdentityAwareProxy.Builder
Overrides