Class ReauthSettings.Builder (0.7.0)

public static final class ReauthSettings.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearMaxAge()

public ReauthSettings.Builder clearMaxAge()

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

.google.protobuf.Duration max_age = 2;

Returns
Type Description
ReauthSettings.Builder

clearMethod()

public ReauthSettings.Builder clearMethod()

Reauth method requested.

.google.cloud.iap.v1.ReauthSettings.Method method = 1;

Returns
Type Description
ReauthSettings.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPolicyType()

public ReauthSettings.Builder clearPolicyType()

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

.google.cloud.iap.v1.ReauthSettings.PolicyType policy_type = 3;

Returns
Type Description
ReauthSettings.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ReauthSettings getDefaultInstanceForType()
Returns
Type Description
ReauthSettings

getDescriptorForType()

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

getMaxAge()

public Duration getMaxAge()

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

.google.protobuf.Duration max_age = 2;

Returns
Type Description
Duration

The maxAge.

getMaxAgeBuilder()

public Duration.Builder getMaxAgeBuilder()

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

.google.protobuf.Duration max_age = 2;

Returns
Type Description
Builder

getMaxAgeOrBuilder()

public DurationOrBuilder getMaxAgeOrBuilder()

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

.google.protobuf.Duration max_age = 2;

Returns
Type Description
DurationOrBuilder

getMethod()

public ReauthSettings.Method getMethod()

Reauth method requested.

.google.cloud.iap.v1.ReauthSettings.Method method = 1;

Returns
Type Description
ReauthSettings.Method

The method.

getMethodValue()

public int getMethodValue()

Reauth method requested.

.google.cloud.iap.v1.ReauthSettings.Method method = 1;

Returns
Type Description
int

The enum numeric value on the wire for method.

getPolicyType()

public ReauthSettings.PolicyType getPolicyType()

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

.google.cloud.iap.v1.ReauthSettings.PolicyType policy_type = 3;

Returns
Type Description
ReauthSettings.PolicyType

The policyType.

getPolicyTypeValue()

public int getPolicyTypeValue()

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

.google.cloud.iap.v1.ReauthSettings.PolicyType policy_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for policyType.

hasMaxAge()

public boolean hasMaxAge()

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

.google.protobuf.Duration max_age = 2;

Returns
Type Description
boolean

Whether the maxAge field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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)

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

.google.protobuf.Duration max_age = 2;

Parameter
Name Description
value Duration
Returns
Type Description
ReauthSettings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMaxAge(Duration value)

public ReauthSettings.Builder setMaxAge(Duration value)

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

.google.protobuf.Duration max_age = 2;

Parameter
Name Description
value Duration
Returns
Type Description
ReauthSettings.Builder

setMaxAge(Duration.Builder builderForValue)

public ReauthSettings.Builder setMaxAge(Duration.Builder builderForValue)

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

.google.protobuf.Duration max_age = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ReauthSettings.Builder

setMethod(ReauthSettings.Method value)

public ReauthSettings.Builder setMethod(ReauthSettings.Method value)

Reauth method requested.

.google.cloud.iap.v1.ReauthSettings.Method method = 1;

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)

Reauth method requested.

.google.cloud.iap.v1.ReauthSettings.Method method = 1;

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)

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

.google.cloud.iap.v1.ReauthSettings.PolicyType policy_type = 3;

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)

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

.google.cloud.iap.v1.ReauthSettings.PolicyType policy_type = 3;

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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