public final class PacketMirroringFilter extends GeneratedMessageV3 implements PacketMirroringFilterOrBuilder
Protobuf type google.cloud.compute.v1.PacketMirroringFilter
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CIDR_RANGES_FIELD_NUMBER
public static final int CIDR_RANGES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DIRECTION_FIELD_NUMBER
public static final int DIRECTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
I_P_PROTOCOLS_FIELD_NUMBER
public static final int I_P_PROTOCOLS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static PacketMirroringFilter getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PacketMirroringFilter.Builder newBuilder()
newBuilder(PacketMirroringFilter prototype)
public static PacketMirroringFilter.Builder newBuilder(PacketMirroringFilter prototype)
public static PacketMirroringFilter parseDelimitedFrom(InputStream input)
public static PacketMirroringFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PacketMirroringFilter parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PacketMirroringFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PacketMirroringFilter parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PacketMirroringFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PacketMirroringFilter parseFrom(CodedInputStream input)
public static PacketMirroringFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PacketMirroringFilter parseFrom(InputStream input)
public static PacketMirroringFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PacketMirroringFilter parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PacketMirroringFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PacketMirroringFilter> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCidrRanges(int index)
public String getCidrRanges(int index)
One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
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)
One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
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()
One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
repeated string cidr_ranges = 487901697;
Returns |
Type |
Description |
int |
The count of cidrRanges.
|
getCidrRangesList()
public ProtocolStringList getCidrRangesList()
One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
repeated string cidr_ranges = 487901697;
getDefaultInstanceForType()
public PacketMirroringFilter getDefaultInstanceForType()
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 |
Type |
Description |
ByteString |
The bytes for direction.
|
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 IPv4 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 IPv4 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 IPv4 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 IPv4 traffic is mirrored.
repeated string I_p_protocols = 98544854;
getParserForType()
public Parser<PacketMirroringFilter> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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 |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PacketMirroringFilter.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PacketMirroringFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PacketMirroringFilter.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides