public final class PacketMirroringFilter extends GeneratedMessageV3 implements PacketMirroringFilterOrBuilder
Protobuf type google.cloud.compute.v1.PacketMirroringFilter
Static Fields
CIDR_RANGES_FIELD_NUMBER
public static final int CIDR_RANGES_FIELD_NUMBER
Field Value
DIRECTION_FIELD_NUMBER
public static final int DIRECTION_FIELD_NUMBER
Field Value
I_P_PROTOCOLS_FIELD_NUMBER
public static final int I_P_PROTOCOLS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PacketMirroringFilter getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PacketMirroringFilter.Builder newBuilder()
Returns
newBuilder(PacketMirroringFilter prototype)
public static PacketMirroringFilter.Builder newBuilder(PacketMirroringFilter prototype)
Parameter
Returns
public static PacketMirroringFilter parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PacketMirroringFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PacketMirroringFilter parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PacketMirroringFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PacketMirroringFilter parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PacketMirroringFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PacketMirroringFilter parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PacketMirroringFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PacketMirroringFilter parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PacketMirroringFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PacketMirroringFilter parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PacketMirroringFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PacketMirroringFilter> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCidrRanges(int index)
public String getCidrRanges(int index)
IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
repeated string cidr_ranges = 487901697;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The cidrRanges at the given index.
|
getCidrRangesBytes(int index)
public ByteString getCidrRangesBytes(int index)
IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
repeated string cidr_ranges = 487901697;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the cidrRanges at the given index.
|
getCidrRangesCount()
public int getCidrRangesCount()
IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
repeated string cidr_ranges = 487901697;
Returns
Type | Description |
int | The count of cidrRanges.
|
getCidrRangesList()
public ProtocolStringList getCidrRangesList()
IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
repeated string cidr_ranges = 487901697;
Returns
getDefaultInstanceForType()
public PacketMirroringFilter getDefaultInstanceForType()
Returns
getDirection()
public String getDirection()
Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
Check the Direction enum for the list of possible values.
optional string direction = 111150975;
Returns
Type | Description |
String | The direction.
|
getDirectionBytes()
public ByteString getDirectionBytes()
Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
Check the Direction enum for the list of possible values.
optional string direction = 111150975;
Returns
getIPProtocols(int index)
public String getIPProtocols(int index)
Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
repeated string I_p_protocols = 98544854;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The iPProtocols at the given index.
|
getIPProtocolsBytes(int index)
public ByteString getIPProtocolsBytes(int index)
Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
repeated string I_p_protocols = 98544854;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the iPProtocols at the given index.
|
getIPProtocolsCount()
public int getIPProtocolsCount()
Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
repeated string I_p_protocols = 98544854;
Returns
Type | Description |
int | The count of iPProtocols.
|
getIPProtocolsList()
public ProtocolStringList getIPProtocolsList()
Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
repeated string I_p_protocols = 98544854;
Returns
getParserForType()
public Parser<PacketMirroringFilter> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasDirection()
public boolean hasDirection()
Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
Check the Direction enum for the list of possible values.
optional string direction = 111150975;
Returns
Type | Description |
boolean | Whether the direction field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PacketMirroringFilter.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PacketMirroringFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PacketMirroringFilter.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions