Class SecurityProfile
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networksecurity.v1.SecurityProfile
- All Implemented Interfaces:
SecurityProfileOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class SecurityProfile
extends com.google.protobuf.GeneratedMessage
implements SecurityProfileOrBuilder
SecurityProfile is a resource that defines the behavior for one of many ProfileTypes.Protobuf type
google.cloud.networksecurity.v1.SecurityProfile- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSecurityProfile is a resource that defines the behavior for one of many ProfileTypes.static enumstatic enumThe possible types that the SecurityProfile resource can configure.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.booleancom.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.static SecurityProfileOptional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.DescriptorgetEtag()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.com.google.protobuf.Parser<SecurityProfile>intThe 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.inthashCode()booleanThe threat prevention configuration for the SecurityProfile.booleanOutput only.booleanThe URL filtering configuration for the SecurityProfile.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic SecurityProfile.Builderstatic SecurityProfile.BuildernewBuilder(SecurityProfile prototype) protected SecurityProfile.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SecurityProfileparseDelimitedFrom(InputStream input) static SecurityProfileparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SecurityProfileparseFrom(byte[] data) static SecurityProfileparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SecurityProfileparseFrom(com.google.protobuf.ByteString data) static SecurityProfileparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SecurityProfileparseFrom(com.google.protobuf.CodedInputStream input) static SecurityProfileparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SecurityProfileparseFrom(InputStream input) static SecurityProfileparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SecurityProfileparseFrom(ByteBuffer data) static SecurityProfileparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SecurityProfile>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
THREAT_PREVENTION_PROFILE_FIELD_NUMBER
public static final int THREAT_PREVENTION_PROFILE_FIELD_NUMBER- See Also:
-
CUSTOM_MIRRORING_PROFILE_FIELD_NUMBER
public static final int CUSTOM_MIRRORING_PROFILE_FIELD_NUMBER- See Also:
-
CUSTOM_INTERCEPT_PROFILE_FIELD_NUMBER
public static final int CUSTOM_INTERCEPT_PROFILE_FIELD_NUMBER- See Also:
-
URL_FILTERING_PROFILE_FIELD_NUMBER
public static final int URL_FILTERING_PROFILE_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getProfileCase
- Specified by:
getProfileCasein interfaceSecurityProfileOrBuilder
-
hasThreatPreventionProfile
public boolean hasThreatPreventionProfile()The threat prevention configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.ThreatPreventionProfile threat_prevention_profile = 7;- Specified by:
hasThreatPreventionProfilein interfaceSecurityProfileOrBuilder- Returns:
- Whether the threatPreventionProfile field is set.
-
getThreatPreventionProfile
The threat prevention configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.ThreatPreventionProfile threat_prevention_profile = 7;- Specified by:
getThreatPreventionProfilein interfaceSecurityProfileOrBuilder- Returns:
- The threatPreventionProfile.
-
getThreatPreventionProfileOrBuilder
The threat prevention configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.ThreatPreventionProfile threat_prevention_profile = 7;- Specified by:
getThreatPreventionProfileOrBuilderin interfaceSecurityProfileOrBuilder
-
hasCustomMirroringProfile
public boolean hasCustomMirroringProfile()The custom Packet Mirroring v2 configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomMirroringProfile custom_mirroring_profile = 9;- Specified by:
hasCustomMirroringProfilein interfaceSecurityProfileOrBuilder- Returns:
- Whether the customMirroringProfile field is set.
-
getCustomMirroringProfile
The custom Packet Mirroring v2 configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomMirroringProfile custom_mirroring_profile = 9;- Specified by:
getCustomMirroringProfilein interfaceSecurityProfileOrBuilder- Returns:
- The customMirroringProfile.
-
getCustomMirroringProfileOrBuilder
The custom Packet Mirroring v2 configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomMirroringProfile custom_mirroring_profile = 9;- Specified by:
getCustomMirroringProfileOrBuilderin interfaceSecurityProfileOrBuilder
-
hasCustomInterceptProfile
public boolean hasCustomInterceptProfile()The custom TPPI configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomInterceptProfile custom_intercept_profile = 10;- Specified by:
hasCustomInterceptProfilein interfaceSecurityProfileOrBuilder- Returns:
- Whether the customInterceptProfile field is set.
-
getCustomInterceptProfile
The custom TPPI configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomInterceptProfile custom_intercept_profile = 10;- Specified by:
getCustomInterceptProfilein interfaceSecurityProfileOrBuilder- Returns:
- The customInterceptProfile.
-
getCustomInterceptProfileOrBuilder
The custom TPPI configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomInterceptProfile custom_intercept_profile = 10;- Specified by:
getCustomInterceptProfileOrBuilderin interfaceSecurityProfileOrBuilder
-
hasUrlFilteringProfile
public boolean hasUrlFilteringProfile()The URL filtering configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.UrlFilteringProfile url_filtering_profile = 12;- Specified by:
hasUrlFilteringProfilein interfaceSecurityProfileOrBuilder- Returns:
- Whether the urlFilteringProfile field is set.
-
getUrlFilteringProfile
The URL filtering configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.UrlFilteringProfile url_filtering_profile = 12;- Specified by:
getUrlFilteringProfilein interfaceSecurityProfileOrBuilder- Returns:
- The urlFilteringProfile.
-
getUrlFilteringProfileOrBuilder
The URL filtering configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.UrlFilteringProfile url_filtering_profile = 12;- Specified by:
getUrlFilteringProfileOrBuilderin interfaceSecurityProfileOrBuilder
-
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];- Specified by:
getNamein interfaceSecurityProfileOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceSecurityProfileOrBuilder- Returns:
- The bytes for name.
-
getDescription
Optional. An optional description of the profile. Max length 512 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceSecurityProfileOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. An optional description of the profile. Max length 512 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceSecurityProfileOrBuilder- Returns:
- The bytes for description.
-
hasCreateTime
public boolean hasCreateTime()Output only. Resource creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceSecurityProfileOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Resource creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceSecurityProfileOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Resource creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceSecurityProfileOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Last resource update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceSecurityProfileOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Last resource update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceSecurityProfileOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Last resource update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceSecurityProfileOrBuilder
-
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];- Specified by:
getEtagin interfaceSecurityProfileOrBuilder- Returns:
- The etag.
-
getEtagBytes
public 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];- Specified by:
getEtagBytesin interfaceSecurityProfileOrBuilder- Returns:
- The bytes for etag.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:SecurityProfileOrBuilderOptional. Labels as key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceSecurityProfileOrBuilder
-
containsLabels
Optional. Labels as key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceSecurityProfileOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceSecurityProfileOrBuilder
-
getLabelsMap
Optional. Labels as key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceSecurityProfileOrBuilder
-
getLabelsOrDefault
Optional. Labels as key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceSecurityProfileOrBuilder
-
getLabelsOrThrow
Optional. Labels as key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceSecurityProfileOrBuilder
-
getTypeValue
public int getTypeValue()Immutable. The single ProfileType that the SecurityProfile resource configures.
.google.cloud.networksecurity.v1.SecurityProfile.ProfileType type = 6 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getTypeValuein interfaceSecurityProfileOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
Immutable. The single ProfileType that the SecurityProfile resource configures.
.google.cloud.networksecurity.v1.SecurityProfile.ProfileType type = 6 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getTypein interfaceSecurityProfileOrBuilder- Returns:
- The type.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SecurityProfile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityProfile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityProfile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityProfile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityProfile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SecurityProfile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SecurityProfile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SecurityProfile parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SecurityProfile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SecurityProfile.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-