Interface PacketMirroringOrBuilder (1.58.0)

public interface PacketMirroringOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCollectorIlb()

public abstract PacketMirroringForwardingRuleInfo getCollectorIlb()

The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true.

optional .google.cloud.compute.v1.PacketMirroringForwardingRuleInfo collector_ilb = 426607853;

Returns
Type Description
PacketMirroringForwardingRuleInfo

The collectorIlb.

getCollectorIlbOrBuilder()

public abstract PacketMirroringForwardingRuleInfoOrBuilder getCollectorIlbOrBuilder()

The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true.

optional .google.cloud.compute.v1.PacketMirroringForwardingRuleInfo collector_ilb = 426607853;

Returns
Type Description
PacketMirroringForwardingRuleInfoOrBuilder

getCreationTimestamp()

public abstract String getCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
String

The creationTimestamp.

getCreationTimestampBytes()

public abstract ByteString getCreationTimestampBytes()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
ByteString

The bytes for creationTimestamp.

getDescription()

public abstract String getDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
Type Description
ByteString

The bytes for description.

getEnable()

public abstract String getEnable()

Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE. Check the Enable enum for the list of possible values.

optional string enable = 311764355;

Returns
Type Description
String

The enable.

getEnableBytes()

public abstract ByteString getEnableBytes()

Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE. Check the Enable enum for the list of possible values.

optional string enable = 311764355;

Returns
Type Description
ByteString

The bytes for enable.

getFilter()

public abstract PacketMirroringFilter getFilter()

Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.

optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;

Returns
Type Description
PacketMirroringFilter

The filter.

getFilterOrBuilder()

public abstract PacketMirroringFilterOrBuilder getFilterOrBuilder()

Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.

optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;

Returns
Type Description
PacketMirroringFilterOrBuilder

getId()

public abstract long getId()

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
Type Description
long

The id.

getKind()

public abstract String getKind()

[Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.

optional string kind = 3292052;

Returns
Type Description
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

[Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.

optional string kind = 3292052;

Returns
Type Description
ByteString

The bytes for kind.

getMirroredResources()

public abstract PacketMirroringMirroredResourceInfo getMirroredResources()

PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of mirrored VM instances, subnetworks and/or tags for which traffic from/to all VM instances will be mirrored.

optional .google.cloud.compute.v1.PacketMirroringMirroredResourceInfo mirrored_resources = 124817348;

Returns
Type Description
PacketMirroringMirroredResourceInfo

The mirroredResources.

getMirroredResourcesOrBuilder()

public abstract PacketMirroringMirroredResourceInfoOrBuilder getMirroredResourcesOrBuilder()

PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of mirrored VM instances, subnetworks and/or tags for which traffic from/to all VM instances will be mirrored.

optional .google.cloud.compute.v1.PacketMirroringMirroredResourceInfo mirrored_resources = 124817348;

Returns
Type Description
PacketMirroringMirroredResourceInfoOrBuilder

getName()

public abstract String getName()

Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getNetwork()

public abstract PacketMirroringNetworkInfo getNetwork()

Specifies the mirrored VPC network. Only packets in this network will be mirrored. All mirrored VMs should have a NIC in the given network. All mirrored subnetworks should belong to the given network.

optional .google.cloud.compute.v1.PacketMirroringNetworkInfo network = 232872494;

Returns
Type Description
PacketMirroringNetworkInfo

The network.

getNetworkOrBuilder()

public abstract PacketMirroringNetworkInfoOrBuilder getNetworkOrBuilder()

Specifies the mirrored VPC network. Only packets in this network will be mirrored. All mirrored VMs should have a NIC in the given network. All mirrored subnetworks should belong to the given network.

optional .google.cloud.compute.v1.PacketMirroringNetworkInfo network = 232872494;

Returns
Type Description
PacketMirroringNetworkInfoOrBuilder

getPriority()

public abstract int getPriority()

The priority of applying this configuration. Priority is used to break ties in cases where there is more than one matching rule. In the case of two rules that apply for a given Instance, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535.

optional uint32 priority = 445151652;

Returns
Type Description
int

The priority.

getRegion()

public abstract String getRegion()

[Output Only] URI of the region where the packetMirroring resides.

optional string region = 138946292;

Returns
Type Description
String

The region.

getRegionBytes()

public abstract ByteString getRegionBytes()

[Output Only] URI of the region where the packetMirroring resides.

optional string region = 138946292;

Returns
Type Description
ByteString

The bytes for region.

public abstract String getSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
String

The selfLink.

getSelfLinkBytes()

public abstract ByteString getSelfLinkBytes()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
ByteString

The bytes for selfLink.

hasCollectorIlb()

public abstract boolean hasCollectorIlb()

The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true.

optional .google.cloud.compute.v1.PacketMirroringForwardingRuleInfo collector_ilb = 426607853;

Returns
Type Description
boolean

Whether the collectorIlb field is set.

hasCreationTimestamp()

public abstract boolean hasCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
boolean

Whether the creationTimestamp field is set.

hasDescription()

public abstract boolean hasDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
Type Description
boolean

Whether the description field is set.

hasEnable()

public abstract boolean hasEnable()

Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE. Check the Enable enum for the list of possible values.

optional string enable = 311764355;

Returns
Type Description
boolean

Whether the enable field is set.

hasFilter()

public abstract boolean hasFilter()

Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.

optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;

Returns
Type Description
boolean

Whether the filter field is set.

hasId()

public abstract boolean hasId()

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
Type Description
boolean

Whether the id field is set.

hasKind()

public abstract boolean hasKind()

[Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.

optional string kind = 3292052;

Returns
Type Description
boolean

Whether the kind field is set.

hasMirroredResources()

public abstract boolean hasMirroredResources()

PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of mirrored VM instances, subnetworks and/or tags for which traffic from/to all VM instances will be mirrored.

optional .google.cloud.compute.v1.PacketMirroringMirroredResourceInfo mirrored_resources = 124817348;

Returns
Type Description
boolean

Whether the mirroredResources field is set.

hasName()

public abstract boolean hasName()

Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

hasNetwork()

public abstract boolean hasNetwork()

Specifies the mirrored VPC network. Only packets in this network will be mirrored. All mirrored VMs should have a NIC in the given network. All mirrored subnetworks should belong to the given network.

optional .google.cloud.compute.v1.PacketMirroringNetworkInfo network = 232872494;

Returns
Type Description
boolean

Whether the network field is set.

hasPriority()

public abstract boolean hasPriority()

The priority of applying this configuration. Priority is used to break ties in cases where there is more than one matching rule. In the case of two rules that apply for a given Instance, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535.

optional uint32 priority = 445151652;

Returns
Type Description
boolean

Whether the priority field is set.

hasRegion()

public abstract boolean hasRegion()

[Output Only] URI of the region where the packetMirroring resides.

optional string region = 138946292;

Returns
Type Description
boolean

Whether the region field is set.

public abstract boolean hasSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
boolean

Whether the selfLink field is set.