Class ComputeThreatListDiffRequest.Builder (2.27.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.27.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   static   final   class  ComputeThreatListDiffRequest . Builder   extends   GeneratedMessageV3 . Builder<ComputeThreatListDiffRequest . Builder >  implements   ComputeThreatListDiffRequestOrBuilder  
   Describes an API diff request.
 Protobuf type google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
    
    
    
    
    
      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
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ComputeThreatListDiffRequest . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   ComputeThreatListDiffRequest   build ()  
  
  buildPartial() 
  
    
public   ComputeThreatListDiffRequest   buildPartial ()  
  
  clear() 
  
    
public   ComputeThreatListDiffRequest . Builder   clear ()  
  
  Overrides 
  
  clearConstraints() 
  
    
public   ComputeThreatListDiffRequest . Builder   clearConstraints ()  
   Required. The constraints associated with this request.
 
 .google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
 
clearField(Descriptors.FieldDescriptor field) 
  
    
public   ComputeThreatListDiffRequest . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   ComputeThreatListDiffRequest . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearThreatType() 
  
    
public   ComputeThreatListDiffRequest . Builder   clearThreatType ()  
   The ThreatList to update.
 
 .google.cloud.webrisk.v1beta1.ThreatType threat_type = 1 [(.google.api.field_behavior) = REQUIRED];
 
clearVersionToken() 
  
    
public   ComputeThreatListDiffRequest . Builder   clearVersionToken ()  
   The current version token of the client for the requested list (the
 client version that was received from the last successful diff).
 bytes version_token = 2;
clone() 
  
    
public   ComputeThreatListDiffRequest . Builder   clone ()  
  
  Overrides 
  
  getConstraints() 
  
    
public   ComputeThreatListDiffRequest . Constraints   getConstraints ()  
   Required. The constraints associated with this request.
 
 .google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
 
getConstraintsBuilder() 
  
    
public   ComputeThreatListDiffRequest . Constraints . Builder   getConstraintsBuilder ()  
   Required. The constraints associated with this request.
 
 .google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
 
getConstraintsOrBuilder() 
  
    
public   ComputeThreatListDiffRequest . ConstraintsOrBuilder   getConstraintsOrBuilder ()  
   Required. The constraints associated with this request.
 
 .google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
 
getDefaultInstanceForType() 
  
    
public   ComputeThreatListDiffRequest   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getThreatType() 
  
    
public   ThreatType   getThreatType ()  
   The ThreatList to update.
 
 .google.cloud.webrisk.v1beta1.ThreatType threat_type = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Returns  
      
        Type Description  
      
        ThreatType The threatType.
 
     
  
  getThreatTypeValue() 
  
    
public   int   getThreatTypeValue ()  
   The ThreatList to update.
 
 .google.cloud.webrisk.v1beta1.ThreatType threat_type = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for threatType.
 
     
  
  getVersionToken() 
  
    
public   ByteString   getVersionToken ()  
   The current version token of the client for the requested list (the
 client version that was received from the last successful diff).
 bytes version_token = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The versionToken.
 
     
  
  hasConstraints() 
  
    
public   boolean   hasConstraints ()  
   Required. The constraints associated with this request.
 
 .google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the constraints field is set.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeConstraints(ComputeThreatListDiffRequest.Constraints value) 
  
    
public   ComputeThreatListDiffRequest . Builder   mergeConstraints ( ComputeThreatListDiffRequest . Constraints   value )  
   Required. The constraints associated with this request.
 
 .google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
 
    
public   ComputeThreatListDiffRequest . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   ComputeThreatListDiffRequest . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeFrom(ComputeThreatListDiffRequest other) 
  
    
public   ComputeThreatListDiffRequest . Builder   mergeFrom ( ComputeThreatListDiffRequest   other )  
  
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ComputeThreatListDiffRequest . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setConstraints(ComputeThreatListDiffRequest.Constraints value) 
  
    
public   ComputeThreatListDiffRequest . Builder   setConstraints ( ComputeThreatListDiffRequest . Constraints   value )  
   Required. The constraints associated with this request.
 
 .google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
 
setConstraints(ComputeThreatListDiffRequest.Constraints.Builder builderForValue) 
  
    
public   ComputeThreatListDiffRequest . Builder   setConstraints ( ComputeThreatListDiffRequest . Constraints . Builder   builderForValue )  
   Required. The constraints associated with this request.
 
 .google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
 
setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ComputeThreatListDiffRequest . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   ComputeThreatListDiffRequest . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setThreatType(ThreatType value) 
  
    
public   ComputeThreatListDiffRequest . Builder   setThreatType ( ThreatType   value )  
   The ThreatList to update.
 
 .google.cloud.webrisk.v1beta1.ThreatType threat_type = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Parameter  
      
        Name Description  
      
        valueThreatType The threatType to set.
 
     
  
  
  setThreatTypeValue(int value) 
  
    
public   ComputeThreatListDiffRequest . Builder   setThreatTypeValue ( int   value )  
   The ThreatList to update.
 
 .google.cloud.webrisk.v1beta1.ThreatType threat_type = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Parameter  
      
        Name Description  
      
        valueint The enum numeric value on the wire for threatType to set.
 
     
  
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ComputeThreatListDiffRequest . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setVersionToken(ByteString value) 
  
    
public   ComputeThreatListDiffRequest . Builder   setVersionToken ( ByteString   value )  
   The current version token of the client for the requested list (the
 client version that was received from the last successful diff).
 bytes version_token = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The versionToken to set.
 
     
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-11 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-11 UTC."],[],[]]