- 1.65.0 (latest)
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public interface SecurityPolicyUserDefinedFieldOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getBase()
public abstract 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 | |
---|---|
Type | Description |
String |
The base. |
getBaseBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for base. |
getMask()
public abstract 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 | |
---|---|
Type | Description |
String |
The mask. |
getMaskBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for mask. |
getName()
public abstract String getName()
The name of this field. Must be unique within the policy.
optional string name = 3373707;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
The name of this field. Must be unique within the policy.
optional string name = 3373707;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getOffset()
public abstract int getOffset()
Offset of the first byte of the field (in network byte order) relative to 'base'.
optional int32 offset = 53961875;
Returns | |
---|---|
Type | Description |
int |
The offset. |
getSize()
public abstract int getSize()
Size of the field in bytes. Valid values: 1-4.
optional int32 size = 3530753;
Returns | |
---|---|
Type | Description |
int |
The size. |
hasBase()
public abstract 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 | |
---|---|
Type | Description |
boolean |
Whether the base field is set. |
hasMask()
public abstract 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 | |
---|---|
Type | Description |
boolean |
Whether the mask field is set. |
hasName()
public abstract boolean hasName()
The name of this field. Must be unique within the policy.
optional string name = 3373707;
Returns | |
---|---|
Type | Description |
boolean |
Whether the name field is set. |
hasOffset()
public abstract boolean hasOffset()
Offset of the first byte of the field (in network byte order) relative to 'base'.
optional int32 offset = 53961875;
Returns | |
---|---|
Type | Description |
boolean |
Whether the offset field is set. |
hasSize()
public abstract boolean hasSize()
Size of the field in bytes. Valid values: 1-4.
optional int32 size = 3530753;
Returns | |
---|---|
Type | Description |
boolean |
Whether the size field is set. |