Class Application.IdentityAwareProxy.Builder (2.3.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Application.IdentityAwareProxy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Application.IdentityAwareProxy.Builder
Overrides

build()

public Application.IdentityAwareProxy build()
Returns
TypeDescription
Application.IdentityAwareProxy

buildPartial()

public Application.IdentityAwareProxy buildPartial()
Returns
TypeDescription
Application.IdentityAwareProxy

clear()

public Application.IdentityAwareProxy.Builder clear()
Returns
TypeDescription
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
TypeDescription
Application.IdentityAwareProxy.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Application.IdentityAwareProxy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Application.IdentityAwareProxy.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Application.IdentityAwareProxy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Application.IdentityAwareProxy.Builder
Overrides

clone()

public Application.IdentityAwareProxy.Builder clone()
Returns
TypeDescription
Application.IdentityAwareProxy.Builder
Overrides

getDefaultInstanceForType()

public Application.IdentityAwareProxy getDefaultInstanceForType()
Returns
TypeDescription
Application.IdentityAwareProxy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

The enabled.

getOauth2ClientId()

public String getOauth2ClientId()

OAuth2 client ID to use for the authentication flow.

string oauth2_client_id = 2;

Returns
TypeDescription
String

The oauth2ClientId.

getOauth2ClientIdBytes()

public ByteString getOauth2ClientIdBytes()

OAuth2 client ID to use for the authentication flow.

string oauth2_client_id = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The oauth2ClientSecretSha256.

getOauth2ClientSecretSha256Bytes()

public ByteString getOauth2ClientSecretSha256Bytes()

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

string oauth2_client_secret_sha256 = 4;

Returns
TypeDescription
ByteString

The bytes for oauth2ClientSecretSha256.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Application.IdentityAwareProxy other)

public Application.IdentityAwareProxy.Builder mergeFrom(Application.IdentityAwareProxy other)
Parameter
NameDescription
otherApplication.IdentityAwareProxy
Returns
TypeDescription
Application.IdentityAwareProxy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Application.IdentityAwareProxy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Application.IdentityAwareProxy.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Application.IdentityAwareProxy.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Application.IdentityAwareProxy.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Application.IdentityAwareProxy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
Application.IdentityAwareProxy.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Application.IdentityAwareProxy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The oauth2ClientId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for oauth2ClientId to set.

Returns
TypeDescription
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
NameDescription
valueString

The oauth2ClientSecret to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for oauth2ClientSecret to set.

Returns
TypeDescription
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
NameDescription
valueString

The oauth2ClientSecretSha256 to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for oauth2ClientSecretSha256 to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Application.IdentityAwareProxy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Application.IdentityAwareProxy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Application.IdentityAwareProxy.Builder
Overrides