Class SecurityProfileGroup

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networksecurity.v1.SecurityProfileGroup
All Implemented Interfaces:
SecurityProfileGroupOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class SecurityProfileGroup extends com.google.protobuf.GeneratedMessage implements SecurityProfileGroupOrBuilder
 SecurityProfileGroup is a resource that defines the behavior for various
 ProfileTypes.
 
Protobuf type google.cloud.networksecurity.v1.SecurityProfileGroup
See Also:
  • Field Details

    • 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:
    • DATA_PATH_ID_FIELD_NUMBER

      public static final int DATA_PATH_ID_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • 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:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       Immutable. Identifier. Name of the SecurityProfileGroup resource. It
       matches pattern
       `projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}`.
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface SecurityProfileGroupOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Immutable. Identifier. Name of the SecurityProfileGroup resource. It
       matches pattern
       `projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}`.
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface SecurityProfileGroupOrBuilder
      Returns:
      The bytes for name.
    • getDescription

      public String getDescription()
       Optional. An optional description of the profile group. Max length 2048
       characters.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface SecurityProfileGroupOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. An optional description of the profile group. Max length 2048
       characters.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface SecurityProfileGroupOrBuilder
      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:
      hasCreateTime in interface SecurityProfileGroupOrBuilder
      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:
      getCreateTime in interface SecurityProfileGroupOrBuilder
      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:
      getCreateTimeOrBuilder in interface SecurityProfileGroupOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Last resource update timestamp.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface SecurityProfileGroupOrBuilder
      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:
      getUpdateTime in interface SecurityProfileGroupOrBuilder
      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:
      getUpdateTimeOrBuilder in interface SecurityProfileGroupOrBuilder
    • getEtag

      public 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];
      Specified by:
      getEtag in interface SecurityProfileGroupOrBuilder
      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:
      getEtagBytes in interface SecurityProfileGroupOrBuilder
      Returns:
      The bytes for etag.
    • getDataPathId

      public long getDataPathId()
       Output only. Identifier used by the data-path. Unique within {container,
       location}.
       
      uint64 data_path_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDataPathId in interface SecurityProfileGroupOrBuilder
      Returns:
      The dataPathId.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: SecurityProfileGroupOrBuilder
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface SecurityProfileGroupOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface SecurityProfileGroupOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface SecurityProfileGroupOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface SecurityProfileGroupOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface SecurityProfileGroupOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface SecurityProfileGroupOrBuilder
    • getThreatPreventionProfile

      public String getThreatPreventionProfile()
       Optional. Reference to a SecurityProfile with the ThreatPrevention
       configuration.
       
      string threat_prevention_profile = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getThreatPreventionProfile in interface SecurityProfileGroupOrBuilder
      Returns:
      The threatPreventionProfile.
    • getThreatPreventionProfileBytes

      public com.google.protobuf.ByteString getThreatPreventionProfileBytes()
       Optional. Reference to a SecurityProfile with the ThreatPrevention
       configuration.
       
      string threat_prevention_profile = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getThreatPreventionProfileBytes in interface SecurityProfileGroupOrBuilder
      Returns:
      The bytes for threatPreventionProfile.
    • getCustomMirroringProfile

      public String getCustomMirroringProfile()
       Optional. Reference to a SecurityProfile with the CustomMirroring
       configuration.
       
      string custom_mirroring_profile = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getCustomMirroringProfile in interface SecurityProfileGroupOrBuilder
      Returns:
      The customMirroringProfile.
    • getCustomMirroringProfileBytes

      public com.google.protobuf.ByteString getCustomMirroringProfileBytes()
       Optional. Reference to a SecurityProfile with the CustomMirroring
       configuration.
       
      string custom_mirroring_profile = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getCustomMirroringProfileBytes in interface SecurityProfileGroupOrBuilder
      Returns:
      The bytes for customMirroringProfile.
    • getCustomInterceptProfile

      public String getCustomInterceptProfile()
       Optional. Reference to a SecurityProfile with the CustomIntercept
       configuration.
       
      string custom_intercept_profile = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getCustomInterceptProfile in interface SecurityProfileGroupOrBuilder
      Returns:
      The customInterceptProfile.
    • getCustomInterceptProfileBytes

      public com.google.protobuf.ByteString getCustomInterceptProfileBytes()
       Optional. Reference to a SecurityProfile with the CustomIntercept
       configuration.
       
      string custom_intercept_profile = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getCustomInterceptProfileBytes in interface SecurityProfileGroupOrBuilder
      Returns:
      The bytes for customInterceptProfile.
    • getUrlFilteringProfile

      public String getUrlFilteringProfile()
       Optional. Reference to a SecurityProfile with the UrlFiltering
       configuration.
       
      string url_filtering_profile = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getUrlFilteringProfile in interface SecurityProfileGroupOrBuilder
      Returns:
      The urlFilteringProfile.
    • getUrlFilteringProfileBytes

      public com.google.protobuf.ByteString getUrlFilteringProfileBytes()
       Optional. Reference to a SecurityProfile with the UrlFiltering
       configuration.
       
      string url_filtering_profile = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getUrlFilteringProfileBytes in interface SecurityProfileGroupOrBuilder
      Returns:
      The bytes for urlFilteringProfile.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SecurityProfileGroup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SecurityProfileGroup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SecurityProfileGroup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SecurityProfileGroup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SecurityProfileGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SecurityProfileGroup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SecurityProfileGroup parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SecurityProfileGroup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SecurityProfileGroup parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SecurityProfileGroup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SecurityProfileGroup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SecurityProfileGroup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SecurityProfileGroup.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SecurityProfileGroup.Builder newBuilder()
    • newBuilder

      public static SecurityProfileGroup.Builder newBuilder(SecurityProfileGroup prototype)
    • toBuilder

      public SecurityProfileGroup.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SecurityProfileGroup.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static SecurityProfileGroup getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SecurityProfileGroup> parser()
    • getParserForType

      public com.google.protobuf.Parser<SecurityProfileGroup> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public SecurityProfileGroup getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder