Class ReauthSettings (0.1.0)

public final class ReauthSettings extends GeneratedMessageV3 implements ReauthSettingsOrBuilder

Configuration for IAP reauthentication policies.

Protobuf type google.cloud.iap.v1.ReauthSettings

Static Fields

MAX_AGE_FIELD_NUMBER

public static final int MAX_AGE_FIELD_NUMBER
Field Value
Type Description
int

METHOD_FIELD_NUMBER

public static final int METHOD_FIELD_NUMBER
Field Value
Type Description
int

POLICY_TYPE_FIELD_NUMBER

public static final int POLICY_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReauthSettings getDefaultInstance()
Returns
Type Description
ReauthSettings

getDescriptor()

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

newBuilder()

public static ReauthSettings.Builder newBuilder()
Returns
Type Description
ReauthSettings.Builder

newBuilder(ReauthSettings prototype)

public static ReauthSettings.Builder newBuilder(ReauthSettings prototype)
Parameter
Name Description
prototype ReauthSettings
Returns
Type Description
ReauthSettings.Builder

parseDelimitedFrom(InputStream input)

public static ReauthSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReauthSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReauthSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReauthSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReauthSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReauthSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReauthSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReauthSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReauthSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReauthSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReauthSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReauthSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReauthSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReauthSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReauthSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReauthSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReauthSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReauthSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReauthSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReauthSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReauthSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReauthSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReauthSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReauthSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReauthSettings> parser()
Returns
Type Description
Parser<ReauthSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ReauthSettings getDefaultInstanceForType()
Returns
Type Description
ReauthSettings

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.

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.

getParserForType()

public Parser<ReauthSettings> getParserForType()
Returns
Type Description
Parser<ReauthSettings>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReauthSettings.Builder newBuilderForType()
Returns
Type Description
ReauthSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReauthSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReauthSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ReauthSettings.Builder toBuilder()
Returns
Type Description
ReauthSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException