Class AccessSettings

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.iap.v1.AccessSettings
All Implemented Interfaces:
AccessSettingsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class AccessSettings extends com.google.protobuf.GeneratedMessage implements AccessSettingsOrBuilder
 Access related settings for IAP protected apps.
 
Protobuf type google.cloud.iap.v1.AccessSettings
See Also:
  • Field Details

    • GCIP_SETTINGS_FIELD_NUMBER

      public static final int GCIP_SETTINGS_FIELD_NUMBER
      See Also:
    • CORS_SETTINGS_FIELD_NUMBER

      public static final int CORS_SETTINGS_FIELD_NUMBER
      See Also:
    • OAUTH_SETTINGS_FIELD_NUMBER

      public static final int OAUTH_SETTINGS_FIELD_NUMBER
      See Also:
    • REAUTH_SETTINGS_FIELD_NUMBER

      public static final int REAUTH_SETTINGS_FIELD_NUMBER
      See Also:
    • ALLOWED_DOMAINS_SETTINGS_FIELD_NUMBER

      public static final int ALLOWED_DOMAINS_SETTINGS_FIELD_NUMBER
      See Also:
    • WORKFORCE_IDENTITY_SETTINGS_FIELD_NUMBER

      public static final int WORKFORCE_IDENTITY_SETTINGS_FIELD_NUMBER
      See Also:
    • IDENTITY_SOURCES_FIELD_NUMBER

      public static final int IDENTITY_SOURCES_FIELD_NUMBER
      See Also:
  • 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
    • hasGcipSettings

      public boolean hasGcipSettings()
       Optional. GCIP claims and endpoint configurations for 3p identity
       providers.
       
      .google.cloud.iap.v1.GcipSettings gcip_settings = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasGcipSettings in interface AccessSettingsOrBuilder
      Returns:
      Whether the gcipSettings field is set.
    • getGcipSettings

      public GcipSettings getGcipSettings()
       Optional. GCIP claims and endpoint configurations for 3p identity
       providers.
       
      .google.cloud.iap.v1.GcipSettings gcip_settings = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGcipSettings in interface AccessSettingsOrBuilder
      Returns:
      The gcipSettings.
    • getGcipSettingsOrBuilder

      public GcipSettingsOrBuilder getGcipSettingsOrBuilder()
       Optional. GCIP claims and endpoint configurations for 3p identity
       providers.
       
      .google.cloud.iap.v1.GcipSettings gcip_settings = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGcipSettingsOrBuilder in interface AccessSettingsOrBuilder
    • hasCorsSettings

      public boolean hasCorsSettings()
       Optional. Configuration to allow cross-origin requests via IAP.
       
      .google.cloud.iap.v1.CorsSettings cors_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasCorsSettings in interface AccessSettingsOrBuilder
      Returns:
      Whether the corsSettings field is set.
    • getCorsSettings

      public CorsSettings getCorsSettings()
       Optional. Configuration to allow cross-origin requests via IAP.
       
      .google.cloud.iap.v1.CorsSettings cors_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCorsSettings in interface AccessSettingsOrBuilder
      Returns:
      The corsSettings.
    • getCorsSettingsOrBuilder

      public CorsSettingsOrBuilder getCorsSettingsOrBuilder()
       Optional. Configuration to allow cross-origin requests via IAP.
       
      .google.cloud.iap.v1.CorsSettings cors_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCorsSettingsOrBuilder in interface AccessSettingsOrBuilder
    • hasOauthSettings

      public boolean hasOauthSettings()
       Optional. Settings to configure IAP's OAuth behavior.
       
      .google.cloud.iap.v1.OAuthSettings oauth_settings = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasOauthSettings in interface AccessSettingsOrBuilder
      Returns:
      Whether the oauthSettings field is set.
    • getOauthSettings

      public OAuthSettings getOauthSettings()
       Optional. Settings to configure IAP's OAuth behavior.
       
      .google.cloud.iap.v1.OAuthSettings oauth_settings = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOauthSettings in interface AccessSettingsOrBuilder
      Returns:
      The oauthSettings.
    • getOauthSettingsOrBuilder

      public OAuthSettingsOrBuilder getOauthSettingsOrBuilder()
       Optional. Settings to configure IAP's OAuth behavior.
       
      .google.cloud.iap.v1.OAuthSettings oauth_settings = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOauthSettingsOrBuilder in interface AccessSettingsOrBuilder
    • hasReauthSettings

      public boolean hasReauthSettings()
       Optional. Settings to configure reauthentication policies in IAP.
       
      .google.cloud.iap.v1.ReauthSettings reauth_settings = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasReauthSettings in interface AccessSettingsOrBuilder
      Returns:
      Whether the reauthSettings field is set.
    • getReauthSettings

      public ReauthSettings getReauthSettings()
       Optional. Settings to configure reauthentication policies in IAP.
       
      .google.cloud.iap.v1.ReauthSettings reauth_settings = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReauthSettings in interface AccessSettingsOrBuilder
      Returns:
      The reauthSettings.
    • getReauthSettingsOrBuilder

      public ReauthSettingsOrBuilder getReauthSettingsOrBuilder()
       Optional. Settings to configure reauthentication policies in IAP.
       
      .google.cloud.iap.v1.ReauthSettings reauth_settings = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReauthSettingsOrBuilder in interface AccessSettingsOrBuilder
    • hasAllowedDomainsSettings

      public boolean hasAllowedDomainsSettings()
       Optional. Settings to configure and enable allowed domains.
       
      .google.cloud.iap.v1.AllowedDomainsSettings allowed_domains_settings = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAllowedDomainsSettings in interface AccessSettingsOrBuilder
      Returns:
      Whether the allowedDomainsSettings field is set.
    • getAllowedDomainsSettings

      public AllowedDomainsSettings getAllowedDomainsSettings()
       Optional. Settings to configure and enable allowed domains.
       
      .google.cloud.iap.v1.AllowedDomainsSettings allowed_domains_settings = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAllowedDomainsSettings in interface AccessSettingsOrBuilder
      Returns:
      The allowedDomainsSettings.
    • getAllowedDomainsSettingsOrBuilder

      public AllowedDomainsSettingsOrBuilder getAllowedDomainsSettingsOrBuilder()
       Optional. Settings to configure and enable allowed domains.
       
      .google.cloud.iap.v1.AllowedDomainsSettings allowed_domains_settings = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAllowedDomainsSettingsOrBuilder in interface AccessSettingsOrBuilder
    • hasWorkforceIdentitySettings

      public boolean hasWorkforceIdentitySettings()
       Optional. Settings to configure the workforce identity federation,
       including workforce pools and OAuth 2.0 settings.
       
      .google.cloud.iap.v1.WorkforceIdentitySettings workforce_identity_settings = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasWorkforceIdentitySettings in interface AccessSettingsOrBuilder
      Returns:
      Whether the workforceIdentitySettings field is set.
    • getWorkforceIdentitySettings

      public WorkforceIdentitySettings getWorkforceIdentitySettings()
       Optional. Settings to configure the workforce identity federation,
       including workforce pools and OAuth 2.0 settings.
       
      .google.cloud.iap.v1.WorkforceIdentitySettings workforce_identity_settings = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWorkforceIdentitySettings in interface AccessSettingsOrBuilder
      Returns:
      The workforceIdentitySettings.
    • getWorkforceIdentitySettingsOrBuilder

      public WorkforceIdentitySettingsOrBuilder getWorkforceIdentitySettingsOrBuilder()
       Optional. Settings to configure the workforce identity federation,
       including workforce pools and OAuth 2.0 settings.
       
      .google.cloud.iap.v1.WorkforceIdentitySettings workforce_identity_settings = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWorkforceIdentitySettingsOrBuilder in interface AccessSettingsOrBuilder
    • getIdentitySourcesList

      public List<AccessSettings.IdentitySource> getIdentitySourcesList()
       Optional. Identity sources that IAP can use to authenticate the end user.
       Only one identity source can be configured.
       
      repeated .google.cloud.iap.v1.AccessSettings.IdentitySource identity_sources = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIdentitySourcesList in interface AccessSettingsOrBuilder
      Returns:
      A list containing the identitySources.
    • getIdentitySourcesCount

      public int getIdentitySourcesCount()
       Optional. Identity sources that IAP can use to authenticate the end user.
       Only one identity source can be configured.
       
      repeated .google.cloud.iap.v1.AccessSettings.IdentitySource identity_sources = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIdentitySourcesCount in interface AccessSettingsOrBuilder
      Returns:
      The count of identitySources.
    • getIdentitySources

      public AccessSettings.IdentitySource getIdentitySources(int index)
       Optional. Identity sources that IAP can use to authenticate the end user.
       Only one identity source can be configured.
       
      repeated .google.cloud.iap.v1.AccessSettings.IdentitySource identity_sources = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIdentitySources in interface AccessSettingsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The identitySources at the given index.
    • getIdentitySourcesValueList

      public List<Integer> getIdentitySourcesValueList()
       Optional. Identity sources that IAP can use to authenticate the end user.
       Only one identity source can be configured.
       
      repeated .google.cloud.iap.v1.AccessSettings.IdentitySource identity_sources = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIdentitySourcesValueList in interface AccessSettingsOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for identitySources.
    • getIdentitySourcesValue

      public int getIdentitySourcesValue(int index)
       Optional. Identity sources that IAP can use to authenticate the end user.
       Only one identity source can be configured.
       
      repeated .google.cloud.iap.v1.AccessSettings.IdentitySource identity_sources = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIdentitySourcesValue in interface AccessSettingsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of identitySources at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AccessSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessSettings parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AccessSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AccessSettings parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AccessSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AccessSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AccessSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AccessSettings.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AccessSettings.Builder newBuilder()
    • newBuilder

      public static AccessSettings.Builder newBuilder(AccessSettings prototype)
    • toBuilder

      public AccessSettings.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AccessSettings.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AccessSettings getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AccessSettings> parser()
    • getParserForType

      public com.google.protobuf.Parser<AccessSettings> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public AccessSettings getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder