Class AccessDeniedPageSettings.Builder (0.10.0)

public static final class AccessDeniedPageSettings.Builder extends GeneratedMessageV3.Builder<AccessDeniedPageSettings.Builder> implements AccessDeniedPageSettingsOrBuilder

Custom content configuration for access denied page. IAP allows customers to define a custom URI to use as the error page when access is denied to users. If IAP prevents access to this page, the default IAP error page will be displayed instead.

Protobuf type google.cloud.iap.v1.AccessDeniedPageSettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AccessDeniedPageSettings build()
Returns
Type Description
AccessDeniedPageSettings

buildPartial()

public AccessDeniedPageSettings buildPartial()
Returns
Type Description
AccessDeniedPageSettings

clear()

public AccessDeniedPageSettings.Builder clear()
Returns
Type Description
AccessDeniedPageSettings.Builder
Overrides

clearAccessDeniedPageUri()

public AccessDeniedPageSettings.Builder clearAccessDeniedPageUri()

The URI to be redirected to when access is denied.

.google.protobuf.StringValue access_denied_page_uri = 1;

Returns
Type Description
AccessDeniedPageSettings.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGenerateTroubleshootingUri()

public AccessDeniedPageSettings.Builder clearGenerateTroubleshootingUri()

Whether to generate a troubleshooting URL on access denied events to this application.

.google.protobuf.BoolValue generate_troubleshooting_uri = 2;

Returns
Type Description
AccessDeniedPageSettings.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRemediationTokenGenerationEnabled()

public AccessDeniedPageSettings.Builder clearRemediationTokenGenerationEnabled()

Whether to generate remediation token on access denied events to this application.

optional .google.protobuf.BoolValue remediation_token_generation_enabled = 3;

Returns
Type Description
AccessDeniedPageSettings.Builder

clone()

public AccessDeniedPageSettings.Builder clone()
Returns
Type Description
AccessDeniedPageSettings.Builder
Overrides

getAccessDeniedPageUri()

public StringValue getAccessDeniedPageUri()

The URI to be redirected to when access is denied.

.google.protobuf.StringValue access_denied_page_uri = 1;

Returns
Type Description
StringValue

The accessDeniedPageUri.

getAccessDeniedPageUriBuilder()

public StringValue.Builder getAccessDeniedPageUriBuilder()

The URI to be redirected to when access is denied.

.google.protobuf.StringValue access_denied_page_uri = 1;

Returns
Type Description
Builder

getAccessDeniedPageUriOrBuilder()

public StringValueOrBuilder getAccessDeniedPageUriOrBuilder()

The URI to be redirected to when access is denied.

.google.protobuf.StringValue access_denied_page_uri = 1;

Returns
Type Description
StringValueOrBuilder

getDefaultInstanceForType()

public AccessDeniedPageSettings getDefaultInstanceForType()
Returns
Type Description
AccessDeniedPageSettings

getDescriptorForType()

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

getGenerateTroubleshootingUri()

public BoolValue getGenerateTroubleshootingUri()

Whether to generate a troubleshooting URL on access denied events to this application.

.google.protobuf.BoolValue generate_troubleshooting_uri = 2;

Returns
Type Description
BoolValue

The generateTroubleshootingUri.

getGenerateTroubleshootingUriBuilder()

public BoolValue.Builder getGenerateTroubleshootingUriBuilder()

Whether to generate a troubleshooting URL on access denied events to this application.

.google.protobuf.BoolValue generate_troubleshooting_uri = 2;

Returns
Type Description
Builder

getGenerateTroubleshootingUriOrBuilder()

public BoolValueOrBuilder getGenerateTroubleshootingUriOrBuilder()

Whether to generate a troubleshooting URL on access denied events to this application.

.google.protobuf.BoolValue generate_troubleshooting_uri = 2;

Returns
Type Description
BoolValueOrBuilder

getRemediationTokenGenerationEnabled()

public BoolValue getRemediationTokenGenerationEnabled()

Whether to generate remediation token on access denied events to this application.

optional .google.protobuf.BoolValue remediation_token_generation_enabled = 3;

Returns
Type Description
BoolValue

The remediationTokenGenerationEnabled.

getRemediationTokenGenerationEnabledBuilder()

public BoolValue.Builder getRemediationTokenGenerationEnabledBuilder()

Whether to generate remediation token on access denied events to this application.

optional .google.protobuf.BoolValue remediation_token_generation_enabled = 3;

Returns
Type Description
Builder

getRemediationTokenGenerationEnabledOrBuilder()

public BoolValueOrBuilder getRemediationTokenGenerationEnabledOrBuilder()

