Class AccessSettings.Builder (0.9.0)

public static final class AccessSettings.Builder extends GeneratedMessageV3.Builder<AccessSettings.Builder> implements AccessSettingsOrBuilder

Access related settings for IAP protected apps.

Protobuf type google.cloud.iap.v1.AccessSettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AccessSettings build()
Returns
Type Description
AccessSettings

buildPartial()

public AccessSettings buildPartial()
Returns
Type Description
AccessSettings

clear()

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

clearAllowedDomainsSettings()

public AccessSettings.Builder clearAllowedDomainsSettings()

Settings to configure and enable allowed domains.

.google.cloud.iap.v1.AllowedDomainsSettings allowed_domains_settings = 7;

Returns
Type Description
AccessSettings.Builder

clearCorsSettings()

public AccessSettings.Builder clearCorsSettings()

Configuration to allow cross-origin requests via IAP.

.google.cloud.iap.v1.CorsSettings cors_settings = 2;

Returns
Type Description
AccessSettings.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGcipSettings()

public AccessSettings.Builder clearGcipSettings()

GCIP claims and endpoint configurations for 3p identity providers.

.google.cloud.iap.v1.GcipSettings gcip_settings = 1;

Returns
Type Description
AccessSettings.Builder

clearOauthSettings()

public AccessSettings.Builder clearOauthSettings()

Settings to configure IAP's OAuth behavior.

.google.cloud.iap.v1.OAuthSettings oauth_settings = 3;

Returns
Type Description
AccessSettings.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReauthSettings()

public AccessSettings.Builder clearReauthSettings()

Settings to configure reauthentication policies in IAP.

.google.cloud.iap.v1.ReauthSettings reauth_settings = 6;

Returns
Type Description
AccessSettings.Builder

clone()

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

getAllowedDomainsSettings()

public AllowedDomainsSettings getAllowedDomainsSettings()

Settings to configure and enable allowed domains.

.google.cloud.iap.v1.AllowedDomainsSettings allowed_domains_settings = 7;

Returns
Type Description
AllowedDomainsSettings

The allowedDomainsSettings.

getAllowedDomainsSettingsBuilder()

public AllowedDomainsSettings.Builder getAllowedDomainsSettingsBuilder()

Settings to configure and enable allowed domains.

.google.cloud.iap.v1.AllowedDomainsSettings allowed_domains_settings = 7;

Returns
Type Description
AllowedDomainsSettings.Builder

getAllowedDomainsSettingsOrBuilder()

public AllowedDomainsSettingsOrBuilder getAllowedDomainsSettingsOrBuilder()

Settings to configure and enable allowed domains.

.google.cloud.iap.v1.AllowedDomainsSettings allowed_domains_settings = 7;

Returns
Type Description
AllowedDomainsSettingsOrBuilder

getCorsSettings()

public CorsSettings getCorsSettings()

Configuration to allow cross-origin requests via IAP.

.google.cloud.iap.v1.CorsSettings cors_settings = 2;

Returns
Type Description
CorsSettings

The corsSettings.

getCorsSettingsBuilder()

public CorsSettings.Builder getCorsSettingsBuilder()

Configuration to allow cross-origin requests via IAP.

.google.cloud.iap.v1.CorsSettings cors_settings = 2;

Returns
Type Description
CorsSettings.Builder

getCorsSettingsOrBuilder()

public CorsSettingsOrBuilder getCorsSettingsOrBuilder()

Configuration to allow cross-origin requests via IAP.

.google.cloud.iap.v1.CorsSettings cors_settings = 2;

Returns
Type Description
CorsSettingsOrBuilder

getDefaultInstanceForType()

public AccessSettings getDefaultInstanceForType()
Returns
Type Description
AccessSettings

getDescriptorForType()

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

getGcipSettings()

public GcipSettings getGcipSettings()

GCIP claims and endpoint configurations for 3p identity providers.

.google.cloud.iap.v1.GcipSettings gcip_settings = 1;

Returns
Type Description
GcipSettings

The gcipSettings.

getGcipSettingsBuilder()

public GcipSettings.Builder getGcipSettingsBuilder()

GCIP claims and endpoint configurations for 3p identity providers.

.google.cloud.iap.v1.GcipSettings gcip_settings = 1;

Returns
Type Description
GcipSettings.Builder

getGcipSettingsOrBuilder()

public GcipSettingsOrBuilder getGcipSettingsOrBuilder()

