Class AuthzPolicy.CustomProvider.Builder

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

public static final class AuthzPolicy.CustomProvider.Builder extends com.google.protobuf.GeneratedMessage.Builder<AuthzPolicy.CustomProvider.Builder> implements AuthzPolicy.CustomProviderOrBuilder
 Allows delegating authorization decisions to Cloud IAP or to
 Service Extensions.
 
Protobuf type google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider
  • 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<AuthzPolicy.CustomProvider.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<AuthzPolicy.CustomProvider.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<AuthzPolicy.CustomProvider.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public AuthzPolicy.CustomProvider.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<AuthzPolicy.CustomProvider.Builder>
    • mergeFrom

    • isInitialized

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

      public AuthzPolicy.CustomProvider.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<AuthzPolicy.CustomProvider.Builder>
      Throws:
      IOException
    • hasCloudIap

      public boolean hasCloudIap()
       Optional. Delegates authorization decisions to Cloud IAP. Applicable
       only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy
       level is not compatible with Cloud IAP settings in the BackendService.
       Enabling IAP in both places will result in request failure. Ensure that
       IAP is enabled in either the AuthzPolicy or the BackendService but not in
       both places.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.CloudIap cloud_iap = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasCloudIap in interface AuthzPolicy.CustomProviderOrBuilder
      Returns:
      Whether the cloudIap field is set.
    • getCloudIap

       Optional. Delegates authorization decisions to Cloud IAP. Applicable
       only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy
       level is not compatible with Cloud IAP settings in the BackendService.
       Enabling IAP in both places will result in request failure. Ensure that
       IAP is enabled in either the AuthzPolicy or the BackendService but not in
       both places.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.CloudIap cloud_iap = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCloudIap in interface AuthzPolicy.CustomProviderOrBuilder
      Returns:
      The cloudIap.
    • setCloudIap

       Optional. Delegates authorization decisions to Cloud IAP. Applicable
       only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy
       level is not compatible with Cloud IAP settings in the BackendService.
       Enabling IAP in both places will result in request failure. Ensure that
       IAP is enabled in either the AuthzPolicy or the BackendService but not in
       both places.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.CloudIap cloud_iap = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setCloudIap

       Optional. Delegates authorization decisions to Cloud IAP. Applicable
       only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy
       level is not compatible with Cloud IAP settings in the BackendService.
       Enabling IAP in both places will result in request failure. Ensure that
       IAP is enabled in either the AuthzPolicy or the BackendService but not in
       both places.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.CloudIap cloud_iap = 1 [(.google.api.field_behavior) = OPTIONAL];
    • mergeCloudIap

       Optional. Delegates authorization decisions to Cloud IAP. Applicable
       only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy
       level is not compatible with Cloud IAP settings in the BackendService.
       Enabling IAP in both places will result in request failure. Ensure that
       IAP is enabled in either the AuthzPolicy or the BackendService but not in
       both places.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.CloudIap cloud_iap = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearCloudIap

      public AuthzPolicy.CustomProvider.Builder clearCloudIap()
       Optional. Delegates authorization decisions to Cloud IAP. Applicable
       only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy
       level is not compatible with Cloud IAP settings in the BackendService.
       Enabling IAP in both places will result in request failure. Ensure that
       IAP is enabled in either the AuthzPolicy or the BackendService but not in
       both places.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.CloudIap cloud_iap = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getCloudIapBuilder

      public AuthzPolicy.CustomProvider.CloudIap.Builder getCloudIapBuilder()
       Optional. Delegates authorization decisions to Cloud IAP. Applicable
       only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy
       level is not compatible with Cloud IAP settings in the BackendService.
       Enabling IAP in both places will result in request failure. Ensure that
       IAP is enabled in either the AuthzPolicy or the BackendService but not in
       both places.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.CloudIap cloud_iap = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getCloudIapOrBuilder

      public AuthzPolicy.CustomProvider.CloudIapOrBuilder getCloudIapOrBuilder()
       Optional. Delegates authorization decisions to Cloud IAP. Applicable
       only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy
       level is not compatible with Cloud IAP settings in the BackendService.
       Enabling IAP in both places will result in request failure. Ensure that
       IAP is enabled in either the AuthzPolicy or the BackendService but not in
       both places.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.CloudIap cloud_iap = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCloudIapOrBuilder in interface AuthzPolicy.CustomProviderOrBuilder
    • hasAuthzExtension

      public boolean hasAuthzExtension()
       Optional. Delegate authorization decision to user authored Service
       Extension. Only one of cloudIap or authzExtension can be specified.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAuthzExtension in interface AuthzPolicy.CustomProviderOrBuilder
      Returns:
      Whether the authzExtension field is set.
    • getAuthzExtension

      public AuthzPolicy.CustomProvider.AuthzExtension getAuthzExtension()
       Optional. Delegate authorization decision to user authored Service
       Extension. Only one of cloudIap or authzExtension can be specified.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAuthzExtension in interface AuthzPolicy.CustomProviderOrBuilder
      Returns:
      The authzExtension.
    • setAuthzExtension

       Optional. Delegate authorization decision to user authored Service
       Extension. Only one of cloudIap or authzExtension can be specified.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setAuthzExtension

       Optional. Delegate authorization decision to user authored Service
       Extension. Only one of cloudIap or authzExtension can be specified.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeAuthzExtension

       Optional. Delegate authorization decision to user authored Service
       Extension. Only one of cloudIap or authzExtension can be specified.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearAuthzExtension

      public AuthzPolicy.CustomProvider.Builder clearAuthzExtension()
       Optional. Delegate authorization decision to user authored Service
       Extension. Only one of cloudIap or authzExtension can be specified.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getAuthzExtensionBuilder

      public AuthzPolicy.CustomProvider.AuthzExtension.Builder getAuthzExtensionBuilder()
       Optional. Delegate authorization decision to user authored Service
       Extension. Only one of cloudIap or authzExtension can be specified.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getAuthzExtensionOrBuilder

      public AuthzPolicy.CustomProvider.AuthzExtensionOrBuilder getAuthzExtensionOrBuilder()
       Optional. Delegate authorization decision to user authored Service
       Extension. Only one of cloudIap or authzExtension can be specified.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAuthzExtensionOrBuilder in interface AuthzPolicy.CustomProviderOrBuilder