Class ReauthSettings.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReauthSettings.Builder>
com.google.cloud.iap.v1.ReauthSettings.Builder
All Implemented Interfaces:
ReauthSettingsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ReauthSettings

public static final class ReauthSettings.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReauthSettings.Builder> implements ReauthSettingsOrBuilder
 Configuration for IAP reauthentication policies.
 
Protobuf type google.cloud.iap.v1.ReauthSettings
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ReauthSettings.Builder>
    • clear

      public ReauthSettings.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ReauthSettings.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ReauthSettings.Builder>
    • getDefaultInstanceForType

      public ReauthSettings getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ReauthSettings build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ReauthSettings buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ReauthSettings.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReauthSettings.Builder>
    • mergeFrom

      public ReauthSettings.Builder mergeFrom(ReauthSettings other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ReauthSettings.Builder>
    • mergeFrom

      public ReauthSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReauthSettings.Builder>
      Throws:
      IOException
    • getMethodValue

      public int getMethodValue()
       Optional. Reauth method requested.
       
      .google.cloud.iap.v1.ReauthSettings.Method method = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMethodValue in interface ReauthSettingsOrBuilder
      Returns:
      The enum numeric value on the wire for method.
    • setMethodValue

      public ReauthSettings.Builder setMethodValue(int value)
       Optional. Reauth method requested.
       
      .google.cloud.iap.v1.ReauthSettings.Method method = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for method to set.
      Returns:
      This builder for chaining.
    • getMethod

      public ReauthSettings.Method getMethod()
       Optional. Reauth method requested.
       
      .google.cloud.iap.v1.ReauthSettings.Method method = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMethod in interface ReauthSettingsOrBuilder
      Returns:
      The method.
    • setMethod

       Optional. Reauth method requested.
       
      .google.cloud.iap.v1.ReauthSettings.Method method = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The method to set.
      Returns:
      This builder for chaining.
    • clearMethod

      public ReauthSettings.Builder clearMethod()
       Optional. Reauth method requested.
       
      .google.cloud.iap.v1.ReauthSettings.Method method = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      hasMaxAge in interface ReauthSettingsOrBuilder
      Returns:
      Whether the maxAge field is set.
    • getMaxAge

      public com.google.protobuf.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];
      Specified by:
      getMaxAge in interface ReauthSettingsOrBuilder
      Returns:
      The maxAge.
    • setMaxAge

      public ReauthSettings.Builder setMaxAge(com.google.protobuf.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];
    • setMaxAge

      public ReauthSettings.Builder setMaxAge(com.google.protobuf.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];
    • mergeMaxAge

      public ReauthSettings.Builder mergeMaxAge(com.google.protobuf.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];
    • 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];
    • getMaxAgeBuilder

      public com.google.protobuf.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];
    • getMaxAgeOrBuilder

      public com.google.protobuf.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];
      Specified by:
      getMaxAgeOrBuilder in interface ReauthSettingsOrBuilder
    • 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];
      Specified by:
      getPolicyTypeValue in interface ReauthSettingsOrBuilder
      Returns:
      The enum numeric value on the wire for policyType.
    • setPolicyTypeValue

      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];
      Parameters:
      value - The enum numeric value on the wire for policyType to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getPolicyType in interface ReauthSettingsOrBuilder
      Returns:
      The policyType.
    • setPolicyType

      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];
      Parameters:
      value - The policyType to set.
      Returns:
      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:
      This builder for chaining.