Interface SecurityPolicyUserDefinedFieldOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SecurityPolicyUserDefinedField, SecurityPolicyUserDefinedField.Builder

@Generated public interface SecurityPolicyUserDefinedFieldOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The base relative to which 'offset' is measured.
    com.google.protobuf.ByteString
    The base relative to which 'offset' is measured.
    If specified, apply this mask (bitwise AND) to the field to ignore bits before matching.
    com.google.protobuf.ByteString
    If specified, apply this mask (bitwise AND) to the field to ignore bits before matching.
    The name of this field.
    com.google.protobuf.ByteString
    The name of this field.
    int
    Offset of the first byte of the field (in network byte order) relative to 'base'.
    int
    Size of the field in bytes.
    boolean
    The base relative to which 'offset' is measured.
    boolean
    If specified, apply this mask (bitwise AND) to the field to ignore bits before matching.
    boolean
    The name of this field.
    boolean
    Offset of the first byte of the field (in network byte order) relative to 'base'.
    boolean
    Size of the field in bytes.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasBase

      boolean hasBase()
       The base relative to which 'offset' is measured. Possible values are:
      
       - IPV4: Points to the beginning of the IPv4 header.
       - IPV6: Points to the beginning of the IPv6 header.
       - TCP: Points to the beginning of the TCP header, skipping
       over any IPv4 options or IPv6 extension headers. Not present for
       non-first fragments.
       - UDP: Points to the beginning of the UDP header, skipping
       over any IPv4 options or IPv6 extension headers. Not present for
       non-first fragments.
      
      
       required
       Check the Base enum for the list of possible values.
       
      optional string base = 3016401;
      Returns:
      Whether the base field is set.
    • getBase

      String getBase()
       The base relative to which 'offset' is measured. Possible values are:
      
       - IPV4: Points to the beginning of the IPv4 header.
       - IPV6: Points to the beginning of the IPv6 header.
       - TCP: Points to the beginning of the TCP header, skipping
       over any IPv4 options or IPv6 extension headers. Not present for
       non-first fragments.
       - UDP: Points to the beginning of the UDP header, skipping
       over any IPv4 options or IPv6 extension headers. Not present for
       non-first fragments.
      
      
       required
       Check the Base enum for the list of possible values.
       
      optional string base = 3016401;
      Returns:
      The base.
    • getBaseBytes

      com.google.protobuf.ByteString getBaseBytes()
       The base relative to which 'offset' is measured. Possible values are:
      
       - IPV4: Points to the beginning of the IPv4 header.
       - IPV6: Points to the beginning of the IPv6 header.
       - TCP: Points to the beginning of the TCP header, skipping
       over any IPv4 options or IPv6 extension headers. Not present for
       non-first fragments.
       - UDP: Points to the beginning of the UDP header, skipping
       over any IPv4 options or IPv6 extension headers. Not present for
       non-first fragments.
      
      
       required
       Check the Base enum for the list of possible values.
       
      optional string base = 3016401;
      Returns:
      The bytes for base.
    • hasMask

      boolean hasMask()
       If specified, apply this mask (bitwise AND) to the field to ignore bits
       before matching. Encoded as a hexadecimal number (starting with "0x").
       The last byte of the field (in network byte order) corresponds to the
       least significant byte of the mask.
       
      optional string mask = 3344108;
      Returns:
      Whether the mask field is set.
    • getMask

      String getMask()
       If specified, apply this mask (bitwise AND) to the field to ignore bits
       before matching. Encoded as a hexadecimal number (starting with "0x").
       The last byte of the field (in network byte order) corresponds to the
       least significant byte of the mask.
       
      optional string mask = 3344108;
      Returns:
      The mask.
    • getMaskBytes

      com.google.protobuf.ByteString getMaskBytes()
       If specified, apply this mask (bitwise AND) to the field to ignore bits
       before matching. Encoded as a hexadecimal number (starting with "0x").
       The last byte of the field (in network byte order) corresponds to the
       least significant byte of the mask.
       
      optional string mask = 3344108;
      Returns:
      The bytes for mask.
    • hasName

      boolean hasName()
       The name of this field. Must be unique within the policy.
       
      optional string name = 3373707;
      Returns:
      Whether the name field is set.
    • getName

      String getName()
       The name of this field. Must be unique within the policy.
       
      optional string name = 3373707;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name of this field. Must be unique within the policy.
       
      optional string name = 3373707;
      Returns:
      The bytes for name.
    • hasOffset

      boolean hasOffset()
       Offset of the first byte of the field (in network byte order) relative to
       'base'.
       
      optional int32 offset = 53961875;
      Returns:
      Whether the offset field is set.
    • getOffset

      int getOffset()
       Offset of the first byte of the field (in network byte order) relative to
       'base'.
       
      optional int32 offset = 53961875;
      Returns:
      The offset.
    • hasSize

      boolean hasSize()
       Size of the field in bytes. Valid values: 1-4.
       
      optional int32 size = 3530753;
      Returns:
      Whether the size field is set.
    • getSize

      int getSize()
       Size of the field in bytes. Valid values: 1-4.
       
      optional int32 size = 3530753;
      Returns:
      The size.