Class AiPlatformFloorSetting.Builder (0.17.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.17.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  AiPlatformFloorSetting . Builder   extends   GeneratedMessageV3 . Builder<AiPlatformFloorSetting . Builder >  implements   AiPlatformFloorSettingOrBuilder  
   message describing AiPlatformFloorSetting
 Protobuf type google.cloud.modelarmor.v1beta.AiPlatformFloorSetting
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  
    
public   AiPlatformFloorSetting . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   AiPlatformFloorSetting   build ()  
  
  
    
public   AiPlatformFloorSetting   buildPartial ()  
  
  
    
public   AiPlatformFloorSetting . Builder   clear ()  
  
  Overrides 
  
  
    
public   AiPlatformFloorSetting . Builder   clearEnableCloudLogging ()  
   Optional. If true, log Model Armor filter results to Cloud Logging.
 bool enable_cloud_logging = 3 [(.google.api.field_behavior) = OPTIONAL];
    
public   AiPlatformFloorSetting . Builder   clearEnforcementType ()  
  
  
    
public   AiPlatformFloorSetting . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  
    
public   AiPlatformFloorSetting . Builder   clearInspectAndBlock ()  
   Optional. If true, Model Armor filters will be run in inspect and block
 mode. Requests that trip Model Armor filters will be blocked.
 bool inspect_and_block = 2 [(.google.api.field_behavior) = OPTIONAL];
    
public   AiPlatformFloorSetting . Builder   clearInspectOnly ()  
   Optional. If true, Model Armor filters will be run in inspect only mode.
 No action will be taken on the request.
 bool inspect_only = 1 [(.google.api.field_behavior) = OPTIONAL];
    
public   AiPlatformFloorSetting . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  
    
public   AiPlatformFloorSetting . Builder   clone ()  
  
  Overrides 
  
  
    
public   AiPlatformFloorSetting   getDefaultInstanceForType ()  
  
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  
    
public   boolean   getEnableCloudLogging ()  
   Optional. If true, log Model Armor filter results to Cloud Logging.
 bool enable_cloud_logging = 3 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        boolean The enableCloudLogging.
 
     
  
  
    
public   AiPlatformFloorSetting . EnforcementTypeCase   getEnforcementTypeCase ()  
  
  
    
public   boolean   getInspectAndBlock ()  
   Optional. If true, Model Armor filters will be run in inspect and block
 mode. Requests that trip Model Armor filters will be blocked.
 bool inspect_and_block = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        boolean The inspectAndBlock.
 
     
  
  
    
public   boolean   getInspectOnly ()  
   Optional. If true, Model Armor filters will be run in inspect only mode.
 No action will be taken on the request.
 bool inspect_only = 1 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        boolean The inspectOnly.
 
     
  
  
    
public   boolean   hasInspectAndBlock ()  
   Optional. If true, Model Armor filters will be run in inspect and block
 mode. Requests that trip Model Armor filters will be blocked.
 bool inspect_and_block = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the inspectAndBlock field is set.
 
     
  
  
    
public   boolean   hasInspectOnly ()  
   Optional. If true, Model Armor filters will be run in inspect only mode.
 No action will be taken on the request.
 bool inspect_only = 1 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the inspectOnly field is set.
 
     
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   AiPlatformFloorSetting . Builder   mergeFrom ( AiPlatformFloorSetting   other )  
  
  
  
    
public   AiPlatformFloorSetting . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  
    
public   AiPlatformFloorSetting . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  
    
public   final   AiPlatformFloorSetting . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  
    
public   AiPlatformFloorSetting . Builder   setEnableCloudLogging ( boolean   value )  
   Optional. If true, log Model Armor filter results to Cloud Logging.
 bool enable_cloud_logging = 3 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Parameter  
      
        Name Description  
      
        valueboolean The enableCloudLogging to set.
 
     
  
  
  
    
public   AiPlatformFloorSetting . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   AiPlatformFloorSetting . Builder   setInspectAndBlock ( boolean   value )  
   Optional. If true, Model Armor filters will be run in inspect and block
 mode. Requests that trip Model Armor filters will be blocked.
 bool inspect_and_block = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Parameter  
      
        Name Description  
      
        valueboolean The inspectAndBlock to set.
 
     
  
  
  
    
public   AiPlatformFloorSetting . Builder   setInspectOnly ( boolean   value )  
   Optional. If true, Model Armor filters will be run in inspect only mode.
 No action will be taken on the request.
 bool inspect_only = 1 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Parameter  
      
        Name Description  
      
        valueboolean The inspectOnly to set.
 
     
  
  
  
    
public   AiPlatformFloorSetting . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  
    
public   final   AiPlatformFloorSetting . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]