Class AccessSettings.Builder (0.18.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

addAllIdentitySources(Iterable<? extends AccessSettings.IdentitySource> values)

public AccessSettings.Builder addAllIdentitySources(Iterable<? extends AccessSettings.IdentitySource> values)

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];

Parameter
Name Description
values Iterable<? extends com.google.cloud.iap.v1.AccessSettings.IdentitySource>

The identitySources to add.

Returns
Type Description
AccessSettings.Builder

This builder for chaining.

addAllIdentitySourcesValue(Iterable<Integer> values)

public AccessSettings.Builder addAllIdentitySourcesValue(Iterable<Integer> values)

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];

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for identitySources to add.

Returns
Type Description
AccessSettings.Builder

This builder for chaining.

addIdentitySources(AccessSettings.IdentitySource value)

public AccessSettings.Builder addIdentitySources(AccessSettings.IdentitySource value)

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];

Parameter
Name Description
value AccessSettings.IdentitySource

The identitySources to add.

Returns
Type Description
AccessSettings.Builder

This builder for chaining.

addIdentitySourcesValue(int value)

public AccessSettings.Builder addIdentitySourcesValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for identitySources to add.

Returns
Type Description
AccessSettings.Builder

This builder for chaining.

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()

Optional. Settings to configure and enable allowed domains.

.google.cloud.iap.v1.AllowedDomainsSettings allowed_domains_settings = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AccessSettings.Builder

clearCorsSettings()

public AccessSettings.Builder clearCorsSettings()

Optional. Configuration to allow cross-origin requests via IAP.

.google.cloud.iap.v1.CorsSettings cors_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

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()

Optional. GCIP claims and endpoint configurations for 3p identity providers.

.google.cloud.iap.v1.GcipSettings gcip_settings = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AccessSettings.Builder

clearIdentitySources()

public AccessSettings.Builder clearIdentitySources()

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];

Returns
Type Description
AccessSettings.Builder

This builder for chaining.

clearOauthSettings()

public AccessSettings.Builder clearOauthSettings()

Optional. Settings to configure IAP's OAuth behavior.

.google.cloud.iap.v1.OAuthSettings oauth_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

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()

Optional. Settings to configure reauthentication policies in IAP.

.google.cloud.iap.v1.ReauthSettings reauth_settings = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AccessSettings.Builder

clearWorkforceIdentitySettings()

public AccessSettings.Builder clearWorkforceIdentitySettings()

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];

Returns
Type Description
AccessSettings.Builder

clone()

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

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];

Returns
Type Description
AllowedDomainsSettings

The allowedDomainsSettings.

getAllowedDomainsSettingsBuilder()

public AllowedDomainsSettings.Builder getAllowedDomainsSettingsBuilder()

Optional. Settings to configure and enable allowed domains.

.google.cloud.iap.v1.AllowedDomainsSettings allowed_domains_settings = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AllowedDomainsSettings.Builder

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];

Returns
Type Description
AllowedDomainsSettingsOrBuilder

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];

Returns
Type Description
CorsSettings

The corsSettings.

getCorsSettingsBuilder()

public CorsSettings.Builder getCorsSettingsBuilder()

Optional. Configuration to allow cross-origin requests via IAP.

.google.cloud.iap.v1.CorsSettings cors_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CorsSettings.Builder

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];

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()

Optional. GCIP claims and endpoint configurations for 3p identity providers.

.google.cloud.iap.v1.GcipSettings gcip_settings = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GcipSettings

The gcipSettings.

getGcipSettingsBuilder()

public GcipSettings.Builder getGcipSettingsBuilder()

Optional. GCIP claims and endpoint configurations for 3p identity providers.

.google.cloud.iap.v1.GcipSettings gcip_settings = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GcipSettings.Builder

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];

Returns
Type Description
GcipSettingsOrBuilder

getIdentitySources(int index)

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];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
AccessSettings.IdentitySource

The identitySources at the given index.

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];

Returns
Type Description
int

The count of identitySources.

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];

Returns
Type Description
List<IdentitySource>

A list containing the identitySources.

getIdentitySourcesValue(int index)

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];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of 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];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for identitySources.

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];

Returns
Type Description
OAuthSettings

The oauthSettings.

getOauthSettingsBuilder()

public OAuthSettings.Builder getOauthSettingsBuilder()

Optional. Settings to configure IAP's OAuth behavior.

.google.cloud.iap.v1.OAuthSettings oauth_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OAuthSettings.Builder

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];

Returns
Type Description
OAuthSettingsOrBuilder

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];

Returns
Type Description
ReauthSettings

The reauthSettings.

getReauthSettingsBuilder()

public ReauthSettings.Builder getReauthSettingsBuilder()

Optional. Settings to configure reauthentication policies in IAP.

.google.cloud.iap.v1.ReauthSettings reauth_settings = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReauthSettings.Builder

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];

Returns
Type Description
ReauthSettingsOrBuilder

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];

Returns
Type Description
WorkforceIdentitySettings

The workforceIdentitySettings.

getWorkforceIdentitySettingsBuilder()

public WorkforceIdentitySettings.Builder getWorkforceIdentitySettingsBuilder()

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];

Returns
Type Description
WorkforceIdentitySettings.Builder

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];

Returns
Type Description
WorkforceIdentitySettingsOrBuilder

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];

Returns
Type Description
boolean

Whether the allowedDomainsSettings field is set.

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];

Returns
Type Description
boolean

Whether the corsSettings field is set.

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];

Returns
Type Description
boolean

Whether the gcipSettings field is set.

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];

Returns
Type Description
boolean

Whether the oauthSettings field is set.

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];

Returns
Type Description
boolean

Whether the reauthSettings field is set.

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];

Returns
Type Description
boolean

Whether the workforceIdentitySettings 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)

Optional. Settings to configure and enable allowed domains.

.google.cloud.iap.v1.AllowedDomainsSettings allowed_domains_settings = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AllowedDomainsSettings
Returns
Type Description
AccessSettings.Builder

mergeCorsSettings(CorsSettings value)

public AccessSettings.Builder mergeCorsSettings(CorsSettings value)

Optional. Configuration to allow cross-origin requests via IAP.

.google.cloud.iap.v1.CorsSettings cors_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

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)

Optional. GCIP claims and endpoint configurations for 3p identity providers.

.google.cloud.iap.v1.GcipSettings gcip_settings = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GcipSettings
Returns
Type Description
AccessSettings.Builder

mergeOauthSettings(OAuthSettings value)

public AccessSettings.Builder mergeOauthSettings(OAuthSettings value)

Optional. Settings to configure IAP's OAuth behavior.

.google.cloud.iap.v1.OAuthSettings oauth_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value OAuthSettings
Returns
Type Description
AccessSettings.Builder

mergeReauthSettings(ReauthSettings value)

public AccessSettings.Builder mergeReauthSettings(ReauthSettings value)

Optional. Settings to configure reauthentication policies in IAP.

.google.cloud.iap.v1.ReauthSettings reauth_settings = 6 [(.google.api.field_behavior) = OPTIONAL];

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

mergeWorkforceIdentitySettings(WorkforceIdentitySettings value)

public AccessSettings.Builder mergeWorkforceIdentitySettings(WorkforceIdentitySettings value)

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];

Parameter
Name Description
value WorkforceIdentitySettings
Returns
Type Description
AccessSettings.Builder

setAllowedDomainsSettings(AllowedDomainsSettings value)

public AccessSettings.Builder setAllowedDomainsSettings(AllowedDomainsSettings value)

Optional. Settings to configure and enable allowed domains.

.google.cloud.iap.v1.AllowedDomainsSettings allowed_domains_settings = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AllowedDomainsSettings
Returns
Type Description
AccessSettings.Builder