Whether to generate remediation token on access denied events to this application.

optional .google.protobuf.BoolValue remediation_token_generation_enabled = 3;

Returns
Type Description
BoolValueOrBuilder

hasAccessDeniedPageUri()

public boolean hasAccessDeniedPageUri()

The URI to be redirected to when access is denied.

.google.protobuf.StringValue access_denied_page_uri = 1;

Returns
Type Description
boolean

Whether the accessDeniedPageUri field is set.

hasGenerateTroubleshootingUri()

public boolean hasGenerateTroubleshootingUri()

Whether to generate a troubleshooting URL on access denied events to this application.

.google.protobuf.BoolValue generate_troubleshooting_uri = 2;

Returns
Type Description
boolean

Whether the generateTroubleshootingUri field is set.

hasRemediationTokenGenerationEnabled()

public boolean hasRemediationTokenGenerationEnabled()

Whether to generate remediation token on access denied events to this application.

optional .google.protobuf.BoolValue remediation_token_generation_enabled = 3;

Returns
Type Description
boolean

Whether the remediationTokenGenerationEnabled field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAccessDeniedPageUri(StringValue value)

public AccessDeniedPageSettings.Builder mergeAccessDeniedPageUri(StringValue value)

The URI to be redirected to when access is denied.

.google.protobuf.StringValue access_denied_page_uri = 1;

Parameter
Name Description
value StringValue
Returns
Type Description
AccessDeniedPageSettings.Builder

mergeFrom(AccessDeniedPageSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGenerateTroubleshootingUri(BoolValue value)

public AccessDeniedPageSettings.Builder mergeGenerateTroubleshootingUri(BoolValue value)

Whether to generate a troubleshooting URL on access denied events to this application.

.google.protobuf.BoolValue generate_troubleshooting_uri = 2;

Parameter
Name Description
value BoolValue
Returns
Type Description
AccessDeniedPageSettings.Builder

mergeRemediationTokenGenerationEnabled(BoolValue value)

public AccessDeniedPageSettings.Builder mergeRemediationTokenGenerationEnabled(BoolValue value)

Whether to generate remediation token on access denied events to this application.

optional .google.protobuf.BoolValue remediation_token_generation_enabled = 3;

Parameter
Name Description
value BoolValue
Returns
Type Description
AccessDeniedPageSettings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAccessDeniedPageUri(StringValue value)

public AccessDeniedPageSettings.Builder setAccessDeniedPageUri(StringValue value)

The URI to be redirected to when access is denied.

.google.protobuf.StringValue access_denied_page_uri = 1;

Parameter
Name Description
value StringValue
Returns
Type Description
AccessDeniedPageSettings.Builder

setAccessDeniedPageUri(StringValue.Builder builderForValue)

public AccessDeniedPageSettings.Builder setAccessDeniedPageUri(StringValue.Builder builderForValue)

The URI to be redirected to when access is denied.

.google.protobuf.StringValue access_denied_page_uri = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AccessDeniedPageSettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGenerateTroubleshootingUri(BoolValue value)

public AccessDeniedPageSettings.Builder setGenerateTroubleshootingUri(BoolValue value)

Whether to generate a troubleshooting URL on access denied events to this application.

.google.protobuf.BoolValue generate_troubleshooting_uri = 2;

Parameter
Name Description
value BoolValue
Returns
Type Description
AccessDeniedPageSettings.Builder

setGenerateTroubleshootingUri(BoolValue.Builder builderForValue)

public AccessDeniedPageSettings.Builder setGenerateTroubleshootingUri(BoolValue.Builder builderForValue)

Whether to generate a troubleshooting URL on access denied events to this application.

.google.protobuf.BoolValue generate_troubleshooting_uri = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AccessDeniedPageSettings.Builder

setRemediationTokenGenerationEnabled(BoolValue value)

public AccessDeniedPageSettings.Builder setRemediationTokenGenerationEnabled(BoolValue value)

Whether to generate remediation token on access denied events to this application.

optional .google.protobuf.BoolValue remediation_token_generation_enabled = 3;

Parameter
Name Description
value BoolValue
Returns
Type Description
AccessDeniedPageSettings.Builder

setRemediationTokenGenerationEnabled(BoolValue.Builder builderForValue)

public AccessDeniedPageSettings.Builder setRemediationTokenGenerationEnabled(BoolValue.Builder builderForValue)

Whether to generate remediation token on access denied events to this application.

optional .google.protobuf.BoolValue remediation_token_generation_enabled = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AccessDeniedPageSettings.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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