Class AccessDeniedPageSettings.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AccessDeniedPageSettings.Builder>
com.google.cloud.iap.v1.AccessDeniedPageSettings.Builder
All Implemented Interfaces:
AccessDeniedPageSettingsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AccessDeniedPageSettings

public static final class AccessDeniedPageSettings.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AccessDeniedPageSettings.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AccessDeniedPageSettings.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AccessDeniedPageSettings.Builder>
    • getDefaultInstanceForType

      public AccessDeniedPageSettings getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public AccessDeniedPageSettings build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AccessDeniedPageSettings buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AccessDeniedPageSettings.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AccessDeniedPageSettings.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AccessDeniedPageSettings.Builder>
    • mergeFrom

      public AccessDeniedPageSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AccessDeniedPageSettings.Builder>
      Throws:
      IOException
    • hasAccessDeniedPageUri

      public boolean hasAccessDeniedPageUri()
       The URI to be redirected to when access is denied.
       
      .google.protobuf.StringValue access_denied_page_uri = 1;
      Specified by:
      hasAccessDeniedPageUri in interface AccessDeniedPageSettingsOrBuilder
      Returns:
      Whether the accessDeniedPageUri field is set.
    • getAccessDeniedPageUri

      public com.google.protobuf.StringValue getAccessDeniedPageUri()
       The URI to be redirected to when access is denied.
       
      .google.protobuf.StringValue access_denied_page_uri = 1;
      Specified by:
      getAccessDeniedPageUri in interface AccessDeniedPageSettingsOrBuilder
      Returns:
      The accessDeniedPageUri.
    • setAccessDeniedPageUri

      public AccessDeniedPageSettings.Builder setAccessDeniedPageUri(com.google.protobuf.StringValue value)
       The URI to be redirected to when access is denied.
       
      .google.protobuf.StringValue access_denied_page_uri = 1;
    • setAccessDeniedPageUri

      public AccessDeniedPageSettings.Builder setAccessDeniedPageUri(com.google.protobuf.StringValue.Builder builderForValue)
       The URI to be redirected to when access is denied.
       
      .google.protobuf.StringValue access_denied_page_uri = 1;
    • mergeAccessDeniedPageUri

      public AccessDeniedPageSettings.Builder mergeAccessDeniedPageUri(com.google.protobuf.StringValue value)
       The URI to be redirected to when access is denied.
       
      .google.protobuf.StringValue access_denied_page_uri = 1;
    • clearAccessDeniedPageUri

      public AccessDeniedPageSettings.Builder clearAccessDeniedPageUri()
       The URI to be redirected to when access is denied.
       
      .google.protobuf.StringValue access_denied_page_uri = 1;
    • getAccessDeniedPageUriBuilder

      public com.google.protobuf.StringValue.Builder getAccessDeniedPageUriBuilder()
       The URI to be redirected to when access is denied.
       
      .google.protobuf.StringValue access_denied_page_uri = 1;
    • getAccessDeniedPageUriOrBuilder

      public com.google.protobuf.StringValueOrBuilder getAccessDeniedPageUriOrBuilder()
       The URI to be redirected to when access is denied.
       
      .google.protobuf.StringValue access_denied_page_uri = 1;
      Specified by:
      getAccessDeniedPageUriOrBuilder in interface AccessDeniedPageSettingsOrBuilder
    • hasGenerateTroubleshootingUri

      public boolean hasGenerateTroubleshootingUri()
       Whether to generate a troubleshooting URL on access denied events to this
       application.
       
      .google.protobuf.BoolValue generate_troubleshooting_uri = 2;
      Specified by:
      hasGenerateTroubleshootingUri in interface AccessDeniedPageSettingsOrBuilder
      Returns:
      Whether the generateTroubleshootingUri field is set.
    • getGenerateTroubleshootingUri

      public com.google.protobuf.BoolValue getGenerateTroubleshootingUri()
       Whether to generate a troubleshooting URL on access denied events to this
       application.
       
      .google.protobuf.BoolValue generate_troubleshooting_uri = 2;
      Specified by:
      getGenerateTroubleshootingUri in interface AccessDeniedPageSettingsOrBuilder
      Returns:
      The generateTroubleshootingUri.
    • setGenerateTroubleshootingUri

      public AccessDeniedPageSettings.Builder setGenerateTroubleshootingUri(com.google.protobuf.BoolValue value)
       Whether to generate a troubleshooting URL on access denied events to this
       application.
       
      .google.protobuf.BoolValue generate_troubleshooting_uri = 2;
    • setGenerateTroubleshootingUri

      public AccessDeniedPageSettings.Builder setGenerateTroubleshootingUri(com.google.protobuf.BoolValue.Builder builderForValue)
       Whether to generate a troubleshooting URL on access denied events to this
       application.
       
      .google.protobuf.BoolValue generate_troubleshooting_uri = 2;
    • mergeGenerateTroubleshootingUri

      public AccessDeniedPageSettings.Builder mergeGenerateTroubleshootingUri(com.google.protobuf.BoolValue value)
       Whether to generate a troubleshooting URL on access denied events to this
       application.
       
      .google.protobuf.BoolValue generate_troubleshooting_uri = 2;
    • 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;
    • getGenerateTroubleshootingUriBuilder

      public com.google.protobuf.BoolValue.Builder getGenerateTroubleshootingUriBuilder()
       Whether to generate a troubleshooting URL on access denied events to this
       application.
       
      .google.protobuf.BoolValue generate_troubleshooting_uri = 2;
    • getGenerateTroubleshootingUriOrBuilder

      public com.google.protobuf.BoolValueOrBuilder getGenerateTroubleshootingUriOrBuilder()
       Whether to generate a troubleshooting URL on access denied events to this
       application.
       
      .google.protobuf.BoolValue generate_troubleshooting_uri = 2;
      Specified by:
      getGenerateTroubleshootingUriOrBuilder in interface AccessDeniedPageSettingsOrBuilder
    • 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;
      Specified by:
      hasRemediationTokenGenerationEnabled in interface AccessDeniedPageSettingsOrBuilder
      Returns:
      Whether the remediationTokenGenerationEnabled field is set.
    • getRemediationTokenGenerationEnabled

      public com.google.protobuf.BoolValue getRemediationTokenGenerationEnabled()
       Whether to generate remediation token on access denied events to this
       application.
       
      optional .google.protobuf.BoolValue remediation_token_generation_enabled = 3;
      Specified by:
      getRemediationTokenGenerationEnabled in interface AccessDeniedPageSettingsOrBuilder
      Returns:
      The remediationTokenGenerationEnabled.
    • setRemediationTokenGenerationEnabled

      public AccessDeniedPageSettings.Builder setRemediationTokenGenerationEnabled(com.google.protobuf.BoolValue value)
       Whether to generate remediation token on access denied events to this
       application.
       
      optional .google.protobuf.BoolValue remediation_token_generation_enabled = 3;
    • setRemediationTokenGenerationEnabled

      public AccessDeniedPageSettings.Builder setRemediationTokenGenerationEnabled(com.google.protobuf.BoolValue.Builder builderForValue)
       Whether to generate remediation token on access denied events to this
       application.
       
      optional .google.protobuf.BoolValue remediation_token_generation_enabled = 3;
    • mergeRemediationTokenGenerationEnabled

      public AccessDeniedPageSettings.Builder mergeRemediationTokenGenerationEnabled(com.google.protobuf.BoolValue value)
       Whether to generate remediation token on access denied events to this
       application.
       
      optional .google.protobuf.BoolValue remediation_token_generation_enabled = 3;
    • 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;
    • getRemediationTokenGenerationEnabledBuilder

      public com.google.protobuf.BoolValue.Builder getRemediationTokenGenerationEnabledBuilder()
       Whether to generate remediation token on access denied events to this
       application.
       
      optional .google.protobuf.BoolValue remediation_token_generation_enabled = 3;
    • getRemediationTokenGenerationEnabledOrBuilder

      public com.google.protobuf.BoolValueOrBuilder getRemediationTokenGenerationEnabledOrBuilder()
       Whether to generate remediation token on access denied events to this
       application.
       
      optional .google.protobuf.BoolValue remediation_token_generation_enabled = 3;
      Specified by:
      getRemediationTokenGenerationEnabledOrBuilder in interface AccessDeniedPageSettingsOrBuilder