GCIP claims and endpoint configurations for 3p identity providers.

.google.cloud.iap.v1.GcipSettings gcip_settings = 1;

Returns
Type Description
GcipSettingsOrBuilder

getOauthSettings()

public OAuthSettings getOauthSettings()

Settings to configure IAP's OAuth behavior.

.google.cloud.iap.v1.OAuthSettings oauth_settings = 3;

Returns
Type Description
OAuthSettings

The oauthSettings.

getOauthSettingsBuilder()

public OAuthSettings.Builder getOauthSettingsBuilder()

Settings to configure IAP's OAuth behavior.

.google.cloud.iap.v1.OAuthSettings oauth_settings = 3;

Returns
Type Description
OAuthSettings.Builder

getOauthSettingsOrBuilder()

public OAuthSettingsOrBuilder getOauthSettingsOrBuilder()

Settings to configure IAP's OAuth behavior.

.google.cloud.iap.v1.OAuthSettings oauth_settings = 3;

Returns
Type Description
OAuthSettingsOrBuilder

getReauthSettings()

public ReauthSettings getReauthSettings()

Settings to configure reauthentication policies in IAP.

.google.cloud.iap.v1.ReauthSettings reauth_settings = 6;

Returns
Type Description
ReauthSettings

The reauthSettings.

getReauthSettingsBuilder()

public ReauthSettings.Builder getReauthSettingsBuilder()

Settings to configure reauthentication policies in IAP.

.google.cloud.iap.v1.ReauthSettings reauth_settings = 6;

Returns
Type Description
ReauthSettings.Builder

getReauthSettingsOrBuilder()

public ReauthSettingsOrBuilder getReauthSettingsOrBuilder()

Settings to configure reauthentication policies in IAP.

.google.cloud.iap.v1.ReauthSettings reauth_settings = 6;

Returns
Type Description
ReauthSettingsOrBuilder

hasAllowedDomainsSettings()

public boolean hasAllowedDomainsSettings()

Settings to configure and enable allowed domains.

.google.cloud.iap.v1.AllowedDomainsSettings allowed_domains_settings = 7;

Returns
Type Description
boolean

Whether the allowedDomainsSettings field is set.

hasCorsSettings()

public boolean hasCorsSettings()

Configuration to allow cross-origin requests via IAP.

.google.cloud.iap.v1.CorsSettings cors_settings = 2;

Returns
Type Description
boolean

Whether the corsSettings field is set.

hasGcipSettings()

public boolean hasGcipSettings()

GCIP claims and endpoint configurations for 3p identity providers.

.google.cloud.iap.v1.GcipSettings gcip_settings = 1;

Returns
Type Description
boolean

Whether the gcipSettings field is set.

hasOauthSettings()

public boolean hasOauthSettings()

Settings to configure IAP's OAuth behavior.

.google.cloud.iap.v1.OAuthSettings oauth_settings = 3;

Returns
Type Description
boolean

Whether the oauthSettings field is set.

hasReauthSettings()

public boolean hasReauthSettings()

Settings to configure reauthentication policies in IAP.

.google.cloud.iap.v1.ReauthSettings reauth_settings = 6;

Returns
Type Description
boolean

Whether the reauthSettings field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAllowedDomainsSettings(AllowedDomainsSettings value)

public AccessSettings.Builder mergeAllowedDomainsSettings(AllowedDomainsSettings value)

Settings to configure and enable allowed domains.

.google.cloud.iap.v1.AllowedDomainsSettings allowed_domains_settings = 7;

Parameter
Name Description
value AllowedDomainsSettings
Returns
Type Description
AccessSettings.Builder

mergeCorsSettings(CorsSettings value)

public AccessSettings.Builder mergeCorsSettings(CorsSettings value)

Configuration to allow cross-origin requests via IAP.

.google.cloud.iap.v1.CorsSettings cors_settings = 2;

Parameter
Name Description
value CorsSettings
Returns
Type Description
AccessSettings.Builder

