Interface SecurityProfileOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SecurityProfile,SecurityProfile.Builder
@Generated
public interface SecurityProfileOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.The custom TPPI configuration for the SecurityProfile.The custom TPPI configuration for the SecurityProfile.The custom Packet Mirroring v2 configuration for the SecurityProfile.The custom Packet Mirroring v2 configuration for the SecurityProfile.Optional.com.google.protobuf.ByteStringOptional.getEtag()Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()Immutable.com.google.protobuf.ByteStringImmutable.The threat prevention configuration for the SecurityProfile.The threat prevention configuration for the SecurityProfile.getType()Immutable.intImmutable.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.The URL filtering configuration for the SecurityProfile.The URL filtering configuration for the SecurityProfile.booleanOutput only.booleanThe custom TPPI configuration for the SecurityProfile.booleanThe custom Packet Mirroring v2 configuration for the SecurityProfile.booleanThe threat prevention configuration for the SecurityProfile.booleanOutput only.booleanThe URL filtering configuration for the SecurityProfile.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasThreatPreventionProfile
boolean hasThreatPreventionProfile()The threat prevention configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.ThreatPreventionProfile threat_prevention_profile = 7;- Returns:
- Whether the threatPreventionProfile field is set.
-
getThreatPreventionProfile
ThreatPreventionProfile getThreatPreventionProfile()The threat prevention configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.ThreatPreventionProfile threat_prevention_profile = 7;- Returns:
- The threatPreventionProfile.
-
getThreatPreventionProfileOrBuilder
ThreatPreventionProfileOrBuilder getThreatPreventionProfileOrBuilder()The threat prevention configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.ThreatPreventionProfile threat_prevention_profile = 7; -
hasCustomMirroringProfile
boolean hasCustomMirroringProfile()The custom Packet Mirroring v2 configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomMirroringProfile custom_mirroring_profile = 9;- Returns:
- Whether the customMirroringProfile field is set.
-
getCustomMirroringProfile
CustomMirroringProfile getCustomMirroringProfile()The custom Packet Mirroring v2 configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomMirroringProfile custom_mirroring_profile = 9;- Returns:
- The customMirroringProfile.
-
getCustomMirroringProfileOrBuilder
CustomMirroringProfileOrBuilder getCustomMirroringProfileOrBuilder()The custom Packet Mirroring v2 configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomMirroringProfile custom_mirroring_profile = 9; -
hasCustomInterceptProfile
boolean hasCustomInterceptProfile()The custom TPPI configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomInterceptProfile custom_intercept_profile = 10;- Returns:
- Whether the customInterceptProfile field is set.
-
getCustomInterceptProfile
CustomInterceptProfile getCustomInterceptProfile()The custom TPPI configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomInterceptProfile custom_intercept_profile = 10;- Returns:
- The customInterceptProfile.
-
getCustomInterceptProfileOrBuilder
CustomInterceptProfileOrBuilder getCustomInterceptProfileOrBuilder()The custom TPPI configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomInterceptProfile custom_intercept_profile = 10; -
hasUrlFilteringProfile
boolean hasUrlFilteringProfile()The URL filtering configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.UrlFilteringProfile url_filtering_profile = 12;- Returns:
- Whether the urlFilteringProfile field is set.
-
getUrlFilteringProfile
UrlFilteringProfile getUrlFilteringProfile()The URL filtering configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.UrlFilteringProfile url_filtering_profile = 12;- Returns:
- The urlFilteringProfile.
-
getUrlFilteringProfileOrBuilder
UrlFilteringProfileOrBuilder getUrlFilteringProfileOrBuilder()The URL filtering configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.UrlFilteringProfile url_filtering_profile = 12; -
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getDescription
String getDescription()Optional. An optional description of the profile. Max length 512 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional. An optional description of the profile. Max length 512 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for description.
-
hasCreateTime
boolean hasCreateTime()Output only. Resource creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Resource creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Resource creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. Last resource update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. Last resource update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Last resource update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEtag
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:
- The etag.
-
getEtagBytes
com.google.protobuf.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:
- The bytes for etag.
-
getLabelsCount
int getLabelsCount()Optional. Labels as key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. Labels as key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. Labels as key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. Labels as key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. Labels as key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getTypeValue
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:
- The enum numeric value on the wire for type.
-
getType
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:
- The type.
-
getProfileCase
SecurityProfile.ProfileCase getProfileCase()
-