Class AccessDeniedPageSettings (0.1.0)

public final class AccessDeniedPageSettings extends GeneratedMessageV3 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 Fields

ACCESS_DENIED_PAGE_URI_FIELD_NUMBER

public static final int ACCESS_DENIED_PAGE_URI_FIELD_NUMBER
Field Value
Type Description
int

GENERATE_TROUBLESHOOTING_URI_FIELD_NUMBER

public static final int GENERATE_TROUBLESHOOTING_URI_FIELD_NUMBER
Field Value
Type Description
int

REMEDIATION_TOKEN_GENERATION_ENABLED_FIELD_NUMBER

public static final int REMEDIATION_TOKEN_GENERATION_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AccessDeniedPageSettings getDefaultInstance()
Returns
Type Description
AccessDeniedPageSettings

getDescriptor()

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

newBuilder()

public static AccessDeniedPageSettings.Builder newBuilder()
Returns
Type Description
AccessDeniedPageSettings.Builder

newBuilder(AccessDeniedPageSettings prototype)

public static AccessDeniedPageSettings.Builder newBuilder(AccessDeniedPageSettings prototype)
Parameter
Name Description
prototype AccessDeniedPageSettings
Returns
Type Description
AccessDeniedPageSettings.Builder

parseDelimitedFrom(InputStream input)

public static AccessDeniedPageSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AccessDeniedPageSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AccessDeniedPageSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessDeniedPageSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AccessDeniedPageSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AccessDeniedPageSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AccessDeniedPageSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessDeniedPageSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AccessDeniedPageSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AccessDeniedPageSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AccessDeniedPageSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessDeniedPageSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AccessDeniedPageSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AccessDeniedPageSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AccessDeniedPageSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessDeniedPageSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AccessDeniedPageSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AccessDeniedPageSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AccessDeniedPageSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessDeniedPageSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AccessDeniedPageSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AccessDeniedPageSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AccessDeniedPageSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessDeniedPageSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AccessDeniedPageSettings> parser()
Returns
Type Description
Parser<AccessDeniedPageSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

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.

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

getParserForType()

public Parser<AccessDeniedPageSettings> getParserForType()
Returns
Type Description
Parser<AccessDeniedPageSettings>
Overrides

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AccessDeniedPageSettings.Builder newBuilderForType()
Returns
Type Description
AccessDeniedPageSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AccessDeniedPageSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AccessDeniedPageSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AccessDeniedPageSettings.Builder toBuilder()
Returns
Type Description
AccessDeniedPageSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException