Class CloudArmor (2.59.0)

public final class CloudArmor extends GeneratedMessageV3 implements CloudArmorOrBuilder

Fields related to Google Cloud Armor findings.

Protobuf type google.cloud.securitycenter.v1.CloudArmor

Implements

CloudArmorOrBuilder

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()
Returns
Type Description
CloudArmor

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CloudArmor.Builder newBuilder()
Returns
Type Description
CloudArmor.Builder

newBuilder(CloudArmor prototype)

public static CloudArmor.Builder newBuilder(CloudArmor prototype)
Parameter
Name Description
prototype CloudArmor
Returns
Type Description
CloudArmor.Builder

parseDelimitedFrom(InputStream input)

public static CloudArmor parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudArmor
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudArmor parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudArmor
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CloudArmor parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CloudArmor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CloudArmor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudArmor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CloudArmor parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CloudArmor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CloudArmor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudArmor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CloudArmor parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CloudArmor
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudArmor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudArmor
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CloudArmor parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudArmor
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudArmor parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudArmor
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CloudArmor parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CloudArmor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CloudArmor parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudArmor
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CloudArmor> parser()
Returns
Type Description
Parser<CloudArmor>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAdaptiveProtection()

public AdaptiveProtection getAdaptiveProtection()

Information about potential Layer 7 DDoS attacks identified by Google Cloud Armor Adaptive Protection.

.google.cloud.securitycenter.v1.AdaptiveProtection adaptive_protection = 3;

Returns
Type Description
AdaptiveProtection

The adaptiveProtection.

getAdaptiveProtectionOrBuilder()

public AdaptiveProtectionOrBuilder getAdaptiveProtectionOrBuilder()

Information about potential Layer 7 DDoS attacks identified by Google Cloud Armor Adaptive Protection.

.google.cloud.securitycenter.v1.AdaptiveProtection adaptive_protection = 3;

Returns
Type Description
AdaptiveProtectionOrBuilder

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;

Returns
Type Description
AttackOrBuilder

getDefaultInstanceForType()

public CloudArmor getDefaultInstanceForType()
Returns
Type Description
CloudArmor

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;

Returns
Type Description
DurationOrBuilder

getParserForType()

public Parser<CloudArmor> getParserForType()
Returns
Type Description
Parser<CloudArmor>
Overrides

getRequests()

public Requests getRequests()

Information about incoming requests evaluated by Google Cloud Armor security policies.

.google.cloud.securitycenter.v1.Requests requests = 2;

Returns
Type Description
Requests

The requests.

getRequestsOrBuilder()

public RequestsOrBuilder getRequestsOrBuilder()

Information about incoming requests evaluated by Google Cloud Armor security policies.

.google.cloud.securitycenter.v1.Requests requests = 2;

Returns
Type Description
RequestsOrBuilder

getSecurityPolicy()

public SecurityPolicy getSecurityPolicy()

Information about the Google Cloud Armor security policy relevant to the finding.

.google.cloud.securitycenter.v1.SecurityPolicy security_policy = 1;

Returns
Type Description
SecurityPolicy

The securityPolicy.

getSecurityPolicyOrBuilder()

public SecurityPolicyOrBuilder getSecurityPolicyOrBuilder()

Information about the Google Cloud Armor security policy relevant to the finding.

.google.cloud.securitycenter.v1.SecurityPolicy security_policy = 1;

Returns
Type Description
SecurityPolicyOrBuilder

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()

Information about potential Layer 7 DDoS attacks identified by Google Cloud Armor Adaptive Protection.

.google.cloud.securitycenter.v1.AdaptiveProtection adaptive_protection = 3;

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()

Information about incoming requests evaluated by Google Cloud Armor security policies.

.google.cloud.securitycenter.v1.Requests requests = 2;

Returns
Type Description
boolean

Whether the requests field is set.

hasSecurityPolicy()

public boolean hasSecurityPolicy()

Information about the Google Cloud Armor security policy relevant to the finding.

.google.cloud.securitycenter.v1.SecurityPolicy security_policy = 1;

Returns
Type Description
boolean

Whether the securityPolicy field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CloudArmor.Builder newBuilderForType()
Returns
Type Description
CloudArmor.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CloudArmor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CloudArmor.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CloudArmor.Builder toBuilder()
Returns
Type Description
CloudArmor.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException