Interface SecurityProfileOrBuilder (0.94.0)

public interface SecurityProfileOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Optional. Labels as key value pairs.

map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Resource creation timestamp.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Resource creation timestamp.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getCustomInterceptProfile()

public abstract CustomInterceptProfile getCustomInterceptProfile()

The custom TPPI configuration for the SecurityProfile.

.google.cloud.networksecurity.v1.CustomInterceptProfile custom_intercept_profile = 10;

Returns
Type Description
CustomInterceptProfile

The customInterceptProfile.

getCustomInterceptProfileOrBuilder()

public abstract CustomInterceptProfileOrBuilder getCustomInterceptProfileOrBuilder()

The custom TPPI configuration for the SecurityProfile.

.google.cloud.networksecurity.v1.CustomInterceptProfile custom_intercept_profile = 10;

Returns
Type Description
CustomInterceptProfileOrBuilder

getCustomMirroringProfile()

public abstract CustomMirroringProfile getCustomMirroringProfile()

The custom Packet Mirroring v2 configuration for the SecurityProfile.

.google.cloud.networksecurity.v1.CustomMirroringProfile custom_mirroring_profile = 9;

Returns
Type Description
CustomMirroringProfile

The customMirroringProfile.

getCustomMirroringProfileOrBuilder()

public abstract CustomMirroringProfileOrBuilder getCustomMirroringProfileOrBuilder()

The custom Packet Mirroring v2 configuration for the SecurityProfile.

.google.cloud.networksecurity.v1.CustomMirroringProfile custom_mirroring_profile = 9;

Returns
Type Description
CustomMirroringProfileOrBuilder

getDescription()

public abstract String getDescription()

Optional. An optional description of the profile. Max length 512 characters.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Optional. An optional description of the profile. Max length 512 characters.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getEtag()

public abstract String getEtag()

Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for etag.

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Optional. Labels as key value pairs.

map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Optional. Labels as key value pairs.

map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Optional. Labels as key value pairs.

map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Optional. Labels as key value pairs.

map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public abstract String getName()

Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getProfileCase()

public abstract SecurityProfile.ProfileCase getProfileCase()
Returns
Type Description
SecurityProfile.ProfileCase

getThreatPreventionProfile()

public abstract ThreatPreventionProfile getThreatPreventionProfile()

The threat prevention configuration for the SecurityProfile.

.google.cloud.networksecurity.v1.ThreatPreventionProfile threat_prevention_profile = 7;

Returns
Type Description
ThreatPreventionProfile

The threatPreventionProfile.

getThreatPreventionProfileOrBuilder()

public abstract ThreatPreventionProfileOrBuilder getThreatPreventionProfileOrBuilder()

The threat prevention configuration for the SecurityProfile.

.google.cloud.networksecurity.v1.ThreatPreventionProfile threat_prevention_profile = 7;

Returns
Type Description
ThreatPreventionProfileOrBuilder

getType()

public abstract SecurityProfile.ProfileType getType()

Immutable. The single ProfileType that the SecurityProfile resource configures.

.google.cloud.networksecurity.v1.SecurityProfile.ProfileType type = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
SecurityProfile.ProfileType

The type.

getTypeValue()

public abstract int getTypeValue()

Immutable. The single ProfileType that the SecurityProfile resource configures.

.google.cloud.networksecurity.v1.SecurityProfile.ProfileType type = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
int

The enum numeric value on the wire for type.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Last resource update timestamp.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Last resource update timestamp.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getUrlFilteringProfile()

public abstract UrlFilteringProfile getUrlFilteringProfile()

The URL filtering configuration for the SecurityProfile.

.google.cloud.networksecurity.v1.UrlFilteringProfile url_filtering_profile = 12;

Returns
Type Description
UrlFilteringProfile

The urlFilteringProfile.

getUrlFilteringProfileOrBuilder()

public abstract UrlFilteringProfileOrBuilder getUrlFilteringProfileOrBuilder()

The URL filtering configuration for the SecurityProfile.

.google.cloud.networksecurity.v1.UrlFilteringProfile url_filtering_profile = 12;

Returns
Type Description
UrlFilteringProfileOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Resource creation timestamp.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasCustomInterceptProfile()

public abstract boolean hasCustomInterceptProfile()

The custom TPPI configuration for the SecurityProfile.

.google.cloud.networksecurity.v1.CustomInterceptProfile custom_intercept_profile = 10;

Returns
Type Description
boolean

Whether the customInterceptProfile field is set.

hasCustomMirroringProfile()

public abstract boolean hasCustomMirroringProfile()

The custom Packet Mirroring v2 configuration for the SecurityProfile.

.google.cloud.networksecurity.v1.CustomMirroringProfile custom_mirroring_profile = 9;

Returns
Type Description
boolean

Whether the customMirroringProfile field is set.

hasThreatPreventionProfile()

public abstract boolean hasThreatPreventionProfile()

The threat prevention configuration for the SecurityProfile.

.google.cloud.networksecurity.v1.ThreatPreventionProfile threat_prevention_profile = 7;

Returns
Type Description
boolean

Whether the threatPreventionProfile field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. Last resource update timestamp.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hasUrlFilteringProfile()

public abstract boolean hasUrlFilteringProfile()

The URL filtering configuration for the SecurityProfile.

.google.cloud.networksecurity.v1.UrlFilteringProfile url_filtering_profile = 12;

Returns
Type Description
boolean

Whether the urlFilteringProfile field is set.