setAllowedDomainsSettings(AllowedDomainsSettings.Builder builderForValue)

public AccessSettings.Builder setAllowedDomainsSettings(AllowedDomainsSettings.Builder builderForValue)

Optional. Settings to configure and enable allowed domains.

.google.cloud.iap.v1.AllowedDomainsSettings allowed_domains_settings = 7 [(.google.api.field_behavior) = OPTIONAL];

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

setCorsSettings(CorsSettings value)

public AccessSettings.Builder setCorsSettings(CorsSettings value)

Optional. Configuration to allow cross-origin requests via IAP.

.google.cloud.iap.v1.CorsSettings cors_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CorsSettings
Returns
Type Description
AccessSettings.Builder

setCorsSettings(CorsSettings.Builder builderForValue)

public AccessSettings.Builder setCorsSettings(CorsSettings.Builder builderForValue)

Optional. Configuration to allow cross-origin requests via IAP.

.google.cloud.iap.v1.CorsSettings cors_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

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)

Optional. GCIP claims and endpoint configurations for 3p identity providers.

.google.cloud.iap.v1.GcipSettings gcip_settings = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GcipSettings
Returns
Type Description
AccessSettings.Builder

setGcipSettings(GcipSettings.Builder builderForValue)

public AccessSettings.Builder setGcipSettings(GcipSettings.Builder builderForValue)

Optional. GCIP claims and endpoint configurations for 3p identity providers.

.google.cloud.iap.v1.GcipSettings gcip_settings = 1 [(.google.api.field_behavior) = OPTIONAL];

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

setIdentitySources(int index, AccessSettings.IdentitySource value)

public AccessSettings.Builder setIdentitySources(int index, AccessSettings.IdentitySource value)

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];

Parameters
Name Description
index int

The index to set the value at.

value AccessSettings.IdentitySource

The identitySources to set.

Returns
Type Description
AccessSettings.Builder

This builder for chaining.

setIdentitySourcesValue(int index, int value)

public AccessSettings.Builder setIdentitySourcesValue(int index, int value)

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];

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for identitySources to set.

Returns
Type Description
AccessSettings.Builder

This builder for chaining.

setOauthSettings(OAuthSettings value)

public AccessSettings.Builder setOauthSettings(OAuthSettings value)

Optional. Settings to configure IAP's OAuth behavior.

.google.cloud.iap.v1.OAuthSettings oauth_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value OAuthSettings
Returns
Type Description
AccessSettings.Builder

setOauthSettings(OAuthSettings.Builder builderForValue)

public AccessSettings.Builder setOauthSettings(OAuthSettings.Builder builderForValue)

Optional. Settings to configure IAP's OAuth behavior.

.google.cloud.iap.v1.OAuthSettings oauth_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

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

setReauthSettings(ReauthSettings value)

public AccessSettings.Builder setReauthSettings(ReauthSettings value)

Optional. Settings to configure reauthentication policies in IAP.

.google.cloud.iap.v1.ReauthSettings reauth_settings = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ReauthSettings
Returns
Type Description
AccessSettings.Builder

setReauthSettings(ReauthSettings.Builder builderForValue)

public AccessSettings.Builder setReauthSettings(ReauthSettings.Builder builderForValue)

Optional. Settings to configure reauthentication policies in IAP.

.google.cloud.iap.v1.ReauthSettings reauth_settings = 6 [(.google.api.field_behavior) = OPTIONAL];

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

setWorkforceIdentitySettings(WorkforceIdentitySettings value)

public AccessSettings.Builder setWorkforceIdentitySettings(WorkforceIdentitySettings value)

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];

Parameter
Name Description
value WorkforceIdentitySettings
Returns
Type Description
AccessSettings.Builder

setWorkforceIdentitySettings(WorkforceIdentitySettings.Builder builderForValue)

public AccessSettings.Builder setWorkforceIdentitySettings(WorkforceIdentitySettings.Builder builderForValue)

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];

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