Package com.google.cloud.compute.v1
Interface PacketMirroringOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PacketMirroring
,PacketMirroring.Builder
public interface PacketMirroringOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PacketMirroringForwardingRuleInfo
getCollectorIlb()
The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic.PacketMirroringForwardingRuleInfoOrBuilder
getCollectorIlbOrBuilder()
The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic.String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteString
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.String
getDescription()
An optional description of this resource.com.google.protobuf.ByteString
getDescriptionBytes()
An optional description of this resource.String
getEnable()
Indicates whether or not this packet mirroring takes effect.com.google.protobuf.ByteString
getEnableBytes()
Indicates whether or not this packet mirroring takes effect.PacketMirroringFilter
getFilter()
Filter for mirrored traffic.PacketMirroringFilterOrBuilder
getFilterOrBuilder()
Filter for mirrored traffic.long
getId()
[Output Only] The unique identifier for the resource.String
getKind()
[Output Only] Type of the resource.com.google.protobuf.ByteString
getKindBytes()
[Output Only] Type of the resource.PacketMirroringMirroredResourceInfo
getMirroredResources()
PacketMirroring mirroredResourceInfos.PacketMirroringMirroredResourceInfoOrBuilder
getMirroredResourcesOrBuilder()
PacketMirroring mirroredResourceInfos.String
getName()
Name of the resource; provided by the client when the resource is created.com.google.protobuf.ByteString
getNameBytes()
Name of the resource; provided by the client when the resource is created.PacketMirroringNetworkInfo
getNetwork()
Specifies the mirrored VPC network.PacketMirroringNetworkInfoOrBuilder
getNetworkOrBuilder()
Specifies the mirrored VPC network.int
getPriority()
The priority of applying this configuration.String
getRegion()
[Output Only] URI of the region where the packetMirroring resides.com.google.protobuf.ByteString
getRegionBytes()
[Output Only] URI of the region where the packetMirroring resides.String
getSelfLink()
[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.boolean
hasCollectorIlb()
The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic.boolean
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.boolean
hasDescription()
An optional description of this resource.boolean
hasEnable()
Indicates whether or not this packet mirroring takes effect.boolean
hasFilter()
Filter for mirrored traffic.boolean
hasId()
[Output Only] The unique identifier for the resource.boolean
hasKind()
[Output Only] Type of the resource.boolean
hasMirroredResources()
PacketMirroring mirroredResourceInfos.boolean
hasName()
Name of the resource; provided by the client when the resource is created.boolean
hasNetwork()
Specifies the mirrored VPC network.boolean
hasPriority()
The priority of applying this configuration.boolean
hasRegion()
[Output Only] URI of the region where the packetMirroring resides.boolean
hasSelfLink()
[Output Only] Server-defined URL for the resource.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCollectorIlb
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:
- Whether the collectorIlb field is set.
-
getCollectorIlb
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:
- The collectorIlb.
-
getCollectorIlbOrBuilder
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;
-
hasCreationTimestamp
boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- The bytes for creationTimestamp.
-
hasDescription
boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Returns:
- The bytes for description.
-
hasEnable
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:
- Whether the enable field is set.
-
getEnable
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:
- The enable.
-
getEnableBytes
com.google.protobuf.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:
- The bytes for enable.
-
hasFilter
boolean hasFilter()
Filter for mirrored traffic. If unspecified, all traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;
- Returns:
- Whether the filter field is set.
-
getFilter
PacketMirroringFilter getFilter()
Filter for mirrored traffic. If unspecified, all traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;
- Returns:
- The filter.
-
getFilterOrBuilder
PacketMirroringFilterOrBuilder getFilterOrBuilder()
Filter for mirrored traffic. If unspecified, all traffic is mirrored.
optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696;
-
hasId
boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Returns:
- Whether the id field is set.
-
getId
long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Returns:
- The id.
-
hasKind
boolean hasKind()
[Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.
optional string kind = 3292052;
- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
[Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.
optional string kind = 3292052;
- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.
optional string kind = 3292052;
- Returns:
- The bytes for kind.
-
hasMirroredResources
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:
- Whether the mirroredResources field is set.
-
getMirroredResources
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:
- The mirroredResources.
-
getMirroredResourcesOrBuilder
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;
-
hasName
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]([-a-z0-9]*[a-z0-9])?` 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:
- Whether the name field is set.
-
getName
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]([-a-z0-9]*[a-z0-9])?` 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:
- The name.
-
getNameBytes
com.google.protobuf.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]([-a-z0-9]*[a-z0-9])?` 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:
- The bytes for name.
-
hasNetwork
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:
- Whether the network field is set.
-
getNetwork
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:
- The network.
-
getNetworkOrBuilder
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;
-
hasPriority
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:
- Whether the priority field is set.
-
getPriority
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:
- The priority.
-
hasRegion
boolean hasRegion()
[Output Only] URI of the region where the packetMirroring resides.
optional string region = 138946292;
- Returns:
- Whether the region field is set.
-
getRegion
String getRegion()
[Output Only] URI of the region where the packetMirroring resides.
optional string region = 138946292;
- Returns:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()
[Output Only] URI of the region where the packetMirroring resides.
optional string region = 138946292;
- Returns:
- The bytes for region.
-
hasSelfLink
boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- The bytes for selfLink.
-
-