Class ReauthSettings.Builder (0.39.0)

public static final class ReauthSettings.Builder extends GeneratedMessage.Builder<ReauthSettings.Builder> implements ReauthSettingsOrBuilder

Configuration for IAP reauthentication policies.

Protobuf type google.cloud.iap.v1.ReauthSettings

Static Methods

getDescriptor()

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

Methods

build()

public ReauthSettings build()
Returns
Type Description
ReauthSettings

buildPartial()

public ReauthSettings buildPartial()
Returns
Type Description
ReauthSettings

clear()

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

clearMaxAge()

public ReauthSettings.Builder clearMaxAge()

Optional. Reauth session lifetime, how long before a user has to reauthenticate again.

.google.protobuf.Duration max_age = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReauthSettings.Builder

clearMethod()

public ReauthSettings.Builder clearMethod()

Optional. Reauth method requested.

.google.cloud.iap.v1.ReauthSettings.Method method = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReauthSettings.Builder

This builder for chaining.

clearPolicyType()

public ReauthSettings.Builder clearPolicyType()

Optional. How IAP determines the effective policy in cases of hierarchical policies. Policies are merged from higher in the hierarchy to lower in the hierarchy.

.google.cloud.iap.v1.ReauthSettings.PolicyType policy_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReauthSettings.Builder

This builder for chaining.

getDefaultInstanceForType()

public ReauthSettings getDefaultInstanceForType()
Returns
Type Description
ReauthSettings

getDescriptorForType()

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

getMaxAge()

public Duration getMaxAge()

Optional. Reauth session lifetime, how long before a user has to reauthenticate again.

.google.protobuf.Duration max_age = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The maxAge.

getMaxAgeBuilder()

public Duration.Builder getMaxAgeBuilder()

Optional. Reauth session lifetime, how long before a user has to reauthenticate again.

.google.protobuf.Duration max_age = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getMaxAgeOrBuilder()

public DurationOrBuilder getMaxAgeOrBuilder()

Optional. Reauth session lifetime, how long before a user has to reauthenticate again.

.google.protobuf.Duration max_age = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getMethod()

public ReauthSettings.Method getMethod()

Optional. Reauth method requested.

.google.cloud.iap.v1.ReauthSettings.Method method = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReauthSettings.Method

The method.

getMethodValue()

public int getMethodValue()

Optional. Reauth method requested.

.google.cloud.iap.v1.ReauthSettings.Method method = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for method.

getPolicyType()

public ReauthSettings.PolicyType getPolicyType()

Optional. How IAP determines the effective policy in cases of hierarchical policies. Policies are merged from higher in the hierarchy to lower in the hierarchy.

.google.cloud.iap.v1.ReauthSettings.PolicyType policy_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReauthSettings.PolicyType

The policyType.

getPolicyTypeValue()

public int getPolicyTypeValue()

Optional. How IAP determines the effective policy in cases of hierarchical policies. Policies are merged from higher in the hierarchy to lower in the hierarchy.

.google.cloud.iap.v1.ReauthSettings.PolicyType policy_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for policyType.

hasMaxAge()

public boolean hasMaxAge()

Optional. Reauth session lifetime, how long before a user has to reauthenticate again.

.google.protobuf.Duration max_age = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the maxAge field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReauthSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMaxAge(Duration value)

public ReauthSettings.Builder mergeMaxAge(Duration value)

Optional. Reauth session lifetime, how long before a user has to reauthenticate again.

.google.protobuf.Duration max_age = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
ReauthSettings.Builder

setMaxAge(Duration value)

public ReauthSettings.Builder setMaxAge(Duration value)

Optional. Reauth session lifetime, how long before a user has to reauthenticate again.

.google.protobuf.Duration max_age = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
ReauthSettings.Builder

setMaxAge(Duration.Builder builderForValue)

public ReauthSettings.Builder setMaxAge(Duration.Builder builderForValue)

Optional. Reauth session lifetime, how long before a user has to reauthenticate again.

.google.protobuf.Duration max_age = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ReauthSettings.Builder

setMethod(ReauthSettings.Method value)

public ReauthSettings.Builder setMethod(ReauthSettings.Method value)

Optional. Reauth method requested.

.google.cloud.iap.v1.ReauthSettings.Method method = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ReauthSettings.Method

The method to set.

Returns
Type Description
ReauthSettings.Builder

This builder for chaining.

setMethodValue(int value)

public ReauthSettings.Builder setMethodValue(int value)

Optional. Reauth method requested.

.google.cloud.iap.v1.ReauthSettings.Method method = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
ReauthSettings.Builder

This builder for chaining.

setPolicyType(ReauthSettings.PolicyType value)

public ReauthSettings.Builder setPolicyType(ReauthSettings.PolicyType value)

Optional. How IAP determines the effective policy in cases of hierarchical policies. Policies are merged from higher in the hierarchy to lower in the hierarchy.

.google.cloud.iap.v1.ReauthSettings.PolicyType policy_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ReauthSettings.PolicyType

The policyType to set.

Returns
Type Description
ReauthSettings.Builder

This builder for chaining.

setPolicyTypeValue(int value)

public ReauthSettings.Builder setPolicyTypeValue(int value)

Optional. How IAP determines the effective policy in cases of hierarchical policies. Policies are merged from higher in the hierarchy to lower in the hierarchy.

.google.cloud.iap.v1.ReauthSettings.PolicyType policy_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
ReauthSettings.Builder

This builder for chaining.