mergeFrom(AccessSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcipSettings(GcipSettings value)

public AccessSettings.Builder mergeGcipSettings(GcipSettings value)

GCIP claims and endpoint configurations for 3p identity providers.

.google.cloud.iap.v1.GcipSettings gcip_settings = 1;

Parameter
Name Description
value GcipSettings
Returns
Type Description
AccessSettings.Builder

mergeOauthSettings(OAuthSettings value)

public AccessSettings.Builder mergeOauthSettings(OAuthSettings value)

Settings to configure IAP's OAuth behavior.

.google.cloud.iap.v1.OAuthSettings oauth_settings = 3;

Parameter
Name Description
value OAuthSettings
Returns
Type Description
AccessSettings.Builder

mergeReauthSettings(ReauthSettings value)

public AccessSettings.Builder mergeReauthSettings(ReauthSettings value)

Settings to configure reauthentication policies in IAP.

.google.cloud.iap.v1.ReauthSettings reauth_settings = 6;

Parameter
Name Description
value ReauthSettings
Returns
Type Description
AccessSettings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAllowedDomainsSettings(AllowedDomainsSettings value)

public AccessSettings.Builder setAllowedDomainsSettings(AllowedDomainsSettings value)

Settings to configure and enable allowed domains.

.google.cloud.iap.v1.AllowedDomainsSettings allowed_domains_settings = 7;

Parameter
Name Description
value AllowedDomainsSettings
Returns
Type Description
AccessSettings.Builder

setAllowedDomainsSettings(AllowedDomainsSettings.Builder builderForValue)

public AccessSettings.Builder setAllowedDomainsSettings(AllowedDomainsSettings.Builder builderForValue)

Settings to configure and enable allowed domains.

.google.cloud.iap.v1.AllowedDomainsSettings allowed_domains_settings = 7;

Parameter
Name Description
builderForValue AllowedDomainsSettings.Builder
Returns
Type Description
AccessSettings.Builder

setCorsSettings(CorsSettings value)

public AccessSettings.Builder setCorsSettings(CorsSettings value)

Configuration to allow cross-origin requests via IAP.

.google.cloud.iap.v1.CorsSettings cors_settings = 2;

Parameter
Name Description
value CorsSettings
Returns
Type Description
AccessSettings.Builder

setCorsSettings(CorsSettings.Builder builderForValue)

public AccessSettings.Builder setCorsSettings(CorsSettings.Builder builderForValue)

Configuration to allow cross-origin requests via IAP.

.google.cloud.iap.v1.CorsSettings cors_settings = 2;

Parameter
Name Description
builderForValue CorsSettings.Builder
Returns
Type Description
AccessSettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcipSettings(GcipSettings value)

public AccessSettings.Builder setGcipSettings(GcipSettings value)

GCIP claims and endpoint configurations for 3p identity providers.

.google.cloud.iap.v1.GcipSettings gcip_settings = 1;

Parameter
Name Description
value GcipSettings
Returns
Type Description
AccessSettings.Builder

setGcipSettings(GcipSettings.Builder builderForValue)

public AccessSettings.Builder setGcipSettings(GcipSettings.Builder builderForValue)

GCIP claims and endpoint configurations for 3p identity providers.

.google.cloud.iap.v1.GcipSettings gcip_settings = 1;

Parameter
Name Description
builderForValue GcipSettings.Builder
Returns
Type Description
AccessSettings.Builder

setOauthSettings(OAuthSettings value)

public AccessSettings.Builder setOauthSettings(OAuthSettings value)

Settings to configure IAP's OAuth behavior.

.google.cloud.iap.v1.OAuthSettings oauth_settings = 3;

Parameter
Name Description
value OAuthSettings
Returns
Type Description
AccessSettings.Builder

setOauthSettings(OAuthSettings.Builder builderForValue)

public AccessSettings.Builder setOauthSettings(OAuthSettings.Builder builderForValue)

Settings to configure IAP's OAuth behavior.

.google.cloud.iap.v1.OAuthSettings oauth_settings = 3;

Parameter
Name Description
builderForValue OAuthSettings.Builder
Returns
Type Description
AccessSettings.Builder

setReauthSettings(ReauthSettings value)

public AccessSettings.Builder setReauthSettings(ReauthSettings value)

Settings to configure reauthentication policies in IAP.

.google.cloud.iap.v1.ReauthSettings reauth_settings = 6;

Parameter
Name Description
value ReauthSettings
Returns
Type Description
AccessSettings.Builder

setReauthSettings(ReauthSettings.Builder builderForValue)

public AccessSettings.Builder setReauthSettings(ReauthSettings.Builder builderForValue)

Settings to configure reauthentication policies in IAP.

.google.cloud.iap.v1.ReauthSettings reauth_settings = 6;

Parameter
Name Description
builderForValue ReauthSettings.Builder
Returns
Type Description
AccessSettings.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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