Class CloudArmor (2.65.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.65.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   final   class  CloudArmor   extends   GeneratedMessageV3   implements   CloudArmorOrBuilder  
   Fields related to Google Cloud Armor findings.
 Protobuf type google.cloud.securitycenter.v1.CloudArmor
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  ADAPTIVE_PROTECTION_FIELD_NUMBER 
  
    
public   static   final   int   ADAPTIVE_PROTECTION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  ATTACK_FIELD_NUMBER 
  
    
public   static   final   int   ATTACK_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  DURATION_FIELD_NUMBER 
  
    
public   static   final   int   DURATION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  REQUESTS_FIELD_NUMBER 
  
    
public   static   final   int   REQUESTS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  SECURITY_POLICY_FIELD_NUMBER 
  
    
public   static   final   int   SECURITY_POLICY_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  THREAT_VECTOR_FIELD_NUMBER 
  
    
public   static   final   int   THREAT_VECTOR_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   CloudArmor   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   CloudArmor . Builder   newBuilder ()  
  
  newBuilder(CloudArmor prototype) 
  
    
public   static   CloudArmor . Builder   newBuilder ( CloudArmor   prototype )  
  
  
  
    
public   static   CloudArmor   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   CloudArmor   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   CloudArmor   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   CloudArmor   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   CloudArmor   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   CloudArmor   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   CloudArmor   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   CloudArmor   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   CloudArmor   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   CloudArmor   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   CloudArmor   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   CloudArmor   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<CloudArmor>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getAdaptiveProtection() 
  
    
public   AdaptiveProtection   getAdaptiveProtection ()  
  
  
  getAdaptiveProtectionOrBuilder() 
  
    
public   AdaptiveProtectionOrBuilder   getAdaptiveProtectionOrBuilder ()  
  
  
  getAttack() 
  
    
public   Attack   getAttack ()  
   Information about DDoS attack volume and classification.
 .google.cloud.securitycenter.v1.Attack attack = 4;
    
      
        Returns  
      
        Type Description  
      
        Attack The attack.
 
     
  
  getAttackOrBuilder() 
  
    
public   AttackOrBuilder   getAttackOrBuilder ()  
   Information about DDoS attack volume and classification.
 .google.cloud.securitycenter.v1.Attack attack = 4;
getDefaultInstanceForType() 
  
    
public   CloudArmor   getDefaultInstanceForType ()  
  
  getDuration() 
  
    
public   Duration   getDuration ()  
   Duration of attack from the start until the current moment (updated every 5
 minutes).
 .google.protobuf.Duration duration = 6;
    
      
        Returns  
      
        Type Description  
      
        Duration The duration.
 
     
  
  getDurationOrBuilder() 
  
    
public   DurationOrBuilder   getDurationOrBuilder ()  
   Duration of attack from the start until the current moment (updated every 5
 minutes).
 .google.protobuf.Duration duration = 6;
getParserForType() 
  
    
public   Parser<CloudArmor>   getParserForType ()  
  
  Overrides 
  
  getRequests() 
  
    
public   Requests   getRequests ()  
  
  
    
      
        Returns  
      
        Type Description  
      
        Requests The requests.
 
     
  
  getRequestsOrBuilder() 
  
    
public   RequestsOrBuilder   getRequestsOrBuilder ()  
  
  
  getSecurityPolicy() 
  
    
public   SecurityPolicy   getSecurityPolicy ()  
  
  
  getSecurityPolicyOrBuilder() 
  
    
public   SecurityPolicyOrBuilder   getSecurityPolicyOrBuilder ()  
  
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getThreatVector() 
  
    
public   String   getThreatVector ()  
   Distinguish between volumetric & protocol DDoS attack and
 application layer attacks. For example, "L3_4" for Layer 3 and Layer 4 DDoS
 attacks, or "L_7" for Layer 7 DDoS attacks.
 string threat_vector = 5;
    
      
        Returns  
      
        Type Description  
      
        String The threatVector.
 
     
  
  getThreatVectorBytes() 
  
    
public   ByteString   getThreatVectorBytes ()  
   Distinguish between volumetric & protocol DDoS attack and
 application layer attacks. For example, "L3_4" for Layer 3 and Layer 4 DDoS
 attacks, or "L_7" for Layer 7 DDoS attacks.
 string threat_vector = 5;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for threatVector.
 
     
  
  hasAdaptiveProtection() 
  
    
public   boolean   hasAdaptiveProtection ()  
  
  
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the adaptiveProtection field is set.
 
     
  
  hasAttack() 
  
    
public   boolean   hasAttack ()  
   Information about DDoS attack volume and classification.
 .google.cloud.securitycenter.v1.Attack attack = 4;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the attack field is set.
 
     
  
  hasDuration() 
  
    
public   boolean   hasDuration ()  
   Duration of attack from the start until the current moment (updated every 5
 minutes).
 .google.protobuf.Duration duration = 6;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the duration field is set.
 
     
  
  hasRequests() 
  
    
public   boolean   hasRequests ()  
  
  
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the requests field is set.
 
     
  
  hasSecurityPolicy() 
  
    
public   boolean   hasSecurityPolicy ()  
  
  
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the securityPolicy field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   CloudArmor . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   CloudArmor . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   CloudArmor . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  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."],[],[]]